aws-sdk-organizations 1.44.0 → 1.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-organizations.rb +1 -1
- data/lib/aws-sdk-organizations/client.rb +79 -58
- data/lib/aws-sdk-organizations/types.rb +68 -49
- 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: b95c85194f445ac7ca32a2c1db7d9a29ce094b35a2e7e3bf640b63eb1ffaf085
|
4
|
+
data.tar.gz: b865e200caf7a72cdea6388885b65b34deaeb12394d654484d02085bba37e807
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60a3a483e5b64d2bac7b172d1a57946592deec4e6723ed8bf6f55ec12ea27ddcddb447f0fd0c3e9f9764f71bd5fd6decb229cdf2f4f65132133bed0514bfdc91
|
7
|
+
data.tar.gz: 7b0c7fdebd2f45d108525958d4b5a53ac4312cdb4f95984694cb9cf493bc580abf6135ebc490172bc52882eab636b6c35fa4e5243b9c77b6d1b4485f63b5b6cb
|
@@ -464,20 +464,23 @@ module Aws::Organizations
|
|
464
464
|
# type of policy. Refer to the *AWS Organizations User Guide* for
|
465
465
|
# information about each policy type:
|
466
466
|
#
|
467
|
-
# * [
|
467
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
468
468
|
#
|
469
|
-
# * [
|
469
|
+
# * [BACKUP\_POLICY][2]
|
470
470
|
#
|
471
|
-
# * [
|
471
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
472
|
+
#
|
473
|
+
# * [TAG\_POLICY][4]
|
472
474
|
#
|
473
475
|
# This operation can be called only from the organization's master
|
474
476
|
# account.
|
475
477
|
#
|
476
478
|
#
|
477
479
|
#
|
478
|
-
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/
|
479
|
-
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/
|
480
|
-
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/
|
480
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
481
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
482
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
483
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
481
484
|
#
|
482
485
|
# @option params [required, String] :policy_id
|
483
486
|
# The unique identifier (ID) of the policy that you want to attach to
|
@@ -1190,7 +1193,7 @@ module Aws::Organizations
|
|
1190
1193
|
# resp.organization.master_account_id #=> String
|
1191
1194
|
# resp.organization.master_account_email #=> String
|
1192
1195
|
# resp.organization.available_policy_types #=> Array
|
1193
|
-
# resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY"
|
1196
|
+
# resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
1194
1197
|
# resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
1195
1198
|
#
|
1196
1199
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganization AWS API Documentation
|
@@ -1321,17 +1324,20 @@ module Aws::Organizations
|
|
1321
1324
|
# The type of policy to create. You can specify one of the following
|
1322
1325
|
# values:
|
1323
1326
|
#
|
1324
|
-
# * [
|
1327
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
1325
1328
|
#
|
1326
|
-
# * [
|
1329
|
+
# * [BACKUP\_POLICY][2]
|
1327
1330
|
#
|
1328
|
-
# * [
|
1331
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
1329
1332
|
#
|
1333
|
+
# * [TAG\_POLICY][4]
|
1330
1334
|
#
|
1331
1335
|
#
|
1332
|
-
#
|
1333
|
-
# [
|
1334
|
-
# [
|
1336
|
+
#
|
1337
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1338
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1339
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1340
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1335
1341
|
#
|
1336
1342
|
# @return [Types::CreatePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1337
1343
|
#
|
@@ -1371,7 +1377,7 @@ module Aws::Organizations
|
|
1371
1377
|
# content: "PolicyContent", # required
|
1372
1378
|
# description: "PolicyDescription", # required
|
1373
1379
|
# name: "PolicyName", # required
|
1374
|
-
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
|
1380
|
+
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1375
1381
|
# })
|
1376
1382
|
#
|
1377
1383
|
# @example Response structure
|
@@ -1380,7 +1386,7 @@ module Aws::Organizations
|
|
1380
1386
|
# resp.policy.policy_summary.arn #=> String
|
1381
1387
|
# resp.policy.policy_summary.name #=> String
|
1382
1388
|
# resp.policy.policy_summary.description #=> String
|
1383
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY"
|
1389
|
+
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
1384
1390
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
1385
1391
|
# resp.policy.content #=> String
|
1386
1392
|
#
|
@@ -1823,14 +1829,17 @@ module Aws::Organizations
|
|
1823
1829
|
# The type of policy that you want information about. You can specify
|
1824
1830
|
# one of the following values:
|
1825
1831
|
#
|
1826
|
-
# * [
|
1832
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
1833
|
+
#
|
1834
|
+
# * [BACKUP\_POLICY][2]
|
1827
1835
|
#
|
1828
|
-
# * [TAG\_POLICY][
|
1836
|
+
# * [TAG\_POLICY][3]
|
1829
1837
|
#
|
1830
1838
|
#
|
1831
1839
|
#
|
1832
|
-
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/
|
1833
|
-
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/
|
1840
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1841
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1842
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1834
1843
|
#
|
1835
1844
|
# @option params [String] :target_id
|
1836
1845
|
# When you're signed in as the master account, specify the ID of the
|
@@ -1844,7 +1853,7 @@ module Aws::Organizations
|
|
1844
1853
|
# @example Request syntax with placeholder values
|
1845
1854
|
#
|
1846
1855
|
# resp = client.describe_effective_policy({
|
1847
|
-
# policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY
|
1856
|
+
# policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1848
1857
|
# target_id: "PolicyTargetId",
|
1849
1858
|
# })
|
1850
1859
|
#
|
@@ -1853,7 +1862,7 @@ module Aws::Organizations
|
|
1853
1862
|
# resp.effective_policy.policy_content #=> String
|
1854
1863
|
# resp.effective_policy.last_updated_timestamp #=> Time
|
1855
1864
|
# resp.effective_policy.target_id #=> String
|
1856
|
-
# resp.effective_policy.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY"
|
1865
|
+
# resp.effective_policy.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
1857
1866
|
#
|
1858
1867
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicy AWS API Documentation
|
1859
1868
|
#
|
@@ -2024,7 +2033,7 @@ module Aws::Organizations
|
|
2024
2033
|
# resp.organization.master_account_id #=> String
|
2025
2034
|
# resp.organization.master_account_email #=> String
|
2026
2035
|
# resp.organization.available_policy_types #=> Array
|
2027
|
-
# resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY"
|
2036
|
+
# resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
2028
2037
|
# resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
2029
2038
|
#
|
2030
2039
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganization AWS API Documentation
|
@@ -2158,7 +2167,7 @@ module Aws::Organizations
|
|
2158
2167
|
# resp.policy.policy_summary.arn #=> String
|
2159
2168
|
# resp.policy.policy_summary.name #=> String
|
2160
2169
|
# resp.policy.policy_summary.description #=> String
|
2161
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY"
|
2170
|
+
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
2162
2171
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
2163
2172
|
# resp.policy.content #=> String
|
2164
2173
|
#
|
@@ -2357,17 +2366,20 @@ module Aws::Organizations
|
|
2357
2366
|
# The policy type that you want to disable in this root. You can specify
|
2358
2367
|
# one of the following values:
|
2359
2368
|
#
|
2360
|
-
# * [
|
2369
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
2361
2370
|
#
|
2362
|
-
# * [
|
2371
|
+
# * [BACKUP\_POLICY][2]
|
2363
2372
|
#
|
2364
|
-
# * [
|
2373
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
2365
2374
|
#
|
2375
|
+
# * [TAG\_POLICY][4]
|
2366
2376
|
#
|
2367
2377
|
#
|
2368
|
-
#
|
2369
|
-
# [
|
2370
|
-
# [
|
2378
|
+
#
|
2379
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
2380
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
2381
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
2382
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
2371
2383
|
#
|
2372
2384
|
# @return [Types::DisablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2373
2385
|
#
|
@@ -2399,7 +2411,7 @@ module Aws::Organizations
|
|
2399
2411
|
#
|
2400
2412
|
# resp = client.disable_policy_type({
|
2401
2413
|
# root_id: "RootId", # required
|
2402
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
|
2414
|
+
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
2403
2415
|
# })
|
2404
2416
|
#
|
2405
2417
|
# @example Response structure
|
@@ -2408,7 +2420,7 @@ module Aws::Organizations
|
|
2408
2420
|
# resp.root.arn #=> String
|
2409
2421
|
# resp.root.name #=> String
|
2410
2422
|
# resp.root.policy_types #=> Array
|
2411
|
-
# resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY"
|
2423
|
+
# resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
2412
2424
|
# resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
2413
2425
|
#
|
2414
2426
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyType AWS API Documentation
|
@@ -2604,17 +2616,20 @@ module Aws::Organizations
|
|
2604
2616
|
# The policy type that you want to enable. You can specify one of the
|
2605
2617
|
# following values:
|
2606
2618
|
#
|
2607
|
-
# * [
|
2619
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
2608
2620
|
#
|
2609
|
-
# * [
|
2621
|
+
# * [BACKUP\_POLICY][2]
|
2610
2622
|
#
|
2611
|
-
# * [
|
2623
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
2612
2624
|
#
|
2625
|
+
# * [TAG\_POLICY][4]
|
2613
2626
|
#
|
2614
2627
|
#
|
2615
|
-
#
|
2616
|
-
# [
|
2617
|
-
# [
|
2628
|
+
#
|
2629
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
2630
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
2631
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
2632
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
2618
2633
|
#
|
2619
2634
|
# @return [Types::EnablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2620
2635
|
#
|
@@ -2650,7 +2665,7 @@ module Aws::Organizations
|
|
2650
2665
|
#
|
2651
2666
|
# resp = client.enable_policy_type({
|
2652
2667
|
# root_id: "RootId", # required
|
2653
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
|
2668
|
+
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
2654
2669
|
# })
|
2655
2670
|
#
|
2656
2671
|
# @example Response structure
|
@@ -2659,7 +2674,7 @@ module Aws::Organizations
|
|
2659
2674
|
# resp.root.arn #=> String
|
2660
2675
|
# resp.root.name #=> String
|
2661
2676
|
# resp.root.policy_types #=> Array
|
2662
|
-
# resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY"
|
2677
|
+
# resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
2663
2678
|
# resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
2664
2679
|
#
|
2665
2680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyType AWS API Documentation
|
@@ -4131,17 +4146,20 @@ module Aws::Organizations
|
|
4131
4146
|
# Specifies the type of policy that you want to include in the response.
|
4132
4147
|
# You must specify one of the following values:
|
4133
4148
|
#
|
4134
|
-
# * [
|
4149
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
4135
4150
|
#
|
4136
|
-
# * [
|
4151
|
+
# * [BACKUP\_POLICY][2]
|
4137
4152
|
#
|
4138
|
-
# * [
|
4153
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
4139
4154
|
#
|
4155
|
+
# * [TAG\_POLICY][4]
|
4140
4156
|
#
|
4141
4157
|
#
|
4142
|
-
#
|
4143
|
-
# [
|
4144
|
-
# [
|
4158
|
+
#
|
4159
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
4160
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
4161
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
4162
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
4145
4163
|
#
|
4146
4164
|
# @option params [String] :next_token
|
4147
4165
|
# The parameter for receiving additional results if you receive a
|
@@ -4211,7 +4229,7 @@ module Aws::Organizations
|
|
4211
4229
|
# @example Request syntax with placeholder values
|
4212
4230
|
#
|
4213
4231
|
# resp = client.list_policies({
|
4214
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
|
4232
|
+
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
4215
4233
|
# next_token: "NextToken",
|
4216
4234
|
# max_results: 1,
|
4217
4235
|
# })
|
@@ -4223,7 +4241,7 @@ module Aws::Organizations
|
|
4223
4241
|
# resp.policies[0].arn #=> String
|
4224
4242
|
# resp.policies[0].name #=> String
|
4225
4243
|
# resp.policies[0].description #=> String
|
4226
|
-
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY"
|
4244
|
+
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
4227
4245
|
# resp.policies[0].aws_managed #=> Boolean
|
4228
4246
|
# resp.next_token #=> String
|
4229
4247
|
#
|
@@ -4277,17 +4295,20 @@ module Aws::Organizations
|
|
4277
4295
|
# The type of policy that you want to include in the returned list. You
|
4278
4296
|
# must specify one of the following values:
|
4279
4297
|
#
|
4280
|
-
# * [
|
4298
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
4281
4299
|
#
|
4282
|
-
# * [
|
4300
|
+
# * [BACKUP\_POLICY][2]
|
4283
4301
|
#
|
4284
|
-
# * [
|
4302
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
4285
4303
|
#
|
4304
|
+
# * [TAG\_POLICY][4]
|
4286
4305
|
#
|
4287
4306
|
#
|
4288
|
-
#
|
4289
|
-
# [
|
4290
|
-
# [
|
4307
|
+
#
|
4308
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
4309
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
4310
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
4311
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
4291
4312
|
#
|
4292
4313
|
# @option params [String] :next_token
|
4293
4314
|
# The parameter for receiving additional results if you receive a
|
@@ -4345,7 +4366,7 @@ module Aws::Organizations
|
|
4345
4366
|
#
|
4346
4367
|
# resp = client.list_policies_for_target({
|
4347
4368
|
# target_id: "PolicyTargetId", # required
|
4348
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
|
4369
|
+
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
4349
4370
|
# next_token: "NextToken",
|
4350
4371
|
# max_results: 1,
|
4351
4372
|
# })
|
@@ -4357,7 +4378,7 @@ module Aws::Organizations
|
|
4357
4378
|
# resp.policies[0].arn #=> String
|
4358
4379
|
# resp.policies[0].name #=> String
|
4359
4380
|
# resp.policies[0].description #=> String
|
4360
|
-
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY"
|
4381
|
+
# resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
4361
4382
|
# resp.policies[0].aws_managed #=> Boolean
|
4362
4383
|
# resp.next_token #=> String
|
4363
4384
|
#
|
@@ -4458,7 +4479,7 @@ module Aws::Organizations
|
|
4458
4479
|
# resp.roots[0].arn #=> String
|
4459
4480
|
# resp.roots[0].name #=> String
|
4460
4481
|
# resp.roots[0].policy_types #=> Array
|
4461
|
-
# resp.roots[0].policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY"
|
4482
|
+
# resp.roots[0].policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
4462
4483
|
# resp.roots[0].policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
|
4463
4484
|
# resp.next_token #=> String
|
4464
4485
|
#
|
@@ -5085,7 +5106,7 @@ module Aws::Organizations
|
|
5085
5106
|
# resp.policy.policy_summary.arn #=> String
|
5086
5107
|
# resp.policy.policy_summary.name #=> String
|
5087
5108
|
# resp.policy.policy_summary.description #=> String
|
5088
|
-
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY"
|
5109
|
+
# resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
|
5089
5110
|
# resp.policy.policy_summary.aws_managed #=> Boolean
|
5090
5111
|
# resp.policy.content #=> String
|
5091
5112
|
#
|
@@ -5111,7 +5132,7 @@ module Aws::Organizations
|
|
5111
5132
|
params: params,
|
5112
5133
|
config: config)
|
5113
5134
|
context[:gem_name] = 'aws-sdk-organizations'
|
5114
|
-
context[:gem_version] = '1.
|
5135
|
+
context[:gem_version] = '1.45.0'
|
5115
5136
|
Seahorse::Client::Request.new(handlers, context)
|
5116
5137
|
end
|
5117
5138
|
|
@@ -1014,7 +1014,7 @@ module Aws::Organizations
|
|
1014
1014
|
# content: "PolicyContent", # required
|
1015
1015
|
# description: "PolicyDescription", # required
|
1016
1016
|
# name: "PolicyName", # required
|
1017
|
-
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
|
1017
|
+
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1018
1018
|
# }
|
1019
1019
|
#
|
1020
1020
|
# @!attribute [rw] content
|
@@ -1042,17 +1042,20 @@ module Aws::Organizations
|
|
1042
1042
|
# The type of policy to create. You can specify one of the following
|
1043
1043
|
# values:
|
1044
1044
|
#
|
1045
|
-
# * [
|
1045
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
1046
1046
|
#
|
1047
|
-
# * [
|
1047
|
+
# * [BACKUP\_POLICY][2]
|
1048
1048
|
#
|
1049
|
-
# * [
|
1049
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
1050
1050
|
#
|
1051
|
+
# * [TAG\_POLICY][4]
|
1051
1052
|
#
|
1052
1053
|
#
|
1053
|
-
#
|
1054
|
-
# [
|
1055
|
-
# [
|
1054
|
+
#
|
1055
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1056
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1057
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1058
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1056
1059
|
# @return [String]
|
1057
1060
|
#
|
1058
1061
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreatePolicyRequest AWS API Documentation
|
@@ -1376,7 +1379,7 @@ module Aws::Organizations
|
|
1376
1379
|
# data as a hash:
|
1377
1380
|
#
|
1378
1381
|
# {
|
1379
|
-
# policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY
|
1382
|
+
# policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1380
1383
|
# target_id: "PolicyTargetId",
|
1381
1384
|
# }
|
1382
1385
|
#
|
@@ -1384,14 +1387,17 @@ module Aws::Organizations
|
|
1384
1387
|
# The type of policy that you want information about. You can specify
|
1385
1388
|
# one of the following values:
|
1386
1389
|
#
|
1387
|
-
# * [
|
1390
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
1388
1391
|
#
|
1389
|
-
# * [
|
1392
|
+
# * [BACKUP\_POLICY][2]
|
1393
|
+
#
|
1394
|
+
# * [TAG\_POLICY][3]
|
1390
1395
|
#
|
1391
1396
|
#
|
1392
1397
|
#
|
1393
|
-
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/
|
1394
|
-
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/
|
1398
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1399
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1400
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1395
1401
|
# @return [String]
|
1396
1402
|
#
|
1397
1403
|
# @!attribute [rw] target_id
|
@@ -1464,6 +1470,12 @@ module Aws::Organizations
|
|
1464
1470
|
|
1465
1471
|
# @!attribute [rw] organization
|
1466
1472
|
# A structure that contains information about the organization.
|
1473
|
+
#
|
1474
|
+
# The `AvailablePolicyTypes` part of the response is deprecated, and
|
1475
|
+
# you shouldn't use it in your apps. It doesn't include any policy
|
1476
|
+
# type supported by Organizations other than SCPs. To determine which
|
1477
|
+
# policy types are enabled in your organization, use the ` ListRoots `
|
1478
|
+
# operation.
|
1467
1479
|
# @return [Types::Organization]
|
1468
1480
|
#
|
1469
1481
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganizationResponse AWS API Documentation
|
@@ -1653,7 +1665,7 @@ module Aws::Organizations
|
|
1653
1665
|
#
|
1654
1666
|
# {
|
1655
1667
|
# root_id: "RootId", # required
|
1656
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
|
1668
|
+
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1657
1669
|
# }
|
1658
1670
|
#
|
1659
1671
|
# @!attribute [rw] root_id
|
@@ -1672,17 +1684,20 @@ module Aws::Organizations
|
|
1672
1684
|
# The policy type that you want to disable in this root. You can
|
1673
1685
|
# specify one of the following values:
|
1674
1686
|
#
|
1675
|
-
# * [
|
1687
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
1676
1688
|
#
|
1677
|
-
# * [
|
1689
|
+
# * [BACKUP\_POLICY][2]
|
1678
1690
|
#
|
1679
|
-
# * [
|
1691
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
1680
1692
|
#
|
1693
|
+
# * [TAG\_POLICY][4]
|
1681
1694
|
#
|
1682
1695
|
#
|
1683
|
-
#
|
1684
|
-
# [
|
1685
|
-
# [
|
1696
|
+
#
|
1697
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1698
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1699
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1700
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1686
1701
|
# @return [String]
|
1687
1702
|
#
|
1688
1703
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyTypeRequest AWS API Documentation
|
@@ -1870,7 +1885,7 @@ module Aws::Organizations
|
|
1870
1885
|
#
|
1871
1886
|
# {
|
1872
1887
|
# root_id: "RootId", # required
|
1873
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
|
1888
|
+
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1874
1889
|
# }
|
1875
1890
|
#
|
1876
1891
|
# @!attribute [rw] root_id
|
@@ -1889,17 +1904,20 @@ module Aws::Organizations
|
|
1889
1904
|
# The policy type that you want to enable. You can specify one of the
|
1890
1905
|
# following values:
|
1891
1906
|
#
|
1892
|
-
# * [
|
1907
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
1893
1908
|
#
|
1894
|
-
# * [
|
1909
|
+
# * [BACKUP\_POLICY][2]
|
1895
1910
|
#
|
1896
|
-
# * [
|
1911
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
1897
1912
|
#
|
1913
|
+
# * [TAG\_POLICY][4]
|
1898
1914
|
#
|
1899
1915
|
#
|
1900
|
-
#
|
1901
|
-
# [
|
1902
|
-
# [
|
1916
|
+
#
|
1917
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1918
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1919
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1920
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1903
1921
|
# @return [String]
|
1904
1922
|
#
|
1905
1923
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyTypeRequest AWS API Documentation
|
@@ -3249,7 +3267,7 @@ module Aws::Organizations
|
|
3249
3267
|
#
|
3250
3268
|
# {
|
3251
3269
|
# target_id: "PolicyTargetId", # required
|
3252
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
|
3270
|
+
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
3253
3271
|
# next_token: "NextToken",
|
3254
3272
|
# max_results: 1,
|
3255
3273
|
# }
|
@@ -3281,17 +3299,20 @@ module Aws::Organizations
|
|
3281
3299
|
# The type of policy that you want to include in the returned list.
|
3282
3300
|
# You must specify one of the following values:
|
3283
3301
|
#
|
3284
|
-
# * [
|
3302
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
3285
3303
|
#
|
3286
|
-
# * [
|
3304
|
+
# * [BACKUP\_POLICY][2]
|
3287
3305
|
#
|
3288
|
-
# * [
|
3306
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
3289
3307
|
#
|
3308
|
+
# * [TAG\_POLICY][4]
|
3290
3309
|
#
|
3291
3310
|
#
|
3292
|
-
#
|
3293
|
-
# [
|
3294
|
-
# [
|
3311
|
+
#
|
3312
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3313
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
3314
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
3315
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3295
3316
|
# @return [String]
|
3296
3317
|
#
|
3297
3318
|
# @!attribute [rw] next_token
|
@@ -3351,7 +3372,7 @@ module Aws::Organizations
|
|
3351
3372
|
# data as a hash:
|
3352
3373
|
#
|
3353
3374
|
# {
|
3354
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
|
3375
|
+
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
3355
3376
|
# next_token: "NextToken",
|
3356
3377
|
# max_results: 1,
|
3357
3378
|
# }
|
@@ -3360,17 +3381,20 @@ module Aws::Organizations
|
|
3360
3381
|
# Specifies the type of policy that you want to include in the
|
3361
3382
|
# response. You must specify one of the following values:
|
3362
3383
|
#
|
3363
|
-
# * [
|
3384
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
3364
3385
|
#
|
3365
|
-
# * [
|
3386
|
+
# * [BACKUP\_POLICY][2]
|
3366
3387
|
#
|
3367
|
-
# * [
|
3388
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
3368
3389
|
#
|
3390
|
+
# * [TAG\_POLICY][4]
|
3369
3391
|
#
|
3370
3392
|
#
|
3371
|
-
#
|
3372
|
-
# [
|
3373
|
-
# [
|
3393
|
+
#
|
3394
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3395
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
3396
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
3397
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3374
3398
|
# @return [String]
|
3375
3399
|
#
|
3376
3400
|
# @!attribute [rw] next_token
|
@@ -3790,16 +3814,11 @@ module Aws::Organizations
|
|
3790
3814
|
# @return [String]
|
3791
3815
|
#
|
3792
3816
|
# @!attribute [rw] available_policy_types
|
3793
|
-
#
|
3794
|
-
#
|
3795
|
-
# control policies (SCPs) are included in the list.
|
3796
|
-
#
|
3797
|
-
# <note markdown="1"> Even if a policy type is shown as available in the organization, you
|
3798
|
-
# can separately enable and disable them at the root level by using
|
3799
|
-
# EnablePolicyType and DisablePolicyType. Use ListRoots to see the
|
3800
|
-
# status of a policy type in that root.
|
3817
|
+
# Do not use. This field is deprecated and doesn't provide complete
|
3818
|
+
# information about the policies in your organization.
|
3801
3819
|
#
|
3802
|
-
#
|
3820
|
+
# To determine the policies that are enabled and available for use in
|
3821
|
+
# your organization, use the ListRoots operation instead.
|
3803
3822
|
# @return [Array<Types::PolicyTypeSummary>]
|
3804
3823
|
#
|
3805
3824
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/Organization AWS API Documentation
|
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.45.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: 2020-
|
11
|
+
date: 2020-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|