:doc:`PinpointSMSVoice <../../pinpoint-sms-voice>` / Client / list_configuration_sets

***********************
list_configuration_sets
***********************



.. py:method:: PinpointSMSVoice.Client.list_configuration_sets(**kwargs)

  List all of the configuration sets associated with your Amazon Pinpoint account in the current region.

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/ListConfigurationSets>`_  


  **Request Syntax**
  ::

    response = client.list_configuration_sets(
        NextToken='string',
        PageSize='string'
    )
    
  :type NextToken: string
  :param NextToken: A token returned from a previous call to the API that indicates the position in the list of results.

  
  :type PageSize: string
  :param PageSize: Used to specify the number of items that should be returned in the response.

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

    
    ::

      {
          'ConfigurationSets': [
              'string',
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* ListConfigurationSetsResponse
      

      - **ConfigurationSets** *(list) --* An object that contains a list of configuration sets for your account in the current region.
        

        - *(string) --* 
    
      

      - **NextToken** *(string) --* A token returned from a previous call to ListConfigurationSets to indicate the position in the list of configuration sets.
  
  **Exceptions**
  
  *   :py:class:`PinpointSMSVoice.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`PinpointSMSVoice.Client.exceptions.BadRequestException`

  
  *   :py:class:`PinpointSMSVoice.Client.exceptions.InternalServiceErrorException`

  