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

Description

Checks out the specified license for offline use.

Synopsis

Creating a Request

data CheckoutBorrowLicense Source #

See: newCheckoutBorrowLicense smart constructor.

Constructors

CheckoutBorrowLicense' 

Fields

Instances

Instances details
Eq CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Read CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Show CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Generic CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Associated Types

type Rep CheckoutBorrowLicense :: Type -> Type #

NFData CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Methods

rnf :: CheckoutBorrowLicense -> () #

Hashable CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

ToJSON CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

AWSRequest CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Associated Types

type AWSResponse CheckoutBorrowLicense #

ToHeaders CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

ToPath CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

ToQuery CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

type Rep CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

type Rep CheckoutBorrowLicense = D1 ('MetaData "CheckoutBorrowLicense" "Amazonka.LicenseManager.CheckoutBorrowLicense" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "CheckoutBorrowLicense'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "checkoutMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Metadata])) :*: (S1 ('MetaSel ('Just "nodeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "licenseArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "entitlements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [EntitlementData]) :*: (S1 ('MetaSel ('Just "digitalSignatureMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DigitalSignatureMethod) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

newCheckoutBorrowLicense Source #

Create a value of CheckoutBorrowLicense 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:checkoutMetadata:CheckoutBorrowLicense', checkoutBorrowLicense_checkoutMetadata - Information about constraints.

$sel:nodeId:CheckoutBorrowLicense', checkoutBorrowLicense_nodeId - Node ID.

$sel:licenseArn:CheckoutBorrowLicense', checkoutBorrowLicense_licenseArn - Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration.

$sel:entitlements:CheckoutBorrowLicense', checkoutBorrowLicense_entitlements - License entitlements. Partial checkouts are not supported.

$sel:digitalSignatureMethod:CheckoutBorrowLicense', checkoutBorrowLicense_digitalSignatureMethod - Digital signature method. The possible value is JSON Web Signature (JWS) algorithm PS384. For more information, see RFC 7518 Digital Signature with RSASSA-PSS.

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

Request Lenses

checkoutBorrowLicense_licenseArn :: Lens' CheckoutBorrowLicense Text Source #

Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration.

checkoutBorrowLicense_entitlements :: Lens' CheckoutBorrowLicense [EntitlementData] Source #

License entitlements. Partial checkouts are not supported.

checkoutBorrowLicense_digitalSignatureMethod :: Lens' CheckoutBorrowLicense DigitalSignatureMethod Source #

Digital signature method. The possible value is JSON Web Signature (JWS) algorithm PS384. For more information, see RFC 7518 Digital Signature with RSASSA-PSS.

checkoutBorrowLicense_clientToken :: Lens' CheckoutBorrowLicense Text Source #

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

Destructuring the Response

data CheckoutBorrowLicenseResponse Source #

See: newCheckoutBorrowLicenseResponse smart constructor.

Constructors

CheckoutBorrowLicenseResponse' 

Fields

Instances

Instances details
Eq CheckoutBorrowLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Read CheckoutBorrowLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Show CheckoutBorrowLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Generic CheckoutBorrowLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Associated Types

type Rep CheckoutBorrowLicenseResponse :: Type -> Type #

NFData CheckoutBorrowLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

type Rep CheckoutBorrowLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

type Rep CheckoutBorrowLicenseResponse = D1 ('MetaData "CheckoutBorrowLicenseResponse" "Amazonka.LicenseManager.CheckoutBorrowLicense" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "CheckoutBorrowLicenseResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "entitlementsAllowed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EntitlementData])) :*: S1 ('MetaSel ('Just "checkoutMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Metadata]))) :*: (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))))))

newCheckoutBorrowLicenseResponse Source #

Response Lenses

checkoutBorrowLicenseResponse_expiration :: Lens' CheckoutBorrowLicenseResponse (Maybe Text) Source #

Date and time at which the license checkout expires.

checkoutBorrowLicenseResponse_issuedAt :: Lens' CheckoutBorrowLicenseResponse (Maybe Text) Source #

Date and time at which the license checkout is issued.