Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DeletePhoneNumber' | |
|
Instances
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:
$sel:phoneNumberId: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.
Instances
Eq DeletePhoneNumberResponse Source # | |
Defined in Amazonka.Chime.DeletePhoneNumber | |
Read DeletePhoneNumberResponse Source # | |
Show DeletePhoneNumberResponse Source # | |
Defined in Amazonka.Chime.DeletePhoneNumber showsPrec :: Int -> DeletePhoneNumberResponse -> ShowS # show :: DeletePhoneNumberResponse -> String # showList :: [DeletePhoneNumberResponse] -> ShowS # | |
Generic DeletePhoneNumberResponse Source # | |
Defined in Amazonka.Chime.DeletePhoneNumber type Rep DeletePhoneNumberResponse :: Type -> Type # | |
NFData DeletePhoneNumberResponse Source # | |
Defined in Amazonka.Chime.DeletePhoneNumber rnf :: DeletePhoneNumberResponse -> () # | |
type Rep DeletePhoneNumberResponse Source # | |
newDeletePhoneNumberResponse :: DeletePhoneNumberResponse Source #
Create a value of DeletePhoneNumberResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.