update_sender_id
async
¶
update_sender_id(
sender_id: SenderIdOrArn,
iso_country_code: IsoCountryCode,
*,
config_overrides: Optional[AsyncPinpointSMSVoiceV2ClientConfig] = None,
deletion_protection_enabled: Optional[bool] = None,
) -> UpdateSenderIdResult
Updates the configuration of an existing sender ID.
Parameters:
-
sender_id(SenderIdOrArn) –The sender ID to update.
-
iso_country_code(IsoCountryCode) –The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
-
deletion_protection_enabled(Optional[bool], default:None) –By default this is set to false. When set to true the sender ID can't be deleted.
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.