amazonka-chime-2.0: Amazon Chime SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Chime.BatchDeletePhoneNumber

Description

Moves phone numbers into the Deletion queue. Phone numbers must be disassociated from any users or Amazon Chime Voice Connectors before they can be deleted.

Phone numbers remain in the Deletion queue for 7 days before they are deleted permanently.

Synopsis

Creating a Request

data BatchDeletePhoneNumber Source #

See: newBatchDeletePhoneNumber smart constructor.

Constructors

BatchDeletePhoneNumber' 

Fields

Instances

Instances details
ToJSON BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

ToHeaders BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

ToPath BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

ToQuery BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

AWSRequest BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Associated Types

type AWSResponse BatchDeletePhoneNumber #

Generic BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Associated Types

type Rep BatchDeletePhoneNumber :: Type -> Type #

Read BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Show BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

NFData BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Methods

rnf :: BatchDeletePhoneNumber -> () #

Eq BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Hashable BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

type AWSResponse BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

type Rep BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

type Rep BatchDeletePhoneNumber = D1 ('MetaData "BatchDeletePhoneNumber" "Amazonka.Chime.BatchDeletePhoneNumber" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "BatchDeletePhoneNumber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumberIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newBatchDeletePhoneNumber Source #

Create a value of BatchDeletePhoneNumber 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:phoneNumberIds:BatchDeletePhoneNumber', batchDeletePhoneNumber_phoneNumberIds - List of phone number IDs.

Request Lenses

Destructuring the Response

data BatchDeletePhoneNumberResponse Source #

See: newBatchDeletePhoneNumberResponse smart constructor.

Constructors

BatchDeletePhoneNumberResponse' 

Fields

Instances

Instances details
Generic BatchDeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Associated Types

type Rep BatchDeletePhoneNumberResponse :: Type -> Type #

Read BatchDeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Show BatchDeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

NFData BatchDeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Eq BatchDeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

type Rep BatchDeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

type Rep BatchDeletePhoneNumberResponse = D1 ('MetaData "BatchDeletePhoneNumberResponse" "Amazonka.Chime.BatchDeletePhoneNumber" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "BatchDeletePhoneNumberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumberErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhoneNumberError])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchDeletePhoneNumberResponse Source #

Create a value of BatchDeletePhoneNumberResponse 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:phoneNumberErrors:BatchDeletePhoneNumberResponse', batchDeletePhoneNumberResponse_phoneNumberErrors - If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.

$sel:httpStatus:BatchDeletePhoneNumberResponse', batchDeletePhoneNumberResponse_httpStatus - The response's http status code.

Response Lenses

batchDeletePhoneNumberResponse_phoneNumberErrors :: Lens' BatchDeletePhoneNumberResponse (Maybe [PhoneNumberError]) Source #

If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.