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 |
List targets for the specified policy.
- listTargetsForPolicy :: Text -> ListTargetsForPolicy
- data ListTargetsForPolicy
- ltfpMarker :: Lens' ListTargetsForPolicy (Maybe Text)
- ltfpPageSize :: Lens' ListTargetsForPolicy (Maybe Natural)
- ltfpPolicyName :: Lens' ListTargetsForPolicy Text
- listTargetsForPolicyResponse :: Int -> ListTargetsForPolicyResponse
- data ListTargetsForPolicyResponse
- ltfprsTargets :: Lens' ListTargetsForPolicyResponse [Text]
- ltfprsNextMarker :: Lens' ListTargetsForPolicyResponse (Maybe Text)
- ltfprsResponseStatus :: Lens' ListTargetsForPolicyResponse Int
Creating a Request
Creates a value of ListTargetsForPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfpMarker
- A marker used to get the next set of results.ltfpPageSize
- The maximum number of results to return at one time.ltfpPolicyName
- The policy name.
data ListTargetsForPolicy Source #
See: listTargetsForPolicy
smart constructor.
Request Lenses
ltfpMarker :: Lens' ListTargetsForPolicy (Maybe Text) Source #
A marker used to get the next set of results.
ltfpPageSize :: Lens' ListTargetsForPolicy (Maybe Natural) Source #
The maximum number of results to return at one time.
ltfpPolicyName :: Lens' ListTargetsForPolicy Text Source #
The policy name.
Destructuring the Response
listTargetsForPolicyResponse Source #
Creates a value of ListTargetsForPolicyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfprsTargets
- The policy targets.ltfprsNextMarker
- A marker used to get the next set of results.ltfprsResponseStatus
- -- | The response status code.
data ListTargetsForPolicyResponse Source #
See: listTargetsForPolicyResponse
smart constructor.
Response Lenses
ltfprsTargets :: Lens' ListTargetsForPolicyResponse [Text] Source #
The policy targets.
ltfprsNextMarker :: Lens' ListTargetsForPolicyResponse (Maybe Text) Source #
A marker used to get the next set of results.
ltfprsResponseStatus :: Lens' ListTargetsForPolicyResponse Int Source #
- - | The response status code.