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 |
Describes the status of the StartReportCreation
operation.
You can call this operation only from the organization's management account and from the us-east-1 Region.
Synopsis
- data DescribeReportCreation = DescribeReportCreation' {
- newDescribeReportCreation :: DescribeReportCreation
- data DescribeReportCreationResponse = DescribeReportCreationResponse' {
- status :: Maybe Text
- s3Location :: Maybe Text
- errorMessage :: Maybe Text
- httpStatus :: Int
- newDescribeReportCreationResponse :: Int -> DescribeReportCreationResponse
- describeReportCreationResponse_status :: Lens' DescribeReportCreationResponse (Maybe Text)
- describeReportCreationResponse_s3Location :: Lens' DescribeReportCreationResponse (Maybe Text)
- describeReportCreationResponse_errorMessage :: Lens' DescribeReportCreationResponse (Maybe Text)
- describeReportCreationResponse_httpStatus :: Lens' DescribeReportCreationResponse Int
Creating a Request
data DescribeReportCreation Source #
See: newDescribeReportCreation
smart constructor.
Instances
newDescribeReportCreation :: DescribeReportCreation Source #
Create a value of DescribeReportCreation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeReportCreationResponse Source #
See: newDescribeReportCreationResponse
smart constructor.
DescribeReportCreationResponse' | |
|
Instances
newDescribeReportCreationResponse Source #
Create a value of DescribeReportCreationResponse
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:status:DescribeReportCreationResponse'
, describeReportCreationResponse_status
- Reports the status of the operation.
The operation status can be one of the following:
RUNNING
- Report creation is in progress.SUCCEEDED
- Report creation is complete. You can open the report from the Amazon S3 bucket that you specified when you ranStartReportCreation
.FAILED
- Report creation timed out or the Amazon S3 bucket is not accessible.NO REPORT
- No report was generated in the last 90 days.
$sel:s3Location:DescribeReportCreationResponse'
, describeReportCreationResponse_s3Location
- The path to the Amazon S3 bucket where the report was stored on
creation.
$sel:errorMessage:DescribeReportCreationResponse'
, describeReportCreationResponse_errorMessage
- Details of the common errors that all operations return.
$sel:httpStatus:DescribeReportCreationResponse'
, describeReportCreationResponse_httpStatus
- The response's http status code.
Response Lenses
describeReportCreationResponse_status :: Lens' DescribeReportCreationResponse (Maybe Text) Source #
Reports the status of the operation.
The operation status can be one of the following:
RUNNING
- Report creation is in progress.SUCCEEDED
- Report creation is complete. You can open the report from the Amazon S3 bucket that you specified when you ranStartReportCreation
.FAILED
- Report creation timed out or the Amazon S3 bucket is not accessible.NO REPORT
- No report was generated in the last 90 days.
describeReportCreationResponse_s3Location :: Lens' DescribeReportCreationResponse (Maybe Text) Source #
The path to the Amazon S3 bucket where the report was stored on creation.
describeReportCreationResponse_errorMessage :: Lens' DescribeReportCreationResponse (Maybe Text) Source #
Details of the common errors that all operations return.
describeReportCreationResponse_httpStatus :: Lens' DescribeReportCreationResponse Int Source #
The response's http status code.