Class: Aws::Organizations::Types::EnablePolicyTypeRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Organizations::Types::EnablePolicyTypeRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-organizations/types.rb
Overview
Note:
When making an API call, you may pass EnablePolicyTypeRequest data as a hash:
{
root_id: "RootId", # required
policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY
}
Instance Attribute Summary collapse
-
#policy_type ⇒ String
The policy type that you want to enable.
-
#root_id ⇒ String
The unique identifier (ID) of the root in which you want to enable a policy type.
Instance Attribute Details
#policy_type ⇒ String
The policy type that you want to enable.
1075 1076 1077 1078 1079 |
# File 'lib/aws-sdk-organizations/types.rb', line 1075 class EnablePolicyTypeRequest < Struct.new( :root_id, :policy_type) include Aws::Structure end |
#root_id ⇒ String
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 lower-case letters or digits.
1075 1076 1077 1078 1079 |
# File 'lib/aws-sdk-organizations/types.rb', line 1075 class EnablePolicyTypeRequest < Struct.new( :root_id, :policy_type) include Aws::Structure end |