libZSservicesZSamazonka-opensearchZSamazonka-opensearch
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.OpenSearch.PurchaseReservedInstanceOffering

Description

Allows you to purchase reserved OpenSearch instances.

Synopsis

Creating a Request

data PurchaseReservedInstanceOffering Source #

Container for parameters to PurchaseReservedInstanceOffering

See: newPurchaseReservedInstanceOffering smart constructor.

Constructors

PurchaseReservedInstanceOffering' 

Fields

Instances

Instances details
Eq PurchaseReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

Read PurchaseReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

Show PurchaseReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

Generic PurchaseReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

Associated Types

type Rep PurchaseReservedInstanceOffering :: Type -> Type #

NFData PurchaseReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

Hashable PurchaseReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

ToJSON PurchaseReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

AWSRequest PurchaseReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

ToHeaders PurchaseReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

ToPath PurchaseReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

ToQuery PurchaseReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

type Rep PurchaseReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

type Rep PurchaseReservedInstanceOffering = D1 ('MetaData "PurchaseReservedInstanceOffering" "Amazonka.OpenSearch.PurchaseReservedInstanceOffering" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "PurchaseReservedInstanceOffering'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "reservedInstanceOfferingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "reservationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse PurchaseReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

newPurchaseReservedInstanceOffering Source #

Create a value of PurchaseReservedInstanceOffering 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:instanceCount:PurchaseReservedInstanceOffering', purchaseReservedInstanceOffering_instanceCount - The number of OpenSearch instances to reserve.

$sel:reservedInstanceOfferingId:PurchaseReservedInstanceOffering', purchaseReservedInstanceOffering_reservedInstanceOfferingId - The ID of the reserved OpenSearch instance offering to purchase.

$sel:reservationName:PurchaseReservedInstanceOffering', purchaseReservedInstanceOffering_reservationName - A customer-specified identifier to track this reservation.

Request Lenses

purchaseReservedInstanceOffering_reservedInstanceOfferingId :: Lens' PurchaseReservedInstanceOffering Text Source #

The ID of the reserved OpenSearch instance offering to purchase.

purchaseReservedInstanceOffering_reservationName :: Lens' PurchaseReservedInstanceOffering Text Source #

A customer-specified identifier to track this reservation.

Destructuring the Response

data PurchaseReservedInstanceOfferingResponse Source #

Represents the output of a PurchaseReservedInstanceOffering operation.

See: newPurchaseReservedInstanceOfferingResponse smart constructor.

Constructors

PurchaseReservedInstanceOfferingResponse' 

Fields

Instances

Instances details
Eq PurchaseReservedInstanceOfferingResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

Read PurchaseReservedInstanceOfferingResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

Show PurchaseReservedInstanceOfferingResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

Generic PurchaseReservedInstanceOfferingResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

NFData PurchaseReservedInstanceOfferingResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

type Rep PurchaseReservedInstanceOfferingResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.PurchaseReservedInstanceOffering

type Rep PurchaseReservedInstanceOfferingResponse = D1 ('MetaData "PurchaseReservedInstanceOfferingResponse" "Amazonka.OpenSearch.PurchaseReservedInstanceOffering" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "PurchaseReservedInstanceOfferingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reservationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "reservedInstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newPurchaseReservedInstanceOfferingResponse Source #

Create a value of PurchaseReservedInstanceOfferingResponse 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:reservationName:PurchaseReservedInstanceOffering', purchaseReservedInstanceOfferingResponse_reservationName - The customer-specified identifier used to track this reservation.

$sel:reservedInstanceId:PurchaseReservedInstanceOfferingResponse', purchaseReservedInstanceOfferingResponse_reservedInstanceId - Details of the reserved OpenSearch instance which was purchased.

$sel:httpStatus:PurchaseReservedInstanceOfferingResponse', purchaseReservedInstanceOfferingResponse_httpStatus - The response's http status code.

Response Lenses