describe_sender_ids
¶
describe_sender_ids(
*,
config_overrides: Optional[PinpointSMSVoiceV2ClientConfig] = 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/pinpoint_sms_voice_v2.py
4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 | |