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

Contents

Description

Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates that the policy is attached to. To list the principals the policy is attached to, use the ListPrincipalPolicy API.

See: AWS API Reference for SetDefaultPolicyVersion.

Synopsis

Creating a Request

setDefaultPolicyVersion Source

Creates a value of SetDefaultPolicyVersion with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

Destructuring the Response

setDefaultPolicyVersionResponse :: SetDefaultPolicyVersionResponse Source

Creates a value of SetDefaultPolicyVersionResponse with the minimum fields required to make a request.