aws-sdk-organizations 1.103.0 → 1.105.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 +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
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::Organizations::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,121 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :accept_handshake
|
74
|
-
Aws::Organizations::Endpoints::AcceptHandshake.build(context)
|
75
|
-
when :attach_policy
|
76
|
-
Aws::Organizations::Endpoints::AttachPolicy.build(context)
|
77
|
-
when :cancel_handshake
|
78
|
-
Aws::Organizations::Endpoints::CancelHandshake.build(context)
|
79
|
-
when :close_account
|
80
|
-
Aws::Organizations::Endpoints::CloseAccount.build(context)
|
81
|
-
when :create_account
|
82
|
-
Aws::Organizations::Endpoints::CreateAccount.build(context)
|
83
|
-
when :create_gov_cloud_account
|
84
|
-
Aws::Organizations::Endpoints::CreateGovCloudAccount.build(context)
|
85
|
-
when :create_organization
|
86
|
-
Aws::Organizations::Endpoints::CreateOrganization.build(context)
|
87
|
-
when :create_organizational_unit
|
88
|
-
Aws::Organizations::Endpoints::CreateOrganizationalUnit.build(context)
|
89
|
-
when :create_policy
|
90
|
-
Aws::Organizations::Endpoints::CreatePolicy.build(context)
|
91
|
-
when :decline_handshake
|
92
|
-
Aws::Organizations::Endpoints::DeclineHandshake.build(context)
|
93
|
-
when :delete_organization
|
94
|
-
Aws::Organizations::Endpoints::DeleteOrganization.build(context)
|
95
|
-
when :delete_organizational_unit
|
96
|
-
Aws::Organizations::Endpoints::DeleteOrganizationalUnit.build(context)
|
97
|
-
when :delete_policy
|
98
|
-
Aws::Organizations::Endpoints::DeletePolicy.build(context)
|
99
|
-
when :delete_resource_policy
|
100
|
-
Aws::Organizations::Endpoints::DeleteResourcePolicy.build(context)
|
101
|
-
when :deregister_delegated_administrator
|
102
|
-
Aws::Organizations::Endpoints::DeregisterDelegatedAdministrator.build(context)
|
103
|
-
when :describe_account
|
104
|
-
Aws::Organizations::Endpoints::DescribeAccount.build(context)
|
105
|
-
when :describe_create_account_status
|
106
|
-
Aws::Organizations::Endpoints::DescribeCreateAccountStatus.build(context)
|
107
|
-
when :describe_effective_policy
|
108
|
-
Aws::Organizations::Endpoints::DescribeEffectivePolicy.build(context)
|
109
|
-
when :describe_handshake
|
110
|
-
Aws::Organizations::Endpoints::DescribeHandshake.build(context)
|
111
|
-
when :describe_organization
|
112
|
-
Aws::Organizations::Endpoints::DescribeOrganization.build(context)
|
113
|
-
when :describe_organizational_unit
|
114
|
-
Aws::Organizations::Endpoints::DescribeOrganizationalUnit.build(context)
|
115
|
-
when :describe_policy
|
116
|
-
Aws::Organizations::Endpoints::DescribePolicy.build(context)
|
117
|
-
when :describe_resource_policy
|
118
|
-
Aws::Organizations::Endpoints::DescribeResourcePolicy.build(context)
|
119
|
-
when :detach_policy
|
120
|
-
Aws::Organizations::Endpoints::DetachPolicy.build(context)
|
121
|
-
when :disable_aws_service_access
|
122
|
-
Aws::Organizations::Endpoints::DisableAWSServiceAccess.build(context)
|
123
|
-
when :disable_policy_type
|
124
|
-
Aws::Organizations::Endpoints::DisablePolicyType.build(context)
|
125
|
-
when :enable_aws_service_access
|
126
|
-
Aws::Organizations::Endpoints::EnableAWSServiceAccess.build(context)
|
127
|
-
when :enable_all_features
|
128
|
-
Aws::Organizations::Endpoints::EnableAllFeatures.build(context)
|
129
|
-
when :enable_policy_type
|
130
|
-
Aws::Organizations::Endpoints::EnablePolicyType.build(context)
|
131
|
-
when :invite_account_to_organization
|
132
|
-
Aws::Organizations::Endpoints::InviteAccountToOrganization.build(context)
|
133
|
-
when :leave_organization
|
134
|
-
Aws::Organizations::Endpoints::LeaveOrganization.build(context)
|
135
|
-
when :list_aws_service_access_for_organization
|
136
|
-
Aws::Organizations::Endpoints::ListAWSServiceAccessForOrganization.build(context)
|
137
|
-
when :list_accounts
|
138
|
-
Aws::Organizations::Endpoints::ListAccounts.build(context)
|
139
|
-
when :list_accounts_for_parent
|
140
|
-
Aws::Organizations::Endpoints::ListAccountsForParent.build(context)
|
141
|
-
when :list_children
|
142
|
-
Aws::Organizations::Endpoints::ListChildren.build(context)
|
143
|
-
when :list_create_account_status
|
144
|
-
Aws::Organizations::Endpoints::ListCreateAccountStatus.build(context)
|
145
|
-
when :list_delegated_administrators
|
146
|
-
Aws::Organizations::Endpoints::ListDelegatedAdministrators.build(context)
|
147
|
-
when :list_delegated_services_for_account
|
148
|
-
Aws::Organizations::Endpoints::ListDelegatedServicesForAccount.build(context)
|
149
|
-
when :list_handshakes_for_account
|
150
|
-
Aws::Organizations::Endpoints::ListHandshakesForAccount.build(context)
|
151
|
-
when :list_handshakes_for_organization
|
152
|
-
Aws::Organizations::Endpoints::ListHandshakesForOrganization.build(context)
|
153
|
-
when :list_organizational_units_for_parent
|
154
|
-
Aws::Organizations::Endpoints::ListOrganizationalUnitsForParent.build(context)
|
155
|
-
when :list_parents
|
156
|
-
Aws::Organizations::Endpoints::ListParents.build(context)
|
157
|
-
when :list_policies
|
158
|
-
Aws::Organizations::Endpoints::ListPolicies.build(context)
|
159
|
-
when :list_policies_for_target
|
160
|
-
Aws::Organizations::Endpoints::ListPoliciesForTarget.build(context)
|
161
|
-
when :list_roots
|
162
|
-
Aws::Organizations::Endpoints::ListRoots.build(context)
|
163
|
-
when :list_tags_for_resource
|
164
|
-
Aws::Organizations::Endpoints::ListTagsForResource.build(context)
|
165
|
-
when :list_targets_for_policy
|
166
|
-
Aws::Organizations::Endpoints::ListTargetsForPolicy.build(context)
|
167
|
-
when :move_account
|
168
|
-
Aws::Organizations::Endpoints::MoveAccount.build(context)
|
169
|
-
when :put_resource_policy
|
170
|
-
Aws::Organizations::Endpoints::PutResourcePolicy.build(context)
|
171
|
-
when :register_delegated_administrator
|
172
|
-
Aws::Organizations::Endpoints::RegisterDelegatedAdministrator.build(context)
|
173
|
-
when :remove_account_from_organization
|
174
|
-
Aws::Organizations::Endpoints::RemoveAccountFromOrganization.build(context)
|
175
|
-
when :tag_resource
|
176
|
-
Aws::Organizations::Endpoints::TagResource.build(context)
|
177
|
-
when :untag_resource
|
178
|
-
Aws::Organizations::Endpoints::UntagResource.build(context)
|
179
|
-
when :update_organizational_unit
|
180
|
-
Aws::Organizations::Endpoints::UpdateOrganizationalUnit.build(context)
|
181
|
-
when :update_policy
|
182
|
-
Aws::Organizations::Endpoints::UpdatePolicy.build(context)
|
183
|
-
end
|
184
|
-
end
|
185
70
|
end
|
186
71
|
|
187
72
|
def add_handlers(handlers, _config)
|
@@ -1205,20 +1205,23 @@ module Aws::Organizations
|
|
1205
1205
|
# The type of policy to create. You can specify one of the following
|
1206
1206
|
# values:
|
1207
1207
|
#
|
1208
|
-
# * [
|
1208
|
+
# * [SERVICE\_CONTROL\_POLICY][1]
|
1209
1209
|
#
|
1210
1210
|
# * [BACKUP\_POLICY][2]
|
1211
1211
|
#
|
1212
|
-
# * [
|
1212
|
+
# * [TAG\_POLICY][3]
|
1213
|
+
#
|
1214
|
+
# * [CHATBOT\_POLICY][4]
|
1213
1215
|
#
|
1214
|
-
# * [
|
1216
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
1215
1217
|
#
|
1216
1218
|
#
|
1217
1219
|
#
|
1218
|
-
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1220
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1219
1221
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1220
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1221
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1222
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1223
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1224
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1222
1225
|
# @return [String]
|
1223
1226
|
#
|
1224
1227
|
# @!attribute [rw] tags
|
@@ -1519,17 +1522,20 @@ module Aws::Organizations
|
|
1519
1522
|
# The type of policy that you want information about. You can specify
|
1520
1523
|
# one of the following values:
|
1521
1524
|
#
|
1522
|
-
# * [
|
1525
|
+
# * [BACKUP\_POLICY][1]
|
1523
1526
|
#
|
1524
|
-
# * [
|
1527
|
+
# * [TAG\_POLICY][2]
|
1525
1528
|
#
|
1526
|
-
# * [
|
1529
|
+
# * [CHATBOT\_POLICY][3]
|
1527
1530
|
#
|
1531
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][4]
|
1528
1532
|
#
|
1529
1533
|
#
|
1530
|
-
#
|
1531
|
-
# [
|
1532
|
-
# [
|
1534
|
+
#
|
1535
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1536
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1537
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1538
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1533
1539
|
# @return [String]
|
1534
1540
|
#
|
1535
1541
|
# @!attribute [rw] target_id
|
@@ -1786,20 +1792,23 @@ module Aws::Organizations
|
|
1786
1792
|
# The policy type that you want to disable in this root. You can
|
1787
1793
|
# specify one of the following values:
|
1788
1794
|
#
|
1789
|
-
# * [
|
1795
|
+
# * [SERVICE\_CONTROL\_POLICY][1]
|
1790
1796
|
#
|
1791
1797
|
# * [BACKUP\_POLICY][2]
|
1792
1798
|
#
|
1793
|
-
# * [
|
1799
|
+
# * [TAG\_POLICY][3]
|
1800
|
+
#
|
1801
|
+
# * [CHATBOT\_POLICY][4]
|
1794
1802
|
#
|
1795
|
-
# * [
|
1803
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
1796
1804
|
#
|
1797
1805
|
#
|
1798
1806
|
#
|
1799
|
-
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1807
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1800
1808
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1801
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1802
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
1809
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1810
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
1811
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1803
1812
|
# @return [String]
|
1804
1813
|
#
|
1805
1814
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyTypeRequest AWS API Documentation
|
@@ -1992,20 +2001,23 @@ module Aws::Organizations
|
|
1992
2001
|
# The policy type that you want to enable. You can specify one of the
|
1993
2002
|
# following values:
|
1994
2003
|
#
|
1995
|
-
# * [
|
2004
|
+
# * [SERVICE\_CONTROL\_POLICY][1]
|
1996
2005
|
#
|
1997
2006
|
# * [BACKUP\_POLICY][2]
|
1998
2007
|
#
|
1999
|
-
# * [
|
2008
|
+
# * [TAG\_POLICY][3]
|
2009
|
+
#
|
2010
|
+
# * [CHATBOT\_POLICY][4]
|
2000
2011
|
#
|
2001
|
-
# * [
|
2012
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
2002
2013
|
#
|
2003
2014
|
#
|
2004
2015
|
#
|
2005
|
-
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2016
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
2006
2017
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
2007
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2008
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
2018
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
2019
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
2020
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
2009
2021
|
# @return [String]
|
2010
2022
|
#
|
2011
2023
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyTypeRequest AWS API Documentation
|
@@ -3297,20 +3309,23 @@ module Aws::Organizations
|
|
3297
3309
|
# The type of policy that you want to include in the returned list.
|
3298
3310
|
# You must specify one of the following values:
|
3299
3311
|
#
|
3300
|
-
# * [
|
3312
|
+
# * [SERVICE\_CONTROL\_POLICY][1]
|
3301
3313
|
#
|
3302
3314
|
# * [BACKUP\_POLICY][2]
|
3303
3315
|
#
|
3304
|
-
# * [
|
3316
|
+
# * [TAG\_POLICY][3]
|
3317
|
+
#
|
3318
|
+
# * [CHATBOT\_POLICY][4]
|
3305
3319
|
#
|
3306
|
-
# * [
|
3320
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
3307
3321
|
#
|
3308
3322
|
#
|
3309
3323
|
#
|
3310
|
-
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3324
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
3311
3325
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
3312
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3313
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3326
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3327
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
3328
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3314
3329
|
# @return [String]
|
3315
3330
|
#
|
3316
3331
|
# @!attribute [rw] next_token
|
@@ -3370,20 +3385,23 @@ module Aws::Organizations
|
|
3370
3385
|
# Specifies the type of policy that you want to include in the
|
3371
3386
|
# response. You must specify one of the following values:
|
3372
3387
|
#
|
3373
|
-
# * [
|
3388
|
+
# * [SERVICE\_CONTROL\_POLICY][1]
|
3374
3389
|
#
|
3375
3390
|
# * [BACKUP\_POLICY][2]
|
3376
3391
|
#
|
3377
|
-
# * [
|
3392
|
+
# * [TAG\_POLICY][3]
|
3378
3393
|
#
|
3379
|
-
# * [
|
3394
|
+
# * [CHATBOT\_POLICY][4]
|
3380
3395
|
#
|
3396
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][5]
|
3381
3397
|
#
|
3382
3398
|
#
|
3383
|
-
#
|
3399
|
+
#
|
3400
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
3384
3401
|
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
3385
|
-
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3386
|
-
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
3402
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3403
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html
|
3404
|
+
# [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3387
3405
|
# @return [String]
|
3388
3406
|
#
|
3389
3407
|
# @!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"),
|
186
|
+
type: ("SERVICE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY"),
|
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"),
|
259
|
+
policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY"),
|
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" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY")
|
330
|
+
policy_type: ("SERVICE_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")
|
356
|
+
policy_type: ("SERVICE_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"),
|
539
|
+
filter: ("SERVICE_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"),
|
553
|
+
filter: ("SERVICE_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")
|
197
|
+
attr_accessor type: ("SERVICE_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
|
@@ -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")
|
272
|
+
attr_accessor policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY")
|
273
273
|
attr_accessor target_id: ::String
|
274
274
|
SENSITIVE: []
|
275
275
|
end
|
@@ -337,7 +337,7 @@ module Aws::Organizations
|
|
337
337
|
|
338
338
|
class DisablePolicyTypeRequest
|
339
339
|
attr_accessor root_id: ::String
|
340
|
-
attr_accessor policy_type: ("SERVICE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY")
|
340
|
+
attr_accessor policy_type: ("SERVICE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY")
|
341
341
|
SENSITIVE: []
|
342
342
|
end
|
343
343
|
|
@@ -375,7 +375,7 @@ module Aws::Organizations
|
|
375
375
|
attr_accessor policy_content: ::String
|
376
376
|
attr_accessor last_updated_timestamp: ::Time
|
377
377
|
attr_accessor target_id: ::String
|
378
|
-
attr_accessor policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY")
|
378
|
+
attr_accessor policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY")
|
379
379
|
SENSITIVE: []
|
380
380
|
end
|
381
381
|
|
@@ -399,7 +399,7 @@ module Aws::Organizations
|
|
399
399
|
|
400
400
|
class EnablePolicyTypeRequest
|
401
401
|
attr_accessor root_id: ::String
|
402
|
-
attr_accessor policy_type: ("SERVICE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY")
|
402
|
+
attr_accessor policy_type: ("SERVICE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY")
|
403
403
|
SENSITIVE: []
|
404
404
|
end
|
405
405
|
|
@@ -633,7 +633,7 @@ module Aws::Organizations
|
|
633
633
|
|
634
634
|
class ListPoliciesForTargetRequest
|
635
635
|
attr_accessor target_id: ::String
|
636
|
-
attr_accessor filter: ("SERVICE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY")
|
636
|
+
attr_accessor filter: ("SERVICE_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")
|
649
|
+
attr_accessor filter: ("SERVICE_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")
|
790
|
+
attr_accessor type: ("SERVICE_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")
|
819
|
+
attr_accessor type: ("SERVICE_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.105.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-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.210.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.210.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|