SetDefaultPolicyVersionRequest
public struct SetDefaultPolicyVersionRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Declaration
Swift
public let policyArn: String
-
The version of the policy to set as the default (operative) version. For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
Declaration
Swift
public let versionId: String
-
Undocumented
Declaration
Swift
public init(policyArn: String, versionId: String)
-
Declaration
Swift
public func validate(name: String) throws