You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Organizations::Types::DisablePolicyTypeRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DisablePolicyTypeRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  root_id: "RootId", # required
  policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
}

Instance Attribute Summary collapse

Instance Attribute Details

#policy_typeString

The policy type that you want to disable in this root. You can specify one of the following values:

Returns:

  • (String)

    The policy type that you want to disable in this root.

#root_idString

The unique identifier (ID) of the root in which you want to disable 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.

Returns:

  • (String)

    The unique identifier (ID) of the root in which you want to disable a policy type.