EnablePolicyTypeRequest

public struct EnablePolicyTypeRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The policy type that you want to enable. You can specify one of the following values: AISERVICES_OPT_OUT_POLICY BACKUP_POLICY SERVICE_CONTROL_POLICY TAG_POLICY

    Declaration

    Swift

    public let policyType: PolicyType
  • The unique identifier (ID) of the root in which you want to enable a policy type. You can get the ID from the ListRoots operation. The regex pattern for a root ID string requires “r-” followed by from 4 to 32 lowercase letters or digits.

    Declaration

    Swift

    public let rootId: String
  • Undocumented

    Declaration

    Swift

    public init(policyType: PolicyType, rootId: String)
  • Declaration

    Swift

    public func validate(name: String) throws