Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data PhoneNumberStatus Source #
The status of the phone number.
CLAIMED
means the previous ClaimedPhoneNumber or UpdatePhoneNumber operation succeeded.IN_PROGRESS
means a ClaimedPhoneNumber or UpdatePhoneNumber 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 ClaimedPhoneNumber 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.
See: newPhoneNumberStatus
smart constructor.
Instances
newPhoneNumberStatus :: PhoneNumberStatus Source #
Create a value of PhoneNumberStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:message:PhoneNumberStatus'
, phoneNumberStatus_message
- The status message.
$sel:status:PhoneNumberStatus'
, phoneNumberStatus_status
- The status.
phoneNumberStatus_message :: Lens' PhoneNumberStatus (Maybe Text) Source #
The status message.
phoneNumberStatus_status :: Lens' PhoneNumberStatus (Maybe PhoneNumberWorkflowStatus) Source #
The status.