Skip to content

GetEndpointAttributes

Source: src/AWS/SNS/GetEndpointAttributes.ts

Runtime binding for sns:GetEndpointAttributes.

Bind this operation to a PlatformApplication to read the attributes (Token, Enabled, CustomUserData) of one of its device endpoints. Provide the GetEndpointAttributesHttp layer on the Function to implement the binding.

const getEndpointAttributes = yield* SNS.GetEndpointAttributes(app);
const { Attributes } = yield* getEndpointAttributes({
EndpointArn: endpointArn,
});