class Aws::Organizations::Types::EnablePolicyTypeRequest

@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, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
    }

@!attribute [rw] root_id

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][1] for a root ID string requires "r-" followed
by from 4 to 32 lowercase letters or digits.

[1]: http://wikipedia.org/wiki/regex
@return [String]

@!attribute [rw] policy_type

The policy type that you want to enable. You can specify one of the
following values:

* [AISERVICES\_OPT\_OUT\_POLICY][1]

* [BACKUP\_POLICY][2]

* [SERVICE\_CONTROL\_POLICY][3]

* [TAG\_POLICY][4]

[1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
[2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
[3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
[4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyTypeRequest AWS API Documentation

Constants

SENSITIVE