| 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 |
Amazonka.Chime.DeletePhoneNumber
Description
Moves the specified phone number into the Deletion queue. A phone number must be disassociated from any users or Amazon Chime Voice Connectors before it can be deleted.
Deleted phone numbers remain in the Deletion queue for 7 days before they are deleted permanently.
Synopsis
Creating a Request
data DeletePhoneNumber Source #
See: newDeletePhoneNumber smart constructor.
Constructors
| DeletePhoneNumber' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeletePhoneNumber |
Create a value of DeletePhoneNumber 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:
DeletePhoneNumber, deletePhoneNumber_phoneNumberId - The phone number ID.
Request Lenses
deletePhoneNumber_phoneNumberId :: Lens' DeletePhoneNumber Text Source #
The phone number ID.
Destructuring the Response
data DeletePhoneNumberResponse Source #
See: newDeletePhoneNumberResponse smart constructor.
Constructors
| DeletePhoneNumberResponse' | |
Instances
newDeletePhoneNumberResponse :: DeletePhoneNumberResponse Source #
Create a value of DeletePhoneNumberResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.