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 |
Gets a list ARNs for the report groups in the current Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListReportGroups = ListReportGroups' {}
- newListReportGroups :: ListReportGroups
- listReportGroups_sortOrder :: Lens' ListReportGroups (Maybe SortOrderType)
- listReportGroups_nextToken :: Lens' ListReportGroups (Maybe Text)
- listReportGroups_maxResults :: Lens' ListReportGroups (Maybe Natural)
- listReportGroups_sortBy :: Lens' ListReportGroups (Maybe ReportGroupSortByType)
- data ListReportGroupsResponse = ListReportGroupsResponse' {
- nextToken :: Maybe Text
- reportGroups :: Maybe (NonEmpty Text)
- httpStatus :: Int
- newListReportGroupsResponse :: Int -> ListReportGroupsResponse
- listReportGroupsResponse_nextToken :: Lens' ListReportGroupsResponse (Maybe Text)
- listReportGroupsResponse_reportGroups :: Lens' ListReportGroupsResponse (Maybe (NonEmpty Text))
- listReportGroupsResponse_httpStatus :: Lens' ListReportGroupsResponse Int
Creating a Request
data ListReportGroups Source #
See: newListReportGroups
smart constructor.
ListReportGroups' | |
|
Instances
newListReportGroups :: ListReportGroups Source #
Create a value of ListReportGroups
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:sortOrder:ListReportGroups'
, listReportGroups_sortOrder
- Used to specify the order to sort the list of returned report groups.
Valid values are ASCENDING
and DESCENDING
.
$sel:nextToken:ListReportGroups'
, listReportGroups_nextToken
- During a previous call, the maximum number of items that can be returned
is the value specified in maxResults
. If there more items in the list,
then a unique string called a nextToken is returned. To get the next
batch of items in the list, call this operation again, adding the next
token to the call. To get all of the items in the list, keep calling
this operation with each subsequent next token that is returned, until
no more next tokens are returned.
$sel:maxResults:ListReportGroups'
, listReportGroups_maxResults
- The maximum number of paginated report groups returned per response. Use
nextToken
to iterate pages in the list of returned ReportGroup
objects. The default value is 100.
$sel:sortBy:ListReportGroups'
, listReportGroups_sortBy
- The criterion to be used to list build report groups. Valid values
include:
CREATED_TIME
: List based on when each report group was created.LAST_MODIFIED_TIME
: List based on when each report group was last changed.NAME
: List based on each report group's name.
Request Lenses
listReportGroups_sortOrder :: Lens' ListReportGroups (Maybe SortOrderType) Source #
Used to specify the order to sort the list of returned report groups.
Valid values are ASCENDING
and DESCENDING
.
listReportGroups_nextToken :: Lens' ListReportGroups (Maybe Text) Source #
During a previous call, the maximum number of items that can be returned
is the value specified in maxResults
. If there more items in the list,
then a unique string called a nextToken is returned. To get the next
batch of items in the list, call this operation again, adding the next
token to the call. To get all of the items in the list, keep calling
this operation with each subsequent next token that is returned, until
no more next tokens are returned.
listReportGroups_maxResults :: Lens' ListReportGroups (Maybe Natural) Source #
The maximum number of paginated report groups returned per response. Use
nextToken
to iterate pages in the list of returned ReportGroup
objects. The default value is 100.
listReportGroups_sortBy :: Lens' ListReportGroups (Maybe ReportGroupSortByType) Source #
The criterion to be used to list build report groups. Valid values include:
CREATED_TIME
: List based on when each report group was created.LAST_MODIFIED_TIME
: List based on when each report group was last changed.NAME
: List based on each report group's name.
Destructuring the Response
data ListReportGroupsResponse Source #
See: newListReportGroupsResponse
smart constructor.
ListReportGroupsResponse' | |
|
Instances
newListReportGroupsResponse Source #
Create a value of ListReportGroupsResponse
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:nextToken:ListReportGroups'
, listReportGroupsResponse_nextToken
- During a previous call, the maximum number of items that can be returned
is the value specified in maxResults
. If there more items in the list,
then a unique string called a nextToken is returned. To get the next
batch of items in the list, call this operation again, adding the next
token to the call. To get all of the items in the list, keep calling
this operation with each subsequent next token that is returned, until
no more next tokens are returned.
$sel:reportGroups:ListReportGroupsResponse'
, listReportGroupsResponse_reportGroups
- The list of ARNs for the report groups in the current Amazon Web
Services account.
$sel:httpStatus:ListReportGroupsResponse'
, listReportGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listReportGroupsResponse_nextToken :: Lens' ListReportGroupsResponse (Maybe Text) Source #
During a previous call, the maximum number of items that can be returned
is the value specified in maxResults
. If there more items in the list,
then a unique string called a nextToken is returned. To get the next
batch of items in the list, call this operation again, adding the next
token to the call. To get all of the items in the list, keep calling
this operation with each subsequent next token that is returned, until
no more next tokens are returned.
listReportGroupsResponse_reportGroups :: Lens' ListReportGroupsResponse (Maybe (NonEmpty Text)) Source #
The list of ARNs for the report groups in the current Amazon Web Services account.
listReportGroupsResponse_httpStatus :: Lens' ListReportGroupsResponse Int Source #
The response's http status code.