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 |
Generates a report that lists all tagged resources in the accounts across your organization and tells whether each resource is compliant with the effective tag policy. Compliance data is refreshed daily. The report is generated asynchronously.
The generated report is saved to the following location:
s3://example-bucket/AwsTagPolicies/o-exampleorgid/YYYY-MM-ddTHH:mm:ssZ/report.csv
You can call this operation only from the organization's management account and from the us-east-1 Region.
Synopsis
- data StartReportCreation = StartReportCreation' {}
- newStartReportCreation :: Text -> StartReportCreation
- startReportCreation_s3Bucket :: Lens' StartReportCreation Text
- data StartReportCreationResponse = StartReportCreationResponse' {
- httpStatus :: Int
- newStartReportCreationResponse :: Int -> StartReportCreationResponse
- startReportCreationResponse_httpStatus :: Lens' StartReportCreationResponse Int
Creating a Request
data StartReportCreation Source #
See: newStartReportCreation
smart constructor.
Instances
newStartReportCreation Source #
Create a value of StartReportCreation
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:s3Bucket:StartReportCreation'
, startReportCreation_s3Bucket
- The name of the Amazon S3 bucket where the report will be stored; for
example:
awsexamplebucket
For more information on S3 bucket requirements, including an example bucket policy, see the example S3 bucket policy on this page.
Request Lenses
startReportCreation_s3Bucket :: Lens' StartReportCreation Text Source #
The name of the Amazon S3 bucket where the report will be stored; for example:
awsexamplebucket
For more information on S3 bucket requirements, including an example bucket policy, see the example S3 bucket policy on this page.
Destructuring the Response
data StartReportCreationResponse Source #
See: newStartReportCreationResponse
smart constructor.
StartReportCreationResponse' | |
|
Instances
newStartReportCreationResponse Source #
Create a value of StartReportCreationResponse
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:StartReportCreationResponse'
, startReportCreationResponse_httpStatus
- The response's http status code.
Response Lenses
startReportCreationResponse_httpStatus :: Lens' StartReportCreationResponse Int Source #
The response's http status code.