describe_account_attributes

PinpointSMSVoiceV2.Client.describe_account_attributes(**kwargs)

Describes attributes of your Amazon Web Services account. The supported account attributes include account tier, which indicates whether your account is in the sandbox or production environment. When you're ready to move your account out of the sandbox, create an Amazon Web Services Support case for a service limit increase request.

New Amazon Pinpoint accounts are placed into an SMS or voice sandbox. The sandbox protects both Amazon Web Services end recipients and SMS or voice recipients from fraud and abuse.

See also: AWS API Documentation

Request Syntax

response = client.describe_account_attributes(
    NextToken='string',
    MaxResults=123
)
Parameters
  • NextToken (string) -- The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
  • MaxResults (integer) -- The maximum number of results to return per each request.
Return type

dict

Returns

Response Syntax

{
    'AccountAttributes': [
        {
            'Name': 'ACCOUNT_TIER',
            'Value': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • AccountAttributes (list) --

      An array of AccountAttributes objects.

      • (dict) --

        Displays the attributes associated with a single Amazon Web Services account.

        • Name (string) --

          The name of the account attribute.

        • Value (string) --

          The value associated with the account attribute name.

    • NextToken (string) --

      The token to be used for the next set of paginated results. If this field is empty then there are no more results.

Exceptions

  • PinpointSMSVoiceV2.Client.exceptions.ThrottlingException
  • PinpointSMSVoiceV2.Client.exceptions.AccessDeniedException
  • PinpointSMSVoiceV2.Client.exceptions.ValidationException
  • PinpointSMSVoiceV2.Client.exceptions.InternalServerException