libZSservicesZSamazonka-license-managerZSamazonka-license-manager
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Read ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Show 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 #

NFData ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Hashable ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

ToJSON ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

AWSRequest 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

type Rep ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

type Rep ExtendLicenseConsumption = D1 ('MetaData "ExtendLicenseConsumption" "Amazonka.LicenseManager.ExtendLicenseConsumption" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" '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)))
type AWSResponse ExtendLicenseConsumption Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

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.

Destructuring the Response

data ExtendLicenseConsumptionResponse Source #

See: newExtendLicenseConsumptionResponse smart constructor.

Constructors

ExtendLicenseConsumptionResponse' 

Fields

Instances

Instances details
Eq ExtendLicenseConsumptionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Read ExtendLicenseConsumptionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Show ExtendLicenseConsumptionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Generic ExtendLicenseConsumptionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ExtendLicenseConsumption

Associated Types

type Rep ExtendLicenseConsumptionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" '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.

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