aws-sdk-organizations 1.103.0 → 1.105.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 +81 -60
- data/lib/aws-sdk-organizations/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-organizations/endpoints.rb +2 -603
- data/lib/aws-sdk-organizations/plugins/endpoints.rb +1 -116
- data/lib/aws-sdk-organizations/types.rb +54 -36
- data/lib/aws-sdk-organizations.rb +1 -1
- data/sig/client.rbs +6 -6
- data/sig/types.rbs +9 -9
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4fa27e414ffd9d6a5f1e99b3e3a8ff22ccf164e190c01041f5a4324f3eac995
|
4
|
+
data.tar.gz: 5d267eac240830e60f355f67ff2f6263743d2dc55c47ac962d3fbbabd8f1b648
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb74ce644200653305c95e70b4b42ce2cfcd6db3429bd8cb53bfc9f3cdcb405318a0157be71bb7749ad7fda11bed50d1e8b15068d0dcea7ee17456d47f0631e1
|
7
|
+
data.tar.gz: 9a806762432cfb8215af03abeee238b26b626fcf91f59bc1b5934efc03c7257de55f9c9cecfe1dc7ef85667270762eeb5c293fccd25e1cc9abb5f728ac065a3f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.105.0 (2024-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.104.0 (2024-09-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add support for policy operations on the CHATBOT_POLICY policy type.
|
13
|
+
|
4
14
|
1.103.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.105.0
|
@@ -596,13 +596,15 @@ module Aws::Organizations
|
|
596
596
|
# type of policy. Refer to the *Organizations User Guide* for
|
597
597
|
# information about each policy type:
|
598
598
|
#
|
599
|
-
# * [
|
599
|
+
# * [SERVICE\_CONTROL\_POLICY][1]
|
600
600
|
#
|
601
601
|
# * [BACKUP\_POLICY][2]
|
602
602
|
#
|
603
|
-
# * [
|
603
|
+
# * [TAG\_POLICY][3]
|
604
604
|
#
|
605
|
-
# * [
|
605
|
+
# * [CHATBOT\_POLICY][4]
|
606
|
+
#
|
607
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
606
608
|
#
|
607
609
|
# This operation can be called only from the organization's management
|
608
610
|
# account or by a member account that is a delegated administrator for
|
@@ -610,10 +612,11 @@ module Aws::Organizations
|
|
610
612
|
#
|
611
613
|
#
|
612
614
|
#
|
613
|
-
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
615
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
614
616
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
615
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
616
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
617
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
618
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
619
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
617
620
|
#
|
618
621
|
# @option params [required, String] :policy_id
|
619
622
|
# The unique identifier (ID) of the policy that you want to attach to
|
@@ -1518,7 +1521,7 @@ module Aws::Organizations
|
|
1518
1521
|
# resp.organization.master_account_id #=> String
|
1519
1522
|
# resp.organization.master_account_email #=> String
|
1520
1523
|
# resp.organization.available_policy_types #=> Array
|
1521
|
-
# resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
1524
|
+
# resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
1522
1525
|
# resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
1523
1526
|
#
|
1524
1527
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganization AWS API Documentation
|
@@ -1688,20 +1691,23 @@ module Aws::Organizations
|
|
1688
1691
|
# The type of policy to create. You can specify one of the following
|
1689
1692
|
# values:
|
1690
1693
|
#
|
1691
|
-
# * [
|
1694
|
+
# * [SERVICE\_CONTROL\_POLICY][1]
|
1692
1695
|
#
|
1693
1696
|
# * [BACKUP\_POLICY][2]
|
1694
1697
|
#
|
1695
|
-
# * [
|
1698
|
+
# * [TAG\_POLICY][3]
|
1699
|
+
#
|
1700
|
+
# * [CHATBOT\_POLICY][4]
|
1696
1701
|
#
|
1697
|
-
# * [
|
1702
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
1698
1703
|
#
|
1699
1704
|
#
|
1700
1705
|
#
|
1701
|
-
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1706
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1702
1707
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1703
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1704
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1708
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1709
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1710
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1705
1711
|
#
|
1706
1712
|
# @option params [Array<Types::Tag>] :tags
|
1707
1713
|
# A list of tags that you want to attach to the newly created policy.
|
@@ -1758,7 +1764,7 @@ module Aws::Organizations
|
|
1758
1764
|
# content: "PolicyContent", # required
|
1759
1765
|
# description: "PolicyDescription", # required
|
1760
1766
|
# name: "PolicyName", # required
|
1761
|
-
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1767
|
+
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
1762
1768
|
# tags: [
|
1763
1769
|
# {
|
1764
1770
|
# key: "TagKey", # required
|
@@ -1773,7 +1779,7 @@ module Aws::Organizations
|
|
1773
1779
|
# resp.policy.policy_summary.arn #=> String
|
1774
1780
|
# resp.policy.policy_summary.name #=> String
|
1775
1781
|
# resp.policy.policy_summary.description #=> String
|
1776
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
1782
|
+
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
1777
1783
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
1778
1784
|
# resp.policy.content #=> String
|
1779
1785
|
#
|
@@ -2237,17 +2243,20 @@ module Aws::Organizations
|
|
2237
2243
|
# The type of policy that you want information about. You can specify
|
2238
2244
|
# one of the following values:
|
2239
2245
|
#
|
2240
|
-
# * [
|
2246
|
+
# * [BACKUP\_POLICY][1]
|
2241
2247
|
#
|
2242
|
-
# * [
|
2248
|
+
# * [TAG\_POLICY][2]
|
2243
2249
|
#
|
2244
|
-
# * [
|
2250
|
+
# * [CHATBOT\_POLICY][3]
|
2245
2251
|
#
|
2252
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][4]
|
2246
2253
|
#
|
2247
2254
|
#
|
2248
|
-
#
|
2249
|
-
# [
|
2250
|
-
# [
|
2255
|
+
#
|
2256
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
2257
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
2258
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
2259
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
2251
2260
|
#
|
2252
2261
|
# @option params [String] :target_id
|
2253
2262
|
# When you're signed in as the management account, specify the ID of
|
@@ -2261,7 +2270,7 @@ module Aws::Organizations
|
|
2261
2270
|
# @example Request syntax with placeholder values
|
2262
2271
|
#
|
2263
2272
|
# resp = client.describe_effective_policy({
|
2264
|
-
# policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
2273
|
+
# policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
2265
2274
|
# target_id: "PolicyTargetId",
|
2266
2275
|
# })
|
2267
2276
|
#
|
@@ -2270,7 +2279,7 @@ module Aws::Organizations
|
|
2270
2279
|
# resp.effective_policy.policy_content #=> String
|
2271
2280
|
# resp.effective_policy.last_updated_timestamp #=> Time
|
2272
2281
|
# resp.effective_policy.target_id #=> String
|
2273
|
-
# resp.effective_policy.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
2282
|
+
# resp.effective_policy.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
2274
2283
|
#
|
2275
2284
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicy AWS API Documentation
|
2276
2285
|
#
|
@@ -2441,7 +2450,7 @@ module Aws::Organizations
|
|
2441
2450
|
# resp.organization.master_account_id #=> String
|
2442
2451
|
# resp.organization.master_account_email #=> String
|
2443
2452
|
# resp.organization.available_policy_types #=> Array
|
2444
|
-
# resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
2453
|
+
# resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
2445
2454
|
# resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
2446
2455
|
#
|
2447
2456
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganization AWS API Documentation
|
@@ -2575,7 +2584,7 @@ module Aws::Organizations
|
|
2575
2584
|
# resp.policy.policy_summary.arn #=> String
|
2576
2585
|
# resp.policy.policy_summary.name #=> String
|
2577
2586
|
# resp.policy.policy_summary.description #=> String
|
2578
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
2587
|
+
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
2579
2588
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
2580
2589
|
# resp.policy.content #=> String
|
2581
2590
|
#
|
@@ -2834,20 +2843,23 @@ module Aws::Organizations
|
|
2834
2843
|
# The policy type that you want to disable in this root. You can specify
|
2835
2844
|
# one of the following values:
|
2836
2845
|
#
|
2837
|
-
# * [
|
2846
|
+
# * [SERVICE\_CONTROL\_POLICY][1]
|
2838
2847
|
#
|
2839
2848
|
# * [BACKUP\_POLICY][2]
|
2840
2849
|
#
|
2841
|
-
# * [
|
2850
|
+
# * [TAG\_POLICY][3]
|
2851
|
+
#
|
2852
|
+
# * [CHATBOT\_POLICY][4]
|
2842
2853
|
#
|
2843
|
-
# * [
|
2854
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
2844
2855
|
#
|
2845
2856
|
#
|
2846
2857
|
#
|
2847
|
-
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2858
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
2848
2859
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
2849
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2850
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2860
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
2861
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
2862
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
2851
2863
|
#
|
2852
2864
|
# @return [Types::DisablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2853
2865
|
#
|
@@ -2879,7 +2891,7 @@ module Aws::Organizations
|
|
2879
2891
|
#
|
2880
2892
|
# resp = client.disable_policy_type({
|
2881
2893
|
# root_id: "RootId", # required
|
2882
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
2894
|
+
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
2883
2895
|
# })
|
2884
2896
|
#
|
2885
2897
|
# @example Response structure
|
@@ -2888,7 +2900,7 @@ module Aws::Organizations
|
|
2888
2900
|
# resp.root.arn #=> String
|
2889
2901
|
# resp.root.name #=> String
|
2890
2902
|
# resp.root.policy_types #=> Array
|
2891
|
-
# resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
2903
|
+
# resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
2892
2904
|
# resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
2893
2905
|
#
|
2894
2906
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyType AWS API Documentation
|
@@ -3089,20 +3101,23 @@ module Aws::Organizations
|
|
3089
3101
|
# The policy type that you want to enable. You can specify one of the
|
3090
3102
|
# following values:
|
3091
3103
|
#
|
3092
|
-
# * [
|
3104
|
+
# * [SERVICE\_CONTROL\_POLICY][1]
|
3093
3105
|
#
|
3094
3106
|
# * [BACKUP\_POLICY][2]
|
3095
3107
|
#
|
3096
|
-
# * [
|
3108
|
+
# * [TAG\_POLICY][3]
|
3109
|
+
#
|
3110
|
+
# * [CHATBOT\_POLICY][4]
|
3097
3111
|
#
|
3098
|
-
# * [
|
3112
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
3099
3113
|
#
|
3100
3114
|
#
|
3101
3115
|
#
|
3102
|
-
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3116
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
3103
3117
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
3104
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3105
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3118
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3119
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
3120
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3106
3121
|
#
|
3107
3122
|
# @return [Types::EnablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3108
3123
|
#
|
@@ -3138,7 +3153,7 @@ module Aws::Organizations
|
|
3138
3153
|
#
|
3139
3154
|
# resp = client.enable_policy_type({
|
3140
3155
|
# root_id: "RootId", # required
|
3141
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
3156
|
+
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
3142
3157
|
# })
|
3143
3158
|
#
|
3144
3159
|
# @example Response structure
|
@@ -3147,7 +3162,7 @@ module Aws::Organizations
|
|
3147
3162
|
# resp.root.arn #=> String
|
3148
3163
|
# resp.root.name #=> String
|
3149
3164
|
# resp.root.policy_types #=> Array
|
3150
|
-
# resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
3165
|
+
# resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
3151
3166
|
# resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
3152
3167
|
#
|
3153
3168
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyType AWS API Documentation
|
@@ -4674,20 +4689,23 @@ module Aws::Organizations
|
|
4674
4689
|
# Specifies the type of policy that you want to include in the response.
|
4675
4690
|
# You must specify one of the following values:
|
4676
4691
|
#
|
4677
|
-
# * [
|
4692
|
+
# * [SERVICE\_CONTROL\_POLICY][1]
|
4678
4693
|
#
|
4679
4694
|
# * [BACKUP\_POLICY][2]
|
4680
4695
|
#
|
4681
|
-
# * [
|
4696
|
+
# * [TAG\_POLICY][3]
|
4697
|
+
#
|
4698
|
+
# * [CHATBOT\_POLICY][4]
|
4682
4699
|
#
|
4683
|
-
# * [
|
4700
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
4684
4701
|
#
|
4685
4702
|
#
|
4686
4703
|
#
|
4687
|
-
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4704
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
4688
4705
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
4689
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4690
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4706
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
4707
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
4708
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
4691
4709
|
#
|
4692
4710
|
# @option params [String] :next_token
|
4693
4711
|
# The parameter for receiving additional results if you receive a
|
@@ -4757,7 +4775,7 @@ module Aws::Organizations
|
|
4757
4775
|
# @example Request syntax with placeholder values
|
4758
4776
|
#
|
4759
4777
|
# resp = client.list_policies({
|
4760
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
4778
|
+
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
4761
4779
|
# next_token: "NextToken",
|
4762
4780
|
# max_results: 1,
|
4763
4781
|
# })
|
@@ -4769,7 +4787,7 @@ module Aws::Organizations
|
|
4769
4787
|
# resp.policies[0].arn #=> String
|
4770
4788
|
# resp.policies[0].name #=> String
|
4771
4789
|
# resp.policies[0].description #=> String
|
4772
|
-
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
4790
|
+
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
4773
4791
|
# resp.policies[0].aws_managed #=> Boolean
|
4774
4792
|
# resp.next_token #=> String
|
4775
4793
|
#
|
@@ -4823,20 +4841,23 @@ module Aws::Organizations
|
|
4823
4841
|
# The type of policy that you want to include in the returned list. You
|
4824
4842
|
# must specify one of the following values:
|
4825
4843
|
#
|
4826
|
-
# * [
|
4844
|
+
# * [SERVICE\_CONTROL\_POLICY][1]
|
4827
4845
|
#
|
4828
4846
|
# * [BACKUP\_POLICY][2]
|
4829
4847
|
#
|
4830
|
-
# * [
|
4848
|
+
# * [TAG\_POLICY][3]
|
4831
4849
|
#
|
4832
|
-
# * [
|
4850
|
+
# * [CHATBOT\_POLICY][4]
|
4833
4851
|
#
|
4852
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
4834
4853
|
#
|
4835
4854
|
#
|
4836
|
-
#
|
4855
|
+
#
|
4856
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
4837
4857
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
4838
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4839
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
4858
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
4859
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
4860
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
4840
4861
|
#
|
4841
4862
|
# @option params [String] :next_token
|
4842
4863
|
# The parameter for receiving additional results if you receive a
|
@@ -4894,7 +4915,7 @@ module Aws::Organizations
|
|
4894
4915
|
#
|
4895
4916
|
# resp = client.list_policies_for_target({
|
4896
4917
|
# target_id: "PolicyTargetId", # required
|
4897
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
4918
|
+
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY, CHATBOT_POLICY
|
4898
4919
|
# next_token: "NextToken",
|
4899
4920
|
# max_results: 1,
|
4900
4921
|
# })
|
@@ -4906,7 +4927,7 @@ module Aws::Organizations
|
|
4906
4927
|
# resp.policies[0].arn #=> String
|
4907
4928
|
# resp.policies[0].name #=> String
|
4908
4929
|
# resp.policies[0].description #=> String
|
4909
|
-
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
4930
|
+
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
4910
4931
|
# resp.policies[0].aws_managed #=> Boolean
|
4911
4932
|
# resp.next_token #=> String
|
4912
4933
|
#
|
@@ -5007,7 +5028,7 @@ module Aws::Organizations
|
|
5007
5028
|
# resp.roots[0].arn #=> String
|
5008
5029
|
# resp.roots[0].name #=> String
|
5009
5030
|
# resp.roots[0].policy_types #=> Array
|
5010
|
-
# resp.roots[0].policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
5031
|
+
# resp.roots[0].policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
5011
5032
|
# resp.roots[0].policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
5012
5033
|
# resp.next_token #=> String
|
5013
5034
|
#
|
@@ -5781,7 +5802,7 @@ module Aws::Organizations
|
|
5781
5802
|
# resp.policy.policy_summary.arn #=> String
|
5782
5803
|
# resp.policy.policy_summary.name #=> String
|
5783
5804
|
# resp.policy.policy_summary.description #=> String
|
5784
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
5805
|
+
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY"
|
5785
5806
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
5786
5807
|
# resp.policy.content #=> String
|
5787
5808
|
#
|
@@ -5812,7 +5833,7 @@ module Aws::Organizations
|
|
5812
5833
|
tracer: tracer
|
5813
5834
|
)
|
5814
5835
|
context[:gem_name] = 'aws-sdk-organizations'
|
5815
|
-
context[:gem_version] = '1.
|
5836
|
+
context[:gem_version] = '1.105.0'
|
5816
5837
|
Seahorse::Client::Request.new(handlers, context)
|
5817
5838
|
end
|
5818
5839
|
|
@@ -52,15 +52,18 @@ module Aws::Organizations
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|