libZSservicesZSamazonka-chimeZSamazonka-chime
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Instances details
Eq DeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

Read DeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

Show DeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

Generic DeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

Associated Types

type Rep DeletePhoneNumber :: Type -> Type #

NFData DeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

Methods

rnf :: DeletePhoneNumber -> () #

Hashable DeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

AWSRequest DeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

Associated Types

type AWSResponse DeletePhoneNumber #

ToHeaders DeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

ToPath DeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

ToQuery DeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

type Rep DeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

type Rep DeletePhoneNumber = D1 ('MetaData "DeletePhoneNumber" "Amazonka.Chime.DeletePhoneNumber" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "DeletePhoneNumber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

newDeletePhoneNumber Source #

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

Destructuring the Response

data DeletePhoneNumberResponse Source #

See: newDeletePhoneNumberResponse smart constructor.

Instances

Instances details
Eq DeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

Read DeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

Show DeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

Generic DeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

Associated Types

type Rep DeletePhoneNumberResponse :: Type -> Type #

NFData DeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

type Rep DeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.DeletePhoneNumber

type Rep DeletePhoneNumberResponse = D1 ('MetaData "DeletePhoneNumberResponse" "Amazonka.Chime.DeletePhoneNumber" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "DeletePhoneNumberResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeletePhoneNumberResponse :: DeletePhoneNumberResponse Source #

Create a value of DeletePhoneNumberResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.