aws-sdk-organizations 1.106.0 → 1.108.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-organizations/client.rb +82 -65
- data/lib/aws-sdk-organizations/types.rb +61 -40
- data/lib/aws-sdk-organizations.rb +1 -1
- data/sig/client.rbs +5 -5
- data/sig/types.rbs +8 -8
- 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: b2cc30e8bac4c3f96c2269f95f16af2b8199705cf14494c764d86f1d969bbbce
|
4
|
+
data.tar.gz: 5fce1fe91e8c14d7f19147b7898ce3b64d473fab523c4b2ed1a47dc43baca186
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d54297378cdadb03c6c0b098ca941e1aaddb53a10acd1a9d62246f46bc418f356786df9eeb96da1c59b09479dfe8620cf54ede92f151ada326838f57c67744d6
|
7
|
+
data.tar.gz: a4adc24af60f406ada4d647ec02c9af3f532ea9c9bf1222641c73b85a3c2e4e687638f3519524f45e5b7b450ffb6f6cca340cda1b6be21c9191b6c89efeae8ba
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.108.0 (2024-11-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.107.0 (2024-11-13)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add support for policy operations on the Resource Control Polices.
|
13
|
+
|
4
14
|
1.106.0 (2024-11-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.108.0
|
@@ -598,13 +598,15 @@ module Aws::Organizations
|
|
598
598
|
#
|
599
599
|
# * [SERVICE\_CONTROL\_POLICY][1]
|
600
600
|
#
|
601
|
-
# * [
|
601
|
+
# * [RESOURCE\_CONTROL\_POLICY][2]
|
602
602
|
#
|
603
|
-
# * [
|
603
|
+
# * [BACKUP\_POLICY][3]
|
604
604
|
#
|
605
|
-
# * [
|
605
|
+
# * [TAG\_POLICY][4]
|
606
606
|
#
|
607
|
-
# * [
|
607
|
+
# * [CHATBOT\_POLICY][5]
|
608
|
+
#
|
609
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][6]
|
608
610
|
#
|
609
611
|
# This operation can be called only from the organization's management
|
610
612
|
# account or by a member account that is a delegated administrator for
|
@@ -613,10 +615,11 @@ module Aws::Organizations
|
|
613
615
|
#
|
614
616
|
#
|
615
617
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
616
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
617
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
618
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
619
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
618
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
619
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
620
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
621
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
622
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
620
623
|
#
|
621
624
|
# @option params [required, String] :policy_id
|
622
625
|
# The unique identifier (ID) of the policy that you want to attach to
|
@@ -1521,7 +1524,7 @@ module Aws::Organizations
|
|
1521
1524
|
# resp.organization.master_account_id #=> String
|
1522
1525
|
# resp.organization.master_account_email #=> String
|
1523
1526
|
# resp.organization.available_policy_types #=> Array
|
1524
|
-
# resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
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"
|
1525
1528
|
# resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
1526
1529
|
#
|
1527
1530
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganization AWS API Documentation
|
@@ -1693,21 +1696,24 @@ module Aws::Organizations
|
|
1693
1696
|
#
|
1694
1697
|
# * [SERVICE\_CONTROL\_POLICY][1]
|
1695
1698
|
#
|
1696
|
-
# * [
|
1699
|
+
# * [RESOURCE\_CONTROL\_POLICY][2]
|
1700
|
+
#
|
1701
|
+
# * [BACKUP\_POLICY][3]
|
1697
1702
|
#
|
1698
|
-
# * [TAG\_POLICY][
|
1703
|
+
# * [TAG\_POLICY][4]
|
1699
1704
|
#
|
1700
|
-
# * [CHATBOT\_POLICY][
|
1705
|
+
# * [CHATBOT\_POLICY][5]
|
1701
1706
|
#
|
1702
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
1707
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][6]
|
1703
1708
|
#
|
1704
1709
|
#
|
1705
1710
|
#
|
1706
1711
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1707
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1708
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1709
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1710
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1712
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
1713
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1714
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1715
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1716
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1711
1717
|
#
|
1712
1718
|
# @option params [Array<Types::Tag>] :tags
|
1713
1719
|
# A list of tags that you want to attach to the newly created policy.
|
@@ -1764,7 +1770,7 @@ module Aws::Organizations
|
|
1764
1770
|
# content: "PolicyContent", # required
|
1765
1771
|
# description: "PolicyDescription", # required
|
1766
1772
|
# name: "PolicyName", # required
|
1767
|
-
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
1773
|
+
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
1768
1774
|
# tags: [
|
1769
1775
|
# {
|
1770
1776
|
# key: "TagKey", # required
|
@@ -1779,7 +1785,7 @@ module Aws::Organizations
|
|
1779
1785
|
# resp.policy.policy_summary.arn #=> String
|
1780
1786
|
# resp.policy.policy_summary.name #=> String
|
1781
1787
|
# resp.policy.policy_summary.description #=> String
|
1782
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
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"
|
1783
1789
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
1784
1790
|
# resp.policy.content #=> String
|
1785
1791
|
#
|
@@ -2450,7 +2456,7 @@ module Aws::Organizations
|
|
2450
2456
|
# resp.organization.master_account_id #=> String
|
2451
2457
|
# resp.organization.master_account_email #=> String
|
2452
2458
|
# resp.organization.available_policy_types #=> Array
|
2453
|
-
# resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
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"
|
2454
2460
|
# resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
2455
2461
|
#
|
2456
2462
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganization AWS API Documentation
|
@@ -2584,7 +2590,7 @@ module Aws::Organizations
|
|
2584
2590
|
# resp.policy.policy_summary.arn #=> String
|
2585
2591
|
# resp.policy.policy_summary.name #=> String
|
2586
2592
|
# resp.policy.policy_summary.description #=> String
|
2587
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
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"
|
2588
2594
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
2589
2595
|
# resp.policy.content #=> String
|
2590
2596
|
#
|
@@ -2845,21 +2851,24 @@ module Aws::Organizations
|
|
2845
2851
|
#
|
2846
2852
|
# * [SERVICE\_CONTROL\_POLICY][1]
|
2847
2853
|
#
|
2848
|
-
# * [
|
2854
|
+
# * [RESOURCE\_CONTROL\_POLICY][2]
|
2849
2855
|
#
|
2850
|
-
# * [
|
2856
|
+
# * [BACKUP\_POLICY][3]
|
2851
2857
|
#
|
2852
|
-
# * [
|
2858
|
+
# * [TAG\_POLICY][4]
|
2853
2859
|
#
|
2854
|
-
# * [
|
2860
|
+
# * [CHATBOT\_POLICY][5]
|
2861
|
+
#
|
2862
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][6]
|
2855
2863
|
#
|
2856
2864
|
#
|
2857
2865
|
#
|
2858
2866
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
2859
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2860
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2861
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2862
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2867
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
2868
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
2869
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
2870
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
2871
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
2863
2872
|
#
|
2864
2873
|
# @return [Types::DisablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2865
2874
|
#
|
@@ -2891,7 +2900,7 @@ module Aws::Organizations
|
|
2891
2900
|
#
|
2892
2901
|
# resp = client.disable_policy_type({
|
2893
2902
|
# root_id: "RootId", # required
|
2894
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
2903
|
+
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
2895
2904
|
# })
|
2896
2905
|
#
|
2897
2906
|
# @example Response structure
|
@@ -2900,7 +2909,7 @@ module Aws::Organizations
|
|
2900
2909
|
# resp.root.arn #=> String
|
2901
2910
|
# resp.root.name #=> String
|
2902
2911
|
# resp.root.policy_types #=> Array
|
2903
|
-
# resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
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"
|
2904
2913
|
# resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
2905
2914
|
#
|
2906
2915
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyType AWS API Documentation
|
@@ -3103,21 +3112,24 @@ module Aws::Organizations
|
|
3103
3112
|
#
|
3104
3113
|
# * [SERVICE\_CONTROL\_POLICY][1]
|
3105
3114
|
#
|
3106
|
-
# * [
|
3115
|
+
# * [RESOURCE\_CONTROL\_POLICY][2]
|
3116
|
+
#
|
3117
|
+
# * [BACKUP\_POLICY][3]
|
3107
3118
|
#
|
3108
|
-
# * [TAG\_POLICY][
|
3119
|
+
# * [TAG\_POLICY][4]
|
3109
3120
|
#
|
3110
|
-
# * [CHATBOT\_POLICY][
|
3121
|
+
# * [CHATBOT\_POLICY][5]
|
3111
3122
|
#
|
3112
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
3123
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][6]
|
3113
3124
|
#
|
3114
3125
|
#
|
3115
3126
|
#
|
3116
3127
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
3117
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3118
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3119
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3120
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3128
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
3129
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
3130
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3131
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
3132
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3121
3133
|
#
|
3122
3134
|
# @return [Types::EnablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3123
3135
|
#
|
@@ -3153,7 +3165,7 @@ module Aws::Organizations
|
|
3153
3165
|
#
|
3154
3166
|
# resp = client.enable_policy_type({
|
3155
3167
|
# root_id: "RootId", # required
|
3156
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
3168
|
+
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
3157
3169
|
# })
|
3158
3170
|
#
|
3159
3171
|
# @example Response structure
|
@@ -3162,7 +3174,7 @@ module Aws::Organizations
|
|
3162
3174
|
# resp.root.arn #=> String
|
3163
3175
|
# resp.root.name #=> String
|
3164
3176
|
# resp.root.policy_types #=> Array
|
3165
|
-
# resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
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"
|
3166
3178
|
# resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
3167
3179
|
#
|
3168
3180
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyType AWS API Documentation
|
@@ -3389,7 +3401,6 @@ module Aws::Organizations
|
|
3389
3401
|
# * Provide and verify the required contact information
|
3390
3402
|
#
|
3391
3403
|
# * Provide a current payment method
|
3392
|
-
#
|
3393
3404
|
# Amazon Web Services uses the payment method to charge for any
|
3394
3405
|
# billable (not free tier) Amazon Web Services activity that occurs
|
3395
3406
|
# while the account isn't attached to an organization. For more
|
@@ -4691,21 +4702,24 @@ module Aws::Organizations
|
|
4691
4702
|
#
|
4692
4703
|
# * [SERVICE\_CONTROL\_POLICY][1]
|
4693
4704
|
#
|
4694
|
-
# * [
|
4705
|
+
# * [RESOURCE\_CONTROL\_POLICY][2]
|
4706
|
+
#
|
4707
|
+
# * [BACKUP\_POLICY][3]
|
4695
4708
|
#
|
4696
|
-
# * [TAG\_POLICY][
|
4709
|
+
# * [TAG\_POLICY][4]
|
4697
4710
|
#
|
4698
|
-
# * [CHATBOT\_POLICY][
|
4711
|
+
# * [CHATBOT\_POLICY][5]
|
4699
4712
|
#
|
4700
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
4713
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][6]
|
4701
4714
|
#
|
4702
4715
|
#
|
4703
4716
|
#
|
4704
4717
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
4705
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4706
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4707
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4708
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4718
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
4719
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
4720
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
4721
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
4722
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
4709
4723
|
#
|
4710
4724
|
# @option params [String] :next_token
|
4711
4725
|
# The parameter for receiving additional results if you receive a
|
@@ -4775,7 +4789,7 @@ module Aws::Organizations
|
|
4775
4789
|
# @example Request syntax with placeholder values
|
4776
4790
|
#
|
4777
4791
|
# resp = client.list_policies({
|
4778
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
4792
|
+
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
4779
4793
|
# next_token: "NextToken",
|
4780
4794
|
# max_results: 1,
|
4781
4795
|
# })
|
@@ -4787,7 +4801,7 @@ module Aws::Organizations
|
|
4787
4801
|
# resp.policies[0].arn #=> String
|
4788
4802
|
# resp.policies[0].name #=> String
|
4789
4803
|
# resp.policies[0].description #=> String
|
4790
|
-
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
4804
|
+
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
4791
4805
|
# resp.policies[0].aws_managed #=> Boolean
|
4792
4806
|
# resp.next_token #=> String
|
4793
4807
|
#
|
@@ -4843,21 +4857,24 @@ module Aws::Organizations
|
|
4843
4857
|
#
|
4844
4858
|
# * [SERVICE\_CONTROL\_POLICY][1]
|
4845
4859
|
#
|
4846
|
-
# * [
|
4860
|
+
# * [RESOURCE\_CONTROL\_POLICY][2]
|
4861
|
+
#
|
4862
|
+
# * [BACKUP\_POLICY][3]
|
4847
4863
|
#
|
4848
|
-
# * [TAG\_POLICY][
|
4864
|
+
# * [TAG\_POLICY][4]
|
4849
4865
|
#
|
4850
|
-
# * [CHATBOT\_POLICY][
|
4866
|
+
# * [CHATBOT\_POLICY][5]
|
4851
4867
|
#
|
4852
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
4868
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][6]
|
4853
4869
|
#
|
4854
4870
|
#
|
4855
4871
|
#
|
4856
4872
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
4857
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4858
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4859
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4860
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4873
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
4874
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
4875
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
4876
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
4877
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
4861
4878
|
#
|
4862
4879
|
# @option params [String] :next_token
|
4863
4880
|
# The parameter for receiving additional results if you receive a
|
@@ -4915,7 +4932,7 @@ module Aws::Organizations
|
|
4915
4932
|
#
|
4916
4933
|
# resp = client.list_policies_for_target({
|
4917
4934
|
# target_id: "PolicyTargetId", # required
|
4918
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
4935
|
+
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, RESOURCE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
4919
4936
|
# next_token: "NextToken",
|
4920
4937
|
# max_results: 1,
|
4921
4938
|
# })
|
@@ -4927,7 +4944,7 @@ module Aws::Organizations
|
|
4927
4944
|
# resp.policies[0].arn #=> String
|
4928
4945
|
# resp.policies[0].name #=> String
|
4929
4946
|
# resp.policies[0].description #=> String
|
4930
|
-
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
4947
|
+
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "RESOURCE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
4931
4948
|
# resp.policies[0].aws_managed #=> Boolean
|
4932
4949
|
# resp.next_token #=> String
|
4933
4950
|
#
|
@@ -5028,7 +5045,7 @@ module Aws::Organizations
|
|
5028
5045
|
# resp.roots[0].arn #=> String
|
5029
5046
|
# resp.roots[0].name #=> String
|
5030
5047
|
# resp.roots[0].policy_types #=> Array
|
5031
|
-
# resp.roots[0].policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
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"
|
5032
5049
|
# resp.roots[0].policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
5033
5050
|
# resp.next_token #=> String
|
5034
5051
|
#
|
@@ -5802,7 +5819,7 @@ module Aws::Organizations
|
|
5802
5819
|
# resp.policy.policy_summary.arn #=> String
|
5803
5820
|
# resp.policy.policy_summary.name #=> String
|
5804
5821
|
# resp.policy.policy_summary.description #=> String
|
5805
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
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"
|
5806
5823
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
5807
5824
|
# resp.policy.content #=> String
|
5808
5825
|
#
|
@@ -5833,7 +5850,7 @@ module Aws::Organizations
|
|
5833
5850
|
tracer: tracer
|
5834
5851
|
)
|
5835
5852
|
context[:gem_name] = 'aws-sdk-organizations'
|
5836
|
-
context[:gem_version] = '1.
|
5853
|
+
context[:gem_version] = '1.108.0'
|
5837
5854
|
Seahorse::Client::Request.new(handlers, context)
|
5838
5855
|
end
|
5839
5856
|
|
@@ -1207,21 +1207,24 @@ module Aws::Organizations
|
|
1207
1207
|
#
|
1208
1208
|
# * [SERVICE\_CONTROL\_POLICY][1]
|
1209
1209
|
#
|
1210
|
-
# * [
|
1210
|
+
# * [RESOURCE\_CONTROL\_POLICY][2]
|
1211
1211
|
#
|
1212
|
-
# * [
|
1212
|
+
# * [BACKUP\_POLICY][3]
|
1213
1213
|
#
|
1214
|
-
# * [
|
1214
|
+
# * [TAG\_POLICY][4]
|
1215
1215
|
#
|
1216
|
-
# * [
|
1216
|
+
# * [CHATBOT\_POLICY][5]
|
1217
|
+
#
|
1218
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][6]
|
1217
1219
|
#
|
1218
1220
|
#
|
1219
1221
|
#
|
1220
1222
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1221
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1222
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1223
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1224
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1223
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
1224
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1225
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1226
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1227
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1225
1228
|
# @return [String]
|
1226
1229
|
#
|
1227
1230
|
# @!attribute [rw] tags
|
@@ -1794,21 +1797,24 @@ module Aws::Organizations
|
|
1794
1797
|
#
|
1795
1798
|
# * [SERVICE\_CONTROL\_POLICY][1]
|
1796
1799
|
#
|
1797
|
-
# * [
|
1800
|
+
# * [RESOURCE\_CONTROL\_POLICY][2]
|
1801
|
+
#
|
1802
|
+
# * [BACKUP\_POLICY][3]
|
1798
1803
|
#
|
1799
|
-
# * [TAG\_POLICY][
|
1804
|
+
# * [TAG\_POLICY][4]
|
1800
1805
|
#
|
1801
|
-
# * [CHATBOT\_POLICY][
|
1806
|
+
# * [CHATBOT\_POLICY][5]
|
1802
1807
|
#
|
1803
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
1808
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][6]
|
1804
1809
|
#
|
1805
1810
|
#
|
1806
1811
|
#
|
1807
1812
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1808
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1809
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1810
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1811
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1813
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
1814
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1815
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1816
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1817
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1812
1818
|
# @return [String]
|
1813
1819
|
#
|
1814
1820
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyTypeRequest AWS API Documentation
|
@@ -2003,21 +2009,24 @@ module Aws::Organizations
|
|
2003
2009
|
#
|
2004
2010
|
# * [SERVICE\_CONTROL\_POLICY][1]
|
2005
2011
|
#
|
2006
|
-
# * [
|
2012
|
+
# * [RESOURCE\_CONTROL\_POLICY][2]
|
2007
2013
|
#
|
2008
|
-
# * [
|
2014
|
+
# * [BACKUP\_POLICY][3]
|
2009
2015
|
#
|
2010
|
-
# * [
|
2016
|
+
# * [TAG\_POLICY][4]
|
2011
2017
|
#
|
2012
|
-
# * [
|
2018
|
+
# * [CHATBOT\_POLICY][5]
|
2019
|
+
#
|
2020
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][6]
|
2013
2021
|
#
|
2014
2022
|
#
|
2015
2023
|
#
|
2016
2024
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
2017
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2018
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2019
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2020
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2025
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
2026
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
2027
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
2028
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
2029
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
2021
2030
|
# @return [String]
|
2022
2031
|
#
|
2023
2032
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyTypeRequest AWS API Documentation
|
@@ -2464,6 +2473,9 @@ module Aws::Organizations
|
|
2464
2473
|
# * INVALID\_PATTERN\_TARGET\_ID: You specified a policy target ID that
|
2465
2474
|
# doesn't match the required pattern.
|
2466
2475
|
#
|
2476
|
+
# * INVALID\_PRINCIPAL: You specified an invalid principal element in
|
2477
|
+
# the policy.
|
2478
|
+
#
|
2467
2479
|
# * INVALID\_ROLE\_NAME: You provided a role name that isn't valid. A
|
2468
2480
|
# role name can't begin with the reserved prefix `AWSServiceRoleFor`.
|
2469
2481
|
#
|
@@ -2495,6 +2507,9 @@ module Aws::Organizations
|
|
2495
2507
|
# * MOVING\_ACCOUNT\_BETWEEN\_DIFFERENT\_ROOTS: You can move an account
|
2496
2508
|
# only between entities in the same root.
|
2497
2509
|
#
|
2510
|
+
# * NON\_DETACHABLE\_POLICY: You can't detach this Amazon Web Services
|
2511
|
+
# Managed Policy.
|
2512
|
+
#
|
2498
2513
|
# * TARGET\_NOT\_SUPPORTED: You can't perform the specified operation
|
2499
2514
|
# on that target entity.
|
2500
2515
|
#
|
@@ -3311,21 +3326,24 @@ module Aws::Organizations
|
|
3311
3326
|
#
|
3312
3327
|
# * [SERVICE\_CONTROL\_POLICY][1]
|
3313
3328
|
#
|
3314
|
-
# * [
|
3329
|
+
# * [RESOURCE\_CONTROL\_POLICY][2]
|
3330
|
+
#
|
3331
|
+
# * [BACKUP\_POLICY][3]
|
3315
3332
|
#
|
3316
|
-
# * [TAG\_POLICY][
|
3333
|
+
# * [TAG\_POLICY][4]
|
3317
3334
|
#
|
3318
|
-
# * [CHATBOT\_POLICY][
|
3335
|
+
# * [CHATBOT\_POLICY][5]
|
3319
3336
|
#
|
3320
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
3337
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][6]
|
3321
3338
|
#
|
3322
3339
|
#
|
3323
3340
|
#
|
3324
3341
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
3325
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3326
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3327
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3328
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3342
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
3343
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
3344
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3345
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
3346
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3329
3347
|
# @return [String]
|
3330
3348
|
#
|
3331
3349
|
# @!attribute [rw] next_token
|
@@ -3387,21 +3405,24 @@ module Aws::Organizations
|
|
3387
3405
|
#
|
3388
3406
|
# * [SERVICE\_CONTROL\_POLICY][1]
|
3389
3407
|
#
|
3390
|
-
# * [
|
3408
|
+
# * [RESOURCE\_CONTROL\_POLICY][2]
|
3409
|
+
#
|
3410
|
+
# * [BACKUP\_POLICY][3]
|
3391
3411
|
#
|
3392
|
-
# * [TAG\_POLICY][
|
3412
|
+
# * [TAG\_POLICY][4]
|
3393
3413
|
#
|
3394
|
-
# * [CHATBOT\_POLICY][
|
3414
|
+
# * [CHATBOT\_POLICY][5]
|
3395
3415
|
#
|
3396
|
-
# * [AISERVICES\_OPT\_OUT\_POLICY][
|
3416
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][6]
|
3397
3417
|
#
|
3398
3418
|
#
|
3399
3419
|
#
|
3400
3420
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
3401
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3402
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3403
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3404
|
-
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3421
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps.html
|
3422
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
3423
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3424
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
3425
|
+
# [6]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3405
3426
|
# @return [String]
|
3406
3427
|
#
|
3407
3428
|
# @!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" | "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"),
|
187
187
|
?tags: Array[
|
188
188
|
{
|
189
189
|
key: ::String,
|
@@ -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" | "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")
|
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" | "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")
|
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" | "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"),
|
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" | "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"),
|
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" | "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")
|
198
198
|
attr_accessor tags: ::Array[Types::Tag]
|
199
199
|
SENSITIVE: []
|
200
200
|
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" | "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")
|
341
341
|
SENSITIVE: []
|
342
342
|
end
|
343
343
|
|
@@ -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" | "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")
|
403
403
|
SENSITIVE: []
|
404
404
|
end
|
405
405
|
|
@@ -473,7 +473,7 @@ module Aws::Organizations
|
|
473
473
|
|
474
474
|
class InvalidInputException
|
475
475
|
attr_accessor message: ::String
|
476
|
-
attr_accessor reason: ("INVALID_PARTY_TYPE_TARGET" | "INVALID_SYNTAX_ORGANIZATION_ARN" | "INVALID_SYNTAX_POLICY_ID" | "INVALID_ENUM" | "INVALID_ENUM_POLICY_TYPE" | "INVALID_LIST_MEMBER" | "MAX_LENGTH_EXCEEDED" | "MAX_VALUE_EXCEEDED" | "MIN_LENGTH_EXCEEDED" | "MIN_VALUE_EXCEEDED" | "IMMUTABLE_POLICY" | "INVALID_PATTERN" | "INVALID_PATTERN_TARGET_ID" | "INPUT_REQUIRED" | "INVALID_NEXT_TOKEN" | "MAX_LIMIT_EXCEEDED_FILTER" | "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS" | "INVALID_FULL_NAME_TARGET" | "UNRECOGNIZED_SERVICE_PRINCIPAL" | "INVALID_ROLE_NAME" | "INVALID_SYSTEM_TAGS_PARAMETER" | "DUPLICATE_TAG_KEY" | "TARGET_NOT_SUPPORTED" | "INVALID_EMAIL_ADDRESS_TARGET" | "INVALID_RESOURCE_POLICY_JSON" | "UNSUPPORTED_ACTION_IN_RESOURCE_POLICY" | "UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY" | "UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY")
|
476
|
+
attr_accessor reason: ("INVALID_PARTY_TYPE_TARGET" | "INVALID_SYNTAX_ORGANIZATION_ARN" | "INVALID_SYNTAX_POLICY_ID" | "INVALID_ENUM" | "INVALID_ENUM_POLICY_TYPE" | "INVALID_LIST_MEMBER" | "MAX_LENGTH_EXCEEDED" | "MAX_VALUE_EXCEEDED" | "MIN_LENGTH_EXCEEDED" | "MIN_VALUE_EXCEEDED" | "IMMUTABLE_POLICY" | "INVALID_PATTERN" | "INVALID_PATTERN_TARGET_ID" | "INPUT_REQUIRED" | "INVALID_NEXT_TOKEN" | "MAX_LIMIT_EXCEEDED_FILTER" | "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS" | "INVALID_FULL_NAME_TARGET" | "UNRECOGNIZED_SERVICE_PRINCIPAL" | "INVALID_ROLE_NAME" | "INVALID_SYSTEM_TAGS_PARAMETER" | "DUPLICATE_TAG_KEY" | "TARGET_NOT_SUPPORTED" | "INVALID_EMAIL_ADDRESS_TARGET" | "INVALID_RESOURCE_POLICY_JSON" | "INVALID_PRINCIPAL" | "UNSUPPORTED_ACTION_IN_RESOURCE_POLICY" | "UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY" | "UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY" | "NON_DETACHABLE_POLICY")
|
477
477
|
SENSITIVE: []
|
478
478
|
end
|
479
479
|
|
@@ -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" | "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")
|
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" | "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")
|
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" | "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")
|
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" | "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")
|
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.108.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-
|
11
|
+
date: 2024-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|