| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LicenseManager.CheckoutBorrowLicense
Description
Checks out the specified license for offline use.
Synopsis
- data CheckoutBorrowLicense = CheckoutBorrowLicense' {}
- newCheckoutBorrowLicense :: Text -> DigitalSignatureMethod -> Text -> CheckoutBorrowLicense
- checkoutBorrowLicense_checkoutMetadata :: Lens' CheckoutBorrowLicense (Maybe [Metadata])
- checkoutBorrowLicense_nodeId :: Lens' CheckoutBorrowLicense (Maybe Text)
- checkoutBorrowLicense_licenseArn :: Lens' CheckoutBorrowLicense Text
- checkoutBorrowLicense_entitlements :: Lens' CheckoutBorrowLicense [EntitlementData]
- checkoutBorrowLicense_digitalSignatureMethod :: Lens' CheckoutBorrowLicense DigitalSignatureMethod
- checkoutBorrowLicense_clientToken :: Lens' CheckoutBorrowLicense Text
- data CheckoutBorrowLicenseResponse = CheckoutBorrowLicenseResponse' {}
- newCheckoutBorrowLicenseResponse :: Int -> CheckoutBorrowLicenseResponse
- checkoutBorrowLicenseResponse_checkoutMetadata :: Lens' CheckoutBorrowLicenseResponse (Maybe [Metadata])
- checkoutBorrowLicenseResponse_entitlementsAllowed :: Lens' CheckoutBorrowLicenseResponse (Maybe [EntitlementData])
- checkoutBorrowLicenseResponse_expiration :: Lens' CheckoutBorrowLicenseResponse (Maybe Text)
- checkoutBorrowLicenseResponse_issuedAt :: Lens' CheckoutBorrowLicenseResponse (Maybe Text)
- checkoutBorrowLicenseResponse_licenseArn :: Lens' CheckoutBorrowLicenseResponse (Maybe Text)
- checkoutBorrowLicenseResponse_licenseConsumptionToken :: Lens' CheckoutBorrowLicenseResponse (Maybe Text)
- checkoutBorrowLicenseResponse_nodeId :: Lens' CheckoutBorrowLicenseResponse (Maybe Text)
- checkoutBorrowLicenseResponse_signedToken :: Lens' CheckoutBorrowLicenseResponse (Maybe Text)
- checkoutBorrowLicenseResponse_httpStatus :: Lens' CheckoutBorrowLicenseResponse Int
Creating a Request
data CheckoutBorrowLicense Source #
See: newCheckoutBorrowLicense smart constructor.
Constructors
| CheckoutBorrowLicense' | |
Fields
| |
Instances
newCheckoutBorrowLicense Source #
Arguments
| :: Text | |
| -> DigitalSignatureMethod | |
| -> Text | |
| -> CheckoutBorrowLicense |
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_checkoutMetadata :: Lens' CheckoutBorrowLicense (Maybe [Metadata]) Source #
Information about constraints.
checkoutBorrowLicense_nodeId :: Lens' CheckoutBorrowLicense (Maybe Text) Source #
Node ID.
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
newCheckoutBorrowLicenseResponse Source #
Create a value of CheckoutBorrowLicenseResponse 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, checkoutBorrowLicenseResponse_checkoutMetadata - Information about constraints.
$sel:entitlementsAllowed:CheckoutBorrowLicenseResponse', checkoutBorrowLicenseResponse_entitlementsAllowed - Allowed license entitlements.
$sel:expiration:CheckoutBorrowLicenseResponse', checkoutBorrowLicenseResponse_expiration - Date and time at which the license checkout expires.
$sel:issuedAt:CheckoutBorrowLicenseResponse', checkoutBorrowLicenseResponse_issuedAt - Date and time at which the license checkout is issued.
CheckoutBorrowLicense, checkoutBorrowLicenseResponse_licenseArn - Amazon Resource Name (ARN) of the license.
$sel:licenseConsumptionToken:CheckoutBorrowLicenseResponse', checkoutBorrowLicenseResponse_licenseConsumptionToken - License consumption token.
CheckoutBorrowLicense, checkoutBorrowLicenseResponse_nodeId - Node ID.
$sel:signedToken:CheckoutBorrowLicenseResponse', checkoutBorrowLicenseResponse_signedToken - Signed token.
$sel:httpStatus:CheckoutBorrowLicenseResponse', checkoutBorrowLicenseResponse_httpStatus - The response's http status code.
Response Lenses
checkoutBorrowLicenseResponse_checkoutMetadata :: Lens' CheckoutBorrowLicenseResponse (Maybe [Metadata]) Source #
Information about constraints.
checkoutBorrowLicenseResponse_entitlementsAllowed :: Lens' CheckoutBorrowLicenseResponse (Maybe [EntitlementData]) Source #
Allowed license entitlements.
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.
checkoutBorrowLicenseResponse_licenseArn :: Lens' CheckoutBorrowLicenseResponse (Maybe Text) Source #
Amazon Resource Name (ARN) of the license.
checkoutBorrowLicenseResponse_licenseConsumptionToken :: Lens' CheckoutBorrowLicenseResponse (Maybe Text) Source #
License consumption token.
checkoutBorrowLicenseResponse_nodeId :: Lens' CheckoutBorrowLicenseResponse (Maybe Text) Source #
Node ID.
checkoutBorrowLicenseResponse_signedToken :: Lens' CheckoutBorrowLicenseResponse (Maybe Text) Source #
Signed token.
checkoutBorrowLicenseResponse_httpStatus :: Lens' CheckoutBorrowLicenseResponse Int Source #
The response's http status code.