#[non_exhaustive]pub struct ClaimPhoneNumberInput {
pub target_arn: Option<String>,
pub instance_id: Option<String>,
pub phone_number: Option<String>,
pub phone_number_description: Option<String>,
pub tags: Option<HashMap<String, 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.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
.
phone_number: Option<String>
The phone number you want to claim. Phone numbers are formatted [+] [country code] [subscriber number including area code]
.
phone_number_description: Option<String>
The description of the phone number.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
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.
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
Implementations§
source§impl ClaimPhoneNumberInput
impl ClaimPhoneNumberInput
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 phone_number(&self) -> Option<&str>
pub fn phone_number(&self) -> Option<&str>
The phone number you want to claim. Phone numbers are formatted [+] [country code] [subscriber number including area code]
.
sourcepub fn phone_number_description(&self) -> Option<&str>
pub fn phone_number_description(&self) -> Option<&str>
The description of the phone number.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
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.
Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
source§impl ClaimPhoneNumberInput
impl ClaimPhoneNumberInput
sourcepub fn builder() -> ClaimPhoneNumberInputBuilder
pub fn builder() -> ClaimPhoneNumberInputBuilder
Creates a new builder-style object to manufacture ClaimPhoneNumberInput
.
Trait Implementations§
source§impl Clone for ClaimPhoneNumberInput
impl Clone for ClaimPhoneNumberInput
source§fn clone(&self) -> ClaimPhoneNumberInput
fn clone(&self) -> ClaimPhoneNumberInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClaimPhoneNumberInput
impl Debug for ClaimPhoneNumberInput
source§impl PartialEq for ClaimPhoneNumberInput
impl PartialEq for ClaimPhoneNumberInput
source§fn eq(&self, other: &ClaimPhoneNumberInput) -> bool
fn eq(&self, other: &ClaimPhoneNumberInput) -> bool
self
and other
values to be equal, and is used
by ==
.