| 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 |
Amazonka.LicenseManager.CreateLicenseManagerReportGenerator
Description
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.
Constructors
| CreateLicenseManagerReportGenerator' | |
Fields
| |
Instances
newCreateLicenseManagerReportGenerator Source #
Arguments
| :: Text | |
| -> ReportContext | |
| -> ReportFrequency | |
| -> Text | |
| -> CreateLicenseManagerReportGenerator |
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.
Constructors
| CreateLicenseManagerReportGeneratorResponse' | |
Fields
| |
Instances
newCreateLicenseManagerReportGeneratorResponse Source #
Arguments
| :: 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.