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 |
Extends the expiration date for license consumption.
Synopsis
- data ExtendLicenseConsumption = ExtendLicenseConsumption' {}
- newExtendLicenseConsumption :: Text -> ExtendLicenseConsumption
- extendLicenseConsumption_dryRun :: Lens' ExtendLicenseConsumption (Maybe Bool)
- extendLicenseConsumption_licenseConsumptionToken :: Lens' ExtendLicenseConsumption Text
- data ExtendLicenseConsumptionResponse = ExtendLicenseConsumptionResponse' {}
- newExtendLicenseConsumptionResponse :: Int -> ExtendLicenseConsumptionResponse
- extendLicenseConsumptionResponse_expiration :: Lens' ExtendLicenseConsumptionResponse (Maybe Text)
- extendLicenseConsumptionResponse_licenseConsumptionToken :: Lens' ExtendLicenseConsumptionResponse (Maybe Text)
- extendLicenseConsumptionResponse_httpStatus :: Lens' ExtendLicenseConsumptionResponse Int
Creating a Request
data ExtendLicenseConsumption Source #
See: newExtendLicenseConsumption
smart constructor.
ExtendLicenseConsumption' | |
|
Instances
newExtendLicenseConsumption Source #
Create a value of ExtendLicenseConsumption
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:dryRun:ExtendLicenseConsumption'
, extendLicenseConsumption_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request. Provides an error response if you do not
have the required permissions.
$sel:licenseConsumptionToken:ExtendLicenseConsumption'
, extendLicenseConsumption_licenseConsumptionToken
- License consumption token.
Request Lenses
extendLicenseConsumption_dryRun :: Lens' ExtendLicenseConsumption (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without actually making the request. Provides an error response if you do not have the required permissions.
extendLicenseConsumption_licenseConsumptionToken :: Lens' ExtendLicenseConsumption Text Source #
License consumption token.
Destructuring the Response
data ExtendLicenseConsumptionResponse Source #
See: newExtendLicenseConsumptionResponse
smart constructor.
ExtendLicenseConsumptionResponse' | |
|
Instances
newExtendLicenseConsumptionResponse Source #
Create a value of ExtendLicenseConsumptionResponse
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:expiration:ExtendLicenseConsumptionResponse'
, extendLicenseConsumptionResponse_expiration
- Date and time at which the license consumption expires.
$sel:licenseConsumptionToken:ExtendLicenseConsumption'
, extendLicenseConsumptionResponse_licenseConsumptionToken
- License consumption token.
$sel:httpStatus:ExtendLicenseConsumptionResponse'
, extendLicenseConsumptionResponse_httpStatus
- The response's http status code.
Response Lenses
extendLicenseConsumptionResponse_expiration :: Lens' ExtendLicenseConsumptionResponse (Maybe Text) Source #
Date and time at which the license consumption expires.
extendLicenseConsumptionResponse_licenseConsumptionToken :: Lens' ExtendLicenseConsumptionResponse (Maybe Text) Source #
License consumption token.
extendLicenseConsumptionResponse_httpStatus :: Lens' ExtendLicenseConsumptionResponse Int Source #
The response's http status code.