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

**************************
list_platform_applications
**************************



.. py:method:: SNS.Client.list_platform_applications(**kwargs)

  

  Lists the platform application objects for the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging). The results for ``ListPlatformApplications`` are paginated and return a limited list of applications, up to 100. If additional records are available after the first page results, then a NextToken string will be returned. To receive the next page, you call ``ListPlatformApplications`` using the NextToken string received from the previous call. When there are no more records to return, ``NextToken`` will be null. For more information, see `Using Amazon SNS Mobile Push Notifications <https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html>`__.

   

  This action is throttled at 15 transactions per second (TPS).

  

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


  **Request Syntax**
  ::

    response = client.list_platform_applications(
        NextToken='string'
    )
    
  :type NextToken: string
  :param NextToken: 

    ``NextToken`` string is used when calling ``ListPlatformApplications`` action to retrieve additional records that are available after the first page results.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'PlatformApplications': [
              {
                  'PlatformApplicationArn': 'string',
                  'Attributes': {
                      'string': 'string'
                  }
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Response for ``ListPlatformApplications`` action.

      
      

      - **PlatformApplications** *(list) --* 

        Platform applications returned when calling ``ListPlatformApplications`` action.

        
        

        - *(dict) --* 

          Platform application object.

          
          

          - **PlatformApplicationArn** *(string) --* 

            PlatformApplicationArn for platform application object.

            
          

          - **Attributes** *(dict) --* 

            Attributes for platform application object.

            
            

            - *(string) --* 
              

              - *(string) --* 
        
      
      
    
      

      - **NextToken** *(string) --* 

        ``NextToken`` string is returned when calling ``ListPlatformApplications`` action if additional records are available after the first page results.

        
  
  **Exceptions**
  
  *   :py:class:`SNS.Client.exceptions.InvalidParameterException`

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

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

  