libZSservicesZSamazonka-license-managerZSamazonka-license-manager
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.LicenseManager.CheckoutLicense

Description

Checks out the specified license.

Synopsis

Creating a Request

data CheckoutLicense Source #

See: newCheckoutLicense smart constructor.

Constructors

CheckoutLicense' 

Fields

Instances

Instances details
Eq CheckoutLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

Read CheckoutLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

Show CheckoutLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

Generic CheckoutLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

Associated Types

type Rep CheckoutLicense :: Type -> Type #

NFData CheckoutLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

Methods

rnf :: CheckoutLicense -> () #

Hashable CheckoutLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

ToJSON CheckoutLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

AWSRequest CheckoutLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

Associated Types

type AWSResponse CheckoutLicense #

ToHeaders CheckoutLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

ToPath CheckoutLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

ToQuery CheckoutLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

type Rep CheckoutLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

type Rep CheckoutLicense = D1 ('MetaData "CheckoutLicense" "Amazonka.LicenseManager.CheckoutLicense" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "CheckoutLicense'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nodeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "beneficiary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "productSKU") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "checkoutType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CheckoutType) :*: S1 ('MetaSel ('Just "keyFingerprint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "entitlements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [EntitlementData]) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CheckoutLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

newCheckoutLicense Source #

Create a value of CheckoutLicense 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:nodeId:CheckoutLicense', checkoutLicense_nodeId - Node ID.

$sel:beneficiary:CheckoutLicense', checkoutLicense_beneficiary - License beneficiary.

$sel:productSKU:CheckoutLicense', checkoutLicense_productSKU - Product SKU.

$sel:checkoutType:CheckoutLicense', checkoutLicense_checkoutType - Checkout type.

$sel:keyFingerprint:CheckoutLicense', checkoutLicense_keyFingerprint - Key fingerprint identifying the license.

$sel:entitlements:CheckoutLicense', checkoutLicense_entitlements - License entitlements.

$sel:clientToken:CheckoutLicense', checkoutLicense_clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Request Lenses

checkoutLicense_keyFingerprint :: Lens' CheckoutLicense Text Source #

Key fingerprint identifying the license.

checkoutLicense_clientToken :: Lens' CheckoutLicense Text Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Destructuring the Response

data CheckoutLicenseResponse Source #

See: newCheckoutLicenseResponse smart constructor.

Constructors

CheckoutLicenseResponse' 

Fields

Instances

Instances details
Eq CheckoutLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

Read CheckoutLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

Show CheckoutLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

Generic CheckoutLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

Associated Types

type Rep CheckoutLicenseResponse :: Type -> Type #

NFData CheckoutLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

Methods

rnf :: CheckoutLicenseResponse -> () #

type Rep CheckoutLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutLicense

type Rep CheckoutLicenseResponse = D1 ('MetaData "CheckoutLicenseResponse" "Amazonka.LicenseManager.CheckoutLicense" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "CheckoutLicenseResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "entitlementsAllowed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EntitlementData])) :*: S1 ('MetaSel ('Just "checkoutType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CheckoutType))) :*: (S1 ('MetaSel ('Just "expiration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "signedToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "licenseConsumptionToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nodeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "issuedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "licenseArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

Response Lenses

checkoutLicenseResponse_expiration :: Lens' CheckoutLicenseResponse (Maybe Text) Source #

Date and time at which the license checkout expires.

checkoutLicenseResponse_issuedAt :: Lens' CheckoutLicenseResponse (Maybe Text) Source #

Date and time at which the license checkout is issued.

checkoutLicenseResponse_licenseArn :: Lens' CheckoutLicenseResponse (Maybe Text) Source #

Amazon Resource Name (ARN) of the checkout license.