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

Description

Creates a new version of the specified license.

Synopsis

Creating a Request

data CreateLicenseVersion Source #

See: newCreateLicenseVersion smart constructor.

Constructors

CreateLicenseVersion' 

Fields

Instances

Instances details
Eq CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Read CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Show CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Generic CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Associated Types

type Rep CreateLicenseVersion :: Type -> Type #

NFData CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Methods

rnf :: CreateLicenseVersion -> () #

Hashable CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

ToJSON CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

AWSRequest CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Associated Types

type AWSResponse CreateLicenseVersion #

ToHeaders CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

ToPath CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

ToQuery CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

type Rep CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

type Rep CreateLicenseVersion = D1 ('MetaData "CreateLicenseVersion" "Amazonka.LicenseManager.CreateLicenseVersion" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "CreateLicenseVersion'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "sourceVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "licenseMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Metadata])) :*: S1 ('MetaSel ('Just "licenseArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "licenseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "productName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "issuer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Issuer)))) :*: ((S1 ('MetaSel ('Just "homeRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "validity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DatetimeRange) :*: S1 ('MetaSel ('Just "entitlements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Entitlement]))) :*: (S1 ('MetaSel ('Just "consumptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ConsumptionConfiguration) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LicenseStatus) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

newCreateLicenseVersion Source #

Create a value of CreateLicenseVersion 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:sourceVersion:CreateLicenseVersion', createLicenseVersion_sourceVersion - Current version of the license.

$sel:licenseMetadata:CreateLicenseVersion', createLicenseVersion_licenseMetadata - Information about the license.

$sel:licenseArn:CreateLicenseVersion', createLicenseVersion_licenseArn - Amazon Resource Name (ARN) of the license.

$sel:licenseName:CreateLicenseVersion', createLicenseVersion_licenseName - License name.

$sel:productName:CreateLicenseVersion', createLicenseVersion_productName - Product name.

$sel:issuer:CreateLicenseVersion', createLicenseVersion_issuer - License issuer.

$sel:homeRegion:CreateLicenseVersion', createLicenseVersion_homeRegion - Home Region of the license.

$sel:validity:CreateLicenseVersion', createLicenseVersion_validity - Date and time range during which the license is valid, in ISO8601-UTC format.

$sel:entitlements:CreateLicenseVersion', createLicenseVersion_entitlements - License entitlements.

$sel:consumptionConfiguration:CreateLicenseVersion', createLicenseVersion_consumptionConfiguration - Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.

$sel:status:CreateLicenseVersion', createLicenseVersion_status - License status.

$sel:clientToken:CreateLicenseVersion', createLicenseVersion_clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Request Lenses

createLicenseVersion_licenseArn :: Lens' CreateLicenseVersion Text Source #

Amazon Resource Name (ARN) of the license.

createLicenseVersion_validity :: Lens' CreateLicenseVersion DatetimeRange Source #

Date and time range during which the license is valid, in ISO8601-UTC format.

createLicenseVersion_consumptionConfiguration :: Lens' CreateLicenseVersion ConsumptionConfiguration Source #

Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.

createLicenseVersion_clientToken :: Lens' CreateLicenseVersion Text Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Destructuring the Response

data CreateLicenseVersionResponse Source #

See: newCreateLicenseVersionResponse smart constructor.

Constructors

CreateLicenseVersionResponse' 

Fields

Instances

Instances details
Eq CreateLicenseVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Read CreateLicenseVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Show CreateLicenseVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Generic CreateLicenseVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Associated Types

type Rep CreateLicenseVersionResponse :: Type -> Type #

NFData CreateLicenseVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

type Rep CreateLicenseVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

type Rep CreateLicenseVersionResponse = D1 ('MetaData "CreateLicenseVersionResponse" "Amazonka.LicenseManager.CreateLicenseVersion" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "CreateLicenseVersionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LicenseStatus)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "licenseArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateLicenseVersionResponse Source #

Create a value of CreateLicenseVersionResponse 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:status:CreateLicenseVersion', createLicenseVersionResponse_status - License status.

$sel:version:CreateLicenseVersionResponse', createLicenseVersionResponse_version - New version of the license.

$sel:licenseArn:CreateLicenseVersion', createLicenseVersionResponse_licenseArn - License ARN.

$sel:httpStatus:CreateLicenseVersionResponse', createLicenseVersionResponse_httpStatus - The response's http status code.

Response Lenses