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 |
Detaches a policy from the specified target.
Creating a Request
Creates a value of DetachPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dPolicyName
- The policy to detach.dTarget
- The target from which the policy will be detached.
data DetachPolicy Source #
See: detachPolicy
smart constructor.
Request Lenses
dPolicyName :: Lens' DetachPolicy Text Source #
The policy to detach.
Destructuring the Response
detachPolicyResponse :: DetachPolicyResponse Source #
Creates a value of DetachPolicyResponse
with the minimum fields required to make a request.
data DetachPolicyResponse Source #
See: detachPolicyResponse
smart constructor.