#[non_exhaustive]pub struct ListPhoneNumbersV2Input {
pub target_arn: Option<String>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub phone_number_country_codes: Option<Vec<PhoneNumberCountryCode>>,
pub phone_number_types: Option<Vec<PhoneNumberType>>,
pub phone_number_prefix: 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 numbers are claimed to. If TargetArn
input is not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account in the same Amazon Web Services Region as the request.
max_results: Option<i32>
The maximum number of results to return per page.
next_token: Option<String>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
phone_number_country_codes: Option<Vec<PhoneNumberCountryCode>>
The ISO country code.
phone_number_types: Option<Vec<PhoneNumberType>>
The type of phone number.
phone_number_prefix: Option<String>
The prefix of the phone number. If provided, it must contain +
as part of the country code.
Implementations§
source§impl ListPhoneNumbersV2Input
impl ListPhoneNumbersV2Input
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. If TargetArn
input is not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account in the same Amazon Web Services Region as the request.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return per page.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn phone_number_country_codes(&self) -> Option<&[PhoneNumberCountryCode]>
pub fn phone_number_country_codes(&self) -> Option<&[PhoneNumberCountryCode]>
The ISO country code.
sourcepub fn phone_number_types(&self) -> Option<&[PhoneNumberType]>
pub fn phone_number_types(&self) -> Option<&[PhoneNumberType]>
The type of phone number.
sourcepub fn phone_number_prefix(&self) -> Option<&str>
pub fn phone_number_prefix(&self) -> Option<&str>
The prefix of the phone number. If provided, it must contain +
as part of the country code.
source§impl ListPhoneNumbersV2Input
impl ListPhoneNumbersV2Input
sourcepub fn builder() -> ListPhoneNumbersV2InputBuilder
pub fn builder() -> ListPhoneNumbersV2InputBuilder
Creates a new builder-style object to manufacture ListPhoneNumbersV2Input
.
Trait Implementations§
source§impl Clone for ListPhoneNumbersV2Input
impl Clone for ListPhoneNumbersV2Input
source§fn clone(&self) -> ListPhoneNumbersV2Input
fn clone(&self) -> ListPhoneNumbersV2Input
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListPhoneNumbersV2Input
impl Debug for ListPhoneNumbersV2Input
source§impl PartialEq<ListPhoneNumbersV2Input> for ListPhoneNumbersV2Input
impl PartialEq<ListPhoneNumbersV2Input> for ListPhoneNumbersV2Input
source§fn eq(&self, other: &ListPhoneNumbersV2Input) -> bool
fn eq(&self, other: &ListPhoneNumbersV2Input) -> bool
self
and other
values to be equal, and is used
by ==
.