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

******************
get_sms_attributes
******************



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

  

  Returns the settings for sending SMS messages from your Amazon Web Services account.

   

  These settings are set with the ``SetSMSAttributes`` action.

  

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


  **Request Syntax**
  ::

    response = client.get_sms_attributes(
        attributes=[
            'string',
        ]
    )
    
  :type attributes: list
  :param attributes: 

    A list of the individual attribute names, such as ``MonthlySpendLimit``, for which you want values.

     

    For all attribute names, see `SetSMSAttributes <https://docs.aws.amazon.com/sns/latest/api/API_SetSMSAttributes.html>`__.

     

    If you don't use this parameter, Amazon SNS returns all SMS attributes.

    

  
    - *(string) --* 

    

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

    
    ::

      {
          'attributes': {
              'string': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The response from the ``GetSMSAttributes`` request.

      
      

      - **attributes** *(dict) --* 

        The SMS attribute names and their values.

        
        

        - *(string) --* 
          

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

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

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

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

  