Struct aws_sdk_connect::input::ClaimPhoneNumberInput
source · #[non_exhaustive]pub struct ClaimPhoneNumberInput { /* private fields */ }
Implementations§
source§impl ClaimPhoneNumberInput
impl ClaimPhoneNumberInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<ClaimPhoneNumber, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<ClaimPhoneNumber, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ClaimPhoneNumber
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClaimPhoneNumberInput
.
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 numbers are claimed to.
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}$
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<ClaimPhoneNumberInput> for ClaimPhoneNumberInput
impl PartialEq<ClaimPhoneNumberInput> 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 ==
.