amazonka-iot-1.3.7: Amazon IoT SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IoT.DetachPrincipalPolicy

Contents

Description

Removes the specified policy from the specified certificate.

See: AWS API Reference for DetachPrincipalPolicy.

Synopsis

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:

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 a 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.