PolicyVersion
public struct PolicyVersion : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The date and time, in ISO 8601 date-time format, when the policy version was created.
Declaration
Swift
public let createDate: TimeStamp?
-
The policy document. The policy document is returned in the response to the GetPolicyVersion and GetAccountAuthorizationDetails operations. It is not returned in the response to the CreatePolicyVersion or ListPolicyVersions operations. The policy document returned in this structure is URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality.
Declaration
Swift
public let document: String?
-
Specifies whether the policy version is set as the policy’s default version.
Declaration
Swift
public let isDefaultVersion: Bool?
-
The identifier for the policy version. Policy version identifiers always begin with v (always lowercase). When a policy is created, the first policy version is v1.
Declaration
Swift
public let versionId: String?
-
Undocumented
Declaration
Swift
public init(createDate: TimeStamp? = nil, document: String? = nil, isDefaultVersion: Bool? = nil, versionId: String? = nil)