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 report groups.
Synopsis
- data BatchGetReportGroups = BatchGetReportGroups' {}
- newBatchGetReportGroups :: NonEmpty Text -> BatchGetReportGroups
- batchGetReportGroups_reportGroupArns :: Lens' BatchGetReportGroups (NonEmpty Text)
- data BatchGetReportGroupsResponse = BatchGetReportGroupsResponse' {}
- newBatchGetReportGroupsResponse :: Int -> BatchGetReportGroupsResponse
- batchGetReportGroupsResponse_reportGroups :: Lens' BatchGetReportGroupsResponse (Maybe (NonEmpty ReportGroup))
- batchGetReportGroupsResponse_reportGroupsNotFound :: Lens' BatchGetReportGroupsResponse (Maybe (NonEmpty Text))
- batchGetReportGroupsResponse_httpStatus :: Lens' BatchGetReportGroupsResponse Int
Creating a Request
data BatchGetReportGroups Source #
See: newBatchGetReportGroups
smart constructor.
BatchGetReportGroups' | |
|
Instances
newBatchGetReportGroups Source #
Create a value of BatchGetReportGroups
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:reportGroupArns:BatchGetReportGroups'
, batchGetReportGroups_reportGroupArns
- An array of report group ARNs that identify the report groups to return.
Request Lenses
batchGetReportGroups_reportGroupArns :: Lens' BatchGetReportGroups (NonEmpty Text) Source #
An array of report group ARNs that identify the report groups to return.
Destructuring the Response
data BatchGetReportGroupsResponse Source #
See: newBatchGetReportGroupsResponse
smart constructor.
BatchGetReportGroupsResponse' | |
|
Instances
newBatchGetReportGroupsResponse Source #
Create a value of BatchGetReportGroupsResponse
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:reportGroups:BatchGetReportGroupsResponse'
, batchGetReportGroupsResponse_reportGroups
- The array of report groups returned by BatchGetReportGroups
.
$sel:reportGroupsNotFound:BatchGetReportGroupsResponse'
, batchGetReportGroupsResponse_reportGroupsNotFound
- An array of ARNs passed to BatchGetReportGroups
that are not
associated with a ReportGroup
.
$sel:httpStatus:BatchGetReportGroupsResponse'
, batchGetReportGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetReportGroupsResponse_reportGroups :: Lens' BatchGetReportGroupsResponse (Maybe (NonEmpty ReportGroup)) Source #
The array of report groups returned by BatchGetReportGroups
.
batchGetReportGroupsResponse_reportGroupsNotFound :: Lens' BatchGetReportGroupsResponse (Maybe (NonEmpty Text)) Source #
An array of ARNs passed to BatchGetReportGroups
that are not
associated with a ReportGroup
.
batchGetReportGroupsResponse_httpStatus :: Lens' BatchGetReportGroupsResponse Int Source #
The response's http status code.