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 |
Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.
Creating a Request
Creates a value of DeletePolicyVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeletePolicyVersion Source #
The input for the DeletePolicyVersion operation.
See: deletePolicyVersion
smart constructor.
Request Lenses
dpvPolicyName :: Lens' DeletePolicyVersion Text Source #
The name of the policy.
dpvPolicyVersionId :: Lens' DeletePolicyVersion Text Source #
The policy version ID.
Destructuring the Response
deletePolicyVersionResponse :: DeletePolicyVersionResponse Source #
Creates a value of DeletePolicyVersionResponse
with the minimum fields required to make a request.
data DeletePolicyVersionResponse Source #
See: deletePolicyVersionResponse
smart constructor.