| 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.DetachPrincipalPolicy
Description
Removes the specified policy from the specified certificate.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> DetachPrincipalPolicy |
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:
data DetachPrincipalPolicy Source
The input for the DetachPrincipalPolicy operation.
See: detachPrincipalPolicy smart constructor.
Instances
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.