aws-sdk-organizations 1.116.0 → 1.117.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-organizations/client.rb +79 -104
- data/lib/aws-sdk-organizations/types.rb +31 -6
- data/lib/aws-sdk-organizations.rb +1 -1
- data/sig/client.rbs +6 -6
- data/sig/types.rbs +10 -10
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1fcdb6ead39199c4eb2325c6373905b57e0e816fa723e8840c1f3aa92e1f097
|
4
|
+
data.tar.gz: d60626d595a775b0e4369117681b99079c323a5c70ca850f2e2f23f278c04ada
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba69710bd841034f371456943de3bfa531172bdd4a517d843f1cbfc9ff102d15cf0418d437cf84896fd3ba5705deafeaa34476c7b43b0a32116db46d8a851bbc
|
7
|
+
data.tar.gz: 500656ad869115505df21c7eb422f2300971cb9a28f2f891403c92b652b77b5625901a833dd1f1e2d011b886eaae3d0e9d91ff8eede0e2154506aa06ea948c12
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.117.0
|
@@ -632,9 +632,10 @@ module Aws::Organizations
|
|
632
632
|
#
|
633
633
|
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
634
634
|
#
|
635
|
+
# * [SECURITYHUB\_POLICY][8]
|
636
|
+
#
|
635
637
|
# This operation can be called only from the organization's management
|
636
|
-
# account or by a member account that is a delegated administrator
|
637
|
-
# an Amazon Web Services service.
|
638
|
+
# account or by a member account that is a delegated administrator.
|
638
639
|
#
|
639
640
|
#
|
640
641
|
#
|
@@ -645,6 +646,7 @@ module Aws::Organizations
|
|
645
646
|
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
646
647
|
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
647
648
|
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
649
|
+
# [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
|
648
650
|
#
|
649
651
|
# @option params [required, String] :policy_id
|
650
652
|
# The unique identifier (ID) of the policy that you want to attach to
|
@@ -1549,7 +1551,7 @@ module Aws::Organizations
|
|
1549
1551
|
# resp.organization.master_account_id #=> String
|
1550
1552
|
# resp.organization.master_account_email #=> String
|
1551
1553
|
# resp.organization.available_policy_types #=> Array
|
1552
|
-
# resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2"
|
1554
|
+
# resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
|
1553
1555
|
# resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
1554
1556
|
#
|
1555
1557
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganization AWS API Documentation
|
@@ -1682,8 +1684,7 @@ module Aws::Organizations
|
|
1682
1684
|
# `organizations:TagResource` permission.
|
1683
1685
|
#
|
1684
1686
|
# This operation can be called only from the organization's management
|
1685
|
-
# account or by a member account that is a delegated administrator
|
1686
|
-
# an Amazon Web Services service.
|
1687
|
+
# account or by a member account that is a delegated administrator.
|
1687
1688
|
#
|
1688
1689
|
#
|
1689
1690
|
#
|
@@ -1733,6 +1734,8 @@ module Aws::Organizations
|
|
1733
1734
|
#
|
1734
1735
|
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
1735
1736
|
#
|
1737
|
+
# * [SECURITYHUB\_POLICY][8]
|
1738
|
+
#
|
1736
1739
|
#
|
1737
1740
|
#
|
1738
1741
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
@@ -1742,6 +1745,7 @@ module Aws::Organizations
|
|
1742
1745
|
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1743
1746
|
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1744
1747
|
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1748
|
+
# [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
|
1745
1749
|
#
|
1746
1750
|
# @option params [Array<Types::Tag>] :tags
|
1747
1751
|
# A list of tags that you want to attach to the newly created policy.
|
@@ -1798,7 +1802,7 @@ module Aws::Organizations
|
|
1798
1802
|
# content: "PolicyContent", # required
|
1799
1803
|
# description: "PolicyDescription", # required
|
1800
1804
|
# name: "PolicyName", # required
|
1801
|
-
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2
|
1805
|
+
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
|
1802
1806
|
# tags: [
|
1803
1807
|
# {
|
1804
1808
|
# key: "TagKey", # required
|
@@ -1813,7 +1817,7 @@ module Aws::Organizations
|
|
1813
1817
|
# resp.policy.policy_summary.arn #=> String
|
1814
1818
|
# resp.policy.policy_summary.name #=> String
|
1815
1819
|
# resp.policy.policy_summary.description #=> String
|
1816
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2"
|
1820
|
+
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
|
1817
1821
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
1818
1822
|
# resp.policy.content #=> String
|
1819
1823
|
#
|
@@ -2007,8 +2011,7 @@ module Aws::Organizations
|
|
2007
2011
|
# organizational units (OUs), roots, and accounts.
|
2008
2012
|
#
|
2009
2013
|
# This operation can be called only from the organization's management
|
2010
|
-
# account or by a member account that is a delegated administrator
|
2011
|
-
# an Amazon Web Services service.
|
2014
|
+
# account or by a member account that is a delegated administrator.
|
2012
2015
|
#
|
2013
2016
|
# @option params [required, String] :policy_id
|
2014
2017
|
# The unique identifier (ID) of the policy that you want to delete. You
|
@@ -2052,7 +2055,7 @@ module Aws::Organizations
|
|
2052
2055
|
|
2053
2056
|
# Deletes the resource policy from your organization.
|
2054
2057
|
#
|
2055
|
-
#
|
2058
|
+
# This operation can be called only from the organization's management
|
2056
2059
|
# account.
|
2057
2060
|
#
|
2058
2061
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -2123,8 +2126,7 @@ module Aws::Organizations
|
|
2123
2126
|
# account.
|
2124
2127
|
#
|
2125
2128
|
# This operation can be called only from the organization's management
|
2126
|
-
# account or by a member account that is a delegated administrator
|
2127
|
-
# an Amazon Web Services service.
|
2129
|
+
# account or by a member account that is a delegated administrator.
|
2128
2130
|
#
|
2129
2131
|
# @option params [required, String] :account_id
|
2130
2132
|
# The unique identifier (ID) of the Amazon Web Services account that you
|
@@ -2190,8 +2192,7 @@ module Aws::Organizations
|
|
2190
2192
|
# account.
|
2191
2193
|
#
|
2192
2194
|
# This operation can be called only from the organization's management
|
2193
|
-
# account or by a member account that is a delegated administrator
|
2194
|
-
# an Amazon Web Services service.
|
2195
|
+
# account or by a member account that is a delegated administrator.
|
2195
2196
|
#
|
2196
2197
|
# @option params [required, String] :create_account_request_id
|
2197
2198
|
# Specifies the `Id` value that uniquely identifies the `CreateAccount`
|
@@ -2288,6 +2289,8 @@ module Aws::Organizations
|
|
2288
2289
|
#
|
2289
2290
|
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
2290
2291
|
#
|
2292
|
+
# * [SECURITYHUB\_POLICY][6]
|
2293
|
+
#
|
2291
2294
|
#
|
2292
2295
|
#
|
2293
2296
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
@@ -2295,6 +2298,7 @@ module Aws::Organizations
|
|
2295
2298
|
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
2296
2299
|
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
2297
2300
|
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
2301
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
|
2298
2302
|
#
|
2299
2303
|
# @option params [String] :target_id
|
2300
2304
|
# When you're signed in as the management account, specify the ID of
|
@@ -2308,7 +2312,7 @@ module Aws::Organizations
|
|
2308
2312
|
# @example Request syntax with placeholder values
|
2309
2313
|
#
|
2310
2314
|
# resp = client.describe_effective_policy({
|
2311
|
-
# policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2
|
2315
|
+
# policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
|
2312
2316
|
# target_id: "PolicyTargetId",
|
2313
2317
|
# })
|
2314
2318
|
#
|
@@ -2317,7 +2321,7 @@ module Aws::Organizations
|
|
2317
2321
|
# resp.effective_policy.policy_content #=> String
|
2318
2322
|
# resp.effective_policy.last_updated_timestamp #=> Time
|
2319
2323
|
# resp.effective_policy.target_id #=> String
|
2320
|
-
# resp.effective_policy.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2"
|
2324
|
+
# resp.effective_policy.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
|
2321
2325
|
#
|
2322
2326
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicy AWS API Documentation
|
2323
2327
|
#
|
@@ -2488,7 +2492,7 @@ module Aws::Organizations
|
|
2488
2492
|
# resp.organization.master_account_id #=> String
|
2489
2493
|
# resp.organization.master_account_email #=> String
|
2490
2494
|
# resp.organization.available_policy_types #=> Array
|
2491
|
-
# resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2"
|
2495
|
+
# resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
|
2492
2496
|
# resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
2493
2497
|
#
|
2494
2498
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganization AWS API Documentation
|
@@ -2503,8 +2507,7 @@ module Aws::Organizations
|
|
2503
2507
|
# Retrieves information about an organizational unit (OU).
|
2504
2508
|
#
|
2505
2509
|
# This operation can be called only from the organization's management
|
2506
|
-
# account or by a member account that is a delegated administrator
|
2507
|
-
# an Amazon Web Services service.
|
2510
|
+
# account or by a member account that is a delegated administrator.
|
2508
2511
|
#
|
2509
2512
|
# @option params [required, String] :organizational_unit_id
|
2510
2513
|
# The unique identifier (ID) of the organizational unit that you want
|
@@ -2566,8 +2569,7 @@ module Aws::Organizations
|
|
2566
2569
|
# Retrieves information about a policy.
|
2567
2570
|
#
|
2568
2571
|
# This operation can be called only from the organization's management
|
2569
|
-
# account or by a member account that is a delegated administrator
|
2570
|
-
# an Amazon Web Services service.
|
2572
|
+
# account or by a member account that is a delegated administrator.
|
2571
2573
|
#
|
2572
2574
|
# @option params [required, String] :policy_id
|
2573
2575
|
# The unique identifier (ID) of the policy that you want details about.
|
@@ -2622,7 +2624,7 @@ module Aws::Organizations
|
|
2622
2624
|
# resp.policy.policy_summary.arn #=> String
|
2623
2625
|
# resp.policy.policy_summary.name #=> String
|
2624
2626
|
# resp.policy.policy_summary.description #=> String
|
2625
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2"
|
2627
|
+
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
|
2626
2628
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
2627
2629
|
# resp.policy.content #=> String
|
2628
2630
|
#
|
@@ -2638,8 +2640,7 @@ module Aws::Organizations
|
|
2638
2640
|
# Retrieves information about a resource policy.
|
2639
2641
|
#
|
2640
2642
|
# This operation can be called only from the organization's management
|
2641
|
-
# account or by a member account that is a delegated administrator
|
2642
|
-
# an Amazon Web Services service.
|
2643
|
+
# account or by a member account that is a delegated administrator.
|
2643
2644
|
#
|
2644
2645
|
# @return [Types::DescribeResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2645
2646
|
#
|
@@ -2679,8 +2680,7 @@ module Aws::Organizations
|
|
2679
2680
|
# list][2]".
|
2680
2681
|
#
|
2681
2682
|
# This operation can be called only from the organization's management
|
2682
|
-
# account or by a member account that is a delegated administrator
|
2683
|
-
# an Amazon Web Services service.
|
2683
|
+
# account or by a member account that is a delegated administrator.
|
2684
2684
|
#
|
2685
2685
|
#
|
2686
2686
|
#
|
@@ -2856,8 +2856,7 @@ module Aws::Organizations
|
|
2856
2856
|
# and then use this operation.
|
2857
2857
|
#
|
2858
2858
|
# This operation can be called only from the organization's management
|
2859
|
-
# account or by a member account that is a delegated administrator
|
2860
|
-
# an Amazon Web Services service.
|
2859
|
+
# account or by a member account that is a delegated administrator.
|
2861
2860
|
#
|
2862
2861
|
# To view the status of available policy types in the organization, use
|
2863
2862
|
# DescribeOrganization.
|
@@ -2895,6 +2894,8 @@ module Aws::Organizations
|
|
2895
2894
|
#
|
2896
2895
|
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
2897
2896
|
#
|
2897
|
+
# * [SECURITYHUB\_POLICY][8]
|
2898
|
+
#
|
2898
2899
|
#
|
2899
2900
|
#
|
2900
2901
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
@@ -2904,6 +2905,7 @@ module Aws::Organizations
|
|
2904
2905
|
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
2905
2906
|
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
2906
2907
|
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
2908
|
+
# [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
|
2907
2909
|
#
|
2908
2910
|
# @return [Types::DisablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2909
2911
|
#
|
@@ -2935,7 +2937,7 @@ module Aws::Organizations
|
|
2935
2937
|
#
|
2936
2938
|
# resp = client.disable_policy_type({
|
2937
2939
|
# root_id: "RootId", # required
|
2938
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2
|
2940
|
+
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
|
2939
2941
|
# })
|
2940
2942
|
#
|
2941
2943
|
# @example Response structure
|
@@ -2944,7 +2946,7 @@ module Aws::Organizations
|
|
2944
2946
|
# resp.root.arn #=> String
|
2945
2947
|
# resp.root.name #=> String
|
2946
2948
|
# resp.root.policy_types #=> Array
|
2947
|
-
# resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2"
|
2949
|
+
# resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
|
2948
2950
|
# resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
2949
2951
|
#
|
2950
2952
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyType AWS API Documentation
|
@@ -2977,14 +2979,13 @@ module Aws::Organizations
|
|
2977
2979
|
# Organizations, see [Using Organizations with other Amazon Web Services
|
2978
2980
|
# services][2] in the *Organizations User Guide*.
|
2979
2981
|
#
|
2980
|
-
#
|
2981
|
-
# account
|
2982
|
+
# This operation can be called only from the organization's management
|
2983
|
+
# account.
|
2982
2984
|
#
|
2983
2985
|
#
|
2984
2986
|
#
|
2985
2987
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html
|
2986
2988
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html
|
2987
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html
|
2988
2989
|
#
|
2989
2990
|
# @option params [required, String] :service_principal
|
2990
2991
|
# The service principal name of the Amazon Web Services service for
|
@@ -3123,8 +3124,7 @@ module Aws::Organizations
|
|
3123
3124
|
# then use this operation.
|
3124
3125
|
#
|
3125
3126
|
# This operation can be called only from the organization's management
|
3126
|
-
# account or by a member account that is a delegated administrator
|
3127
|
-
# an Amazon Web Services service.
|
3127
|
+
# account or by a member account that is a delegated administrator.
|
3128
3128
|
#
|
3129
3129
|
# You can enable a policy type in a root only if that policy type is
|
3130
3130
|
# available in the organization. To view the status of available policy
|
@@ -3159,6 +3159,8 @@ module Aws::Organizations
|
|
3159
3159
|
#
|
3160
3160
|
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
3161
3161
|
#
|
3162
|
+
# * [SECURITYHUB\_POLICY][8]
|
3163
|
+
#
|
3162
3164
|
#
|
3163
3165
|
#
|
3164
3166
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
@@ -3168,6 +3170,7 @@ module Aws::Organizations
|
|
3168
3170
|
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3169
3171
|
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
3170
3172
|
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3173
|
+
# [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
|
3171
3174
|
#
|
3172
3175
|
# @return [Types::EnablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3173
3176
|
#
|
@@ -3203,7 +3206,7 @@ module Aws::Organizations
|
|
3203
3206
|
#
|
3204
3207
|
# resp = client.enable_policy_type({
|
3205
3208
|
# root_id: "RootId", # required
|
3206
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2
|
3209
|
+
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
|
3207
3210
|
# })
|
3208
3211
|
#
|
3209
3212
|
# @example Response structure
|
@@ -3212,7 +3215,7 @@ module Aws::Organizations
|
|
3212
3215
|
# resp.root.arn #=> String
|
3213
3216
|
# resp.root.name #=> String
|
3214
3217
|
# resp.root.policy_types #=> Array
|
3215
|
-
# resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2"
|
3218
|
+
# resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
|
3216
3219
|
# resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
3217
3220
|
#
|
3218
3221
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyType AWS API Documentation
|
@@ -3230,20 +3233,11 @@ module Aws::Organizations
|
|
3230
3233
|
# invitation is implemented as a Handshake whose details are in the
|
3231
3234
|
# response.
|
3232
3235
|
#
|
3233
|
-
#
|
3234
|
-
#
|
3235
|
-
#
|
3236
|
-
#
|
3237
|
-
#
|
3238
|
-
# can't combine accounts from AISPL and Amazon Web Services or from
|
3239
|
-
# any other Amazon Web Services seller. For more information, see
|
3240
|
-
# [Consolidated billing in India][1].
|
3241
|
-
#
|
3242
|
-
# * If you receive an exception that indicates that you exceeded your
|
3243
|
-
# account limits for the organization or that the operation failed
|
3244
|
-
# because your organization is still initializing, wait one hour and
|
3245
|
-
# then try again. If the error persists after an hour, contact [Amazon
|
3246
|
-
# Web Services Support][2].
|
3236
|
+
# If you receive an exception that indicates that you exceeded your
|
3237
|
+
# account limits for the organization or that the operation failed
|
3238
|
+
# because your organization is still initializing, wait one hour and
|
3239
|
+
# then try again. If the error persists after an hour, contact [Amazon
|
3240
|
+
# Web Services Support][1].
|
3247
3241
|
#
|
3248
3242
|
# If the request includes tags, then the requester must have the
|
3249
3243
|
# `organizations:TagResource` permission.
|
@@ -3253,8 +3247,7 @@ module Aws::Organizations
|
|
3253
3247
|
#
|
3254
3248
|
#
|
3255
3249
|
#
|
3256
|
-
# [1]: https://
|
3257
|
-
# [2]: https://console.aws.amazon.com/support/home#/
|
3250
|
+
# [1]: https://console.aws.amazon.com/support/home#/
|
3258
3251
|
#
|
3259
3252
|
# @option params [required, Types::HandshakeParty] :target
|
3260
3253
|
# The identifier (ID) of the Amazon Web Services account that you want
|
@@ -3451,11 +3444,6 @@ module Aws::Organizations
|
|
3451
3444
|
# you must first change the delegated administrator account to another
|
3452
3445
|
# account that is remaining in the organization.
|
3453
3446
|
#
|
3454
|
-
# * You can leave an organization only after you enable IAM user access
|
3455
|
-
# to billing in your account. For more information, see [About IAM
|
3456
|
-
# access to the Billing and Cost Management console][2] in the *Amazon
|
3457
|
-
# Web Services Billing and Cost Management User Guide*.
|
3458
|
-
#
|
3459
3447
|
# * After the account leaves the organization, all tags that were
|
3460
3448
|
# attached to the account object in the organization are deleted.
|
3461
3449
|
# Amazon Web Services accounts outside of an organization do not
|
@@ -3473,7 +3461,6 @@ module Aws::Organizations
|
|
3473
3461
|
#
|
3474
3462
|
#
|
3475
3463
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_account-before-remove.html
|
3476
|
-
# [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate
|
3477
3464
|
#
|
3478
3465
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3479
3466
|
#
|
@@ -3505,8 +3492,7 @@ module Aws::Organizations
|
|
3505
3492
|
# services][1] in the *Organizations User Guide*.
|
3506
3493
|
#
|
3507
3494
|
# This operation can be called only from the organization's management
|
3508
|
-
# account or by a member account that is a delegated administrator
|
3509
|
-
# an Amazon Web Services service.
|
3495
|
+
# account or by a member account that is a delegated administrator.
|
3510
3496
|
#
|
3511
3497
|
#
|
3512
3498
|
#
|
@@ -3574,8 +3560,7 @@ module Aws::Organizations
|
|
3574
3560
|
# </note>
|
3575
3561
|
#
|
3576
3562
|
# This operation can be called only from the organization's management
|
3577
|
-
# account or by a member account that is a delegated administrator
|
3578
|
-
# an Amazon Web Services service.
|
3563
|
+
# account or by a member account that is a delegated administrator.
|
3579
3564
|
#
|
3580
3565
|
# @option params [String] :next_token
|
3581
3566
|
# The parameter for receiving additional results if you receive a
|
@@ -3697,8 +3682,7 @@ module Aws::Organizations
|
|
3697
3682
|
# </note>
|
3698
3683
|
#
|
3699
3684
|
# This operation can be called only from the organization's management
|
3700
|
-
# account or by a member account that is a delegated administrator
|
3701
|
-
# an Amazon Web Services service.
|
3685
|
+
# account or by a member account that is a delegated administrator.
|
3702
3686
|
#
|
3703
3687
|
# @option params [required, String] :parent_id
|
3704
3688
|
# The unique identifier (ID) for the parent root or organization unit
|
@@ -3806,8 +3790,7 @@ module Aws::Organizations
|
|
3806
3790
|
# </note>
|
3807
3791
|
#
|
3808
3792
|
# This operation can be called only from the organization's management
|
3809
|
-
# account or by a member account that is a delegated administrator
|
3810
|
-
# an Amazon Web Services service.
|
3793
|
+
# account or by a member account that is a delegated administrator.
|
3811
3794
|
#
|
3812
3795
|
# @option params [required, String] :parent_id
|
3813
3796
|
# The unique identifier (ID) for the parent root or OU whose children
|
@@ -3918,8 +3901,7 @@ module Aws::Organizations
|
|
3918
3901
|
# </note>
|
3919
3902
|
#
|
3920
3903
|
# This operation can be called only from the organization's management
|
3921
|
-
# account or by a member account that is a delegated administrator
|
3922
|
-
# an Amazon Web Services service.
|
3904
|
+
# account or by a member account that is a delegated administrator.
|
3923
3905
|
#
|
3924
3906
|
# @option params [Array<String>] :states
|
3925
3907
|
# A list of one or more states that you want included in the response.
|
@@ -4035,8 +4017,7 @@ module Aws::Organizations
|
|
4035
4017
|
# delegated administrators in this organization.
|
4036
4018
|
#
|
4037
4019
|
# This operation can be called only from the organization's management
|
4038
|
-
# account or by a member account that is a delegated administrator
|
4039
|
-
# an Amazon Web Services service.
|
4020
|
+
# account or by a member account that is a delegated administrator.
|
4040
4021
|
#
|
4041
4022
|
# @option params [String] :service_principal
|
4042
4023
|
# Specifies a service principal name. If specified, then the operation
|
@@ -4105,8 +4086,7 @@ module Aws::Organizations
|
|
4105
4086
|
# is a delegated administrator.
|
4106
4087
|
#
|
4107
4088
|
# This operation can be called only from the organization's management
|
4108
|
-
# account or by a member account that is a delegated administrator
|
4109
|
-
# an Amazon Web Services service.
|
4089
|
+
# account or by a member account that is a delegated administrator.
|
4110
4090
|
#
|
4111
4091
|
# @option params [required, String] :account_id
|
4112
4092
|
# The account ID number of a delegated administrator account in the
|
@@ -4327,8 +4307,7 @@ module Aws::Organizations
|
|
4327
4307
|
# </note>
|
4328
4308
|
#
|
4329
4309
|
# This operation can be called only from the organization's management
|
4330
|
-
# account or by a member account that is a delegated administrator
|
4331
|
-
# an Amazon Web Services service.
|
4310
|
+
# account or by a member account that is a delegated administrator.
|
4332
4311
|
#
|
4333
4312
|
# @option params [Types::HandshakeFilter] :filter
|
4334
4313
|
# A filter of the handshakes that you want included in the response. The
|
@@ -4513,8 +4492,7 @@ module Aws::Organizations
|
|
4513
4492
|
# </note>
|
4514
4493
|
#
|
4515
4494
|
# This operation can be called only from the organization's management
|
4516
|
-
# account or by a member account that is a delegated administrator
|
4517
|
-
# an Amazon Web Services service.
|
4495
|
+
# account or by a member account that is a delegated administrator.
|
4518
4496
|
#
|
4519
4497
|
# @option params [required, String] :parent_id
|
4520
4498
|
# The unique identifier (ID) of the root or OU whose child OUs you want
|
@@ -4625,8 +4603,7 @@ module Aws::Organizations
|
|
4625
4603
|
# </note>
|
4626
4604
|
#
|
4627
4605
|
# This operation can be called only from the organization's management
|
4628
|
-
# account or by a member account that is a delegated administrator
|
4629
|
-
# an Amazon Web Services service.
|
4606
|
+
# account or by a member account that is a delegated administrator.
|
4630
4607
|
#
|
4631
4608
|
# <note markdown="1"> In the current release, a child can have only a single parent.
|
4632
4609
|
#
|
@@ -4731,8 +4708,7 @@ module Aws::Organizations
|
|
4731
4708
|
# </note>
|
4732
4709
|
#
|
4733
4710
|
# This operation can be called only from the organization's management
|
4734
|
-
# account or by a member account that is a delegated administrator
|
4735
|
-
# an Amazon Web Services service.
|
4711
|
+
# account or by a member account that is a delegated administrator.
|
4736
4712
|
#
|
4737
4713
|
# @option params [required, String] :filter
|
4738
4714
|
# Specifies the type of policy that you want to include in the response.
|
@@ -4752,6 +4728,8 @@ module Aws::Organizations
|
|
4752
4728
|
#
|
4753
4729
|
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
4754
4730
|
#
|
4731
|
+
# * [SECURITYHUB\_POLICY][8]
|
4732
|
+
#
|
4755
4733
|
#
|
4756
4734
|
#
|
4757
4735
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
@@ -4761,6 +4739,7 @@ module Aws::Organizations
|
|
4761
4739
|
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
4762
4740
|
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
4763
4741
|
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
4742
|
+
# [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
|
4764
4743
|
#
|
4765
4744
|
# @option params [String] :next_token
|
4766
4745
|
# The parameter for receiving additional results if you receive a
|
@@ -4830,7 +4809,7 @@ module Aws::Organizations
|
|
4830
4809
|
# @example Request syntax with placeholder values
|
4831
4810
|
#
|
4832
4811
|
# resp = client.list_policies({
|
4833
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2
|
4812
|
+
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
|
4834
4813
|
# next_token: "NextToken",
|
4835
4814
|
# max_results: 1,
|
4836
4815
|
# })
|
@@ -4842,7 +4821,7 @@ module Aws::Organizations
|
|
4842
4821
|
# resp.policies[0].arn #=> String
|
4843
4822
|
# resp.policies[0].name #=> String
|
4844
4823
|
# resp.policies[0].description #=> String
|
4845
|
-
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2"
|
4824
|
+
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
|
4846
4825
|
# resp.policies[0].aws_managed #=> Boolean
|
4847
4826
|
# resp.next_token #=> String
|
4848
4827
|
#
|
@@ -4868,8 +4847,7 @@ module Aws::Organizations
|
|
4868
4847
|
# </note>
|
4869
4848
|
#
|
4870
4849
|
# This operation can be called only from the organization's management
|
4871
|
-
# account or by a member account that is a delegated administrator
|
4872
|
-
# an Amazon Web Services service.
|
4850
|
+
# account or by a member account that is a delegated administrator.
|
4873
4851
|
#
|
4874
4852
|
# @option params [required, String] :target_id
|
4875
4853
|
# The unique identifier (ID) of the root, organizational unit, or
|
@@ -4910,6 +4888,8 @@ module Aws::Organizations
|
|
4910
4888
|
#
|
4911
4889
|
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
4912
4890
|
#
|
4891
|
+
# * [SECURITYHUB\_POLICY][8]
|
4892
|
+
#
|
4913
4893
|
#
|
4914
4894
|
#
|
4915
4895
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
@@ -4919,6 +4899,7 @@ module Aws::Organizations
|
|
4919
4899
|
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
4920
4900
|
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
4921
4901
|
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
4902
|
+
# [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
|
4922
4903
|
#
|
4923
4904
|
# @option params [String] :next_token
|
4924
4905
|
# The parameter for receiving additional results if you receive a
|
@@ -4976,7 +4957,7 @@ module Aws::Organizations
|
|
4976
4957
|
#
|
4977
4958
|
# resp = client.list_policies_for_target({
|
4978
4959
|
# target_id: "PolicyTargetId", # required
|
4979
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2
|
4960
|
+
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
|
4980
4961
|
# next_token: "NextToken",
|
4981
4962
|
# max_results: 1,
|
4982
4963
|
# })
|
@@ -4988,7 +4969,7 @@ module Aws::Organizations
|
|
4988
4969
|
# resp.policies[0].arn #=> String
|
4989
4970
|
# resp.policies[0].name #=> String
|
4990
4971
|
# resp.policies[0].description #=> String
|
4991
|
-
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2"
|
4972
|
+
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
|
4992
4973
|
# resp.policies[0].aws_managed #=> Boolean
|
4993
4974
|
# resp.next_token #=> String
|
4994
4975
|
#
|
@@ -5012,8 +4993,7 @@ module Aws::Organizations
|
|
5012
4993
|
# </note>
|
5013
4994
|
#
|
5014
4995
|
# This operation can be called only from the organization's management
|
5015
|
-
# account or by a member account that is a delegated administrator
|
5016
|
-
# an Amazon Web Services service.
|
4996
|
+
# account or by a member account that is a delegated administrator.
|
5017
4997
|
#
|
5018
4998
|
# <note markdown="1"> Policy types can be enabled and disabled in roots. This is distinct
|
5019
4999
|
# from whether they're available in the organization. When you enable
|
@@ -5089,7 +5069,7 @@ module Aws::Organizations
|
|
5089
5069
|
# resp.roots[0].arn #=> String
|
5090
5070
|
# resp.roots[0].name #=> String
|
5091
5071
|
# resp.roots[0].policy_types #=> Array
|
5092
|
-
# resp.roots[0].policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2"
|
5072
|
+
# resp.roots[0].policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
|
5093
5073
|
# resp.roots[0].policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
5094
5074
|
# resp.next_token #=> String
|
5095
5075
|
#
|
@@ -5115,8 +5095,7 @@ module Aws::Organizations
|
|
5115
5095
|
# * Policy (any type)
|
5116
5096
|
#
|
5117
5097
|
# This operation can be called only from the organization's management
|
5118
|
-
# account or by a member account that is a delegated administrator
|
5119
|
-
# an Amazon Web Services service.
|
5098
|
+
# account or by a member account that is a delegated administrator.
|
5120
5099
|
#
|
5121
5100
|
# @option params [required, String] :resource_id
|
5122
5101
|
# The ID of the resource with the tags to list.
|
@@ -5183,8 +5162,7 @@ module Aws::Organizations
|
|
5183
5162
|
# </note>
|
5184
5163
|
#
|
5185
5164
|
# This operation can be called only from the organization's management
|
5186
|
-
# account or by a member account that is a delegated administrator
|
5187
|
-
# an Amazon Web Services service.
|
5165
|
+
# account or by a member account that is a delegated administrator.
|
5188
5166
|
#
|
5189
5167
|
# @option params [required, String] :policy_id
|
5190
5168
|
# The unique identifier (ID) of the policy whose attachments you want to
|
@@ -5370,8 +5348,8 @@ module Aws::Organizations
|
|
5370
5348
|
|
5371
5349
|
# Creates or updates a resource policy.
|
5372
5350
|
#
|
5373
|
-
#
|
5374
|
-
# account
|
5351
|
+
# This operation can be called only from the organization's management
|
5352
|
+
# account..
|
5375
5353
|
#
|
5376
5354
|
# @option params [required, String] :content
|
5377
5355
|
# If provided, the new content for the resource policy. The text must be
|
@@ -5564,8 +5542,7 @@ module Aws::Organizations
|
|
5564
5542
|
# * Policy (any type)
|
5565
5543
|
#
|
5566
5544
|
# This operation can be called only from the organization's management
|
5567
|
-
# account or by a member account that is a delegated administrator
|
5568
|
-
# an Amazon Web Services service.
|
5545
|
+
# account or by a member account that is a delegated administrator.
|
5569
5546
|
#
|
5570
5547
|
# @option params [required, String] :resource_id
|
5571
5548
|
# The ID of the resource to add a tag to.
|
@@ -5630,8 +5607,7 @@ module Aws::Organizations
|
|
5630
5607
|
# * Policy (any type)
|
5631
5608
|
#
|
5632
5609
|
# This operation can be called only from the organization's management
|
5633
|
-
# account or by a member account that is a delegated administrator
|
5634
|
-
# an Amazon Web Services service.
|
5610
|
+
# account or by a member account that is a delegated administrator.
|
5635
5611
|
#
|
5636
5612
|
# @option params [required, String] :resource_id
|
5637
5613
|
# The ID of the resource to remove a tag from.
|
@@ -5750,8 +5726,7 @@ module Aws::Organizations
|
|
5750
5726
|
# can't change a policy's type.
|
5751
5727
|
#
|
5752
5728
|
# This operation can be called only from the organization's management
|
5753
|
-
# account or by a member account that is a delegated administrator
|
5754
|
-
# an Amazon Web Services service.
|
5729
|
+
# account or by a member account that is a delegated administrator.
|
5755
5730
|
#
|
5756
5731
|
# @option params [required, String] :policy_id
|
5757
5732
|
# The unique identifier (ID) of the policy that you want to update.
|
@@ -5863,7 +5838,7 @@ module Aws::Organizations
|
|
5863
5838
|
# resp.policy.policy_summary.arn #=> String
|
5864
5839
|
# resp.policy.policy_summary.name #=> String
|
5865
5840
|
# resp.policy.policy_summary.description #=> String
|
5866
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2"
|
5841
|
+
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
|
5867
5842
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
5868
5843
|
# resp.policy.content #=> String
|
5869
5844
|
#
|
@@ -5894,7 +5869,7 @@ module Aws::Organizations
|
|
5894
5869
|
tracer: tracer
|
5895
5870
|
)
|
5896
5871
|
context[:gem_name] = 'aws-sdk-organizations'
|
5897
|
-
context[:gem_version] = '1.
|
5872
|
+
context[:gem_version] = '1.117.0'
|
5898
5873
|
Seahorse::Client::Request.new(handlers, context)
|
5899
5874
|
end
|
5900
5875
|
|
@@ -603,10 +603,19 @@ module Aws::Organizations
|
|
603
603
|
# * POLICY\_NUMBER\_LIMIT\_EXCEEDED: You attempted to exceed the number
|
604
604
|
# of policies that you can have in an organization.
|
605
605
|
#
|
606
|
-
# *
|
607
|
-
#
|
608
|
-
#
|
606
|
+
# * POLICY\_TYPE\_ENABLED\_FOR\_THIS\_SERVICE: You attempted to disable
|
607
|
+
# service access before you disabled the policy type (for example,
|
608
|
+
# SECURITYHUB\_POLICY). To complete this operation, you must first
|
609
|
+
# disable the policy type.
|
609
610
|
#
|
611
|
+
# * SERVICE\_ACCESS\_NOT\_ENABLED:
|
612
|
+
#
|
613
|
+
# * You attempted to register a delegated administrator before you
|
614
|
+
# enabled service access. Call the `EnableAWSServiceAccess` API
|
615
|
+
# first.
|
616
|
+
#
|
617
|
+
# * You attempted to enable a policy type before you enabled service
|
618
|
+
# access. Call the `EnableAWSServiceAccess` API first.
|
610
619
|
# * TAG\_POLICY\_VIOLATION: You attempted to create or update a resource
|
611
620
|
# with tags that are not compliant with the tag policy requirements
|
612
621
|
# for this account.
|
@@ -1226,6 +1235,8 @@ module Aws::Organizations
|
|
1226
1235
|
#
|
1227
1236
|
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
1228
1237
|
#
|
1238
|
+
# * [SECURITYHUB\_POLICY][8]
|
1239
|
+
#
|
1229
1240
|
#
|
1230
1241
|
#
|
1231
1242
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
@@ -1235,6 +1246,7 @@ module Aws::Organizations
|
|
1235
1246
|
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1236
1247
|
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1237
1248
|
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1249
|
+
# [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
|
1238
1250
|
# @return [String]
|
1239
1251
|
#
|
1240
1252
|
# @!attribute [rw] tags
|
@@ -1545,6 +1557,8 @@ module Aws::Organizations
|
|
1545
1557
|
#
|
1546
1558
|
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
1547
1559
|
#
|
1560
|
+
# * [SECURITYHUB\_POLICY][6]
|
1561
|
+
#
|
1548
1562
|
#
|
1549
1563
|
#
|
1550
1564
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
@@ -1552,6 +1566,7 @@ module Aws::Organizations
|
|
1552
1566
|
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1553
1567
|
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1554
1568
|
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1569
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
|
1555
1570
|
# @return [String]
|
1556
1571
|
#
|
1557
1572
|
# @!attribute [rw] target_id
|
@@ -1822,6 +1837,8 @@ module Aws::Organizations
|
|
1822
1837
|
#
|
1823
1838
|
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
1824
1839
|
#
|
1840
|
+
# * [SECURITYHUB\_POLICY][8]
|
1841
|
+
#
|
1825
1842
|
#
|
1826
1843
|
#
|
1827
1844
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
@@ -1831,6 +1848,7 @@ module Aws::Organizations
|
|
1831
1848
|
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1832
1849
|
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1833
1850
|
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1851
|
+
# [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
|
1834
1852
|
# @return [String]
|
1835
1853
|
#
|
1836
1854
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyTypeRequest AWS API Documentation
|
@@ -2037,6 +2055,8 @@ module Aws::Organizations
|
|
2037
2055
|
#
|
2038
2056
|
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
2039
2057
|
#
|
2058
|
+
# * [SECURITYHUB\_POLICY][8]
|
2059
|
+
#
|
2040
2060
|
#
|
2041
2061
|
#
|
2042
2062
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
@@ -2046,6 +2066,7 @@ module Aws::Organizations
|
|
2046
2066
|
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
2047
2067
|
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
2048
2068
|
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
2069
|
+
# [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
|
2049
2070
|
# @return [String]
|
2050
2071
|
#
|
2051
2072
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyTypeRequest AWS API Documentation
|
@@ -2285,9 +2306,7 @@ module Aws::Organizations
|
|
2285
2306
|
#
|
2286
2307
|
# * ORGANIZATION\_FROM\_DIFFERENT\_SELLER\_OF\_RECORD: The request
|
2287
2308
|
# failed because the account is from a different marketplace than the
|
2288
|
-
# accounts in the organization.
|
2289
|
-
# addresses must be associated with the AISPL marketplace. All
|
2290
|
-
# accounts in an organization must be from the same marketplace.
|
2309
|
+
# accounts in the organization.
|
2291
2310
|
#
|
2292
2311
|
# * ORGANIZATION\_MEMBERSHIP\_CHANGE\_RATE\_LIMIT\_EXCEEDED: You
|
2293
2312
|
# attempted to change the membership of an account too quickly after
|
@@ -3357,6 +3376,8 @@ module Aws::Organizations
|
|
3357
3376
|
#
|
3358
3377
|
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
3359
3378
|
#
|
3379
|
+
# * [SECURITYHUB\_POLICY][8]
|
3380
|
+
#
|
3360
3381
|
#
|
3361
3382
|
#
|
3362
3383
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
@@ -3366,6 +3387,7 @@ module Aws::Organizations
|
|
3366
3387
|
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3367
3388
|
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
3368
3389
|
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3390
|
+
# [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
|
3369
3391
|
# @return [String]
|
3370
3392
|
#
|
3371
3393
|
# @!attribute [rw] next_token
|
@@ -3439,6 +3461,8 @@ module Aws::Organizations
|
|
3439
3461
|
#
|
3440
3462
|
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
3441
3463
|
#
|
3464
|
+
# * [SECURITYHUB\_POLICY][8]
|
3465
|
+
#
|
3442
3466
|
#
|
3443
3467
|
#
|
3444
3468
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
@@ -3448,6 +3472,7 @@ module Aws::Organizations
|
|
3448
3472
|
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3449
3473
|
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
3450
3474
|
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3475
|
+
# [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
|
3451
3476
|
# @return [String]
|
3452
3477
|
#
|
3453
3478
|
# @!attribute [rw] next_token
|
data/sig/client.rbs
CHANGED
@@ -185,7 +185,7 @@ module Aws
|
|
185
185
|
content: ::String,
|
186
186
|
description: ::String,
|
187
187
|
name: ::String,
|
188
|
-
type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2"),
|
188
|
+
type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY"),
|
189
189
|
?tags: Array[
|
190
190
|
{
|
191
191
|
key: ::String,
|
@@ -258,7 +258,7 @@ module Aws
|
|
258
258
|
end
|
259
259
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#describe_effective_policy-instance_method
|
260
260
|
def describe_effective_policy: (
|
261
|
-
policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2"),
|
261
|
+
policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY"),
|
262
262
|
?target_id: ::String
|
263
263
|
) -> _DescribeEffectivePolicyResponseSuccess
|
264
264
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEffectivePolicyResponseSuccess
|
@@ -329,7 +329,7 @@ module Aws
|
|
329
329
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#disable_policy_type-instance_method
|
330
330
|
def disable_policy_type: (
|
331
331
|
root_id: ::String,
|
332
|
-
policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
332
|
+
policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY")
|
333
333
|
) -> _DisablePolicyTypeResponseSuccess
|
334
334
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisablePolicyTypeResponseSuccess
|
335
335
|
|
@@ -355,7 +355,7 @@ module Aws
|
|
355
355
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#enable_policy_type-instance_method
|
356
356
|
def enable_policy_type: (
|
357
357
|
root_id: ::String,
|
358
|
-
policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
358
|
+
policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY")
|
359
359
|
) -> _EnablePolicyTypeResponseSuccess
|
360
360
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnablePolicyTypeResponseSuccess
|
361
361
|
|
@@ -538,7 +538,7 @@ module Aws
|
|
538
538
|
end
|
539
539
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#list_policies-instance_method
|
540
540
|
def list_policies: (
|
541
|
-
filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2"),
|
541
|
+
filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY"),
|
542
542
|
?next_token: ::String,
|
543
543
|
?max_results: ::Integer
|
544
544
|
) -> _ListPoliciesResponseSuccess
|
@@ -552,7 +552,7 @@ module Aws
|
|
552
552
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#list_policies_for_target-instance_method
|
553
553
|
def list_policies_for_target: (
|
554
554
|
target_id: ::String,
|
555
|
-
filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2"),
|
555
|
+
filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY"),
|
556
556
|
?next_token: ::String,
|
557
557
|
?max_results: ::Integer
|
558
558
|
) -> _ListPoliciesForTargetResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -119,7 +119,7 @@ module Aws::Organizations
|
|
119
119
|
|
120
120
|
class ConstraintViolationException
|
121
121
|
attr_accessor message: ::String
|
122
|
-
attr_accessor reason: ("ACCOUNT_NUMBER_LIMIT_EXCEEDED" | "HANDSHAKE_RATE_LIMIT_EXCEEDED" | "OU_NUMBER_LIMIT_EXCEEDED" | "OU_DEPTH_LIMIT_EXCEEDED" | "POLICY_NUMBER_LIMIT_EXCEEDED" | "POLICY_CONTENT_LIMIT_EXCEEDED" | "MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED" | "MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED" | "ACCOUNT_CANNOT_LEAVE_ORGANIZATION" | "ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA" | "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION" | "MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED" | "MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED" | "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED" | "MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE" | "MASTER_ACCOUNT_MISSING_CONTACT_INFO" | "MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED" | "ORGANIZATION_NOT_IN_ALL_FEATURES_MODE" | "CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION" | "EMAIL_VERIFICATION_CODE_EXPIRED" | "WAIT_PERIOD_ACTIVE" | "MAX_TAG_LIMIT_EXCEEDED" | "TAG_POLICY_VIOLATION" | "MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED" | "CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR" | "CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG" | "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE" | "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE" | "CANNOT_CLOSE_MANAGEMENT_ACCOUNT" | "CLOSE_ACCOUNT_QUOTA_EXCEEDED" | "CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED" | "SERVICE_ACCESS_NOT_ENABLED" | "INVALID_PAYMENT_INSTRUMENT" | "ACCOUNT_CREATION_NOT_COMPLETE" | "CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR" | "ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED")
|
122
|
+
attr_accessor reason: ("ACCOUNT_NUMBER_LIMIT_EXCEEDED" | "HANDSHAKE_RATE_LIMIT_EXCEEDED" | "OU_NUMBER_LIMIT_EXCEEDED" | "OU_DEPTH_LIMIT_EXCEEDED" | "POLICY_NUMBER_LIMIT_EXCEEDED" | "POLICY_CONTENT_LIMIT_EXCEEDED" | "MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED" | "MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED" | "ACCOUNT_CANNOT_LEAVE_ORGANIZATION" | "ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA" | "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION" | "MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED" | "MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED" | "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED" | "MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE" | "MASTER_ACCOUNT_MISSING_CONTACT_INFO" | "MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED" | "ORGANIZATION_NOT_IN_ALL_FEATURES_MODE" | "CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION" | "EMAIL_VERIFICATION_CODE_EXPIRED" | "WAIT_PERIOD_ACTIVE" | "MAX_TAG_LIMIT_EXCEEDED" | "TAG_POLICY_VIOLATION" | "MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED" | "CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR" | "CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG" | "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE" | "POLICY_TYPE_ENABLED_FOR_THIS_SERVICE" | "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE" | "CANNOT_CLOSE_MANAGEMENT_ACCOUNT" | "CLOSE_ACCOUNT_QUOTA_EXCEEDED" | "CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED" | "SERVICE_ACCESS_NOT_ENABLED" | "INVALID_PAYMENT_INSTRUMENT" | "ACCOUNT_CREATION_NOT_COMPLETE" | "CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR" | "ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED")
|
123
123
|
SENSITIVE: []
|
124
124
|
end
|
125
125
|
|
@@ -194,7 +194,7 @@ module Aws::Organizations
|
|
194
194
|
attr_accessor content: ::String
|
195
195
|
attr_accessor description: ::String
|
196
196
|
attr_accessor name: ::String
|
197
|
-
attr_accessor type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
197
|
+
attr_accessor type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY")
|
198
198
|
attr_accessor tags: ::Array[Types::Tag]
|
199
199
|
SENSITIVE: []
|
200
200
|
end
|
@@ -269,7 +269,7 @@ module Aws::Organizations
|
|
269
269
|
end
|
270
270
|
|
271
271
|
class DescribeEffectivePolicyRequest
|
272
|
-
attr_accessor policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
272
|
+
attr_accessor policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY")
|
273
273
|
attr_accessor target_id: ::String
|
274
274
|
SENSITIVE: []
|
275
275
|
end
|
@@ -337,7 +337,7 @@ module Aws::Organizations
|
|
337
337
|
|
338
338
|
class DisablePolicyTypeRequest
|
339
339
|
attr_accessor root_id: ::String
|
340
|
-
attr_accessor policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
340
|
+
attr_accessor policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY")
|
341
341
|
SENSITIVE: []
|
342
342
|
end
|
343
343
|
|
@@ -375,7 +375,7 @@ module Aws::Organizations
|
|
375
375
|
attr_accessor policy_content: ::String
|
376
376
|
attr_accessor last_updated_timestamp: ::Time
|
377
377
|
attr_accessor target_id: ::String
|
378
|
-
attr_accessor policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
378
|
+
attr_accessor policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY")
|
379
379
|
SENSITIVE: []
|
380
380
|
end
|
381
381
|
|
@@ -399,7 +399,7 @@ module Aws::Organizations
|
|
399
399
|
|
400
400
|
class EnablePolicyTypeRequest
|
401
401
|
attr_accessor root_id: ::String
|
402
|
-
attr_accessor policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
402
|
+
attr_accessor policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY")
|
403
403
|
SENSITIVE: []
|
404
404
|
end
|
405
405
|
|
@@ -633,7 +633,7 @@ module Aws::Organizations
|
|
633
633
|
|
634
634
|
class ListPoliciesForTargetRequest
|
635
635
|
attr_accessor target_id: ::String
|
636
|
-
attr_accessor filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
636
|
+
attr_accessor filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY")
|
637
637
|
attr_accessor next_token: ::String
|
638
638
|
attr_accessor max_results: ::Integer
|
639
639
|
SENSITIVE: []
|
@@ -646,7 +646,7 @@ module Aws::Organizations
|
|
646
646
|
end
|
647
647
|
|
648
648
|
class ListPoliciesRequest
|
649
|
-
attr_accessor filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
649
|
+
attr_accessor filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY")
|
650
650
|
attr_accessor next_token: ::String
|
651
651
|
attr_accessor max_results: ::Integer
|
652
652
|
SENSITIVE: []
|
@@ -787,7 +787,7 @@ module Aws::Organizations
|
|
787
787
|
attr_accessor arn: ::String
|
788
788
|
attr_accessor name: ::String
|
789
789
|
attr_accessor description: ::String
|
790
|
-
attr_accessor type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
790
|
+
attr_accessor type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY")
|
791
791
|
attr_accessor aws_managed: bool
|
792
792
|
SENSITIVE: []
|
793
793
|
end
|
@@ -816,7 +816,7 @@ module Aws::Organizations
|
|
816
816
|
end
|
817
817
|
|
818
818
|
class PolicyTypeSummary
|
819
|
-
attr_accessor type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
819
|
+
attr_accessor type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY")
|
820
820
|
attr_accessor status: ("ENABLED" | "PENDING_ENABLE" | "PENDING_DISABLE")
|
821
821
|
SENSITIVE: []
|
822
822
|
end
|