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

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Show BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Generic BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Associated Types

type Rep BatchUpdatePhoneNumber :: Type -> Type #

NFData BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Methods

rnf :: BatchUpdatePhoneNumber -> () #

Hashable BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

ToJSON BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

AWSRequest BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Associated Types

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

type Rep BatchUpdatePhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

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

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

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

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Read BatchUpdatePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Show BatchUpdatePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Generic BatchUpdatePhoneNumberResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdatePhoneNumber

Associated Types

type Rep BatchUpdatePhoneNumberResponse :: Type -> Type #

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