describe_sender_ids
(**kwargs)¶Describes the specified SenderIds or all SenderIds associated with your Amazon Web Services account.
If you specify SenderIds, the output includes information for only the specified SenderIds. If you specify filters, the output includes information for only those SenderIds that meet the filter criteria. If you don't specify SenderIds or filters, the output includes information for all SenderIds.
f you specify a sender ID that isn't valid, an Error is returned.
See also: AWS API Documentation
Request Syntax
response = client.describe_sender_ids(
SenderIds=[
{
'SenderId': 'string',
'IsoCountryCode': 'string'
},
],
Filters=[
{
'Name': 'sender-id'|'iso-country-code'|'message-type',
'Values': [
'string',
]
},
],
NextToken='string',
MaxResults=123
)
An array of SenderIdAndCountry objects to search for.
The alphanumeric sender ID in a specific country that you want to describe. For more information on sender IDs see Requesting sender IDs for SMS messaging with Amazon Pinpoint in the Amazon Pinpoint User Guide .
The unique identifier of the sender.
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
An array of SenderIdFilter objects to filter the results.
The information for a sender ID that meets a specified criteria.
The name of the attribute to filter on.
An array of values to filter for.
dict
Response Syntax
{
'SenderIds': [
{
'SenderIdArn': 'string',
'SenderId': 'string',
'IsoCountryCode': 'string',
'MessageTypes': [
'TRANSACTIONAL'|'PROMOTIONAL',
],
'MonthlyLeasingPrice': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
SenderIds (list) --
An array of SernderIdInformation objects that contain the details for the requested SenderIds.
(dict) --
The information for all SenderIds in an Amazon Web Services account.
SenderIdArn (string) --
The Amazon Resource Name (ARN) associated with the SenderId.
SenderId (string) --
The alphanumeric sender ID in a specific country that you'd like to describe.
IsoCountryCode (string) --
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
MessageTypes (list) --
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
MonthlyLeasingPrice (string) --
The monthly leasing price, in US dollars.
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.ResourceNotFoundException
PinpointSMSVoiceV2.Client.exceptions.ValidationException
PinpointSMSVoiceV2.Client.exceptions.InternalServerException