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.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
ToJSON CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.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

AWSRequest CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Associated Types

type AWSResponse CreateLicenseVersion #

Generic CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Associated Types

type Rep CreateLicenseVersion :: Type -> Type #

Read CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Show CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

NFData CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Methods

rnf :: CreateLicenseVersion -> () #

Eq CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Hashable CreateLicenseVersion Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

type AWSResponse 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" "amazonka-license-manager-2.0-7MwrI8iJ3YaDRGRrldCApy" 'False) (C1 ('MetaCons "CreateLicenseVersion'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "licenseMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Metadata])) :*: (S1 ('MetaSel ('Just "sourceVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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))))))

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:

CreateLicenseVersion, createLicenseVersion_licenseMetadata - Information about the license.

$sel:sourceVersion:CreateLicenseVersion', createLicenseVersion_sourceVersion - Current version of the license.

CreateLicenseVersion, createLicenseVersion_licenseArn - Amazon Resource Name (ARN) of the license.

CreateLicenseVersion, createLicenseVersion_licenseName - License name.

CreateLicenseVersion, createLicenseVersion_productName - Product name.

CreateLicenseVersion, createLicenseVersion_issuer - License issuer.

CreateLicenseVersion, createLicenseVersion_homeRegion - Home Region of the license.

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

CreateLicenseVersion, createLicenseVersion_entitlements - License entitlements.

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.

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
Generic CreateLicenseVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Associated Types

type Rep CreateLicenseVersionResponse :: Type -> Type #

Read CreateLicenseVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Show CreateLicenseVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

NFData CreateLicenseVersionResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseVersion

Eq 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" "amazonka-license-manager-2.0-7MwrI8iJ3YaDRGRrldCApy" 'False) (C1 ('MetaCons "CreateLicenseVersionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "licenseArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LicenseStatus))) :*: (S1 ('MetaSel ('Just "version") '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:

CreateLicenseVersion, createLicenseVersionResponse_licenseArn - License ARN.

CreateLicenseVersion, createLicenseVersionResponse_status - License status.

CreateLicenseVersionResponse, createLicenseVersionResponse_version - New version of the license.

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

Response Lenses