aws-sdk-organizations 1.108.0 → 1.109.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 +98 -76
- data/lib/aws-sdk-organizations/types.rb +66 -48
- data/lib/aws-sdk-organizations.rb +1 -1
- data/sig/client.rbs +6 -6
- data/sig/types.rbs +9 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8bf0588baa9f57c19837975295d3349caf2d1f943f9931d67292fe0a517176b
|
4
|
+
data.tar.gz: e73aa50b73c39182582bacf093664765b759a590d3d6ffac6719c5e2568903f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32fbf1fd60747b5de9fd9abbbf3fe5e2f76260cbf363ff78be670218d32279cfcf911efe02cbe94a16c8454d8295308df360bee5a4d10a5277223a66d0578886
|
7
|
+
data.tar.gz: cec445b17af506a87b2651f7495853950d76eaa5602688d204f0077a1952d519c46213460998c27b2cc2d68834b660e3ff31b5987bae12ab95a198c71d39fb04
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.109.0
|
@@ -600,13 +600,15 @@ module Aws::Organizations
|
|
600
600
|
#
|
601
601
|
# * [RESOURCE\_CONTROL\_POLICY][2]
|
602
602
|
#
|
603
|
-
# * [
|
603
|
+
# * [DECLARATIVE\_POLICY\_EC2][3]
|
604
604
|
#
|
605
|
-
# * [
|
605
|
+
# * [BACKUP\_POLICY][4]
|
606
606
|
#
|
607
|
-
# * [
|
607
|
+
# * [TAG\_POLICY][5]
|
608
608
|
#
|
609
|
-
# * [
|
609
|
+
# * [CHATBOT\_POLICY][6]
|
610
|
+
#
|
611
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
610
612
|
#
|
611
613
|
# This operation can be called only from the organization's management
|
612
614
|
# account or by a member account that is a delegated administrator for
|
@@ -616,10 +618,11 @@ module Aws::Organizations
|
|
616
618
|
#
|
617
619
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
618
620
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
619
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
620
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
621
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
622
|
-
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
621
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
622
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
623
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
624
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
625
|
+
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
623
626
|
#
|
624
627
|
# @option params [required, String] :policy_id
|
625
628
|
# The unique identifier (ID) of the policy that you want to attach to
|
@@ -1524,7 +1527,7 @@ module Aws::Organizations
|
|
1524
1527
|
# resp.organization.master_account_id #=> String
|
1525
1528
|
# resp.organization.master_account_email #=> String
|
1526
1529
|
# resp.organization.available_policy_types #=> Array
|
1527
|
-
# 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"
|
1530
|
+
# 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"
|
1528
1531
|
# resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
1529
1532
|
#
|
1530
1533
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganization AWS API Documentation
|
@@ -1698,22 +1701,25 @@ module Aws::Organizations
|
|
1698
1701
|
#
|
1699
1702
|
# * [RESOURCE\_CONTROL\_POLICY][2]
|
1700
1703
|
#
|
1701
|
-
# * [
|
1704
|
+
# * [DECLARATIVE\_POLICY\_EC2][3]
|
1705
|
+
#
|
1706
|
+
# * [BACKUP\_POLICY][4]
|
1702
1707
|
#
|
1703
|
-
# * [TAG\_POLICY][
|
1708
|
+
# * [TAG\_POLICY][5]
|
1704
1709
|
#
|
1705
|
-
# * [CHATBOT\_POLICY][
|
1710
|
+
# * [CHATBOT\_POLICY][6]
|
1706
1711
|
#
|
1707
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
1712
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
1708
1713
|
#
|
1709
1714
|
#
|
1710
1715
|
#
|
1711
1716
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1712
1717
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
1713
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1714
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1715
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1716
|
-
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1718
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
1719
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1720
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1721
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1722
|
+
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1717
1723
|
#
|
1718
1724
|
# @option params [Array<Types::Tag>] :tags
|
1719
1725
|
# A list of tags that you want to attach to the newly created policy.
|
@@ -1770,7 +1776,7 @@ module Aws::Organizations
|
|
1770
1776
|
# content: "PolicyContent", # required
|
1771
1777
|
# description: "PolicyDescription", # required
|
1772
1778
|
# name: "PolicyName", # required
|
1773
|
-
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
1779
|
+
# 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
|
1774
1780
|
# tags: [
|
1775
1781
|
# {
|
1776
1782
|
# key: "TagKey", # required
|
@@ -1785,7 +1791,7 @@ module Aws::Organizations
|
|
1785
1791
|
# resp.policy.policy_summary.arn #=> String
|
1786
1792
|
# resp.policy.policy_summary.name #=> String
|
1787
1793
|
# resp.policy.policy_summary.description #=> String
|
1788
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
1794
|
+
# 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"
|
1789
1795
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
1790
1796
|
# resp.policy.content #=> String
|
1791
1797
|
#
|
@@ -2233,8 +2239,9 @@ module Aws::Organizations
|
|
2233
2239
|
# of the specified type that the account inherits, plus any policy of
|
2234
2240
|
# that type that is directly attached to the account.
|
2235
2241
|
#
|
2236
|
-
# This operation applies only to
|
2237
|
-
# control policies (SCPs)
|
2242
|
+
# This operation applies only to management policies. It does not apply
|
2243
|
+
# to authorization policies: service control policies (SCPs) and
|
2244
|
+
# resource control policies (RCPs).
|
2238
2245
|
#
|
2239
2246
|
# For more information about policy inheritance, see [Understanding
|
2240
2247
|
# management policy inheritance][1] in the *Organizations User Guide*.
|
@@ -2249,20 +2256,23 @@ module Aws::Organizations
|
|
2249
2256
|
# The type of policy that you want information about. You can specify
|
2250
2257
|
# one of the following values:
|
2251
2258
|
#
|
2252
|
-
# * [
|
2259
|
+
# * [DECLARATIVE\_POLICY\_EC2][1]
|
2253
2260
|
#
|
2254
|
-
# * [
|
2261
|
+
# * [BACKUP\_POLICY][2]
|
2255
2262
|
#
|
2256
|
-
# * [
|
2263
|
+
# * [TAG\_POLICY][3]
|
2257
2264
|
#
|
2258
|
-
# * [
|
2265
|
+
# * [CHATBOT\_POLICY][4]
|
2259
2266
|
#
|
2267
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
2260
2268
|
#
|
2261
2269
|
#
|
2262
|
-
#
|
2263
|
-
# [
|
2264
|
-
# [
|
2265
|
-
# [
|
2270
|
+
#
|
2271
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
2272
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
2273
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
2274
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
2275
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
2266
2276
|
#
|
2267
2277
|
# @option params [String] :target_id
|
2268
2278
|
# When you're signed in as the management account, specify the ID of
|
@@ -2276,7 +2286,7 @@ module Aws::Organizations
|
|
2276
2286
|
# @example Request syntax with placeholder values
|
2277
2287
|
#
|
2278
2288
|
# resp = client.describe_effective_policy({
|
2279
|
-
# policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
2289
|
+
# policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2
|
2280
2290
|
# target_id: "PolicyTargetId",
|
2281
2291
|
# })
|
2282
2292
|
#
|
@@ -2285,7 +2295,7 @@ module Aws::Organizations
|
|
2285
2295
|
# resp.effective_policy.policy_content #=> String
|
2286
2296
|
# resp.effective_policy.last_updated_timestamp #=> Time
|
2287
2297
|
# resp.effective_policy.target_id #=> String
|
2288
|
-
# resp.effective_policy.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
2298
|
+
# resp.effective_policy.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2"
|
2289
2299
|
#
|
2290
2300
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicy AWS API Documentation
|
2291
2301
|
#
|
@@ -2456,7 +2466,7 @@ module Aws::Organizations
|
|
2456
2466
|
# resp.organization.master_account_id #=> String
|
2457
2467
|
# resp.organization.master_account_email #=> String
|
2458
2468
|
# resp.organization.available_policy_types #=> Array
|
2459
|
-
# 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"
|
2469
|
+
# 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"
|
2460
2470
|
# resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
2461
2471
|
#
|
2462
2472
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganization AWS API Documentation
|
@@ -2590,7 +2600,7 @@ module Aws::Organizations
|
|
2590
2600
|
# resp.policy.policy_summary.arn #=> String
|
2591
2601
|
# resp.policy.policy_summary.name #=> String
|
2592
2602
|
# resp.policy.policy_summary.description #=> String
|
2593
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
2603
|
+
# 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"
|
2594
2604
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
2595
2605
|
# resp.policy.content #=> String
|
2596
2606
|
#
|
@@ -2853,22 +2863,25 @@ module Aws::Organizations
|
|
2853
2863
|
#
|
2854
2864
|
# * [RESOURCE\_CONTROL\_POLICY][2]
|
2855
2865
|
#
|
2856
|
-
# * [
|
2866
|
+
# * [DECLARATIVE\_POLICY\_EC2][3]
|
2867
|
+
#
|
2868
|
+
# * [BACKUP\_POLICY][4]
|
2857
2869
|
#
|
2858
|
-
# * [TAG\_POLICY][
|
2870
|
+
# * [TAG\_POLICY][5]
|
2859
2871
|
#
|
2860
|
-
# * [CHATBOT\_POLICY][
|
2872
|
+
# * [CHATBOT\_POLICY][6]
|
2861
2873
|
#
|
2862
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
2874
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
2863
2875
|
#
|
2864
2876
|
#
|
2865
2877
|
#
|
2866
2878
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
2867
2879
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
2868
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2869
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2870
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2871
|
-
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2880
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
2881
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
2882
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
2883
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
2884
|
+
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
2872
2885
|
#
|
2873
2886
|
# @return [Types::DisablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2874
2887
|
#
|
@@ -2900,7 +2913,7 @@ module Aws::Organizations
|
|
2900
2913
|
#
|
2901
2914
|
# resp = client.disable_policy_type({
|
2902
2915
|
# root_id: "RootId", # required
|
2903
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
2916
|
+
# 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
|
2904
2917
|
# })
|
2905
2918
|
#
|
2906
2919
|
# @example Response structure
|
@@ -2909,7 +2922,7 @@ module Aws::Organizations
|
|
2909
2922
|
# resp.root.arn #=> String
|
2910
2923
|
# resp.root.name #=> String
|
2911
2924
|
# resp.root.policy_types #=> Array
|
2912
|
-
# 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"
|
2925
|
+
# 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"
|
2913
2926
|
# resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
2914
2927
|
#
|
2915
2928
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyType AWS API Documentation
|
@@ -3114,22 +3127,25 @@ module Aws::Organizations
|
|
3114
3127
|
#
|
3115
3128
|
# * [RESOURCE\_CONTROL\_POLICY][2]
|
3116
3129
|
#
|
3117
|
-
# * [
|
3130
|
+
# * [DECLARATIVE\_POLICY\_EC2][3]
|
3118
3131
|
#
|
3119
|
-
# * [
|
3132
|
+
# * [BACKUP\_POLICY][4]
|
3120
3133
|
#
|
3121
|
-
# * [
|
3134
|
+
# * [TAG\_POLICY][5]
|
3122
3135
|
#
|
3123
|
-
# * [
|
3136
|
+
# * [CHATBOT\_POLICY][6]
|
3137
|
+
#
|
3138
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
3124
3139
|
#
|
3125
3140
|
#
|
3126
3141
|
#
|
3127
3142
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
3128
3143
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
3129
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3130
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3131
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3132
|
-
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3144
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
3145
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
3146
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3147
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
3148
|
+
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3133
3149
|
#
|
3134
3150
|
# @return [Types::EnablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3135
3151
|
#
|
@@ -3165,7 +3181,7 @@ module Aws::Organizations
|
|
3165
3181
|
#
|
3166
3182
|
# resp = client.enable_policy_type({
|
3167
3183
|
# root_id: "RootId", # required
|
3168
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
3184
|
+
# 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
|
3169
3185
|
# })
|
3170
3186
|
#
|
3171
3187
|
# @example Response structure
|
@@ -3174,7 +3190,7 @@ module Aws::Organizations
|
|
3174
3190
|
# resp.root.arn #=> String
|
3175
3191
|
# resp.root.name #=> String
|
3176
3192
|
# resp.root.policy_types #=> Array
|
3177
|
-
# 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"
|
3193
|
+
# 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"
|
3178
3194
|
# resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
3179
3195
|
#
|
3180
3196
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyType AWS API Documentation
|
@@ -4704,22 +4720,25 @@ module Aws::Organizations
|
|
4704
4720
|
#
|
4705
4721
|
# * [RESOURCE\_CONTROL\_POLICY][2]
|
4706
4722
|
#
|
4707
|
-
# * [
|
4723
|
+
# * [DECLARATIVE\_POLICY\_EC2][3]
|
4724
|
+
#
|
4725
|
+
# * [BACKUP\_POLICY][4]
|
4708
4726
|
#
|
4709
|
-
# * [TAG\_POLICY][
|
4727
|
+
# * [TAG\_POLICY][5]
|
4710
4728
|
#
|
4711
|
-
# * [CHATBOT\_POLICY][
|
4729
|
+
# * [CHATBOT\_POLICY][6]
|
4712
4730
|
#
|
4713
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
4731
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
4714
4732
|
#
|
4715
4733
|
#
|
4716
4734
|
#
|
4717
4735
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
4718
4736
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
4719
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4720
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4721
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4722
|
-
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4737
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
4738
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
4739
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
4740
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
4741
|
+
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
4723
4742
|
#
|
4724
4743
|
# @option params [String] :next_token
|
4725
4744
|
# The parameter for receiving additional results if you receive a
|
@@ -4789,7 +4808,7 @@ module Aws::Organizations
|
|
4789
4808
|
# @example Request syntax with placeholder values
|
4790
4809
|
#
|
4791
4810
|
# resp = client.list_policies({
|
4792
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
4811
|
+
# 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
|
4793
4812
|
# next_token: "NextToken",
|
4794
4813
|
# max_results: 1,
|
4795
4814
|
# })
|
@@ -4801,7 +4820,7 @@ module Aws::Organizations
|
|
4801
4820
|
# resp.policies[0].arn #=> String
|
4802
4821
|
# resp.policies[0].name #=> String
|
4803
4822
|
# resp.policies[0].description #=> String
|
4804
|
-
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
4823
|
+
# 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"
|
4805
4824
|
# resp.policies[0].aws_managed #=> Boolean
|
4806
4825
|
# resp.next_token #=> String
|
4807
4826
|
#
|
@@ -4859,22 +4878,25 @@ module Aws::Organizations
|
|
4859
4878
|
#
|
4860
4879
|
# * [RESOURCE\_CONTROL\_POLICY][2]
|
4861
4880
|
#
|
4862
|
-
# * [
|
4881
|
+
# * [DECLARATIVE\_POLICY\_EC2][3]
|
4882
|
+
#
|
4883
|
+
# * [BACKUP\_POLICY][4]
|
4863
4884
|
#
|
4864
|
-
# * [TAG\_POLICY][
|
4885
|
+
# * [TAG\_POLICY][5]
|
4865
4886
|
#
|
4866
|
-
# * [CHATBOT\_POLICY][
|
4887
|
+
# * [CHATBOT\_POLICY][6]
|
4867
4888
|
#
|
4868
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
4889
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
4869
4890
|
#
|
4870
4891
|
#
|
4871
4892
|
#
|
4872
4893
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
4873
4894
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
4874
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4875
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4876
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4877
|
-
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4895
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
4896
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
4897
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
4898
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
4899
|
+
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
4878
4900
|
#
|
4879
4901
|
# @option params [String] :next_token
|
4880
4902
|
# The parameter for receiving additional results if you receive a
|
@@ -4932,7 +4954,7 @@ module Aws::Organizations
|
|
4932
4954
|
#
|
4933
4955
|
# resp = client.list_policies_for_target({
|
4934
4956
|
# target_id: "PolicyTargetId", # required
|
4935
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
4957
|
+
# 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
|
4936
4958
|
# next_token: "NextToken",
|
4937
4959
|
# max_results: 1,
|
4938
4960
|
# })
|
@@ -4944,7 +4966,7 @@ module Aws::Organizations
|
|
4944
4966
|
# resp.policies[0].arn #=> String
|
4945
4967
|
# resp.policies[0].name #=> String
|
4946
4968
|
# resp.policies[0].description #=> String
|
4947
|
-
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
4969
|
+
# 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"
|
4948
4970
|
# resp.policies[0].aws_managed #=> Boolean
|
4949
4971
|
# resp.next_token #=> String
|
4950
4972
|
#
|
@@ -5045,7 +5067,7 @@ module Aws::Organizations
|
|
5045
5067
|
# resp.roots[0].arn #=> String
|
5046
5068
|
# resp.roots[0].name #=> String
|
5047
5069
|
# resp.roots[0].policy_types #=> Array
|
5048
|
-
# 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"
|
5070
|
+
# 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"
|
5049
5071
|
# resp.roots[0].policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
5050
5072
|
# resp.next_token #=> String
|
5051
5073
|
#
|
@@ -5819,7 +5841,7 @@ module Aws::Organizations
|
|
5819
5841
|
# resp.policy.policy_summary.arn #=> String
|
5820
5842
|
# resp.policy.policy_summary.name #=> String
|
5821
5843
|
# resp.policy.policy_summary.description #=> String
|
5822
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
5844
|
+
# 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"
|
5823
5845
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
5824
5846
|
# resp.policy.content #=> String
|
5825
5847
|
#
|
@@ -5850,7 +5872,7 @@ module Aws::Organizations
|
|
5850
5872
|
tracer: tracer
|
5851
5873
|
)
|
5852
5874
|
context[:gem_name] = 'aws-sdk-organizations'
|
5853
|
-
context[:gem_version] = '1.
|
5875
|
+
context[:gem_version] = '1.109.0'
|
5854
5876
|
Seahorse::Client::Request.new(handlers, context)
|
5855
5877
|
end
|
5856
5878
|
|
@@ -1209,22 +1209,25 @@ module Aws::Organizations
|
|
1209
1209
|
#
|
1210
1210
|
# * [RESOURCE\_CONTROL\_POLICY][2]
|
1211
1211
|
#
|
1212
|
-
# * [
|
1212
|
+
# * [DECLARATIVE\_POLICY\_EC2][3]
|
1213
1213
|
#
|
1214
|
-
# * [
|
1214
|
+
# * [BACKUP\_POLICY][4]
|
1215
1215
|
#
|
1216
|
-
# * [
|
1216
|
+
# * [TAG\_POLICY][5]
|
1217
1217
|
#
|
1218
|
-
# * [
|
1218
|
+
# * [CHATBOT\_POLICY][6]
|
1219
|
+
#
|
1220
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
1219
1221
|
#
|
1220
1222
|
#
|
1221
1223
|
#
|
1222
1224
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1223
1225
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
1224
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1225
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1226
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1227
|
-
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1226
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
1227
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1228
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1229
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1230
|
+
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1228
1231
|
# @return [String]
|
1229
1232
|
#
|
1230
1233
|
# @!attribute [rw] tags
|
@@ -1525,20 +1528,23 @@ module Aws::Organizations
|
|
1525
1528
|
# The type of policy that you want information about. You can specify
|
1526
1529
|
# one of the following values:
|
1527
1530
|
#
|
1528
|
-
# * [
|
1531
|
+
# * [DECLARATIVE\_POLICY\_EC2][1]
|
1532
|
+
#
|
1533
|
+
# * [BACKUP\_POLICY][2]
|
1529
1534
|
#
|
1530
|
-
# * [TAG\_POLICY][
|
1535
|
+
# * [TAG\_POLICY][3]
|
1531
1536
|
#
|
1532
|
-
# * [CHATBOT\_POLICY][
|
1537
|
+
# * [CHATBOT\_POLICY][4]
|
1533
1538
|
#
|
1534
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
1539
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
1535
1540
|
#
|
1536
1541
|
#
|
1537
1542
|
#
|
1538
|
-
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1539
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1540
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1541
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1543
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
1544
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1545
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1546
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1547
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1542
1548
|
# @return [String]
|
1543
1549
|
#
|
1544
1550
|
# @!attribute [rw] target_id
|
@@ -1799,22 +1805,25 @@ module Aws::Organizations
|
|
1799
1805
|
#
|
1800
1806
|
# * [RESOURCE\_CONTROL\_POLICY][2]
|
1801
1807
|
#
|
1802
|
-
# * [
|
1808
|
+
# * [DECLARATIVE\_POLICY\_EC2][3]
|
1809
|
+
#
|
1810
|
+
# * [BACKUP\_POLICY][4]
|
1803
1811
|
#
|
1804
|
-
# * [TAG\_POLICY][
|
1812
|
+
# * [TAG\_POLICY][5]
|
1805
1813
|
#
|
1806
|
-
# * [CHATBOT\_POLICY][
|
1814
|
+
# * [CHATBOT\_POLICY][6]
|
1807
1815
|
#
|
1808
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
1816
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
1809
1817
|
#
|
1810
1818
|
#
|
1811
1819
|
#
|
1812
1820
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1813
1821
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
1814
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1815
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1816
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1817
|
-
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1822
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
1823
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1824
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1825
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1826
|
+
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1818
1827
|
# @return [String]
|
1819
1828
|
#
|
1820
1829
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyTypeRequest AWS API Documentation
|
@@ -2011,22 +2020,25 @@ module Aws::Organizations
|
|
2011
2020
|
#
|
2012
2021
|
# * [RESOURCE\_CONTROL\_POLICY][2]
|
2013
2022
|
#
|
2014
|
-
# * [
|
2023
|
+
# * [DECLARATIVE\_POLICY\_EC2][3]
|
2015
2024
|
#
|
2016
|
-
# * [
|
2025
|
+
# * [BACKUP\_POLICY][4]
|
2017
2026
|
#
|
2018
|
-
# * [
|
2027
|
+
# * [TAG\_POLICY][5]
|
2019
2028
|
#
|
2020
|
-
# * [
|
2029
|
+
# * [CHATBOT\_POLICY][6]
|
2030
|
+
#
|
2031
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
2021
2032
|
#
|
2022
2033
|
#
|
2023
2034
|
#
|
2024
2035
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
2025
2036
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
2026
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2027
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2028
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2029
|
-
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2037
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
2038
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
2039
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
2040
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
2041
|
+
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
2030
2042
|
# @return [String]
|
2031
2043
|
#
|
2032
2044
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyTypeRequest AWS API Documentation
|
@@ -3328,22 +3340,25 @@ module Aws::Organizations
|
|
3328
3340
|
#
|
3329
3341
|
# * [RESOURCE\_CONTROL\_POLICY][2]
|
3330
3342
|
#
|
3331
|
-
# * [
|
3343
|
+
# * [DECLARATIVE\_POLICY\_EC2][3]
|
3344
|
+
#
|
3345
|
+
# * [BACKUP\_POLICY][4]
|
3332
3346
|
#
|
3333
|
-
# * [TAG\_POLICY][
|
3347
|
+
# * [TAG\_POLICY][5]
|
3334
3348
|
#
|
3335
|
-
# * [CHATBOT\_POLICY][
|
3349
|
+
# * [CHATBOT\_POLICY][6]
|
3336
3350
|
#
|
3337
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
3351
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
3338
3352
|
#
|
3339
3353
|
#
|
3340
3354
|
#
|
3341
3355
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
3342
3356
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
3343
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3344
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3345
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3346
|
-
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3357
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
3358
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
3359
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3360
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
3361
|
+
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3347
3362
|
# @return [String]
|
3348
3363
|
#
|
3349
3364
|
# @!attribute [rw] next_token
|
@@ -3407,22 +3422,25 @@ module Aws::Organizations
|
|
3407
3422
|
#
|
3408
3423
|
# * [RESOURCE\_CONTROL\_POLICY][2]
|
3409
3424
|
#
|
3410
|
-
# * [
|
3425
|
+
# * [DECLARATIVE\_POLICY\_EC2][3]
|
3426
|
+
#
|
3427
|
+
# * [BACKUP\_POLICY][4]
|
3411
3428
|
#
|
3412
|
-
# * [TAG\_POLICY][
|
3429
|
+
# * [TAG\_POLICY][5]
|
3413
3430
|
#
|
3414
|
-
# * [CHATBOT\_POLICY][
|
3431
|
+
# * [CHATBOT\_POLICY][6]
|
3415
3432
|
#
|
3416
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
3433
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][7]
|
3417
3434
|
#
|
3418
3435
|
#
|
3419
3436
|
#
|
3420
3437
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
3421
3438
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
3422
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3423
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3424
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3425
|
-
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3439
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative.html
|
3440
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
3441
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3442
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
3443
|
+
# [7]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3426
3444
|
# @return [String]
|
3427
3445
|
#
|
3428
3446
|
# @!attribute [rw] next_token
|
data/sig/client.rbs
CHANGED
@@ -183,7 +183,7 @@ module Aws
|
|
183
183
|
content: ::String,
|
184
184
|
description: ::String,
|
185
185
|
name: ::String,
|
186
|
-
type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY"),
|
186
|
+
type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2"),
|
187
187
|
?tags: Array[
|
188
188
|
{
|
189
189
|
key: ::String,
|
@@ -256,7 +256,7 @@ module Aws
|
|
256
256
|
end
|
257
257
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#describe_effective_policy-instance_method
|
258
258
|
def describe_effective_policy: (
|
259
|
-
policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY"),
|
259
|
+
policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2"),
|
260
260
|
?target_id: ::String
|
261
261
|
) -> _DescribeEffectivePolicyResponseSuccess
|
262
262
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEffectivePolicyResponseSuccess
|
@@ -327,7 +327,7 @@ module Aws
|
|
327
327
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#disable_policy_type-instance_method
|
328
328
|
def disable_policy_type: (
|
329
329
|
root_id: ::String,
|
330
|
-
policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY")
|
330
|
+
policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
331
331
|
) -> _DisablePolicyTypeResponseSuccess
|
332
332
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisablePolicyTypeResponseSuccess
|
333
333
|
|
@@ -353,7 +353,7 @@ module Aws
|
|
353
353
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#enable_policy_type-instance_method
|
354
354
|
def enable_policy_type: (
|
355
355
|
root_id: ::String,
|
356
|
-
policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY")
|
356
|
+
policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
357
357
|
) -> _EnablePolicyTypeResponseSuccess
|
358
358
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnablePolicyTypeResponseSuccess
|
359
359
|
|
@@ -536,7 +536,7 @@ module Aws
|
|
536
536
|
end
|
537
537
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#list_policies-instance_method
|
538
538
|
def list_policies: (
|
539
|
-
filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY"),
|
539
|
+
filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2"),
|
540
540
|
?next_token: ::String,
|
541
541
|
?max_results: ::Integer
|
542
542
|
) -> _ListPoliciesResponseSuccess
|
@@ -550,7 +550,7 @@ module Aws
|
|
550
550
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Organizations/Client.html#list_policies_for_target-instance_method
|
551
551
|
def list_policies_for_target: (
|
552
552
|
target_id: ::String,
|
553
|
-
filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY"),
|
553
|
+
filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2"),
|
554
554
|
?next_token: ::String,
|
555
555
|
?max_results: ::Integer
|
556
556
|
) -> _ListPoliciesForTargetResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -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")
|
197
|
+
attr_accessor type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
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")
|
272
|
+
attr_accessor policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
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")
|
340
|
+
attr_accessor policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
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")
|
378
|
+
attr_accessor policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
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")
|
402
|
+
attr_accessor policy_type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
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")
|
636
|
+
attr_accessor filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
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")
|
649
|
+
attr_accessor filter: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
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")
|
790
|
+
attr_accessor type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
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")
|
819
|
+
attr_accessor type: ("SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2")
|
820
820
|
attr_accessor status: ("ENABLED" | "PENDING_ENABLE" | "PENDING_DISABLE")
|
821
821
|
SENSITIVE: []
|
822
822
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-organizations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.109.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|