UpdatePolicyRequest

public struct UpdatePolicyRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy’s type. For more information, see Service Control Policy Syntax in the AWS Organizations User Guide.

    Declaration

    Swift

    public let content: String?
  • If provided, the new description for the policy.

    Declaration

    Swift

    public let description: String?
  • If provided, the new name for the policy. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

    Declaration

    Swift

    public let name: String?
  • The unique identifier (ID) of the policy that you want to update. The regex pattern for a policy ID string requires “p-” followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

    Declaration

    Swift

    public let policyId: String
  • Undocumented

    Declaration

    Swift

    public init(content: String? = nil, description: String? = nil, name: String? = nil, policyId: String)
  • Declaration

    Swift

    public func validate(name: String) throws