amazonka-medialive-2.0: Amazon Elemental MediaLive 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.MediaLive.PurchaseOffering

Description

Purchase an offering and create a reservation.

Synopsis

Creating a Request

data PurchaseOffering' Source #

Placeholder documentation for PurchaseOfferingRequest

See: newPurchaseOffering' smart constructor.

Constructors

PurchaseOffering'' 

Fields

Instances

Instances details
ToJSON PurchaseOffering' Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

ToHeaders PurchaseOffering' Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

ToPath PurchaseOffering' Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

ToQuery PurchaseOffering' Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

AWSRequest PurchaseOffering' Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

Associated Types

type AWSResponse PurchaseOffering' #

Generic PurchaseOffering' Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

Associated Types

type Rep PurchaseOffering' :: Type -> Type #

Read PurchaseOffering' Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

Show PurchaseOffering' Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

NFData PurchaseOffering' Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

Methods

rnf :: PurchaseOffering' -> () #

Eq PurchaseOffering' Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

Hashable PurchaseOffering' Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

type AWSResponse PurchaseOffering' Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

type Rep PurchaseOffering' Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

newPurchaseOffering' Source #

Create a value of PurchaseOffering' 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:

PurchaseOffering', purchaseOffering'_name - Name for the new reservation

PurchaseOffering', purchaseOffering'_renewalSettings - Renewal settings for the reservation

$sel:requestId:PurchaseOffering'', purchaseOffering'_requestId - Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.

PurchaseOffering', purchaseOffering'_start - Requested reservation start time (UTC) in ISO-8601 format. The specified time must be between the first day of the current month and one year from now. If no value is given, the default is now.

PurchaseOffering', purchaseOffering'_tags - A collection of key-value pairs

PurchaseOffering', purchaseOffering'_offeringId - Offering to purchase, e.g. '87654321'

PurchaseOffering', purchaseOffering'_count - Number of resources

Request Lenses

purchaseOffering'_requestId :: Lens' PurchaseOffering' (Maybe Text) Source #

Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.

purchaseOffering'_start :: Lens' PurchaseOffering' (Maybe Text) Source #

Requested reservation start time (UTC) in ISO-8601 format. The specified time must be between the first day of the current month and one year from now. If no value is given, the default is now.

purchaseOffering'_offeringId :: Lens' PurchaseOffering' Text Source #

Offering to purchase, e.g. '87654321'

Destructuring the Response

data PurchaseOfferingResponse Source #

Placeholder documentation for PurchaseOfferingResponse

See: newPurchaseOfferingResponse smart constructor.

Constructors

PurchaseOfferingResponse' 

Fields

Instances

Instances details
Generic PurchaseOfferingResponse Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

Associated Types

type Rep PurchaseOfferingResponse :: Type -> Type #

Read PurchaseOfferingResponse Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

Show PurchaseOfferingResponse Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

NFData PurchaseOfferingResponse Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

Eq PurchaseOfferingResponse Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

type Rep PurchaseOfferingResponse Source # 
Instance details

Defined in Amazonka.MediaLive.PurchaseOffering

type Rep PurchaseOfferingResponse = D1 ('MetaData "PurchaseOfferingResponse" "Amazonka.MediaLive.PurchaseOffering" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "PurchaseOfferingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reservation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Reservation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPurchaseOfferingResponse Source #

Create a value of PurchaseOfferingResponse 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:reservation:PurchaseOfferingResponse', purchaseOfferingResponse_reservation - Undocumented member.

$sel:httpStatus:PurchaseOfferingResponse', purchaseOfferingResponse_httpStatus - The response's http status code.

Response Lenses