| Copyright | (c) 2013-2016 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 |
Network.AWS.IoT.ListPolicyVersions
Description
Lists the versions of the specified policy, and identifies the default version.
- 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
Arguments
| :: Text | |
| -> ListPolicyVersions |
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.
Instances
Request Lenses
lpvPolicyName :: Lens' ListPolicyVersions Text Source #
The policy name.
Destructuring the Response
listPolicyVersionsResponse Source #
Arguments
| :: Int | |
| -> ListPolicyVersionsResponse |
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.
Instances
Response Lenses
lpvrsPolicyVersions :: Lens' ListPolicyVersionsResponse [PolicyVersion] Source #
The policy versions.
lpvrsResponseStatus :: Lens' ListPolicyVersionsResponse Int Source #
The response status code.