:doc:`SNS <../../sns>` / Client / get_platform_application_attributes

***********************************
get_platform_application_attributes
***********************************



.. py:method:: 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 <https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributes>`_  


  **Request Syntax**
  ::

    response = client.get_platform_application_attributes(
        PlatformApplicationArn='string'
    )
    
  :type PlatformApplicationArn: string
  :param PlatformApplicationArn: **[REQUIRED]** 

    ``PlatformApplicationArn`` for GetPlatformApplicationAttributesInput.

    

  
  
  :rtype: 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.
         
        * ``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.
        

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`SNS.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`SNS.Client.exceptions.InternalErrorException`

  
  *   :py:class:`SNS.Client.exceptions.AuthorizationErrorException`

  
  *   :py:class:`SNS.Client.exceptions.NotFoundException`

  