Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_sms_attributes

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

Request Syntax

response = client.get_sms_attributes(
    attributes=[
        'string',
    ]
)
Parameters
attributes (list) --

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

For all attribute names, see SetSMSAttributes.

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

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

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