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.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
Eq BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Read BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Show BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Generic BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Associated Types

type Rep BatchDeletePhoneNumber :: Type -> Type #

NFData BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Methods

rnf :: BatchDeletePhoneNumber -> () #

Hashable BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

ToJSON BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

AWSRequest BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Associated Types

type AWSResponse 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

type Rep BatchDeletePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

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

Defined in Amazonka.Chime.BatchDeletePhoneNumber

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
Eq BatchDeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Read BatchDeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Show BatchDeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Generic BatchDeletePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchDeletePhoneNumber

Associated Types

type Rep BatchDeletePhoneNumberResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-chimeZSamazonka-chime" '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.