libZSservicesZSamazonka-outpostsZSamazonka-outposts
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.Outposts.CreateOrder

Description

Creates an order for an Outpost.

Synopsis

Creating a Request

data CreateOrder Source #

See: newCreateOrder smart constructor.

Constructors

CreateOrder' 

Fields

Instances

Instances details
Eq CreateOrder Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

Read CreateOrder Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

Show CreateOrder Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

Generic CreateOrder Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

Associated Types

type Rep CreateOrder :: Type -> Type #

NFData CreateOrder Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

Methods

rnf :: CreateOrder -> () #

Hashable CreateOrder Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

ToJSON CreateOrder Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

AWSRequest CreateOrder Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

Associated Types

type AWSResponse CreateOrder #

ToHeaders CreateOrder Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

Methods

toHeaders :: CreateOrder -> [Header] #

ToPath CreateOrder Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

ToQuery CreateOrder Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

type Rep CreateOrder Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

type Rep CreateOrder = D1 ('MetaData "CreateOrder" "Amazonka.Outposts.CreateOrder" "libZSservicesZSamazonka-outpostsZSamazonka-outposts" 'False) (C1 ('MetaCons "CreateOrder'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "paymentTerm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PaymentTerm)) :*: S1 ('MetaSel ('Just "outpostIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "lineItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty LineItemRequest)) :*: S1 ('MetaSel ('Just "paymentOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PaymentOption))))
type AWSResponse CreateOrder Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

newCreateOrder Source #

Create a value of CreateOrder 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:paymentTerm:CreateOrder', createOrder_paymentTerm - The payment terms for the order.

$sel:outpostIdentifier:CreateOrder', createOrder_outpostIdentifier - The ID or the Amazon Resource Name (ARN) of the Outpost.

$sel:lineItems:CreateOrder', createOrder_lineItems - The line items that make up the order.

$sel:paymentOption:CreateOrder', createOrder_paymentOption - The payment option for the order.

Request Lenses

createOrder_paymentTerm :: Lens' CreateOrder (Maybe PaymentTerm) Source #

The payment terms for the order.

createOrder_outpostIdentifier :: Lens' CreateOrder Text Source #

The ID or the Amazon Resource Name (ARN) of the Outpost.

createOrder_lineItems :: Lens' CreateOrder (NonEmpty LineItemRequest) Source #

The line items that make up the order.

createOrder_paymentOption :: Lens' CreateOrder PaymentOption Source #

The payment option for the order.

Destructuring the Response

data CreateOrderResponse Source #

See: newCreateOrderResponse smart constructor.

Constructors

CreateOrderResponse' 

Fields

Instances

Instances details
Eq CreateOrderResponse Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

Read CreateOrderResponse Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

Show CreateOrderResponse Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

Generic CreateOrderResponse Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

Associated Types

type Rep CreateOrderResponse :: Type -> Type #

NFData CreateOrderResponse Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

Methods

rnf :: CreateOrderResponse -> () #

type Rep CreateOrderResponse Source # 
Instance details

Defined in Amazonka.Outposts.CreateOrder

type Rep CreateOrderResponse = D1 ('MetaData "CreateOrderResponse" "Amazonka.Outposts.CreateOrder" "libZSservicesZSamazonka-outpostsZSamazonka-outposts" 'False) (C1 ('MetaCons "CreateOrderResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "order") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Order)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateOrderResponse Source #

Create a value of CreateOrderResponse 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:order:CreateOrderResponse', createOrderResponse_order - Information about this order.

$sel:httpStatus:CreateOrderResponse', createOrderResponse_httpStatus - The response's http status code.

Response Lenses