Struct aws_sdk_connect::operation::search_available_phone_numbers::SearchAvailablePhoneNumbersInput
source · #[non_exhaustive]pub struct SearchAvailablePhoneNumbersInput {
pub target_arn: Option<String>,
pub instance_id: Option<String>,
pub phone_number_country_code: Option<PhoneNumberCountryCode>,
pub phone_number_type: Option<PhoneNumberType>,
pub phone_number_prefix: Option<String>,
pub max_results: Option<i32>,
pub next_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_country_code: Option<PhoneNumberCountryCode>
The ISO country code.
phone_number_type: Option<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.
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.
Implementations§
source§impl SearchAvailablePhoneNumbersInput
impl SearchAvailablePhoneNumbersInput
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_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 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.
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.
source§impl SearchAvailablePhoneNumbersInput
impl SearchAvailablePhoneNumbersInput
sourcepub fn builder() -> SearchAvailablePhoneNumbersInputBuilder
pub fn builder() -> SearchAvailablePhoneNumbersInputBuilder
Creates a new builder-style object to manufacture SearchAvailablePhoneNumbersInput
.
Trait Implementations§
source§impl Clone for SearchAvailablePhoneNumbersInput
impl Clone for SearchAvailablePhoneNumbersInput
source§fn clone(&self) -> SearchAvailablePhoneNumbersInput
fn clone(&self) -> SearchAvailablePhoneNumbersInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for SearchAvailablePhoneNumbersInput
impl PartialEq for SearchAvailablePhoneNumbersInput
source§fn eq(&self, other: &SearchAvailablePhoneNumbersInput) -> bool
fn eq(&self, other: &SearchAvailablePhoneNumbersInput) -> bool
self
and other
values to be equal, and is used
by ==
.