Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists the versions of the specified policy, and identifies the default version.
See: AWS API Reference for ListPolicyVersions.
- listPolicyVersions :: Text -> ListPolicyVersions
- data ListPolicyVersions
- lpvPolicyName :: Lens' ListPolicyVersions Text
- listPolicyVersionsResponse :: Int -> ListPolicyVersionsResponse
- data ListPolicyVersionsResponse
- lpvrsPolicyVersions :: Lens' ListPolicyVersionsResponse [PolicyVersion]
- lpvrsResponseStatus :: Lens' ListPolicyVersionsResponse Int
Creating a Request
Creates a value of ListPolicyVersions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListPolicyVersions Source
The input for the ListPolicyVersions operation.
See: listPolicyVersions
smart constructor.
Request Lenses
lpvPolicyName :: Lens' ListPolicyVersions Text Source
The policy name.
Destructuring the Response
listPolicyVersionsResponse Source
Creates a value of ListPolicyVersionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListPolicyVersionsResponse Source
The output from the ListPolicyVersions operation.
See: listPolicyVersionsResponse
smart constructor.
Response Lenses
lpvrsPolicyVersions :: Lens' ListPolicyVersionsResponse [PolicyVersion] Source
The policy versions.
lpvrsResponseStatus :: Lens' ListPolicyVersionsResponse Int Source
The response status code.