View definition

(*IAM).SetDefaultPolicyVersion

Defined in github.com/aws/aws-sdk-go/service/iam/api.go

Description

Sets the specified version of the specified policy as the policy's default (operative) version.

This action affects all users, groups, and roles that the policy is attached to. To list the users, groups, and roles that the policy is attached to, use the ListEntitiesForPolicy API.

For information about managed policies, see Managed Policies and Inline Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the IAM User Guide.

SetDefaultPolicyVersion is referenced in 2 repositories

github.com/aws/aws-sdk-go gopkg.in/aws/aws-sdk-go.v1