Struct aws_sdk_connect::types::ListPhoneNumbersSummary
source · #[non_exhaustive]pub struct ListPhoneNumbersSummary {
pub phone_number_id: Option<String>,
pub phone_number_arn: Option<String>,
pub phone_number: Option<String>,
pub phone_number_country_code: Option<PhoneNumberCountryCode>,
pub phone_number_type: Option<PhoneNumberType>,
pub target_arn: Option<String>,
pub instance_id: Option<String>,
}
Expand description
Information about phone numbers that have been claimed to your Amazon Connect instance or traffic distribution group.
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.
phone_number_arn: Option<String>
The Amazon Resource Name (ARN) of the phone number.
phone_number: Option<String>
The phone number. Phone numbers are formatted [+] [country code] [subscriber number including area code]
.
phone_number_country_code: Option<PhoneNumberCountryCode>
The ISO country code.
phone_number_type: Option<PhoneNumberType>
The type of 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.
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.
Implementations§
source§impl ListPhoneNumbersSummary
impl ListPhoneNumbersSummary
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 phone_number_arn(&self) -> Option<&str>
pub fn phone_number_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the phone number.
sourcepub fn phone_number(&self) -> Option<&str>
pub fn phone_number(&self) -> Option<&str>
The phone number. Phone numbers are formatted [+] [country code] [subscriber number including area code]
.
sourcepub fn phone_number_country_code(&self) -> Option<&PhoneNumberCountryCode>
pub fn phone_number_country_code(&self) -> Option<&PhoneNumberCountryCode>
The ISO country code.
sourcepub fn phone_number_type(&self) -> Option<&PhoneNumberType>
pub fn phone_number_type(&self) -> Option<&PhoneNumberType>
The type of 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.
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.
source§impl ListPhoneNumbersSummary
impl ListPhoneNumbersSummary
sourcepub fn builder() -> ListPhoneNumbersSummaryBuilder
pub fn builder() -> ListPhoneNumbersSummaryBuilder
Creates a new builder-style object to manufacture ListPhoneNumbersSummary
.
Trait Implementations§
source§impl Clone for ListPhoneNumbersSummary
impl Clone for ListPhoneNumbersSummary
source§fn clone(&self) -> ListPhoneNumbersSummary
fn clone(&self) -> ListPhoneNumbersSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListPhoneNumbersSummary
impl Debug for ListPhoneNumbersSummary
source§impl PartialEq for ListPhoneNumbersSummary
impl PartialEq for ListPhoneNumbersSummary
source§fn eq(&self, other: &ListPhoneNumbersSummary) -> bool
fn eq(&self, other: &ListPhoneNumbersSummary) -> bool
self
and other
values to be equal, and is used
by ==
.