#[non_exhaustive]pub struct UpdatePhoneNumberInput {
pub phone_number_id: Option<String>,
pub target_arn: Option<String>,
pub instance_id: Option<String>,
pub client_token: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.phone_number_id: Option<String>
A unique identifier for the phone number.
target_arn: Option<String>
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter InstanceId
or TargetArn
.
instance_id: Option<String>
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enter InstanceId
or TargetArn
.
client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Implementations§
source§impl UpdatePhoneNumberInput
impl UpdatePhoneNumberInput
sourcepub fn phone_number_id(&self) -> Option<&str>
pub fn phone_number_id(&self) -> Option<&str>
A unique identifier for the phone number.
sourcepub fn target_arn(&self) -> Option<&str>
pub fn target_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter InstanceId
or TargetArn
.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enter InstanceId
or TargetArn
.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
source§impl UpdatePhoneNumberInput
impl UpdatePhoneNumberInput
sourcepub fn builder() -> UpdatePhoneNumberInputBuilder
pub fn builder() -> UpdatePhoneNumberInputBuilder
Creates a new builder-style object to manufacture UpdatePhoneNumberInput
.
Trait Implementations§
source§impl Clone for UpdatePhoneNumberInput
impl Clone for UpdatePhoneNumberInput
source§fn clone(&self) -> UpdatePhoneNumberInput
fn clone(&self) -> UpdatePhoneNumberInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdatePhoneNumberInput
impl Debug for UpdatePhoneNumberInput
source§impl PartialEq for UpdatePhoneNumberInput
impl PartialEq for UpdatePhoneNumberInput
source§fn eq(&self, other: &UpdatePhoneNumberInput) -> bool
fn eq(&self, other: &UpdatePhoneNumberInput) -> bool
self
and other
values to be equal, and is used
by ==
.