| 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.Backup.DescribeReportJob
Description
Returns the details associated with creating a report as specified by
its ReportJobId.
Synopsis
- data DescribeReportJob = DescribeReportJob' {
- reportJobId :: Text
- newDescribeReportJob :: Text -> DescribeReportJob
- describeReportJob_reportJobId :: Lens' DescribeReportJob Text
- data DescribeReportJobResponse = DescribeReportJobResponse' {
- reportJob :: Maybe ReportJob
- httpStatus :: Int
- newDescribeReportJobResponse :: Int -> DescribeReportJobResponse
- describeReportJobResponse_reportJob :: Lens' DescribeReportJobResponse (Maybe ReportJob)
- describeReportJobResponse_httpStatus :: Lens' DescribeReportJobResponse Int
Creating a Request
data DescribeReportJob Source #
See: newDescribeReportJob smart constructor.
Constructors
| DescribeReportJob' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeReportJob |
Create a value of DescribeReportJob 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:
DescribeReportJob, describeReportJob_reportJobId - The identifier of the report job. A unique, randomly generated, Unicode,
UTF-8 encoded string that is at most 1,024 bytes long. The report job ID
cannot be edited.
Request Lenses
describeReportJob_reportJobId :: Lens' DescribeReportJob Text Source #
The identifier of the report job. A unique, randomly generated, Unicode, UTF-8 encoded string that is at most 1,024 bytes long. The report job ID cannot be edited.
Destructuring the Response
data DescribeReportJobResponse Source #
See: newDescribeReportJobResponse smart constructor.
Constructors
| DescribeReportJobResponse' | |
Fields
| |
Instances
newDescribeReportJobResponse Source #
Create a value of DescribeReportJobResponse 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:reportJob:DescribeReportJobResponse', describeReportJobResponse_reportJob - A list of information about a report job, including its completion and
creation times, report destination, unique report job ID, Amazon
Resource Name (ARN), report template, status, and status message.
$sel:httpStatus:DescribeReportJobResponse', describeReportJobResponse_httpStatus - The response's http status code.
Response Lenses
describeReportJobResponse_reportJob :: Lens' DescribeReportJobResponse (Maybe ReportJob) Source #
A list of information about a report job, including its completion and creation times, report destination, unique report job ID, Amazon Resource Name (ARN), report template, status, and status message.
describeReportJobResponse_httpStatus :: Lens' DescribeReportJobResponse Int Source #
The response's http status code.