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

Description

Creates an order for phone numbers to be provisioned. 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.

Synopsis

Creating a Request

data CreatePhoneNumberOrder Source #

See: newCreatePhoneNumberOrder smart constructor.

Constructors

CreatePhoneNumberOrder' 

Fields

Instances

Instances details
Eq CreatePhoneNumberOrder Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

Show CreatePhoneNumberOrder Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

Generic CreatePhoneNumberOrder Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

Associated Types

type Rep CreatePhoneNumberOrder :: Type -> Type #

NFData CreatePhoneNumberOrder Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

Methods

rnf :: CreatePhoneNumberOrder -> () #

Hashable CreatePhoneNumberOrder Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

ToJSON CreatePhoneNumberOrder Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

AWSRequest CreatePhoneNumberOrder Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

Associated Types

type AWSResponse CreatePhoneNumberOrder #

ToHeaders CreatePhoneNumberOrder Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

ToPath CreatePhoneNumberOrder Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

ToQuery CreatePhoneNumberOrder Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

type Rep CreatePhoneNumberOrder Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

type Rep CreatePhoneNumberOrder = D1 ('MetaData "CreatePhoneNumberOrder" "Amazonka.Chime.CreatePhoneNumberOrder" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "CreatePhoneNumberOrder'" 'PrefixI 'True) (S1 ('MetaSel ('Just "productType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PhoneNumberProductType) :*: S1 ('MetaSel ('Just "e164PhoneNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Sensitive Text])))
type AWSResponse CreatePhoneNumberOrder Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

newCreatePhoneNumberOrder Source #

Create a value of CreatePhoneNumberOrder 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:productType:CreatePhoneNumberOrder', createPhoneNumberOrder_productType - The phone number product type.

$sel:e164PhoneNumbers:CreatePhoneNumberOrder', createPhoneNumberOrder_e164PhoneNumbers - List of phone numbers, in E.164 format.

Request Lenses

Destructuring the Response

data CreatePhoneNumberOrderResponse Source #

See: newCreatePhoneNumberOrderResponse smart constructor.

Constructors

CreatePhoneNumberOrderResponse' 

Fields

Instances

Instances details
Eq CreatePhoneNumberOrderResponse Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

Show CreatePhoneNumberOrderResponse Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

Generic CreatePhoneNumberOrderResponse Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

Associated Types

type Rep CreatePhoneNumberOrderResponse :: Type -> Type #

NFData CreatePhoneNumberOrderResponse Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

type Rep CreatePhoneNumberOrderResponse Source # 
Instance details

Defined in Amazonka.Chime.CreatePhoneNumberOrder

type Rep CreatePhoneNumberOrderResponse = D1 ('MetaData "CreatePhoneNumberOrderResponse" "Amazonka.Chime.CreatePhoneNumberOrder" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "CreatePhoneNumberOrderResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumberOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PhoneNumberOrder)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreatePhoneNumberOrderResponse Source #

Create a value of CreatePhoneNumberOrderResponse 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:phoneNumberOrder:CreatePhoneNumberOrderResponse', createPhoneNumberOrderResponse_phoneNumberOrder - The phone number order details.

$sel:httpStatus:CreatePhoneNumberOrderResponse', createPhoneNumberOrderResponse_httpStatus - The response's http status code.

Response Lenses