Struct aws_sdk_connect::types::PhoneNumberStatus
source · #[non_exhaustive]pub struct PhoneNumberStatus {
pub status: Option<PhoneNumberWorkflowStatus>,
pub message: Option<String>,
}
Expand description
The status of the phone number.
-
CLAIMED
means the previous ClaimPhoneNumber or UpdatePhoneNumber operation succeeded. -
IN_PROGRESS
means a ClaimPhoneNumber, UpdatePhoneNumber, or UpdatePhoneNumberMetadata operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed. -
FAILED
indicates that the previous ClaimPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A common reason for a failure may be that theTargetArn
value you are claiming or updating a phone number to has reached its limit of total claimed numbers. If you received aFAILED
status from aClaimPhoneNumber
API call, you have one day to retry claiming the phone number before the number is released back to the inventory for other customers to claim.
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.status: Option<PhoneNumberWorkflowStatus>
The status.
message: Option<String>
The status message.
Implementations§
source§impl PhoneNumberStatus
impl PhoneNumberStatus
sourcepub fn builder() -> PhoneNumberStatusBuilder
pub fn builder() -> PhoneNumberStatusBuilder
Creates a new builder-style object to manufacture PhoneNumberStatus
.
Trait Implementations§
source§impl Clone for PhoneNumberStatus
impl Clone for PhoneNumberStatus
source§fn clone(&self) -> PhoneNumberStatus
fn clone(&self) -> PhoneNumberStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PhoneNumberStatus
impl Debug for PhoneNumberStatus
source§impl PartialEq for PhoneNumberStatus
impl PartialEq for PhoneNumberStatus
source§fn eq(&self, other: &PhoneNumberStatus) -> bool
fn eq(&self, other: &PhoneNumberStatus) -> bool
self
and other
values to be equal, and is used
by ==
.