Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns a list of ARNs of resources that are members of a specified resource group.
This operation returns paginated results.
Synopsis
- listGroupResources :: Text -> ListGroupResources
- data ListGroupResources
- lgrNextToken :: Lens' ListGroupResources (Maybe Text)
- lgrMaxResults :: Lens' ListGroupResources (Maybe Natural)
- lgrGroupName :: Lens' ListGroupResources Text
- listGroupResourcesResponse :: Int -> ListGroupResourcesResponse
- data ListGroupResourcesResponse
- lgrrsNextToken :: Lens' ListGroupResourcesResponse (Maybe Text)
- lgrrsResourceIdentifiers :: Lens' ListGroupResourcesResponse [ResourceIdentifier]
- lgrrsResponseStatus :: Lens' ListGroupResourcesResponse Int
Creating a Request
Creates a value of ListGroupResources
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lgrNextToken
- The NextToken value that is returned in a paginated ListGroupResources request. To get the next page of results, run the call again, add the NextToken parameter, and specify the NextToken value.lgrMaxResults
- The maximum number of group member ARNs that are returned in a single call by ListGroupResources, in paginated output. By default, this number is 50.lgrGroupName
- The name of the resource group.
data ListGroupResources Source #
See: listGroupResources
smart constructor.
Instances
Request Lenses
lgrNextToken :: Lens' ListGroupResources (Maybe Text) Source #
The NextToken value that is returned in a paginated ListGroupResources request. To get the next page of results, run the call again, add the NextToken parameter, and specify the NextToken value.
lgrMaxResults :: Lens' ListGroupResources (Maybe Natural) Source #
The maximum number of group member ARNs that are returned in a single call by ListGroupResources, in paginated output. By default, this number is 50.
lgrGroupName :: Lens' ListGroupResources Text Source #
The name of the resource group.
Destructuring the Response
listGroupResourcesResponse Source #
Creates a value of ListGroupResourcesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lgrrsNextToken
- The NextToken value to include in a subsequentListGroupResources
request, to get more results.lgrrsResourceIdentifiers
- The ARNs and resource types of resources that are members of the group that you specified.lgrrsResponseStatus
- -- | The response status code.
data ListGroupResourcesResponse Source #
See: listGroupResourcesResponse
smart constructor.
Instances
Response Lenses
lgrrsNextToken :: Lens' ListGroupResourcesResponse (Maybe Text) Source #
The NextToken value to include in a subsequent ListGroupResources
request, to get more results.
lgrrsResourceIdentifiers :: Lens' ListGroupResourcesResponse [ResourceIdentifier] Source #
The ARNs and resource types of resources that are members of the group that you specified.
lgrrsResponseStatus :: Lens' ListGroupResourcesResponse Int Source #
- - | The response status code.