describe_sender_ids
async
¶
describe_sender_ids(
*,
config_overrides: Optional[AsyncPinpointSMSVoiceV2ClientConfig] = None,
sender_ids: Optional[SenderIdList] = None,
filters: Optional[SenderIdFilterList] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
owner: Optional[Owner] = None,
) -> DescribeSenderIdsResult
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.
Parameters:
-
sender_ids(Optional[SenderIdList], default:None) –An array of SenderIdAndCountry objects to search for.
If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).
-
filters(Optional[SenderIdFilterList], default:None) –An array of SenderIdFilter objects to filter the results.
-
next_token(Optional[NextToken], default:None) –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.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return per each request.
-
owner(Optional[Owner], default:None) –Use
SELFto filter the list of Sender Ids to ones your account owns or useSHAREDto filter on Sender Ids shared with your account. TheOwnerandSenderIdsparameters can't be used at the same time.
Raises:
-
AccessDeniedException–The request was denied because you don't have sufficient permissions to access the resource.
-
InternalServerException–The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
-
ResourceNotFoundException–A requested resource couldn't be found.
-
ThrottlingException–An error that occurred because too many requests were sent during a certain amount of time.
-
ValidationException–A validation exception for a field.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_pinpoint_sms_voice_v2/_services/async_pinpoint_sms_voice_v2.py
4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 | |