amazonka-license-manager-2.0: Amazon License Manager 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.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
ToJSON CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.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

AWSRequest CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Associated Types

type AWSResponse CheckoutBorrowLicense #

Generic CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Associated Types

type Rep CheckoutBorrowLicense :: Type -> Type #

Read CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Show CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

NFData CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Methods

rnf :: CheckoutBorrowLicense -> () #

Eq CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Hashable CheckoutBorrowLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

type AWSResponse 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" "amazonka-license-manager-2.0-7MwrI8iJ3YaDRGRrldCApy" '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)))))

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:

CheckoutBorrowLicense, checkoutBorrowLicense_checkoutMetadata - Information about constraints.

CheckoutBorrowLicense, checkoutBorrowLicense_nodeId - Node ID.

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

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
Generic CheckoutBorrowLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Associated Types

type Rep CheckoutBorrowLicenseResponse :: Type -> Type #

Read CheckoutBorrowLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Show CheckoutBorrowLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

NFData CheckoutBorrowLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CheckoutBorrowLicense

Eq 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" "amazonka-license-manager-2.0-7MwrI8iJ3YaDRGRrldCApy" 'False) (C1 ('MetaCons "CheckoutBorrowLicenseResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "checkoutMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Metadata])) :*: S1 ('MetaSel ('Just "entitlementsAllowed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EntitlementData]))) :*: (S1 ('MetaSel ('Just "expiration") '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 "licenseConsumptionToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nodeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "signedToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

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.