CreatePolicyRequest

public struct CreatePolicyRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.

    Declaration

    Swift

    public let policyDocument: String
  • The policy name.

    Declaration

    Swift

    public let policyName: String
  • Metadata which can be used to manage the policy. For URI Request parameters use format: …key1=value1&key2=value2… For the CLI command-line parameter use format: &&tags “key1=value1&key2=value2…” For the cli-input-json file use format: “tags”: “key1=value1&key2=value2…”

    Declaration

    Swift

    public let tags: [Tag]?
  • Undocumented

    Declaration

    Swift

    public init(policyDocument: String, policyName: String, tags: [Tag]? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws