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 of report groups that are shared with other Amazon Web Services accounts or users.
This operation returns paginated results.
Synopsis
- data ListSharedReportGroups = ListSharedReportGroups' {}
- newListSharedReportGroups :: ListSharedReportGroups
- listSharedReportGroups_sortOrder :: Lens' ListSharedReportGroups (Maybe SortOrderType)
- listSharedReportGroups_nextToken :: Lens' ListSharedReportGroups (Maybe Text)
- listSharedReportGroups_maxResults :: Lens' ListSharedReportGroups (Maybe Natural)
- listSharedReportGroups_sortBy :: Lens' ListSharedReportGroups (Maybe SharedResourceSortByType)
- data ListSharedReportGroupsResponse = ListSharedReportGroupsResponse' {
- nextToken :: Maybe Text
- reportGroups :: Maybe (NonEmpty Text)
- httpStatus :: Int
- newListSharedReportGroupsResponse :: Int -> ListSharedReportGroupsResponse
- listSharedReportGroupsResponse_nextToken :: Lens' ListSharedReportGroupsResponse (Maybe Text)
- listSharedReportGroupsResponse_reportGroups :: Lens' ListSharedReportGroupsResponse (Maybe (NonEmpty Text))
- listSharedReportGroupsResponse_httpStatus :: Lens' ListSharedReportGroupsResponse Int
Creating a Request
data ListSharedReportGroups Source #
See: newListSharedReportGroups
smart constructor.
ListSharedReportGroups' | |
|
Instances
newListSharedReportGroups :: ListSharedReportGroups Source #
Create a value of ListSharedReportGroups
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:ListSharedReportGroups'
, listSharedReportGroups_sortOrder
- The order in which to list shared report groups. Valid values include:
ASCENDING
: List in ascending order.DESCENDING
: List in descending order.
$sel:nextToken:ListSharedReportGroups'
, listSharedReportGroups_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:ListSharedReportGroups'
, listSharedReportGroups_maxResults
- The maximum number of paginated shared report groups per response. Use
nextToken
to iterate pages in the list of returned ReportGroup
objects. The default value is 100.
$sel:sortBy:ListSharedReportGroups'
, listSharedReportGroups_sortBy
- The criterion to be used to list report groups shared with the current
Amazon Web Services account or user. Valid values include:
ARN
: List based on the ARN.MODIFIED_TIME
: List based on when information about the shared report group was last changed.
Request Lenses
listSharedReportGroups_sortOrder :: Lens' ListSharedReportGroups (Maybe SortOrderType) Source #
The order in which to list shared report groups. Valid values include:
ASCENDING
: List in ascending order.DESCENDING
: List in descending order.
listSharedReportGroups_nextToken :: Lens' ListSharedReportGroups (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.
listSharedReportGroups_maxResults :: Lens' ListSharedReportGroups (Maybe Natural) Source #
The maximum number of paginated shared report groups per response. Use
nextToken
to iterate pages in the list of returned ReportGroup
objects. The default value is 100.
listSharedReportGroups_sortBy :: Lens' ListSharedReportGroups (Maybe SharedResourceSortByType) Source #
The criterion to be used to list report groups shared with the current Amazon Web Services account or user. Valid values include:
ARN
: List based on the ARN.MODIFIED_TIME
: List based on when information about the shared report group was last changed.
Destructuring the Response
data ListSharedReportGroupsResponse Source #
See: newListSharedReportGroupsResponse
smart constructor.
ListSharedReportGroupsResponse' | |
|
Instances
newListSharedReportGroupsResponse Source #
Create a value of ListSharedReportGroupsResponse
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:ListSharedReportGroups'
, listSharedReportGroupsResponse_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:ListSharedReportGroupsResponse'
, listSharedReportGroupsResponse_reportGroups
- The list of ARNs for the report groups shared with the current Amazon
Web Services account or user.
$sel:httpStatus:ListSharedReportGroupsResponse'
, listSharedReportGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listSharedReportGroupsResponse_nextToken :: Lens' ListSharedReportGroupsResponse (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.
listSharedReportGroupsResponse_reportGroups :: Lens' ListSharedReportGroupsResponse (Maybe (NonEmpty Text)) Source #
The list of ARNs for the report groups shared with the current Amazon Web Services account or user.
listSharedReportGroupsResponse_httpStatus :: Lens' ListSharedReportGroupsResponse Int Source #
The response's http status code.