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

Description

Creates a license.

Synopsis

Creating a Request

data CreateLicense Source #

See: newCreateLicense smart constructor.

Constructors

CreateLicense' 

Fields

Instances

Instances details
Eq CreateLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

Read CreateLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

Show CreateLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

Generic CreateLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

Associated Types

type Rep CreateLicense :: Type -> Type #

NFData CreateLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

Methods

rnf :: CreateLicense -> () #

Hashable CreateLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

ToJSON CreateLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

AWSRequest CreateLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

Associated Types

type AWSResponse CreateLicense #

ToHeaders CreateLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

ToPath CreateLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

ToQuery CreateLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

type Rep CreateLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

type AWSResponse CreateLicense Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

newCreateLicense Source #

Create a value of CreateLicense 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:licenseMetadata:CreateLicense', createLicense_licenseMetadata - Information about the license.

$sel:licenseName:CreateLicense', createLicense_licenseName - License name.

$sel:productName:CreateLicense', createLicense_productName - Product name.

$sel:productSKU:CreateLicense', createLicense_productSKU - Product SKU.

$sel:issuer:CreateLicense', createLicense_issuer - License issuer.

$sel:homeRegion:CreateLicense', createLicense_homeRegion - Home Region for the license.

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

$sel:entitlements:CreateLicense', createLicense_entitlements - License entitlements.

$sel:beneficiary:CreateLicense', createLicense_beneficiary - License beneficiary.

$sel:consumptionConfiguration:CreateLicense', createLicense_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:clientToken:CreateLicense', createLicense_clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Request Lenses

createLicense_homeRegion :: Lens' CreateLicense Text Source #

Home Region for the license.

createLicense_validity :: Lens' CreateLicense DatetimeRange Source #

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

createLicense_consumptionConfiguration :: Lens' CreateLicense 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.

createLicense_clientToken :: Lens' CreateLicense Text Source #

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

Destructuring the Response

data CreateLicenseResponse Source #

See: newCreateLicenseResponse smart constructor.

Constructors

CreateLicenseResponse' 

Fields

Instances

Instances details
Eq CreateLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

Read CreateLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

Show CreateLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

Generic CreateLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

Associated Types

type Rep CreateLicenseResponse :: Type -> Type #

NFData CreateLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

Methods

rnf :: CreateLicenseResponse -> () #

type Rep CreateLicenseResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicense

type Rep CreateLicenseResponse = D1 ('MetaData "CreateLicenseResponse" "Amazonka.LicenseManager.CreateLicense" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "CreateLicenseResponse'" '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))))

newCreateLicenseResponse Source #

Create a value of CreateLicenseResponse 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:CreateLicenseResponse', createLicenseResponse_status - License status.

$sel:version:CreateLicenseResponse', createLicenseResponse_version - License version.

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

$sel:httpStatus:CreateLicenseResponse', createLicenseResponse_httpStatus - The response's http status code.

Response Lenses

createLicenseResponse_licenseArn :: Lens' CreateLicenseResponse (Maybe Text) Source #

Amazon Resource Name (ARN) of the license.