get_platform_application_attributes

SNS.Client.get_platform_application_attributes(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.get_platform_application_attributes(
    PlatformApplicationArn='string'
)
Parameters
PlatformApplicationArn (string) --

[REQUIRED]

PlatformApplicationArn for GetPlatformApplicationAttributesInput.

Return type
dict
Returns
Response Syntax
{
    'Attributes': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    Response for GetPlatformApplicationAttributes action.

    • Attributes (dict) --

      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.
      • 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.
      • (string) --
        • (string) --

Exceptions

  • SNS.Client.exceptions.InvalidParameterException
  • SNS.Client.exceptions.InternalErrorException
  • SNS.Client.exceptions.AuthorizationErrorException
  • SNS.Client.exceptions.NotFoundException