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

Description

Creates a report generator.

Synopsis

Creating a Request

data CreateLicenseManagerReportGenerator Source #

Constructors

CreateLicenseManagerReportGenerator' 

Fields

  • description :: Maybe Text

    Description of the report generator.

  • tags :: Maybe [Tag]

    Tags to add to the report generator.

  • reportGeneratorName :: Text

    Name of the report generator.

  • type' :: [ReportType]

    Type of reports to generate. The following report types an be generated:

    • License configuration report - Reports the number and details of consumed licenses for a license configuration.
    • Resource report - Reports the tracked licenses and resource consumption for a license configuration.
  • reportContext :: ReportContext

    Defines the type of license configuration the report generator tracks.

  • reportFrequency :: ReportFrequency

    Frequency by which reports are generated. Reports can be generated daily, monthly, or weekly.

  • clientToken :: Text

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

Instances

Instances details
ToJSON CreateLicenseManagerReportGenerator Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

ToHeaders CreateLicenseManagerReportGenerator Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

ToPath CreateLicenseManagerReportGenerator Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

ToQuery CreateLicenseManagerReportGenerator Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

AWSRequest CreateLicenseManagerReportGenerator Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

Generic CreateLicenseManagerReportGenerator Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

Read CreateLicenseManagerReportGenerator Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

Show CreateLicenseManagerReportGenerator Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

NFData CreateLicenseManagerReportGenerator Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

Eq CreateLicenseManagerReportGenerator Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

Hashable CreateLicenseManagerReportGenerator Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

type AWSResponse CreateLicenseManagerReportGenerator Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

type Rep CreateLicenseManagerReportGenerator Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

type Rep CreateLicenseManagerReportGenerator = D1 ('MetaData "CreateLicenseManagerReportGenerator" "Amazonka.LicenseManager.CreateLicenseManagerReportGenerator" "amazonka-license-manager-2.0-7MwrI8iJ3YaDRGRrldCApy" 'False) (C1 ('MetaCons "CreateLicenseManagerReportGenerator'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "reportGeneratorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ReportType]) :*: S1 ('MetaSel ('Just "reportContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReportContext)) :*: (S1 ('MetaSel ('Just "reportFrequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReportFrequency) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateLicenseManagerReportGenerator Source #

Create a value of CreateLicenseManagerReportGenerator 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:

CreateLicenseManagerReportGenerator, createLicenseManagerReportGenerator_description - Description of the report generator.

CreateLicenseManagerReportGenerator, createLicenseManagerReportGenerator_tags - Tags to add to the report generator.

CreateLicenseManagerReportGenerator, createLicenseManagerReportGenerator_reportGeneratorName - Name of the report generator.

$sel:type':CreateLicenseManagerReportGenerator', createLicenseManagerReportGenerator_type - Type of reports to generate. The following report types an be generated:

  • License configuration report - Reports the number and details of consumed licenses for a license configuration.
  • Resource report - Reports the tracked licenses and resource consumption for a license configuration.

CreateLicenseManagerReportGenerator, createLicenseManagerReportGenerator_reportContext - Defines the type of license configuration the report generator tracks.

CreateLicenseManagerReportGenerator, createLicenseManagerReportGenerator_reportFrequency - Frequency by which reports are generated. Reports can be generated daily, monthly, or weekly.

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

Request Lenses

createLicenseManagerReportGenerator_type :: Lens' CreateLicenseManagerReportGenerator [ReportType] Source #

Type of reports to generate. The following report types an be generated:

  • License configuration report - Reports the number and details of consumed licenses for a license configuration.
  • Resource report - Reports the tracked licenses and resource consumption for a license configuration.

createLicenseManagerReportGenerator_reportContext :: Lens' CreateLicenseManagerReportGenerator ReportContext Source #

Defines the type of license configuration the report generator tracks.

createLicenseManagerReportGenerator_reportFrequency :: Lens' CreateLicenseManagerReportGenerator ReportFrequency Source #

Frequency by which reports are generated. Reports can be generated daily, monthly, or weekly.

createLicenseManagerReportGenerator_clientToken :: Lens' CreateLicenseManagerReportGenerator Text Source #

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

Destructuring the Response

data CreateLicenseManagerReportGeneratorResponse Source #

Constructors

CreateLicenseManagerReportGeneratorResponse' 

Fields

Instances

Instances details
Generic CreateLicenseManagerReportGeneratorResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

Read CreateLicenseManagerReportGeneratorResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

Show CreateLicenseManagerReportGeneratorResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

NFData CreateLicenseManagerReportGeneratorResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

Eq CreateLicenseManagerReportGeneratorResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

type Rep CreateLicenseManagerReportGeneratorResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.CreateLicenseManagerReportGenerator

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

newCreateLicenseManagerReportGeneratorResponse Source #

Create a value of CreateLicenseManagerReportGeneratorResponse 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:

CreateLicenseManagerReportGeneratorResponse, createLicenseManagerReportGeneratorResponse_licenseManagerReportGeneratorArn - The Amazon Resource Name (ARN) of the new report generator.

$sel:httpStatus:CreateLicenseManagerReportGeneratorResponse', createLicenseManagerReportGeneratorResponse_httpStatus - The response's http status code.

Response Lenses