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.BatchUpdatePhoneNumber

Description

Updates phone number product types or calling names. You can update one attribute at a time for each UpdatePhoneNumberRequestItem. For example, you can update the product type or the calling name.

For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type.

Updates to outbound calling names can take up to 72 hours to complete. Pending updates to outbound calling names must be complete before you can request another update.

Synopsis

Creating a Request

data BatchUpdatePhoneNumber Source #

See: newBatchUpdatePhoneNumber smart constructor.

Constructors

BatchUpdatePhoneNumber' 

Fields

Instances

Instances details
ToJSON BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

ToHeaders BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

ToPath BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

ToQuery BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

AWSRequest BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Associated Types

type AWSResponse BatchUpdatePhoneNumber #

Generic BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Associated Types

type Rep BatchUpdatePhoneNumber :: Type -> Type #

Show BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

NFData BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Methods

rnf :: BatchUpdatePhoneNumber -> () #

Eq BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Hashable BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

type AWSResponse BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

type Rep BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

type Rep BatchUpdatePhoneNumber = D1 ('MetaData "BatchUpdatePhoneNumber" "Amazonka.Chime.BatchUpdatePhoneNumber" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "BatchUpdatePhoneNumber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "updatePhoneNumberRequestItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [UpdatePhoneNumberRequestItem])))

newBatchUpdatePhoneNumber :: BatchUpdatePhoneNumber Source #

Create a value of BatchUpdatePhoneNumber 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:updatePhoneNumberRequestItems:BatchUpdatePhoneNumber', batchUpdatePhoneNumber_updatePhoneNumberRequestItems - The request containing the phone number IDs and product types or calling names to update.

Request Lenses

batchUpdatePhoneNumber_updatePhoneNumberRequestItems :: Lens' BatchUpdatePhoneNumber [UpdatePhoneNumberRequestItem] Source #

The request containing the phone number IDs and product types or calling names to update.

Destructuring the Response

data BatchUpdatePhoneNumberResponse Source #

See: newBatchUpdatePhoneNumberResponse smart constructor.

Constructors

BatchUpdatePhoneNumberResponse' 

Fields

Instances

Instances details
Generic BatchUpdatePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Associated Types

type Rep BatchUpdatePhoneNumberResponse :: Type -> Type #

Read BatchUpdatePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Show BatchUpdatePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

NFData BatchUpdatePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Eq BatchUpdatePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

type Rep BatchUpdatePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

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

newBatchUpdatePhoneNumberResponse Source #

Create a value of BatchUpdatePhoneNumberResponse 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:BatchUpdatePhoneNumberResponse', batchUpdatePhoneNumberResponse_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:BatchUpdatePhoneNumberResponse', batchUpdatePhoneNumberResponse_httpStatus - The response's http status code.

Response Lenses

batchUpdatePhoneNumberResponse_phoneNumberErrors :: Lens' BatchUpdatePhoneNumberResponse (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.