Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates a report generator.
Synopsis
- data CreateLicenseManagerReportGenerator = CreateLicenseManagerReportGenerator' {}
- newCreateLicenseManagerReportGenerator :: Text -> ReportContext -> ReportFrequency -> Text -> CreateLicenseManagerReportGenerator
- createLicenseManagerReportGenerator_description :: Lens' CreateLicenseManagerReportGenerator (Maybe Text)
- createLicenseManagerReportGenerator_tags :: Lens' CreateLicenseManagerReportGenerator (Maybe [Tag])
- createLicenseManagerReportGenerator_reportGeneratorName :: Lens' CreateLicenseManagerReportGenerator Text
- createLicenseManagerReportGenerator_type :: Lens' CreateLicenseManagerReportGenerator [ReportType]
- createLicenseManagerReportGenerator_reportContext :: Lens' CreateLicenseManagerReportGenerator ReportContext
- createLicenseManagerReportGenerator_reportFrequency :: Lens' CreateLicenseManagerReportGenerator ReportFrequency
- createLicenseManagerReportGenerator_clientToken :: Lens' CreateLicenseManagerReportGenerator Text
- data CreateLicenseManagerReportGeneratorResponse = CreateLicenseManagerReportGeneratorResponse' {}
- newCreateLicenseManagerReportGeneratorResponse :: Int -> CreateLicenseManagerReportGeneratorResponse
- createLicenseManagerReportGeneratorResponse_licenseManagerReportGeneratorArn :: Lens' CreateLicenseManagerReportGeneratorResponse (Maybe Text)
- createLicenseManagerReportGeneratorResponse_httpStatus :: Lens' CreateLicenseManagerReportGeneratorResponse Int
Creating a Request
data CreateLicenseManagerReportGenerator Source #
See: newCreateLicenseManagerReportGenerator
smart constructor.
CreateLicenseManagerReportGenerator' | |
|
Instances
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_description :: Lens' CreateLicenseManagerReportGenerator (Maybe Text) Source #
Description of the report generator.
createLicenseManagerReportGenerator_tags :: Lens' CreateLicenseManagerReportGenerator (Maybe [Tag]) Source #
Tags to add to the report generator.
createLicenseManagerReportGenerator_reportGeneratorName :: Lens' CreateLicenseManagerReportGenerator Text Source #
Name of the report generator.
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 #
See: newCreateLicenseManagerReportGeneratorResponse
smart constructor.
CreateLicenseManagerReportGeneratorResponse' | |
|
Instances
Generic CreateLicenseManagerReportGeneratorResponse Source # | |
Read CreateLicenseManagerReportGeneratorResponse Source # | |
Show CreateLicenseManagerReportGeneratorResponse Source # | |
NFData CreateLicenseManagerReportGeneratorResponse Source # | |
Eq CreateLicenseManagerReportGeneratorResponse Source # | |
type Rep CreateLicenseManagerReportGeneratorResponse Source # | |
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 #
:: Int |
|
-> CreateLicenseManagerReportGeneratorResponse |
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
createLicenseManagerReportGeneratorResponse_licenseManagerReportGeneratorArn :: Lens' CreateLicenseManagerReportGeneratorResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the new report generator.
createLicenseManagerReportGeneratorResponse_httpStatus :: Lens' CreateLicenseManagerReportGeneratorResponse Int Source #
The response's http status code.