Skip to content

Sns  >  Operations  >  get_platform_application_attributes

get_platform_application_attributes

Operation

get_platform_application_attributes async

get_platform_application_attributes(input: GetPlatformApplicationAttributesInput, plugins: list[Plugin] | None = None) -> GetPlatformApplicationAttributesOutput

Retrieves the attributes of the platform application object for the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging). For more information, see Using Amazon SNS Mobile Push Notifications.

Parameters:

Name Type Description Default
input GetPlatformApplicationAttributesInput

An instance of GetPlatformApplicationAttributesInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
GetPlatformApplicationAttributesOutput

An instance of GetPlatformApplicationAttributesOutput.

Input

GetPlatformApplicationAttributesInput dataclass

Input for GetPlatformApplicationAttributes action.

Attributes

platform_application_arn class-attribute instance-attribute
platform_application_arn: str | None = None

PlatformApplicationArn for GetPlatformApplicationAttributesInput.

Output

GetPlatformApplicationAttributesOutput dataclass

Response for GetPlatformApplicationAttributes action.

Attributes

attributes class-attribute instance-attribute
attributes: dict[str, str] | None = None

Attributes include the following:

  • AppleCertificateExpiryDate -- The expiry date of the SSL certificate used to configure certificate-based authentication.

  • ApplePlatformTeamID -- The Apple developer account ID used to configure token-based authentication.

  • ApplePlatformBundleID -- The app identifier used to configure token-based authentication.

  • AuthenticationMethod -- Returns the credential type used when sending push notifications from application to APNS/APNS_Sandbox, or application to GCM.

  • APNS -- Returns the token or certificate.

  • GCM -- Returns the token or key.

  • EventEndpointCreated -- Topic ARN to which EndpointCreated event notifications should be sent.

  • EventEndpointDeleted -- Topic ARN to which EndpointDeleted event notifications should be sent.

  • EventEndpointUpdated -- Topic ARN to which EndpointUpdate event notifications should be sent.

  • EventDeliveryFailure -- Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.