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 |
Lists the policies attached to the specified thing group.
Synopsis
- listAttachedPolicies :: Text -> ListAttachedPolicies
- data ListAttachedPolicies
- lapMarker :: Lens' ListAttachedPolicies (Maybe Text)
- lapRecursive :: Lens' ListAttachedPolicies (Maybe Bool)
- lapPageSize :: Lens' ListAttachedPolicies (Maybe Natural)
- lapTarget :: Lens' ListAttachedPolicies Text
- listAttachedPoliciesResponse :: Int -> ListAttachedPoliciesResponse
- data ListAttachedPoliciesResponse
- laprsNextMarker :: Lens' ListAttachedPoliciesResponse (Maybe Text)
- laprsPolicies :: Lens' ListAttachedPoliciesResponse [Policy]
- laprsResponseStatus :: Lens' ListAttachedPoliciesResponse Int
Creating a Request
Creates a value of ListAttachedPolicies
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lapMarker
- The token to retrieve the next set of results.lapRecursive
- When true, recursively list attached policies.lapPageSize
- The maximum number of results to be returned per request.lapTarget
- The group for which the policies will be listed.
data ListAttachedPolicies Source #
See: listAttachedPolicies
smart constructor.
Instances
Request Lenses
lapMarker :: Lens' ListAttachedPolicies (Maybe Text) Source #
The token to retrieve the next set of results.
lapRecursive :: Lens' ListAttachedPolicies (Maybe Bool) Source #
When true, recursively list attached policies.
lapPageSize :: Lens' ListAttachedPolicies (Maybe Natural) Source #
The maximum number of results to be returned per request.
lapTarget :: Lens' ListAttachedPolicies Text Source #
The group for which the policies will be listed.
Destructuring the Response
listAttachedPoliciesResponse Source #
Creates a value of ListAttachedPoliciesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
laprsNextMarker
- The token to retrieve the next set of results, or `null
` if there are no more results.laprsPolicies
- The policies.laprsResponseStatus
- -- | The response status code.
data ListAttachedPoliciesResponse Source #
See: listAttachedPoliciesResponse
smart constructor.
Instances
Response Lenses
laprsNextMarker :: Lens' ListAttachedPoliciesResponse (Maybe Text) Source #
The token to retrieve the next set of results, or `null
` if there are no more results.
laprsPolicies :: Lens' ListAttachedPoliciesResponse [Policy] Source #
The policies.
laprsResponseStatus :: Lens' ListAttachedPoliciesResponse Int Source #
- - | The response status code.