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
}

Instance Attribute Summary collapse

Instance Attribute Details

#policy_typeString

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

Possible values:

  • SERVICE_CONTROL_POLICY

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 lower-case letters or digits.

Returns:

  • (String)

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