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.ExtendLicenseConsumption

Description

Extends the expiration date for license consumption.

Synopsis

Creating a Request

data ExtendLicenseConsumption Source #

See: newExtendLicenseConsumption smart constructor.

Constructors

ExtendLicenseConsumption' 

Fields

  • dryRun :: Maybe Bool

    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.

  • licenseConsumptionToken :: Text

    License consumption token.

Instances

Instances details
ToJSON ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

ToHeaders ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

ToPath ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

ToQuery ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

AWSRequest ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Generic ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Associated Types

type Rep ExtendLicenseConsumption :: Type -> Type #

Read ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Show ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

NFData ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Eq ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Hashable ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

type AWSResponse ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

type Rep ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

type Rep ExtendLicenseConsumption = D1 ('MetaData "ExtendLicenseConsumption" "Amazonka.LicenseManager.ExtendLicenseConsumption" "amazonka-license-manager-2.0-7MwrI8iJ3YaDRGRrldCApy" 'False) (C1 ('MetaCons "ExtendLicenseConsumption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "licenseConsumptionToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

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.

Destructuring the Response

data ExtendLicenseConsumptionResponse Source #

See: newExtendLicenseConsumptionResponse smart constructor.

Constructors

ExtendLicenseConsumptionResponse' 

Fields

Instances

Instances details
Generic ExtendLicenseConsumptionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Associated Types

type Rep ExtendLicenseConsumptionResponse :: Type -> Type #

Read ExtendLicenseConsumptionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Show ExtendLicenseConsumptionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

NFData ExtendLicenseConsumptionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Eq ExtendLicenseConsumptionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

type Rep ExtendLicenseConsumptionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

type Rep ExtendLicenseConsumptionResponse = D1 ('MetaData "ExtendLicenseConsumptionResponse" "Amazonka.LicenseManager.ExtendLicenseConsumption" "amazonka-license-manager-2.0-7MwrI8iJ3YaDRGRrldCApy" 'False) (C1 ('MetaCons "ExtendLicenseConsumptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expiration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "licenseConsumptionToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.