SetEndpointAttributes
Source:
src/AWS/SNS/SetEndpointAttributes.ts
Runtime binding for sns:SetEndpointAttributes.
Bind this operation to a PlatformApplication to update a device
endpoint — e.g. re-enable it after a delivery failure or rotate its token.
Provide the SetEndpointAttributesHttp layer on the Function to implement the binding.
Mobile Push
Section titled “Mobile Push”const setEndpointAttributes = yield* SNS.SetEndpointAttributes(app);yield* setEndpointAttributes({ EndpointArn: endpointArn, Attributes: { Enabled: "true" },});