release_sender_id
async
¶
release_sender_id(
sender_id: SenderIdOrArn,
iso_country_code: IsoCountryCode,
*,
config_overrides: Optional[AsyncPinpointSMSVoiceV2ClientConfig] = None,
) -> ReleaseSenderIdResult
Releases an existing sender ID in your account.
Parameters:
-
sender_id(SenderIdOrArn) –The sender ID to release.
-
iso_country_code(IsoCountryCode) –The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
Raises:
-
AccessDeniedException–The request was denied because you don't have sufficient permissions to access the resource.
-
ConflictException–Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of 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.