aws-sdk-organizations 1.116.0 → 1.118.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4d53548af2a77748d95b8069832f0f52bbc39708c6266cdd786ebef56b85fd8
4
- data.tar.gz: eb26035ddd3c17d77be9fcfae00525f689de24cba81e9dbd3f0defd7d680b038
3
+ metadata.gz: 733b1247441947726903d0162fda8b029d5e53a530979e09996e96fa603ed7cf
4
+ data.tar.gz: 3ca9e482c3a5ac28754edddcb10a2051d74907029cf8333177baffdc113100ce
5
5
  SHA512:
6
- metadata.gz: 1238e8c9fc275afca149db93609b6910d3bbd692ef71862f765b65547ea3531f438eea20024ee6705c89affbfa5c9bd48ebd668739e835e2cb68ef68d786dda3
7
- data.tar.gz: ac5bf382972d54ef899450bf26bb87c12269655829580f50b654255d76f2e5d0f54112d2e9058db65ddce9950626f0f1d5d23dd6bb741cead756b788f0b471ab
6
+ metadata.gz: 98b59d25290e97a68424ce75d72c3d3904deaf15a3647f43fd21145a9894d09da4fbb284d6e5e740ecd73dc0a619db9384cc40c6d1b8ea8c7a053bee5ed56f63
7
+ data.tar.gz: f33a9c4caa3a0c5ef4e62536fe48f2b948abd92cd56169213a1c17739c8f07ab49ed141ec0d87838f738d98a6c80d233201c384e7930f3e0c85f07a3bd911332
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.118.0 (2025-07-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.117.0 (2025-06-17)
10
+ ------------------
11
+
12
+ * Feature - Add support for policy operations on the SECURITYHUB_POLICY policy type.
13
+
4
14
  1.116.0 (2025-06-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.116.0
1
+ 1.118.0
@@ -95,7 +95,7 @@ module Aws::Organizations
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials. This can be an instance of any one of the
98
+ # Your AWS credentials used for authentication. This can be an instance of any one of the
99
99
  # following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
@@ -128,18 +128,23 @@ module Aws::Organizations
128
128
  # locations will be searched for credentials:
129
129
  #
130
130
  # * `Aws.config[:credentials]`
131
+ #
131
132
  # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
133
  # `:account_id` options.
133
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
134
- # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
134
+ #
135
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
136
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
137
+ #
135
138
  # * `~/.aws/credentials`
139
+ #
136
140
  # * `~/.aws/config`
141
+ #
137
142
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
143
  # are very aggressive. Construct and pass an instance of
139
144
  # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
145
  # enable retries and extended timeouts. Instance profile credential
141
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
- # to true.
146
+ # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
147
+ # to `true`.
143
148
  #
144
149
  # @option options [required, String] :region
145
150
  # The AWS region to connect to. The configured `:region` is
@@ -167,6 +172,11 @@ module Aws::Organizations
167
172
  # When false, the request will raise a `RetryCapacityNotAvailableError` and will
168
173
  # not retry instead of sleeping.
169
174
  #
175
+ # @option options [Array<String>] :auth_scheme_preference
176
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
177
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
178
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
179
+ #
170
180
  # @option options [Boolean] :client_side_monitoring (false)
171
181
  # When `true`, client-side metrics will be collected for all API requests from
172
182
  # this client.
@@ -253,8 +263,8 @@ module Aws::Organizations
253
263
  # 4 times. Used in `standard` and `adaptive` retry modes.
254
264
  #
255
265
  # @option options [String] :profile ("default")
256
- # Used when loading credentials from the shared credentials file
257
- # at HOME/.aws/credentials. When not specified, 'default' is used.
266
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
267
+ # When not specified, 'default' is used.
258
268
  #
259
269
  # @option options [String] :request_checksum_calculation ("when_supported")
260
270
  # Determines when a checksum will be calculated for request payloads. Values are:
@@ -374,7 +384,7 @@ module Aws::Organizations
374
384
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
375
385
  #
376
386
  # @option options [Aws::TokenProvider] :token_provider
377
- # A Bearer Token Provider. This can be an instance of any one of the
387
+ # Your Bearer token used for authentication. This can be an instance of any one of the
378
388
  # following classes:
379
389
  #
380
390
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
@@ -632,9 +642,10 @@ module Aws::Organizations
632
642
  #
633
643
  # * [AISERVICES\_OPT\_OUT\_POLICY][7]
634
644
  #
645
+ # * [SECURITYHUB\_POLICY][8]
646
+ #
635
647
  # This operation can be called only from the organization's management
636
- # account or by a member account that is a delegated administrator for
637
- # an Amazon Web Services service.
648
+ # account or by a member account that is a delegated administrator.
638
649
  #
639
650
  #
640
651
  #
@@ -645,6 +656,7 @@ module Aws::Organizations
645
656
  # [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
646
657
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
647
658
  # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
659
+ # [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
648
660
  #
649
661
  # @option params [required, String] :policy_id
650
662
  # The unique identifier (ID) of the policy that you want to attach to
@@ -1549,7 +1561,7 @@ module Aws::Organizations
1549
1561
  # resp.organization.master_account_id #=> String
1550
1562
  # resp.organization.master_account_email #=> String
1551
1563
  # 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"
1564
+ # 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
1565
  # resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
1554
1566
  #
1555
1567
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganization AWS API Documentation
@@ -1682,8 +1694,7 @@ module Aws::Organizations
1682
1694
  # `organizations:TagResource` permission.
1683
1695
  #
1684
1696
  # This operation can be called only from the organization's management
1685
- # account or by a member account that is a delegated administrator for
1686
- # an Amazon Web Services service.
1697
+ # account or by a member account that is a delegated administrator.
1687
1698
  #
1688
1699
  #
1689
1700
  #
@@ -1733,6 +1744,8 @@ module Aws::Organizations
1733
1744
  #
1734
1745
  # * [AISERVICES\_OPT\_OUT\_POLICY][7]
1735
1746
  #
1747
+ # * [SECURITYHUB\_POLICY][8]
1748
+ #
1736
1749
  #
1737
1750
  #
1738
1751
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
@@ -1742,6 +1755,7 @@ module Aws::Organizations
1742
1755
  # [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
1743
1756
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
1744
1757
  # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
1758
+ # [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
1745
1759
  #
1746
1760
  # @option params [Array<Types::Tag>] :tags
1747
1761
  # A list of tags that you want to attach to the newly created policy.
@@ -1798,7 +1812,7 @@ module Aws::Organizations
1798
1812
  # content: "PolicyContent", # required
1799
1813
  # description: "PolicyDescription", # required
1800
1814
  # 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
1815
+ # 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
1816
  # tags: [
1803
1817
  # {
1804
1818
  # key: "TagKey", # required
@@ -1813,7 +1827,7 @@ module Aws::Organizations
1813
1827
  # resp.policy.policy_summary.arn #=> String
1814
1828
  # resp.policy.policy_summary.name #=> String
1815
1829
  # 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"
1830
+ # 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
1831
  # resp.policy.policy_summary.aws_managed #=> Boolean
1818
1832
  # resp.policy.content #=> String
1819
1833
  #
@@ -2007,8 +2021,7 @@ module Aws::Organizations
2007
2021
  # organizational units (OUs), roots, and accounts.
2008
2022
  #
2009
2023
  # This operation can be called only from the organization's management
2010
- # account or by a member account that is a delegated administrator for
2011
- # an Amazon Web Services service.
2024
+ # account or by a member account that is a delegated administrator.
2012
2025
  #
2013
2026
  # @option params [required, String] :policy_id
2014
2027
  # The unique identifier (ID) of the policy that you want to delete. You
@@ -2052,7 +2065,7 @@ module Aws::Organizations
2052
2065
 
2053
2066
  # Deletes the resource policy from your organization.
2054
2067
  #
2055
- # You can only call this operation from the organization's management
2068
+ # This operation can be called only from the organization's management
2056
2069
  # account.
2057
2070
  #
2058
2071
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -2123,8 +2136,7 @@ module Aws::Organizations
2123
2136
  # account.
2124
2137
  #
2125
2138
  # This operation can be called only from the organization's management
2126
- # account or by a member account that is a delegated administrator for
2127
- # an Amazon Web Services service.
2139
+ # account or by a member account that is a delegated administrator.
2128
2140
  #
2129
2141
  # @option params [required, String] :account_id
2130
2142
  # The unique identifier (ID) of the Amazon Web Services account that you
@@ -2190,8 +2202,7 @@ module Aws::Organizations
2190
2202
  # account.
2191
2203
  #
2192
2204
  # This operation can be called only from the organization's management
2193
- # account or by a member account that is a delegated administrator for
2194
- # an Amazon Web Services service.
2205
+ # account or by a member account that is a delegated administrator.
2195
2206
  #
2196
2207
  # @option params [required, String] :create_account_request_id
2197
2208
  # Specifies the `Id` value that uniquely identifies the `CreateAccount`
@@ -2288,6 +2299,8 @@ module Aws::Organizations
2288
2299
  #
2289
2300
  # * [AISERVICES\_OPT\_OUT\_POLICY][5]
2290
2301
  #
2302
+ # * [SECURITYHUB\_POLICY][6]
2303
+ #
2291
2304
  #
2292
2305
  #
2293
2306
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
@@ -2295,6 +2308,7 @@ module Aws::Organizations
2295
2308
  # [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
2296
2309
  # [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
2297
2310
  # [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
2311
+ # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
2298
2312
  #
2299
2313
  # @option params [String] :target_id
2300
2314
  # When you're signed in as the management account, specify the ID of
@@ -2308,7 +2322,7 @@ module Aws::Organizations
2308
2322
  # @example Request syntax with placeholder values
2309
2323
  #
2310
2324
  # 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
2325
+ # policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, SECURITYHUB_POLICY
2312
2326
  # target_id: "PolicyTargetId",
2313
2327
  # })
2314
2328
  #
@@ -2317,7 +2331,7 @@ module Aws::Organizations
2317
2331
  # resp.effective_policy.policy_content #=> String
2318
2332
  # resp.effective_policy.last_updated_timestamp #=> Time
2319
2333
  # 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"
2334
+ # resp.effective_policy.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
2321
2335
  #
2322
2336
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicy AWS API Documentation
2323
2337
  #
@@ -2488,7 +2502,7 @@ module Aws::Organizations
2488
2502
  # resp.organization.master_account_id #=> String
2489
2503
  # resp.organization.master_account_email #=> String
2490
2504
  # 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"
2505
+ # 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
2506
  # resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
2493
2507
  #
2494
2508
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganization AWS API Documentation
@@ -2503,8 +2517,7 @@ module Aws::Organizations
2503
2517
  # Retrieves information about an organizational unit (OU).
2504
2518
  #
2505
2519
  # This operation can be called only from the organization's management
2506
- # account or by a member account that is a delegated administrator for
2507
- # an Amazon Web Services service.
2520
+ # account or by a member account that is a delegated administrator.
2508
2521
  #
2509
2522
  # @option params [required, String] :organizational_unit_id
2510
2523
  # The unique identifier (ID) of the organizational unit that you want
@@ -2566,8 +2579,7 @@ module Aws::Organizations
2566
2579
  # Retrieves information about a policy.
2567
2580
  #
2568
2581
  # This operation can be called only from the organization's management
2569
- # account or by a member account that is a delegated administrator for
2570
- # an Amazon Web Services service.
2582
+ # account or by a member account that is a delegated administrator.
2571
2583
  #
2572
2584
  # @option params [required, String] :policy_id
2573
2585
  # The unique identifier (ID) of the policy that you want details about.
@@ -2622,7 +2634,7 @@ module Aws::Organizations
2622
2634
  # resp.policy.policy_summary.arn #=> String
2623
2635
  # resp.policy.policy_summary.name #=> String
2624
2636
  # 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"
2637
+ # 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
2638
  # resp.policy.policy_summary.aws_managed #=> Boolean
2627
2639
  # resp.policy.content #=> String
2628
2640
  #
@@ -2638,8 +2650,7 @@ module Aws::Organizations
2638
2650
  # Retrieves information about a resource policy.
2639
2651
  #
2640
2652
  # This operation can be called only from the organization's management
2641
- # account or by a member account that is a delegated administrator for
2642
- # an Amazon Web Services service.
2653
+ # account or by a member account that is a delegated administrator.
2643
2654
  #
2644
2655
  # @return [Types::DescribeResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2645
2656
  #
@@ -2679,8 +2690,7 @@ module Aws::Organizations
2679
2690
  # list][2]".
2680
2691
  #
2681
2692
  # This operation can be called only from the organization's management
2682
- # account or by a member account that is a delegated administrator for
2683
- # an Amazon Web Services service.
2693
+ # account or by a member account that is a delegated administrator.
2684
2694
  #
2685
2695
  #
2686
2696
  #
@@ -2856,8 +2866,7 @@ module Aws::Organizations
2856
2866
  # and then use this operation.
2857
2867
  #
2858
2868
  # This operation can be called only from the organization's management
2859
- # account or by a member account that is a delegated administrator for
2860
- # an Amazon Web Services service.
2869
+ # account or by a member account that is a delegated administrator.
2861
2870
  #
2862
2871
  # To view the status of available policy types in the organization, use
2863
2872
  # DescribeOrganization.
@@ -2895,6 +2904,8 @@ module Aws::Organizations
2895
2904
  #
2896
2905
  # * [AISERVICES\_OPT\_OUT\_POLICY][7]
2897
2906
  #
2907
+ # * [SECURITYHUB\_POLICY][8]
2908
+ #
2898
2909
  #
2899
2910
  #
2900
2911
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
@@ -2904,6 +2915,7 @@ module Aws::Organizations
2904
2915
  # [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
2905
2916
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
2906
2917
  # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
2918
+ # [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
2907
2919
  #
2908
2920
  # @return [Types::DisablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2909
2921
  #
@@ -2935,7 +2947,7 @@ module Aws::Organizations
2935
2947
  #
2936
2948
  # resp = client.disable_policy_type({
2937
2949
  # 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
2950
+ # 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
2951
  # })
2940
2952
  #
2941
2953
  # @example Response structure
@@ -2944,7 +2956,7 @@ module Aws::Organizations
2944
2956
  # resp.root.arn #=> String
2945
2957
  # resp.root.name #=> String
2946
2958
  # 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"
2959
+ # 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
2960
  # resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
2949
2961
  #
2950
2962
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyType AWS API Documentation
@@ -2977,14 +2989,13 @@ module Aws::Organizations
2977
2989
  # Organizations, see [Using Organizations with other Amazon Web Services
2978
2990
  # services][2] in the *Organizations User Guide*.
2979
2991
  #
2980
- # You can only call this operation from the organization's management
2981
- # account and only if the organization has [enabled all features][3].
2992
+ # This operation can be called only from the organization's management
2993
+ # account.
2982
2994
  #
2983
2995
  #
2984
2996
  #
2985
2997
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html
2986
2998
  # [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
2999
  #
2989
3000
  # @option params [required, String] :service_principal
2990
3001
  # The service principal name of the Amazon Web Services service for
@@ -3123,8 +3134,7 @@ module Aws::Organizations
3123
3134
  # then use this operation.
3124
3135
  #
3125
3136
  # This operation can be called only from the organization's management
3126
- # account or by a member account that is a delegated administrator for
3127
- # an Amazon Web Services service.
3137
+ # account or by a member account that is a delegated administrator.
3128
3138
  #
3129
3139
  # You can enable a policy type in a root only if that policy type is
3130
3140
  # available in the organization. To view the status of available policy
@@ -3159,6 +3169,8 @@ module Aws::Organizations
3159
3169
  #
3160
3170
  # * [AISERVICES\_OPT\_OUT\_POLICY][7]
3161
3171
  #
3172
+ # * [SECURITYHUB\_POLICY][8]
3173
+ #
3162
3174
  #
3163
3175
  #
3164
3176
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
@@ -3168,6 +3180,7 @@ module Aws::Organizations
3168
3180
  # [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
3169
3181
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
3170
3182
  # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
3183
+ # [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
3171
3184
  #
3172
3185
  # @return [Types::EnablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3173
3186
  #
@@ -3203,7 +3216,7 @@ module Aws::Organizations
3203
3216
  #
3204
3217
  # resp = client.enable_policy_type({
3205
3218
  # 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
3219
+ # 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
3220
  # })
3208
3221
  #
3209
3222
  # @example Response structure
@@ -3212,7 +3225,7 @@ module Aws::Organizations
3212
3225
  # resp.root.arn #=> String
3213
3226
  # resp.root.name #=> String
3214
3227
  # 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"
3228
+ # 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
3229
  # resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
3217
3230
  #
3218
3231
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyType AWS API Documentation
@@ -3230,20 +3243,11 @@ module Aws::Organizations
3230
3243
  # invitation is implemented as a Handshake whose details are in the
3231
3244
  # response.
3232
3245
  #
3233
- # * You can invite Amazon Web Services accounts only from the same
3234
- # seller as the management account. For example, if your
3235
- # organization's management account was created by Amazon Internet
3236
- # Services Pvt. Ltd (AISPL), an Amazon Web Services seller in India,
3237
- # you can invite only other AISPL accounts to your organization. You
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].
3246
+ # If you receive an exception that indicates that you exceeded your
3247
+ # account limits for the organization or that the operation failed
3248
+ # because your organization is still initializing, wait one hour and
3249
+ # then try again. If the error persists after an hour, contact [Amazon
3250
+ # Web Services Support][1].
3247
3251
  #
3248
3252
  # If the request includes tags, then the requester must have the
3249
3253
  # `organizations:TagResource` permission.
@@ -3253,8 +3257,7 @@ module Aws::Organizations
3253
3257
  #
3254
3258
  #
3255
3259
  #
3256
- # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/useconsolidatedbilling-India.html
3257
- # [2]: https://console.aws.amazon.com/support/home#/
3260
+ # [1]: https://console.aws.amazon.com/support/home#/
3258
3261
  #
3259
3262
  # @option params [required, Types::HandshakeParty] :target
3260
3263
  # The identifier (ID) of the Amazon Web Services account that you want
@@ -3451,11 +3454,6 @@ module Aws::Organizations
3451
3454
  # you must first change the delegated administrator account to another
3452
3455
  # account that is remaining in the organization.
3453
3456
  #
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
3457
  # * After the account leaves the organization, all tags that were
3460
3458
  # attached to the account object in the organization are deleted.
3461
3459
  # Amazon Web Services accounts outside of an organization do not
@@ -3473,7 +3471,6 @@ module Aws::Organizations
3473
3471
  #
3474
3472
  #
3475
3473
  # [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
3474
  #
3478
3475
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3479
3476
  #
@@ -3505,8 +3502,7 @@ module Aws::Organizations
3505
3502
  # services][1] in the *Organizations User Guide*.
3506
3503
  #
3507
3504
  # This operation can be called only from the organization's management
3508
- # account or by a member account that is a delegated administrator for
3509
- # an Amazon Web Services service.
3505
+ # account or by a member account that is a delegated administrator.
3510
3506
  #
3511
3507
  #
3512
3508
  #
@@ -3574,8 +3570,7 @@ module Aws::Organizations
3574
3570
  # </note>
3575
3571
  #
3576
3572
  # This operation can be called only from the organization's management
3577
- # account or by a member account that is a delegated administrator for
3578
- # an Amazon Web Services service.
3573
+ # account or by a member account that is a delegated administrator.
3579
3574
  #
3580
3575
  # @option params [String] :next_token
3581
3576
  # The parameter for receiving additional results if you receive a
@@ -3697,8 +3692,7 @@ module Aws::Organizations
3697
3692
  # </note>
3698
3693
  #
3699
3694
  # This operation can be called only from the organization's management
3700
- # account or by a member account that is a delegated administrator for
3701
- # an Amazon Web Services service.
3695
+ # account or by a member account that is a delegated administrator.
3702
3696
  #
3703
3697
  # @option params [required, String] :parent_id
3704
3698
  # The unique identifier (ID) for the parent root or organization unit
@@ -3806,8 +3800,7 @@ module Aws::Organizations
3806
3800
  # </note>
3807
3801
  #
3808
3802
  # This operation can be called only from the organization's management
3809
- # account or by a member account that is a delegated administrator for
3810
- # an Amazon Web Services service.
3803
+ # account or by a member account that is a delegated administrator.
3811
3804
  #
3812
3805
  # @option params [required, String] :parent_id
3813
3806
  # The unique identifier (ID) for the parent root or OU whose children
@@ -3918,8 +3911,7 @@ module Aws::Organizations
3918
3911
  # </note>
3919
3912
  #
3920
3913
  # This operation can be called only from the organization's management
3921
- # account or by a member account that is a delegated administrator for
3922
- # an Amazon Web Services service.
3914
+ # account or by a member account that is a delegated administrator.
3923
3915
  #
3924
3916
  # @option params [Array<String>] :states
3925
3917
  # A list of one or more states that you want included in the response.
@@ -4035,8 +4027,7 @@ module Aws::Organizations
4035
4027
  # delegated administrators in this organization.
4036
4028
  #
4037
4029
  # This operation can be called only from the organization's management
4038
- # account or by a member account that is a delegated administrator for
4039
- # an Amazon Web Services service.
4030
+ # account or by a member account that is a delegated administrator.
4040
4031
  #
4041
4032
  # @option params [String] :service_principal
4042
4033
  # Specifies a service principal name. If specified, then the operation
@@ -4105,8 +4096,7 @@ module Aws::Organizations
4105
4096
  # is a delegated administrator.
4106
4097
  #
4107
4098
  # This operation can be called only from the organization's management
4108
- # account or by a member account that is a delegated administrator for
4109
- # an Amazon Web Services service.
4099
+ # account or by a member account that is a delegated administrator.
4110
4100
  #
4111
4101
  # @option params [required, String] :account_id
4112
4102
  # The account ID number of a delegated administrator account in the
@@ -4327,8 +4317,7 @@ module Aws::Organizations
4327
4317
  # </note>
4328
4318
  #
4329
4319
  # This operation can be called only from the organization's management
4330
- # account or by a member account that is a delegated administrator for
4331
- # an Amazon Web Services service.
4320
+ # account or by a member account that is a delegated administrator.
4332
4321
  #
4333
4322
  # @option params [Types::HandshakeFilter] :filter
4334
4323
  # A filter of the handshakes that you want included in the response. The
@@ -4513,8 +4502,7 @@ module Aws::Organizations
4513
4502
  # </note>
4514
4503
  #
4515
4504
  # This operation can be called only from the organization's management
4516
- # account or by a member account that is a delegated administrator for
4517
- # an Amazon Web Services service.
4505
+ # account or by a member account that is a delegated administrator.
4518
4506
  #
4519
4507
  # @option params [required, String] :parent_id
4520
4508
  # The unique identifier (ID) of the root or OU whose child OUs you want
@@ -4625,8 +4613,7 @@ module Aws::Organizations
4625
4613
  # </note>
4626
4614
  #
4627
4615
  # This operation can be called only from the organization's management
4628
- # account or by a member account that is a delegated administrator for
4629
- # an Amazon Web Services service.
4616
+ # account or by a member account that is a delegated administrator.
4630
4617
  #
4631
4618
  # <note markdown="1"> In the current release, a child can have only a single parent.
4632
4619
  #
@@ -4731,8 +4718,7 @@ module Aws::Organizations
4731
4718
  # </note>
4732
4719
  #
4733
4720
  # This operation can be called only from the organization's management
4734
- # account or by a member account that is a delegated administrator for
4735
- # an Amazon Web Services service.
4721
+ # account or by a member account that is a delegated administrator.
4736
4722
  #
4737
4723
  # @option params [required, String] :filter
4738
4724
  # Specifies the type of policy that you want to include in the response.
@@ -4752,6 +4738,8 @@ module Aws::Organizations
4752
4738
  #
4753
4739
  # * [AISERVICES\_OPT\_OUT\_POLICY][7]
4754
4740
  #
4741
+ # * [SECURITYHUB\_POLICY][8]
4742
+ #
4755
4743
  #
4756
4744
  #
4757
4745
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
@@ -4761,6 +4749,7 @@ module Aws::Organizations
4761
4749
  # [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
4762
4750
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
4763
4751
  # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
4752
+ # [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
4764
4753
  #
4765
4754
  # @option params [String] :next_token
4766
4755
  # The parameter for receiving additional results if you receive a
@@ -4830,7 +4819,7 @@ module Aws::Organizations
4830
4819
  # @example Request syntax with placeholder values
4831
4820
  #
4832
4821
  # 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
4822
+ # 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
4823
  # next_token: "NextToken",
4835
4824
  # max_results: 1,
4836
4825
  # })
@@ -4842,7 +4831,7 @@ module Aws::Organizations
4842
4831
  # resp.policies[0].arn #=> String
4843
4832
  # resp.policies[0].name #=> String
4844
4833
  # 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"
4834
+ # 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
4835
  # resp.policies[0].aws_managed #=> Boolean
4847
4836
  # resp.next_token #=> String
4848
4837
  #
@@ -4868,8 +4857,7 @@ module Aws::Organizations
4868
4857
  # </note>
4869
4858
  #
4870
4859
  # This operation can be called only from the organization's management
4871
- # account or by a member account that is a delegated administrator for
4872
- # an Amazon Web Services service.
4860
+ # account or by a member account that is a delegated administrator.
4873
4861
  #
4874
4862
  # @option params [required, String] :target_id
4875
4863
  # The unique identifier (ID) of the root, organizational unit, or
@@ -4910,6 +4898,8 @@ module Aws::Organizations
4910
4898
  #
4911
4899
  # * [AISERVICES\_OPT\_OUT\_POLICY][7]
4912
4900
  #
4901
+ # * [SECURITYHUB\_POLICY][8]
4902
+ #
4913
4903
  #
4914
4904
  #
4915
4905
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
@@ -4919,6 +4909,7 @@ module Aws::Organizations
4919
4909
  # [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
4920
4910
  # [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
4921
4911
  # [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
4912
+ # [8]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_security_hub.html
4922
4913
  #
4923
4914
  # @option params [String] :next_token
4924
4915
  # The parameter for receiving additional results if you receive a
@@ -4976,7 +4967,7 @@ module Aws::Organizations
4976
4967
  #
4977
4968
  # resp = client.list_policies_for_target({
4978
4969
  # 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
4970
+ # 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
4971
  # next_token: "NextToken",
4981
4972
  # max_results: 1,
4982
4973
  # })
@@ -4988,7 +4979,7 @@ module Aws::Organizations
4988
4979
  # resp.policies[0].arn #=> String
4989
4980
  # resp.policies[0].name #=> String
4990
4981
  # 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"
4982
+ # 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
4983
  # resp.policies[0].aws_managed #=> Boolean
4993
4984
  # resp.next_token #=> String
4994
4985
  #
@@ -5012,8 +5003,7 @@ module Aws::Organizations
5012
5003
  # </note>
5013
5004
  #
5014
5005
  # This operation can be called only from the organization's management
5015
- # account or by a member account that is a delegated administrator for
5016
- # an Amazon Web Services service.
5006
+ # account or by a member account that is a delegated administrator.
5017
5007
  #
5018
5008
  # <note markdown="1"> Policy types can be enabled and disabled in roots. This is distinct
5019
5009
  # from whether they're available in the organization. When you enable
@@ -5089,7 +5079,7 @@ module Aws::Organizations
5089
5079
  # resp.roots[0].arn #=> String
5090
5080
  # resp.roots[0].name #=> String
5091
5081
  # 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"
5082
+ # 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
5083
  # resp.roots[0].policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
5094
5084
  # resp.next_token #=> String
5095
5085
  #
@@ -5115,8 +5105,7 @@ module Aws::Organizations
5115
5105
  # * Policy (any type)
5116
5106
  #
5117
5107
  # This operation can be called only from the organization's management
5118
- # account or by a member account that is a delegated administrator for
5119
- # an Amazon Web Services service.
5108
+ # account or by a member account that is a delegated administrator.
5120
5109
  #
5121
5110
  # @option params [required, String] :resource_id
5122
5111
  # The ID of the resource with the tags to list.
@@ -5183,8 +5172,7 @@ module Aws::Organizations
5183
5172
  # </note>
5184
5173
  #
5185
5174
  # This operation can be called only from the organization's management
5186
- # account or by a member account that is a delegated administrator for
5187
- # an Amazon Web Services service.
5175
+ # account or by a member account that is a delegated administrator.
5188
5176
  #
5189
5177
  # @option params [required, String] :policy_id
5190
5178
  # The unique identifier (ID) of the policy whose attachments you want to
@@ -5370,8 +5358,8 @@ module Aws::Organizations
5370
5358
 
5371
5359
  # Creates or updates a resource policy.
5372
5360
  #
5373
- # You can only call this operation from the organization's management
5374
- # account.
5361
+ # This operation can be called only from the organization's management
5362
+ # account..
5375
5363
  #
5376
5364
  # @option params [required, String] :content
5377
5365
  # If provided, the new content for the resource policy. The text must be
@@ -5564,8 +5552,7 @@ module Aws::Organizations
5564
5552
  # * Policy (any type)
5565
5553
  #
5566
5554
  # This operation can be called only from the organization's management
5567
- # account or by a member account that is a delegated administrator for
5568
- # an Amazon Web Services service.
5555
+ # account or by a member account that is a delegated administrator.
5569
5556
  #
5570
5557
  # @option params [required, String] :resource_id
5571
5558
  # The ID of the resource to add a tag to.
@@ -5630,8 +5617,7 @@ module Aws::Organizations
5630
5617
  # * Policy (any type)
5631
5618
  #
5632
5619
  # This operation can be called only from the organization's management
5633
- # account or by a member account that is a delegated administrator for
5634
- # an Amazon Web Services service.
5620
+ # account or by a member account that is a delegated administrator.
5635
5621
  #
5636
5622
  # @option params [required, String] :resource_id
5637
5623
  # The ID of the resource to remove a tag from.
@@ -5750,8 +5736,7 @@ module Aws::Organizations
5750
5736
  # can't change a policy's type.
5751
5737
  #
5752
5738
  # This operation can be called only from the organization's management
5753
- # account or by a member account that is a delegated administrator for
5754
- # an Amazon Web Services service.
5739
+ # account or by a member account that is a delegated administrator.
5755
5740
  #
5756
5741
  # @option params [required, String] :policy_id
5757
5742
  # The unique identifier (ID) of the policy that you want to update.
@@ -5863,7 +5848,7 @@ module Aws::Organizations
5863
5848
  # resp.policy.policy_summary.arn #=> String
5864
5849
  # resp.policy.policy_summary.name #=> String
5865
5850
  # 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"
5851
+ # 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
5852
  # resp.policy.policy_summary.aws_managed #=> Boolean
5868
5853
  # resp.policy.content #=> String
5869
5854
  #
@@ -5894,7 +5879,7 @@ module Aws::Organizations
5894
5879
  tracer: tracer
5895
5880
  )
5896
5881
  context[:gem_name] = 'aws-sdk-organizations'
5897
- context[:gem_version] = '1.116.0'
5882
+ context[:gem_version] = '1.118.0'
5898
5883
  Seahorse::Client::Request.new(handlers, context)
5899
5884
  end
5900
5885
 
@@ -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
- # * SERVICE\_ACCESS\_NOT\_ENABLED: You attempted to register a delegated
607
- # administrator before you enabled service access. Call the
608
- # `EnableAWSServiceAccess` API first.
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. For example, accounts with India
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
@@ -54,7 +54,7 @@ module Aws::Organizations
54
54
  autoload :EndpointProvider, 'aws-sdk-organizations/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-organizations/endpoints'
56
56
 
57
- GEM_VERSION = '1.116.0'
57
+ GEM_VERSION = '1.118.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
@@ -185,7 +186,7 @@ module Aws
185
186
  content: ::String,
186
187
  description: ::String,
187
188
  name: ::String,
188
- type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2"),
189
+ type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY"),
189
190
  ?tags: Array[
190
191
  {
191
192
  key: ::String,
@@ -258,7 +259,7 @@ module Aws
258
259
  end
259
260
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#describe_effective_policy-instance_method
260
261
  def describe_effective_policy: (
261
- policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2"),
262
+ policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY"),
262
263
  ?target_id: ::String
263
264
  ) -> _DescribeEffectivePolicyResponseSuccess
264
265
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEffectivePolicyResponseSuccess
@@ -329,7 +330,7 @@ module Aws
329
330
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#disable_policy_type-instance_method
330
331
  def disable_policy_type: (
331
332
  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")
333
+ policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY")
333
334
  ) -> _DisablePolicyTypeResponseSuccess
334
335
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisablePolicyTypeResponseSuccess
335
336
 
@@ -355,7 +356,7 @@ module Aws
355
356
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#enable_policy_type-instance_method
356
357
  def enable_policy_type: (
357
358
  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")
359
+ policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY")
359
360
  ) -> _EnablePolicyTypeResponseSuccess
360
361
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnablePolicyTypeResponseSuccess
361
362
 
@@ -538,7 +539,7 @@ module Aws
538
539
  end
539
540
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#list_policies-instance_method
540
541
  def list_policies: (
541
- filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2"),
542
+ filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY"),
542
543
  ?next_token: ::String,
543
544
  ?max_results: ::Integer
544
545
  ) -> _ListPoliciesResponseSuccess
@@ -552,7 +553,7 @@ module Aws
552
553
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#list_policies_for_target-instance_method
553
554
  def list_policies_for_target: (
554
555
  target_id: ::String,
555
- filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2"),
556
+ filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY"),
556
557
  ?next_token: ::String,
557
558
  ?max_results: ::Integer
558
559
  ) -> _ListPoliciesForTargetResponseSuccess
data/sig/resource.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-organizations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.116.0
4
+ version: 1.118.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.225.0
21
+ version: 3.227.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.225.0
31
+ version: 3.227.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement