Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
UpdateLicenseManagerReportGenerator' | |
|
Instances
newUpdateLicenseManagerReportGenerator Source #
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:
$sel:description:UpdateLicenseManagerReportGenerator'
, updateLicenseManagerReportGenerator_description
- Description of the report generator.
$sel:licenseManagerReportGeneratorArn:UpdateLicenseManagerReportGenerator'
, updateLicenseManagerReportGenerator_licenseManagerReportGeneratorArn
- Amazon Resource Name (ARN) of the report generator to update.
$sel:reportGeneratorName: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.
$sel:reportContext:UpdateLicenseManagerReportGenerator'
, updateLicenseManagerReportGenerator_reportContext
- The report context.
$sel:reportFrequency: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.
UpdateLicenseManagerReportGeneratorResponse' | |
|
Instances
Eq UpdateLicenseManagerReportGeneratorResponse Source # | |
Read UpdateLicenseManagerReportGeneratorResponse Source # | |
Show UpdateLicenseManagerReportGeneratorResponse Source # | |
Generic UpdateLicenseManagerReportGeneratorResponse Source # | |
NFData UpdateLicenseManagerReportGeneratorResponse Source # | |
type Rep UpdateLicenseManagerReportGeneratorResponse Source # | |
Defined in Amazonka.LicenseManager.UpdateLicenseManagerReportGenerator type Rep UpdateLicenseManagerReportGeneratorResponse = D1 ('MetaData "UpdateLicenseManagerReportGeneratorResponse" "Amazonka.LicenseManager.UpdateLicenseManagerReportGenerator" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "UpdateLicenseManagerReportGeneratorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateLicenseManagerReportGeneratorResponse Source #
:: 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.