| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.LicenseManager.CheckoutLicense
Description
Checks out the specified license.
Synopsis
- data CheckoutLicense = CheckoutLicense' {}
- newCheckoutLicense :: Text -> CheckoutType -> Text -> Text -> CheckoutLicense
- checkoutLicense_nodeId :: Lens' CheckoutLicense (Maybe Text)
- checkoutLicense_beneficiary :: Lens' CheckoutLicense (Maybe Text)
- checkoutLicense_productSKU :: Lens' CheckoutLicense Text
- checkoutLicense_checkoutType :: Lens' CheckoutLicense CheckoutType
- checkoutLicense_keyFingerprint :: Lens' CheckoutLicense Text
- checkoutLicense_entitlements :: Lens' CheckoutLicense [EntitlementData]
- checkoutLicense_clientToken :: Lens' CheckoutLicense Text
- data CheckoutLicenseResponse = CheckoutLicenseResponse' {}
- newCheckoutLicenseResponse :: Int -> CheckoutLicenseResponse
- checkoutLicenseResponse_entitlementsAllowed :: Lens' CheckoutLicenseResponse (Maybe [EntitlementData])
- checkoutLicenseResponse_checkoutType :: Lens' CheckoutLicenseResponse (Maybe CheckoutType)
- checkoutLicenseResponse_expiration :: Lens' CheckoutLicenseResponse (Maybe Text)
- checkoutLicenseResponse_signedToken :: Lens' CheckoutLicenseResponse (Maybe Text)
- checkoutLicenseResponse_licenseConsumptionToken :: Lens' CheckoutLicenseResponse (Maybe Text)
- checkoutLicenseResponse_nodeId :: Lens' CheckoutLicenseResponse (Maybe Text)
- checkoutLicenseResponse_issuedAt :: Lens' CheckoutLicenseResponse (Maybe Text)
- checkoutLicenseResponse_licenseArn :: Lens' CheckoutLicenseResponse (Maybe Text)
- checkoutLicenseResponse_httpStatus :: Lens' CheckoutLicenseResponse Int
Creating a Request
data CheckoutLicense Source #
See: newCheckoutLicense smart constructor.
Constructors
| CheckoutLicense' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> CheckoutType | |
| -> Text | |
| -> Text | |
| -> CheckoutLicense |
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_nodeId :: Lens' CheckoutLicense (Maybe Text) Source #
Node ID.
checkoutLicense_beneficiary :: Lens' CheckoutLicense (Maybe Text) Source #
License beneficiary.
checkoutLicense_productSKU :: Lens' CheckoutLicense Text Source #
Product SKU.
checkoutLicense_checkoutType :: Lens' CheckoutLicense CheckoutType Source #
Checkout type.
checkoutLicense_keyFingerprint :: Lens' CheckoutLicense Text Source #
Key fingerprint identifying the license.
checkoutLicense_entitlements :: Lens' CheckoutLicense [EntitlementData] Source #
License entitlements.
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
newCheckoutLicenseResponse Source #
Create a value of CheckoutLicenseResponse 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:entitlementsAllowed:CheckoutLicenseResponse', checkoutLicenseResponse_entitlementsAllowed - Allowed license entitlements.
$sel:checkoutType:CheckoutLicense', checkoutLicenseResponse_checkoutType - Checkout type.
$sel:expiration:CheckoutLicenseResponse', checkoutLicenseResponse_expiration - Date and time at which the license checkout expires.
$sel:signedToken:CheckoutLicenseResponse', checkoutLicenseResponse_signedToken - Signed token.
$sel:licenseConsumptionToken:CheckoutLicenseResponse', checkoutLicenseResponse_licenseConsumptionToken - License consumption token.
$sel:nodeId:CheckoutLicense', checkoutLicenseResponse_nodeId - Node ID.
$sel:issuedAt:CheckoutLicenseResponse', checkoutLicenseResponse_issuedAt - Date and time at which the license checkout is issued.
$sel:licenseArn:CheckoutLicenseResponse', checkoutLicenseResponse_licenseArn - Amazon Resource Name (ARN) of the checkout license.
$sel:httpStatus:CheckoutLicenseResponse', checkoutLicenseResponse_httpStatus - The response's http status code.
Response Lenses
checkoutLicenseResponse_entitlementsAllowed :: Lens' CheckoutLicenseResponse (Maybe [EntitlementData]) Source #
Allowed license entitlements.
checkoutLicenseResponse_checkoutType :: Lens' CheckoutLicenseResponse (Maybe CheckoutType) Source #
Checkout type.
checkoutLicenseResponse_expiration :: Lens' CheckoutLicenseResponse (Maybe Text) Source #
Date and time at which the license checkout expires.
checkoutLicenseResponse_signedToken :: Lens' CheckoutLicenseResponse (Maybe Text) Source #
Signed token.
checkoutLicenseResponse_licenseConsumptionToken :: Lens' CheckoutLicenseResponse (Maybe Text) Source #
License consumption token.
checkoutLicenseResponse_nodeId :: Lens' CheckoutLicenseResponse (Maybe Text) Source #
Node ID.
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.
checkoutLicenseResponse_httpStatus :: Lens' CheckoutLicenseResponse Int Source #
The response's http status code.