| 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.ExtendLicenseConsumption
Description
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.
Constructors
| ExtendLicenseConsumption' | |
Fields
| |
Instances
newExtendLicenseConsumption Source #
Arguments
| :: Text | |
| -> ExtendLicenseConsumption |
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.
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.
Constructors
| ExtendLicenseConsumptionResponse' | |
Fields
| |
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.
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.