| 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.UpdateLicenseManagerReportGenerator
Description
Updates a report generator.
After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated.
Synopsis
- data UpdateLicenseManagerReportGenerator = UpdateLicenseManagerReportGenerator' {}
- newUpdateLicenseManagerReportGenerator :: Text -> Text -> ReportContext -> ReportFrequency -> Text -> UpdateLicenseManagerReportGenerator
- updateLicenseManagerReportGenerator_description :: Lens' UpdateLicenseManagerReportGenerator (Maybe Text)
- updateLicenseManagerReportGenerator_licenseManagerReportGeneratorArn :: Lens' UpdateLicenseManagerReportGenerator Text
- updateLicenseManagerReportGenerator_reportGeneratorName :: Lens' UpdateLicenseManagerReportGenerator Text
- updateLicenseManagerReportGenerator_type :: Lens' UpdateLicenseManagerReportGenerator [ReportType]
- updateLicenseManagerReportGenerator_reportContext :: Lens' UpdateLicenseManagerReportGenerator ReportContext
- updateLicenseManagerReportGenerator_reportFrequency :: Lens' UpdateLicenseManagerReportGenerator ReportFrequency
- updateLicenseManagerReportGenerator_clientToken :: Lens' UpdateLicenseManagerReportGenerator Text
- data UpdateLicenseManagerReportGeneratorResponse = UpdateLicenseManagerReportGeneratorResponse' {
- httpStatus :: Int
- newUpdateLicenseManagerReportGeneratorResponse :: Int -> UpdateLicenseManagerReportGeneratorResponse
- updateLicenseManagerReportGeneratorResponse_httpStatus :: Lens' UpdateLicenseManagerReportGeneratorResponse Int
Creating a Request
data UpdateLicenseManagerReportGenerator Source #
See: newUpdateLicenseManagerReportGenerator smart constructor.
Constructors
| UpdateLicenseManagerReportGenerator' | |
Fields
| |
Instances
newUpdateLicenseManagerReportGenerator Source #
Arguments
| :: Text | |
| -> Text | |
| -> ReportContext | |
| -> ReportFrequency | |
| -> Text | |
| -> UpdateLicenseManagerReportGenerator |
Create a value of UpdateLicenseManagerReportGenerator 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:
UpdateLicenseManagerReportGenerator, updateLicenseManagerReportGenerator_description - Description of the report generator.
UpdateLicenseManagerReportGenerator, updateLicenseManagerReportGenerator_licenseManagerReportGeneratorArn - Amazon Resource Name (ARN) of the report generator to update.
UpdateLicenseManagerReportGenerator, updateLicenseManagerReportGenerator_reportGeneratorName - Name of the report generator.
$sel:type':UpdateLicenseManagerReportGenerator', updateLicenseManagerReportGenerator_type - Type of reports to generate. The following report types are supported:
- 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.
UpdateLicenseManagerReportGenerator, updateLicenseManagerReportGenerator_reportContext - The report context.
UpdateLicenseManagerReportGenerator, updateLicenseManagerReportGenerator_reportFrequency - Frequency by which reports are generated.
$sel:clientToken:UpdateLicenseManagerReportGenerator', updateLicenseManagerReportGenerator_clientToken - Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
Request Lenses
updateLicenseManagerReportGenerator_description :: Lens' UpdateLicenseManagerReportGenerator (Maybe Text) Source #
Description of the report generator.
updateLicenseManagerReportGenerator_licenseManagerReportGeneratorArn :: Lens' UpdateLicenseManagerReportGenerator Text Source #
Amazon Resource Name (ARN) of the report generator to update.
updateLicenseManagerReportGenerator_reportGeneratorName :: Lens' UpdateLicenseManagerReportGenerator Text Source #
Name of the report generator.
updateLicenseManagerReportGenerator_type :: Lens' UpdateLicenseManagerReportGenerator [ReportType] Source #
Type of reports to generate. The following report types are supported:
- 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.
updateLicenseManagerReportGenerator_reportContext :: Lens' UpdateLicenseManagerReportGenerator ReportContext Source #
The report context.
updateLicenseManagerReportGenerator_reportFrequency :: Lens' UpdateLicenseManagerReportGenerator ReportFrequency Source #
Frequency by which reports are generated.
updateLicenseManagerReportGenerator_clientToken :: Lens' UpdateLicenseManagerReportGenerator Text Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Destructuring the Response
data UpdateLicenseManagerReportGeneratorResponse Source #
See: newUpdateLicenseManagerReportGeneratorResponse smart constructor.
Constructors
| UpdateLicenseManagerReportGeneratorResponse' | |
Fields
| |
Instances
newUpdateLicenseManagerReportGeneratorResponse Source #
Arguments
| :: Int |
|
| -> UpdateLicenseManagerReportGeneratorResponse |
Create a value of UpdateLicenseManagerReportGeneratorResponse 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:httpStatus:UpdateLicenseManagerReportGeneratorResponse', updateLicenseManagerReportGeneratorResponse_httpStatus - The response's http status code.
Response Lenses
updateLicenseManagerReportGeneratorResponse_httpStatus :: Lens' UpdateLicenseManagerReportGeneratorResponse Int Source #
The response's http status code.