Copyright | (c) 2013-2017 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 |
Removes the specified policy from the specified certificate.
Creating a Request
detachPrincipalPolicy Source #
Creates a value of DetachPrincipalPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dppPolicyName
- The name of the policy to detach.dppPrincipal
- The principal. If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID.
data DetachPrincipalPolicy Source #
The input for the DetachPrincipalPolicy operation.
See: detachPrincipalPolicy
smart constructor.
Request Lenses
dppPolicyName :: Lens' DetachPrincipalPolicy Text Source #
The name of the policy to detach.
dppPrincipal :: Lens' DetachPrincipalPolicy Text Source #
The principal. If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID.
Destructuring the Response
detachPrincipalPolicyResponse :: DetachPrincipalPolicyResponse Source #
Creates a value of DetachPrincipalPolicyResponse
with the minimum fields required to make a request.
data DetachPrincipalPolicyResponse Source #
See: detachPrincipalPolicyResponse
smart constructor.