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 |
Returns an array of reports.
Synopsis
- data BatchGetReports = BatchGetReports' {}
- newBatchGetReports :: NonEmpty Text -> BatchGetReports
- batchGetReports_reportArns :: Lens' BatchGetReports (NonEmpty Text)
- data BatchGetReportsResponse = BatchGetReportsResponse' {
- reports :: Maybe (NonEmpty Report)
- reportsNotFound :: Maybe (NonEmpty Text)
- httpStatus :: Int
- newBatchGetReportsResponse :: Int -> BatchGetReportsResponse
- batchGetReportsResponse_reports :: Lens' BatchGetReportsResponse (Maybe (NonEmpty Report))
- batchGetReportsResponse_reportsNotFound :: Lens' BatchGetReportsResponse (Maybe (NonEmpty Text))
- batchGetReportsResponse_httpStatus :: Lens' BatchGetReportsResponse Int
Creating a Request
data BatchGetReports Source #
See: newBatchGetReports
smart constructor.
BatchGetReports' | |
|
Instances
Create a value of BatchGetReports
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:reportArns:BatchGetReports'
, batchGetReports_reportArns
- An array of ARNs that identify the Report
objects to return.
Request Lenses
batchGetReports_reportArns :: Lens' BatchGetReports (NonEmpty Text) Source #
An array of ARNs that identify the Report
objects to return.
Destructuring the Response
data BatchGetReportsResponse Source #
See: newBatchGetReportsResponse
smart constructor.
BatchGetReportsResponse' | |
|
Instances
newBatchGetReportsResponse Source #
Create a value of BatchGetReportsResponse
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:reports:BatchGetReportsResponse'
, batchGetReportsResponse_reports
- The array of Report
objects returned by BatchGetReports
.
$sel:reportsNotFound:BatchGetReportsResponse'
, batchGetReportsResponse_reportsNotFound
- An array of ARNs passed to BatchGetReportGroups
that are not
associated with a Report
.
$sel:httpStatus:BatchGetReportsResponse'
, batchGetReportsResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetReportsResponse_reports :: Lens' BatchGetReportsResponse (Maybe (NonEmpty Report)) Source #
The array of Report
objects returned by BatchGetReports
.
batchGetReportsResponse_reportsNotFound :: Lens' BatchGetReportsResponse (Maybe (NonEmpty Text)) Source #
An array of ARNs passed to BatchGetReportGroups
that are not
associated with a Report
.
batchGetReportsResponse_httpStatus :: Lens' BatchGetReportsResponse Int Source #
The response's http status code.