aws-sdk-organizations 1.41.0 → 1.46.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58c30ed95f212b6acd0ce094c2a49b8b6f7954ba235ddeeef3b23647b9af5d60
4
- data.tar.gz: 8552961865c2854a3ea3df9b928c5f05e621da7e361428cec0157e5e9dd3c6a1
3
+ metadata.gz: 8acf3103efb1db953353acd9106b2c9d627fd72df9d1a0d4571e34784cd1dcef
4
+ data.tar.gz: dba7cb5f3c6b497476fc03c7eed35cf52b5dcac4b54d4409db4d051182adc417
5
5
  SHA512:
6
- metadata.gz: 8318c65439683203ceb2355004bc8532d61f5f4262657bfa23878e93aef0fbe93328d84358ebd5383f6576061c017a809dafaa554ecfbd467c4d965572ba5719
7
- data.tar.gz: 5f904ef08c5f0764b3f619951c577151cbf2033effc96ad31fc69281f13c7ad782d82e7f3fae34bc7416016a3b65b959ae7dd1a769b29e362fd172bf2e4d95e5
6
+ metadata.gz: b736e9938bd6db6ecfa592f7aa4d8b5b2ceb36c1dfbca0358729abbc1b83e7cbdd2e42565a9b3104611e7e7363d0d43fd2ef7808ab8dac733d286c316113618a
7
+ data.tar.gz: a99502472c5734b7614067d7ce3477cd554e216df5eaf3a471729de332b778bf441d3d60979e524b48fc1afeeac41b3e1e154bb0c118744e0c5b2eaf7d8c1afc
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-organizations/customizations'
45
47
  # @service
46
48
  module Aws::Organizations
47
49
 
48
- GEM_VERSION = '1.41.0'
50
+ GEM_VERSION = '1.46.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::Organizations
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -161,7 +165,7 @@ module Aws::Organizations
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -457,53 +461,26 @@ module Aws::Organizations
457
461
 
458
462
  # Attaches a policy to a root, an organizational unit (OU), or an
459
463
  # individual account. How the policy affects accounts depends on the
460
- # type of policy:
461
- #
462
- # * **Service control policy (SCP)** - An SCP specifies what permissions
463
- # can be delegated to users in affected member accounts. The scope of
464
- # influence for a policy depends on what you attach the policy to:
465
- #
466
- # * If you attach an SCP to a root, it affects all accounts in the
467
- # organization.
468
- #
469
- # * If you attach an SCP to an OU, it affects all accounts in that OU
470
- # and in any child OUs.
471
- #
472
- # * If you attach the policy directly to an account, it affects only
473
- # that account.
474
- #
475
- # SCPs are JSON policies that specify the maximum permissions for an
476
- # organization or organizational unit (OU). You can attach one SCP to
477
- # a higher level root or OU, and a different SCP to a child OU or to
478
- # an account. The child policy can further restrict only the
479
- # permissions that pass through the parent filter and are available to
480
- # the child. An SCP that is attached to a child can't grant a
481
- # permission that the parent hasn't already granted. For example,
482
- # imagine that the parent SCP allows permissions A, B, C, D, and E.
483
- # The child SCP allows C, D, E, F, and G. The result is that the
484
- # accounts affected by the child SCP are allowed to use only C, D, and
485
- # E. They can't use A or B because the child OU filtered them out.
486
- # They also can't use F and G because the parent OU filtered them
487
- # out. They can't be granted back by the child SCP; child SCPs can
488
- # only filter the permissions they receive from the parent SCP.
489
- #
490
- # AWS Organizations attaches a default SCP named `"FullAWSAccess` to
491
- # every root, OU, and account. This default SCP allows all services
492
- # and actions, enabling any new child OU or account to inherit the
493
- # permissions of the parent root or OU. If you detach the default
494
- # policy, you must replace it with a policy that specifies the
495
- # permissions that you want to allow in that OU or account.
496
- #
497
- # For more information about how AWS Organizations policies
498
- # permissions work, see [Using Service Control Policies][1] in the
499
- # *AWS Organizations User Guide.*
464
+ # type of policy. Refer to the *AWS Organizations User Guide* for
465
+ # information about each policy type:
466
+ #
467
+ # * [AISERVICES\_OPT\_OUT\_POLICY][1]
468
+ #
469
+ # * [BACKUP\_POLICY][2]
470
+ #
471
+ # * [SERVICE\_CONTROL\_POLICY][3]
472
+ #
473
+ # * [TAG\_POLICY][4]
500
474
  #
501
475
  # This operation can be called only from the organization's master
502
476
  # account.
503
477
  #
504
478
  #
505
479
  #
506
- # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
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
507
484
  #
508
485
  # @option params [required, String] :policy_id
509
486
  # The unique identifier (ID) of the policy that you want to attach to
@@ -965,12 +942,13 @@ module Aws::Organizations
965
942
  #
966
943
  # * When you create an account in an organization using the AWS
967
944
  # Organizations console, API, or CLI commands, the information
968
- # required for the account to operate as a standalone account, such as
969
- # a payment method and signing the end user license agreement (EULA)
970
- # is *not* automatically collected. If you must remove an account from
971
- # your organization later, you can do so only after you provide the
972
- # missing information. Follow the steps at [ To leave an organization
973
- # as a member account][7] in the *AWS Organizations User Guide.*
945
+ # required for the account to operate as a standalone account is *not*
946
+ # automatically collected. This includes a payment method and signing
947
+ # the end user license agreement (EULA). If you must remove an account
948
+ # from your organization later, you can do so only after you provide
949
+ # the missing information. Follow the steps at [ To leave an
950
+ # organization as a member account][7] in the *AWS Organizations User
951
+ # Guide.*
974
952
  #
975
953
  # * If you get an exception that indicates that you exceeded your
976
954
  # account limits for the organization, contact [AWS Support][8].
@@ -1215,7 +1193,7 @@ module Aws::Organizations
1215
1193
  # resp.organization.master_account_id #=> String
1216
1194
  # resp.organization.master_account_email #=> String
1217
1195
  # resp.organization.available_policy_types #=> Array
1218
- # resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY"
1196
+ # resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
1219
1197
  # resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
1220
1198
  #
1221
1199
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganization AWS API Documentation
@@ -1325,17 +1303,9 @@ module Aws::Organizations
1325
1303
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html
1326
1304
  #
1327
1305
  # @option params [required, String] :content
1328
- # The policy content to add to the new policy. For example, if you
1329
- # create a [service control policy][1] (SCP), this string must be JSON
1330
- # text that specifies the permissions that admins in attached accounts
1331
- # can delegate to their users, groups, and roles. For more information
1332
- # about the SCP syntax, see [Service Control Policy Syntax][2] in the
1333
- # *AWS Organizations User Guide.*
1334
- #
1335
- #
1336
- #
1337
- # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
1338
- # [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html
1306
+ # The policy text content to add to the new policy. The text that you
1307
+ # supply must adhere to the rules of the policy type you specify in the
1308
+ # `Type` parameter.
1339
1309
  #
1340
1310
  # @option params [required, String] :description
1341
1311
  # An optional description to assign to the policy.
@@ -1351,12 +1321,23 @@ module Aws::Organizations
1351
1321
  # [1]: http://wikipedia.org/wiki/regex
1352
1322
  #
1353
1323
  # @option params [required, String] :type
1354
- # The type of policy to create.
1324
+ # The type of policy to create. You can specify one of the following
1325
+ # values:
1326
+ #
1327
+ # * [AISERVICES\_OPT\_OUT\_POLICY][1]
1328
+ #
1329
+ # * [BACKUP\_POLICY][2]
1355
1330
  #
1356
- # <note markdown="1"> In the current release, the only type of policy that you can create is
1357
- # a service control policy (SCP).
1331
+ # * [SERVICE\_CONTROL\_POLICY][3]
1358
1332
  #
1359
- # </note>
1333
+ # * [TAG\_POLICY][4]
1334
+ #
1335
+ #
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
1360
1341
  #
1361
1342
  # @return [Types::CreatePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1362
1343
  #
@@ -1396,7 +1377,7 @@ module Aws::Organizations
1396
1377
  # content: "PolicyContent", # required
1397
1378
  # description: "PolicyDescription", # required
1398
1379
  # name: "PolicyName", # required
1399
- # type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
1380
+ # type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
1400
1381
  # })
1401
1382
  #
1402
1383
  # @example Response structure
@@ -1405,7 +1386,7 @@ module Aws::Organizations
1405
1386
  # resp.policy.policy_summary.arn #=> String
1406
1387
  # resp.policy.policy_summary.name #=> String
1407
1388
  # resp.policy.policy_summary.description #=> String
1408
- # resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY"
1389
+ # resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
1409
1390
  # resp.policy.policy_summary.aws_managed #=> Boolean
1410
1391
  # resp.policy.content #=> String
1411
1392
  #
@@ -1644,6 +1625,11 @@ module Aws::Organizations
1644
1625
  # Removes the specified member AWS account as a delegated administrator
1645
1626
  # for the specified AWS service.
1646
1627
  #
1628
+ # Deregistering a delegated administrator can have unintended impacts on
1629
+ # the functionality of the enabled AWS service. See the documentation
1630
+ # for the enabled service before you deregister a delegated
1631
+ # administrator so that you understand any potential impacts.
1632
+ #
1647
1633
  # You can run this action only for AWS services that support this
1648
1634
  # feature. For a current list of services that support it, see the
1649
1635
  # column *Supports Delegated Administrator* in the table at [AWS
@@ -1825,14 +1811,15 @@ module Aws::Organizations
1825
1811
  req.send_request(options)
1826
1812
  end
1827
1813
 
1828
- # Returns the contents of the effective tag policy for the account. The
1829
- # effective tag policy is the aggregation of any tag policies the
1830
- # account inherits, plus any policy directly that is attached to the
1831
- # account.
1814
+ # Returns the contents of the effective policy for specified policy type
1815
+ # and account. The effective policy is the aggregation of any policies
1816
+ # of the specified type that the account inherits, plus any policy of
1817
+ # that type that is directly attached to the account.
1832
1818
  #
1833
- # This action returns information on tag policies only.
1819
+ # This operation applies only to policy types *other* than service
1820
+ # control policies (SCPs).
1834
1821
  #
1835
- # For more information on policy inheritance, see [How Policy
1822
+ # For more information about policy inheritance, see [How Policy
1836
1823
  # Inheritance Works][1] in the *AWS Organizations User Guide*.
1837
1824
  #
1838
1825
  # This operation can be called only from the organization's master
@@ -1844,12 +1831,25 @@ module Aws::Organizations
1844
1831
  # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies-inheritance.html
1845
1832
  #
1846
1833
  # @option params [required, String] :policy_type
1847
- # The type of policy that you want information about.
1834
+ # The type of policy that you want information about. You can specify
1835
+ # one of the following values:
1836
+ #
1837
+ # * [AISERVICES\_OPT\_OUT\_POLICY][1]
1838
+ #
1839
+ # * [BACKUP\_POLICY][2]
1840
+ #
1841
+ # * [TAG\_POLICY][3]
1842
+ #
1843
+ #
1844
+ #
1845
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
1846
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
1847
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
1848
1848
  #
1849
1849
  # @option params [String] :target_id
1850
1850
  # When you're signed in as the master account, specify the ID of the
1851
1851
  # account that you want details about. Specifying an organization root
1852
- # or OU as the target is not supported.
1852
+ # or organizational unit (OU) as the target is not supported.
1853
1853
  #
1854
1854
  # @return [Types::DescribeEffectivePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1855
1855
  #
@@ -1858,7 +1858,7 @@ module Aws::Organizations
1858
1858
  # @example Request syntax with placeholder values
1859
1859
  #
1860
1860
  # resp = client.describe_effective_policy({
1861
- # policy_type: "TAG_POLICY", # required, accepts TAG_POLICY
1861
+ # policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
1862
1862
  # target_id: "PolicyTargetId",
1863
1863
  # })
1864
1864
  #
@@ -1867,7 +1867,7 @@ module Aws::Organizations
1867
1867
  # resp.effective_policy.policy_content #=> String
1868
1868
  # resp.effective_policy.last_updated_timestamp #=> Time
1869
1869
  # resp.effective_policy.target_id #=> String
1870
- # resp.effective_policy.policy_type #=> String, one of "TAG_POLICY"
1870
+ # resp.effective_policy.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
1871
1871
  #
1872
1872
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicy AWS API Documentation
1873
1873
  #
@@ -2038,7 +2038,7 @@ module Aws::Organizations
2038
2038
  # resp.organization.master_account_id #=> String
2039
2039
  # resp.organization.master_account_email #=> String
2040
2040
  # resp.organization.available_policy_types #=> Array
2041
- # resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY"
2041
+ # resp.organization.available_policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
2042
2042
  # resp.organization.available_policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
2043
2043
  #
2044
2044
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganization AWS API Documentation
@@ -2172,7 +2172,7 @@ module Aws::Organizations
2172
2172
  # resp.policy.policy_summary.arn #=> String
2173
2173
  # resp.policy.policy_summary.name #=> String
2174
2174
  # resp.policy.policy_summary.description #=> String
2175
- # resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY"
2175
+ # resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
2176
2176
  # resp.policy.policy_summary.aws_managed #=> Boolean
2177
2177
  # resp.policy.content #=> String
2178
2178
  #
@@ -2186,18 +2186,20 @@ module Aws::Organizations
2186
2186
  end
2187
2187
 
2188
2188
  # Detaches a policy from a target root, organizational unit (OU), or
2189
- # account. If the policy being detached is a service control policy
2190
- # (SCP), the changes to permissions for IAM users and roles in affected
2191
- # accounts are immediate.
2192
- #
2193
- # **Note:** Every root, OU, and account must have at least one SCP
2194
- # attached. If you want to replace the default `FullAWSAccess` policy
2195
- # with one that limits the permissions that can be delegated, you must
2196
- # attach the replacement policy before you can remove the default one.
2197
- # This is the authorization strategy of an "[allow list][1]". If you
2198
- # instead attach a second SCP and leave the `FullAWSAccess` SCP still
2199
- # attached, and specify `"Effect": "Deny"` in the second SCP to override
2200
- # the `"Effect": "Allow"` in the `FullAWSAccess` policy (or any other
2189
+ # account.
2190
+ #
2191
+ # If the policy being detached is a service control policy (SCP), the
2192
+ # changes to permissions for AWS Identity and Access Management (IAM)
2193
+ # users and roles in affected accounts are immediate.
2194
+ #
2195
+ # Every root, OU, and account must have at least one SCP attached. If
2196
+ # you want to replace the default `FullAWSAccess` policy with an SCP
2197
+ # that limits the permissions that can be delegated, you must attach the
2198
+ # replacement SCP before you can remove the default SCP. This is the
2199
+ # authorization strategy of an "[allow list][1]". If you instead
2200
+ # attach a second SCP and leave the `FullAWSAccess` SCP still attached,
2201
+ # and specify `"Effect": "Deny"` in the second SCP to override the
2202
+ # `"Effect": "Allow"` in the `FullAWSAccess` policy (or any other
2201
2203
  # attached SCP), you're using the authorization strategy of a "[deny
2202
2204
  # list][2]".
2203
2205
  #
@@ -2206,8 +2208,8 @@ module Aws::Organizations
2206
2208
  #
2207
2209
  #
2208
2210
  #
2209
- # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_about-scps.html#orgs_policies_whitelist
2210
- # [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_about-scps.html#orgs_policies_blacklist
2211
+ # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/SCP_strategies.html#orgs_policies_allowlist
2212
+ # [2]: https://docs.aws.amazon.com/organizations/latest/userguide/SCP_strategies.html#orgs_policies_denylist
2211
2213
  #
2212
2214
  # @option params [required, String] :policy_id
2213
2215
  # The unique identifier (ID) of the policy you want to detach. You can
@@ -2330,18 +2332,19 @@ module Aws::Organizations
2330
2332
  req.send_request(options)
2331
2333
  end
2332
2334
 
2333
- # Disables an organizational control policy type in a root. A policy of
2334
- # a certain type can be attached to entities in a root only if that type
2335
+ # Disables an organizational policy type in a root. A policy of a
2336
+ # certain type can be attached to entities in a root only if that type
2335
2337
  # is enabled in the root. After you perform this operation, you no
2336
2338
  # longer can attach policies of the specified type to that root or to
2337
2339
  # any organizational unit (OU) or account in that root. You can undo
2338
2340
  # this by using the EnablePolicyType operation.
2339
2341
  #
2340
2342
  # This is an asynchronous request that AWS performs in the background.
2341
- # If you disable a policy for a root, it still appears enabled for the
2342
- # organization if [all features][1] are enabled for the organization.
2343
- # AWS recommends that you first use ListRoots to see the status of
2344
- # policy types for a specified root, and then use this operation.
2343
+ # If you disable a policy type for a root, it still appears enabled for
2344
+ # the organization if [all features][1] are enabled for the
2345
+ # organization. AWS recommends that you first use ListRoots to see the
2346
+ # status of policy types for a specified root, and then use this
2347
+ # operation.
2345
2348
  #
2346
2349
  # This operation can be called only from the organization's master
2347
2350
  # account.
@@ -2365,7 +2368,23 @@ module Aws::Organizations
2365
2368
  # [1]: http://wikipedia.org/wiki/regex
2366
2369
  #
2367
2370
  # @option params [required, String] :policy_type
2368
- # The policy type that you want to disable in this root.
2371
+ # The policy type that you want to disable in this root. You can specify
2372
+ # one of the following values:
2373
+ #
2374
+ # * [AISERVICES\_OPT\_OUT\_POLICY][1]
2375
+ #
2376
+ # * [BACKUP\_POLICY][2]
2377
+ #
2378
+ # * [SERVICE\_CONTROL\_POLICY][3]
2379
+ #
2380
+ # * [TAG\_POLICY][4]
2381
+ #
2382
+ #
2383
+ #
2384
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
2385
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
2386
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
2387
+ # [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
2369
2388
  #
2370
2389
  # @return [Types::DisablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2371
2390
  #
@@ -2397,7 +2416,7 @@ module Aws::Organizations
2397
2416
  #
2398
2417
  # resp = client.disable_policy_type({
2399
2418
  # root_id: "RootId", # required
2400
- # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
2419
+ # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
2401
2420
  # })
2402
2421
  #
2403
2422
  # @example Response structure
@@ -2406,7 +2425,7 @@ module Aws::Organizations
2406
2425
  # resp.root.arn #=> String
2407
2426
  # resp.root.name #=> String
2408
2427
  # resp.root.policy_types #=> Array
2409
- # resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY"
2428
+ # resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
2410
2429
  # resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
2411
2430
  #
2412
2431
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyType AWS API Documentation
@@ -2599,7 +2618,23 @@ module Aws::Organizations
2599
2618
  # [1]: http://wikipedia.org/wiki/regex
2600
2619
  #
2601
2620
  # @option params [required, String] :policy_type
2602
- # The policy type that you want to enable.
2621
+ # The policy type that you want to enable. You can specify one of the
2622
+ # following values:
2623
+ #
2624
+ # * [AISERVICES\_OPT\_OUT\_POLICY][1]
2625
+ #
2626
+ # * [BACKUP\_POLICY][2]
2627
+ #
2628
+ # * [SERVICE\_CONTROL\_POLICY][3]
2629
+ #
2630
+ # * [TAG\_POLICY][4]
2631
+ #
2632
+ #
2633
+ #
2634
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
2635
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
2636
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
2637
+ # [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
2603
2638
  #
2604
2639
  # @return [Types::EnablePolicyTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2605
2640
  #
@@ -2635,7 +2670,7 @@ module Aws::Organizations
2635
2670
  #
2636
2671
  # resp = client.enable_policy_type({
2637
2672
  # root_id: "RootId", # required
2638
- # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
2673
+ # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
2639
2674
  # })
2640
2675
  #
2641
2676
  # @example Response structure
@@ -2644,7 +2679,7 @@ module Aws::Organizations
2644
2679
  # resp.root.arn #=> String
2645
2680
  # resp.root.name #=> String
2646
2681
  # resp.root.policy_types #=> Array
2647
- # resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY"
2682
+ # resp.root.policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
2648
2683
  # resp.root.policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
2649
2684
  #
2650
2685
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyType AWS API Documentation
@@ -4114,6 +4149,22 @@ module Aws::Organizations
4114
4149
  #
4115
4150
  # @option params [required, String] :filter
4116
4151
  # Specifies the type of policy that you want to include in the response.
4152
+ # You must specify one of the following values:
4153
+ #
4154
+ # * [AISERVICES\_OPT\_OUT\_POLICY][1]
4155
+ #
4156
+ # * [BACKUP\_POLICY][2]
4157
+ #
4158
+ # * [SERVICE\_CONTROL\_POLICY][3]
4159
+ #
4160
+ # * [TAG\_POLICY][4]
4161
+ #
4162
+ #
4163
+ #
4164
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
4165
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
4166
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
4167
+ # [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
4117
4168
  #
4118
4169
  # @option params [String] :next_token
4119
4170
  # The parameter for receiving additional results if you receive a
@@ -4183,7 +4234,7 @@ module Aws::Organizations
4183
4234
  # @example Request syntax with placeholder values
4184
4235
  #
4185
4236
  # resp = client.list_policies({
4186
- # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
4237
+ # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
4187
4238
  # next_token: "NextToken",
4188
4239
  # max_results: 1,
4189
4240
  # })
@@ -4195,7 +4246,7 @@ module Aws::Organizations
4195
4246
  # resp.policies[0].arn #=> String
4196
4247
  # resp.policies[0].name #=> String
4197
4248
  # resp.policies[0].description #=> String
4198
- # resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY"
4249
+ # resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
4199
4250
  # resp.policies[0].aws_managed #=> Boolean
4200
4251
  # resp.next_token #=> String
4201
4252
  #
@@ -4246,7 +4297,23 @@ module Aws::Organizations
4246
4297
  # [1]: http://wikipedia.org/wiki/regex
4247
4298
  #
4248
4299
  # @option params [required, String] :filter
4249
- # The type of policy that you want to include in the returned list.
4300
+ # The type of policy that you want to include in the returned list. You
4301
+ # must specify one of the following values:
4302
+ #
4303
+ # * [AISERVICES\_OPT\_OUT\_POLICY][1]
4304
+ #
4305
+ # * [BACKUP\_POLICY][2]
4306
+ #
4307
+ # * [SERVICE\_CONTROL\_POLICY][3]
4308
+ #
4309
+ # * [TAG\_POLICY][4]
4310
+ #
4311
+ #
4312
+ #
4313
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
4314
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
4315
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
4316
+ # [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
4250
4317
  #
4251
4318
  # @option params [String] :next_token
4252
4319
  # The parameter for receiving additional results if you receive a
@@ -4304,7 +4371,7 @@ module Aws::Organizations
4304
4371
  #
4305
4372
  # resp = client.list_policies_for_target({
4306
4373
  # target_id: "PolicyTargetId", # required
4307
- # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
4374
+ # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
4308
4375
  # next_token: "NextToken",
4309
4376
  # max_results: 1,
4310
4377
  # })
@@ -4316,7 +4383,7 @@ module Aws::Organizations
4316
4383
  # resp.policies[0].arn #=> String
4317
4384
  # resp.policies[0].name #=> String
4318
4385
  # resp.policies[0].description #=> String
4319
- # resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY"
4386
+ # resp.policies[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
4320
4387
  # resp.policies[0].aws_managed #=> Boolean
4321
4388
  # resp.next_token #=> String
4322
4389
  #
@@ -4417,7 +4484,7 @@ module Aws::Organizations
4417
4484
  # resp.roots[0].arn #=> String
4418
4485
  # resp.roots[0].name #=> String
4419
4486
  # resp.roots[0].policy_types #=> Array
4420
- # resp.roots[0].policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY"
4487
+ # resp.roots[0].policy_types[0].type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
4421
4488
  # resp.roots[0].policy_types[0].status #=> String, one of "ENABLED", "PENDING_ENABLE", "PENDING_DISABLE"
4422
4489
  # resp.next_token #=> String
4423
4490
  #
@@ -4799,9 +4866,9 @@ module Aws::Organizations
4799
4866
  # The ID of the resource to add a tag to.
4800
4867
  #
4801
4868
  # @option params [required, Array<Types::Tag>] :tags
4802
- # The tag to add to the specified resource. Specifying the tag key is
4803
- # required. You can set the value of a tag to an empty string, but you
4804
- # can't set the value of a tag to null.
4869
+ # The tag to add to the specified resource. You must specify both a tag
4870
+ # key and value. You can set the value of a tag to an empty string, but
4871
+ # you can't set it to null.
4805
4872
  #
4806
4873
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4807
4874
  #
@@ -5044,7 +5111,7 @@ module Aws::Organizations
5044
5111
  # resp.policy.policy_summary.arn #=> String
5045
5112
  # resp.policy.policy_summary.name #=> String
5046
5113
  # resp.policy.policy_summary.description #=> String
5047
- # resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY"
5114
+ # resp.policy.policy_summary.type #=> String, one of "SERVICE_CONTROL_POLICY", "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"
5048
5115
  # resp.policy.policy_summary.aws_managed #=> Boolean
5049
5116
  # resp.policy.content #=> String
5050
5117
  #
@@ -5070,7 +5137,7 @@ module Aws::Organizations
5070
5137
  params: params,
5071
5138
  config: config)
5072
5139
  context[:gem_name] = 'aws-sdk-organizations'
5073
- context[:gem_version] = '1.41.0'
5140
+ context[:gem_version] = '1.46.0'
5074
5141
  Seahorse::Client::Request.new(handlers, context)
5075
5142
  end
5076
5143