#[non_exhaustive]pub struct ImportPhoneNumberInput {
pub instance_id: Option<String>,
pub source_phone_number_arn: 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.instance_id: Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
source_phone_number_arn: Option<String>
The claimed phone number ARN being imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number to import from Amazon Pinpoint.
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.
Implementations§
source§impl ImportPhoneNumberInput
impl ImportPhoneNumberInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn source_phone_number_arn(&self) -> Option<&str>
pub fn source_phone_number_arn(&self) -> Option<&str>
The claimed phone number ARN being imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number to import from Amazon Pinpoint.
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.
source§impl ImportPhoneNumberInput
impl ImportPhoneNumberInput
sourcepub fn builder() -> ImportPhoneNumberInputBuilder
pub fn builder() -> ImportPhoneNumberInputBuilder
Creates a new builder-style object to manufacture ImportPhoneNumberInput
.
Trait Implementations§
source§impl Clone for ImportPhoneNumberInput
impl Clone for ImportPhoneNumberInput
source§fn clone(&self) -> ImportPhoneNumberInput
fn clone(&self) -> ImportPhoneNumberInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportPhoneNumberInput
impl Debug for ImportPhoneNumberInput
source§impl PartialEq for ImportPhoneNumberInput
impl PartialEq for ImportPhoneNumberInput
source§fn eq(&self, other: &ImportPhoneNumberInput) -> bool
fn eq(&self, other: &ImportPhoneNumberInput) -> bool
self
and other
values to be equal, and is used
by ==
.