aws-sdk-organizations 1.71.0 → 1.73.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 +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-organizations/client.rb +114 -11
- data/lib/aws-sdk-organizations/client_api.rb +77 -0
- data/lib/aws-sdk-organizations/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-organizations/endpoint_provider.rb +113 -278
- data/lib/aws-sdk-organizations/endpoints.rb +42 -0
- data/lib/aws-sdk-organizations/errors.rb +16 -0
- data/lib/aws-sdk-organizations/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-organizations/types.rb +117 -460
- data/lib/aws-sdk-organizations.rb +1 -1
- metadata +2 -2
@@ -25,13 +25,6 @@ module Aws::Organizations
|
|
25
25
|
include Aws::Structure
|
26
26
|
end
|
27
27
|
|
28
|
-
# @note When making an API call, you may pass AcceptHandshakeRequest
|
29
|
-
# data as a hash:
|
30
|
-
#
|
31
|
-
# {
|
32
|
-
# handshake_id: "HandshakeId", # required
|
33
|
-
# }
|
34
|
-
#
|
35
28
|
# @!attribute [rw] handshake_id
|
36
29
|
# The unique identifier (ID) of the handshake that you want to accept.
|
37
30
|
#
|
@@ -267,14 +260,6 @@ module Aws::Organizations
|
|
267
260
|
include Aws::Structure
|
268
261
|
end
|
269
262
|
|
270
|
-
# @note When making an API call, you may pass AttachPolicyRequest
|
271
|
-
# data as a hash:
|
272
|
-
#
|
273
|
-
# {
|
274
|
-
# policy_id: "PolicyId", # required
|
275
|
-
# target_id: "PolicyTargetId", # required
|
276
|
-
# }
|
277
|
-
#
|
278
263
|
# @!attribute [rw] policy_id
|
279
264
|
# The unique identifier (ID) of the policy that you want to attach to
|
280
265
|
# the target. You can get the ID for the policy by calling the
|
@@ -323,13 +308,6 @@ module Aws::Organizations
|
|
323
308
|
include Aws::Structure
|
324
309
|
end
|
325
310
|
|
326
|
-
# @note When making an API call, you may pass CancelHandshakeRequest
|
327
|
-
# data as a hash:
|
328
|
-
#
|
329
|
-
# {
|
330
|
-
# handshake_id: "HandshakeId", # required
|
331
|
-
# }
|
332
|
-
#
|
333
311
|
# @!attribute [rw] handshake_id
|
334
312
|
# The unique identifier (ID) of the handshake that you want to cancel.
|
335
313
|
# You can get the ID from the ListHandshakesForOrganization operation.
|
@@ -411,13 +389,6 @@ module Aws::Organizations
|
|
411
389
|
include Aws::Structure
|
412
390
|
end
|
413
391
|
|
414
|
-
# @note When making an API call, you may pass CloseAccountRequest
|
415
|
-
# data as a hash:
|
416
|
-
#
|
417
|
-
# {
|
418
|
-
# account_id: "AccountId", # required
|
419
|
-
# }
|
420
|
-
#
|
421
392
|
# @!attribute [rw] account_id
|
422
393
|
# Retrieves the Amazon Web Services account Id for the current
|
423
394
|
# `CloseAccount` API request.
|
@@ -657,22 +628,6 @@ module Aws::Organizations
|
|
657
628
|
include Aws::Structure
|
658
629
|
end
|
659
630
|
|
660
|
-
# @note When making an API call, you may pass CreateAccountRequest
|
661
|
-
# data as a hash:
|
662
|
-
#
|
663
|
-
# {
|
664
|
-
# email: "Email", # required
|
665
|
-
# account_name: "CreateAccountName", # required
|
666
|
-
# role_name: "RoleName",
|
667
|
-
# iam_user_access_to_billing: "ALLOW", # accepts ALLOW, DENY
|
668
|
-
# tags: [
|
669
|
-
# {
|
670
|
-
# key: "TagKey", # required
|
671
|
-
# value: "TagValue", # required
|
672
|
-
# },
|
673
|
-
# ],
|
674
|
-
# }
|
675
|
-
#
|
676
631
|
# @!attribute [rw] email
|
677
632
|
# The email address of the owner to assign to the new member account.
|
678
633
|
# This email address must not already be associated with another
|
@@ -711,8 +666,6 @@ module Aws::Organizations
|
|
711
666
|
# @return [String]
|
712
667
|
#
|
713
668
|
# @!attribute [rw] role_name
|
714
|
-
# (Optional)
|
715
|
-
#
|
716
669
|
# The name of an IAM role that Organizations automatically
|
717
670
|
# preconfigures in the new member account. This role trusts the
|
718
671
|
# management account, allowing users in the management account to
|
@@ -959,22 +912,6 @@ module Aws::Organizations
|
|
959
912
|
include Aws::Structure
|
960
913
|
end
|
961
914
|
|
962
|
-
# @note When making an API call, you may pass CreateGovCloudAccountRequest
|
963
|
-
# data as a hash:
|
964
|
-
#
|
965
|
-
# {
|
966
|
-
# email: "Email", # required
|
967
|
-
# account_name: "CreateAccountName", # required
|
968
|
-
# role_name: "RoleName",
|
969
|
-
# iam_user_access_to_billing: "ALLOW", # accepts ALLOW, DENY
|
970
|
-
# tags: [
|
971
|
-
# {
|
972
|
-
# key: "TagKey", # required
|
973
|
-
# value: "TagValue", # required
|
974
|
-
# },
|
975
|
-
# ],
|
976
|
-
# }
|
977
|
-
#
|
978
915
|
# @!attribute [rw] email
|
979
916
|
# Specifies the email address of the owner to assign to the new member
|
980
917
|
# account in the commercial Region. This email address must not
|
@@ -1118,13 +1055,6 @@ module Aws::Organizations
|
|
1118
1055
|
include Aws::Structure
|
1119
1056
|
end
|
1120
1057
|
|
1121
|
-
# @note When making an API call, you may pass CreateOrganizationRequest
|
1122
|
-
# data as a hash:
|
1123
|
-
#
|
1124
|
-
# {
|
1125
|
-
# feature_set: "ALL", # accepts ALL, CONSOLIDATED_BILLING
|
1126
|
-
# }
|
1127
|
-
#
|
1128
1058
|
# @!attribute [rw] feature_set
|
1129
1059
|
# Specifies the feature set supported by the new organization. Each
|
1130
1060
|
# feature set supports different levels of functionality.
|
@@ -1170,20 +1100,6 @@ module Aws::Organizations
|
|
1170
1100
|
include Aws::Structure
|
1171
1101
|
end
|
1172
1102
|
|
1173
|
-
# @note When making an API call, you may pass CreateOrganizationalUnitRequest
|
1174
|
-
# data as a hash:
|
1175
|
-
#
|
1176
|
-
# {
|
1177
|
-
# parent_id: "ParentId", # required
|
1178
|
-
# name: "OrganizationalUnitName", # required
|
1179
|
-
# tags: [
|
1180
|
-
# {
|
1181
|
-
# key: "TagKey", # required
|
1182
|
-
# value: "TagValue", # required
|
1183
|
-
# },
|
1184
|
-
# ],
|
1185
|
-
# }
|
1186
|
-
#
|
1187
1103
|
# @!attribute [rw] parent_id
|
1188
1104
|
# The unique identifier (ID) of the parent root or OU that you want to
|
1189
1105
|
# create the new OU in.
|
@@ -1249,22 +1165,6 @@ module Aws::Organizations
|
|
1249
1165
|
include Aws::Structure
|
1250
1166
|
end
|
1251
1167
|
|
1252
|
-
# @note When making an API call, you may pass CreatePolicyRequest
|
1253
|
-
# data as a hash:
|
1254
|
-
#
|
1255
|
-
# {
|
1256
|
-
# content: "PolicyContent", # required
|
1257
|
-
# description: "PolicyDescription", # required
|
1258
|
-
# name: "PolicyName", # required
|
1259
|
-
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1260
|
-
# tags: [
|
1261
|
-
# {
|
1262
|
-
# key: "TagKey", # required
|
1263
|
-
# value: "TagValue", # required
|
1264
|
-
# },
|
1265
|
-
# ],
|
1266
|
-
# }
|
1267
|
-
#
|
1268
1168
|
# @!attribute [rw] content
|
1269
1169
|
# The policy text content to add to the new policy. The text that you
|
1270
1170
|
# supply must adhere to the rules of the policy type you specify in
|
@@ -1348,13 +1248,6 @@ module Aws::Organizations
|
|
1348
1248
|
include Aws::Structure
|
1349
1249
|
end
|
1350
1250
|
|
1351
|
-
# @note When making an API call, you may pass DeclineHandshakeRequest
|
1352
|
-
# data as a hash:
|
1353
|
-
#
|
1354
|
-
# {
|
1355
|
-
# handshake_id: "HandshakeId", # required
|
1356
|
-
# }
|
1357
|
-
#
|
1358
1251
|
# @!attribute [rw] handshake_id
|
1359
1252
|
# The unique identifier (ID) of the handshake that you want to
|
1360
1253
|
# decline. You can get the ID from the ListHandshakesForAccount
|
@@ -1467,13 +1360,6 @@ module Aws::Organizations
|
|
1467
1360
|
include Aws::Structure
|
1468
1361
|
end
|
1469
1362
|
|
1470
|
-
# @note When making an API call, you may pass DeleteOrganizationalUnitRequest
|
1471
|
-
# data as a hash:
|
1472
|
-
#
|
1473
|
-
# {
|
1474
|
-
# organizational_unit_id: "OrganizationalUnitId", # required
|
1475
|
-
# }
|
1476
|
-
#
|
1477
1363
|
# @!attribute [rw] organizational_unit_id
|
1478
1364
|
# The unique identifier (ID) of the organizational unit that you want
|
1479
1365
|
# to delete. You can get the ID from the
|
@@ -1498,13 +1384,6 @@ module Aws::Organizations
|
|
1498
1384
|
include Aws::Structure
|
1499
1385
|
end
|
1500
1386
|
|
1501
|
-
# @note When making an API call, you may pass DeletePolicyRequest
|
1502
|
-
# data as a hash:
|
1503
|
-
#
|
1504
|
-
# {
|
1505
|
-
# policy_id: "PolicyId", # required
|
1506
|
-
# }
|
1507
|
-
#
|
1508
1387
|
# @!attribute [rw] policy_id
|
1509
1388
|
# The unique identifier (ID) of the policy that you want to delete.
|
1510
1389
|
# You can get the ID from the ListPolicies or ListPoliciesForTarget
|
@@ -1527,14 +1406,6 @@ module Aws::Organizations
|
|
1527
1406
|
include Aws::Structure
|
1528
1407
|
end
|
1529
1408
|
|
1530
|
-
# @note When making an API call, you may pass DeregisterDelegatedAdministratorRequest
|
1531
|
-
# data as a hash:
|
1532
|
-
#
|
1533
|
-
# {
|
1534
|
-
# account_id: "AccountId", # required
|
1535
|
-
# service_principal: "ServicePrincipal", # required
|
1536
|
-
# }
|
1537
|
-
#
|
1538
1409
|
# @!attribute [rw] account_id
|
1539
1410
|
# The account ID number of the member account in the organization that
|
1540
1411
|
# you want to deregister as a delegated administrator.
|
@@ -1560,13 +1431,6 @@ module Aws::Organizations
|
|
1560
1431
|
include Aws::Structure
|
1561
1432
|
end
|
1562
1433
|
|
1563
|
-
# @note When making an API call, you may pass DescribeAccountRequest
|
1564
|
-
# data as a hash:
|
1565
|
-
#
|
1566
|
-
# {
|
1567
|
-
# account_id: "AccountId", # required
|
1568
|
-
# }
|
1569
|
-
#
|
1570
1434
|
# @!attribute [rw] account_id
|
1571
1435
|
# The unique identifier (ID) of the Amazon Web Services account that
|
1572
1436
|
# you want information about. You can get the ID from the ListAccounts
|
@@ -1600,13 +1464,6 @@ module Aws::Organizations
|
|
1600
1464
|
include Aws::Structure
|
1601
1465
|
end
|
1602
1466
|
|
1603
|
-
# @note When making an API call, you may pass DescribeCreateAccountStatusRequest
|
1604
|
-
# data as a hash:
|
1605
|
-
#
|
1606
|
-
# {
|
1607
|
-
# create_account_request_id: "CreateAccountRequestId", # required
|
1608
|
-
# }
|
1609
|
-
#
|
1610
1467
|
# @!attribute [rw] create_account_request_id
|
1611
1468
|
# Specifies the `Id` value that uniquely identifies the
|
1612
1469
|
# `CreateAccount` request. You can get the value from the
|
@@ -1643,14 +1500,6 @@ module Aws::Organizations
|
|
1643
1500
|
include Aws::Structure
|
1644
1501
|
end
|
1645
1502
|
|
1646
|
-
# @note When making an API call, you may pass DescribeEffectivePolicyRequest
|
1647
|
-
# data as a hash:
|
1648
|
-
#
|
1649
|
-
# {
|
1650
|
-
# policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1651
|
-
# target_id: "PolicyTargetId",
|
1652
|
-
# }
|
1653
|
-
#
|
1654
1503
|
# @!attribute [rw] policy_type
|
1655
1504
|
# The type of policy that you want information about. You can specify
|
1656
1505
|
# one of the following values:
|
@@ -1695,13 +1544,6 @@ module Aws::Organizations
|
|
1695
1544
|
include Aws::Structure
|
1696
1545
|
end
|
1697
1546
|
|
1698
|
-
# @note When making an API call, you may pass DescribeHandshakeRequest
|
1699
|
-
# data as a hash:
|
1700
|
-
#
|
1701
|
-
# {
|
1702
|
-
# handshake_id: "HandshakeId", # required
|
1703
|
-
# }
|
1704
|
-
#
|
1705
1547
|
# @!attribute [rw] handshake_id
|
1706
1548
|
# The unique identifier (ID) of the handshake that you want
|
1707
1549
|
# information about. You can get the ID from the original call to
|
@@ -1754,13 +1596,6 @@ module Aws::Organizations
|
|
1754
1596
|
include Aws::Structure
|
1755
1597
|
end
|
1756
1598
|
|
1757
|
-
# @note When making an API call, you may pass DescribeOrganizationalUnitRequest
|
1758
|
-
# data as a hash:
|
1759
|
-
#
|
1760
|
-
# {
|
1761
|
-
# organizational_unit_id: "OrganizationalUnitId", # required
|
1762
|
-
# }
|
1763
|
-
#
|
1764
1599
|
# @!attribute [rw] organizational_unit_id
|
1765
1600
|
# The unique identifier (ID) of the organizational unit that you want
|
1766
1601
|
# details about. You can get the ID from the
|
@@ -1797,13 +1632,6 @@ module Aws::Organizations
|
|
1797
1632
|
include Aws::Structure
|
1798
1633
|
end
|
1799
1634
|
|
1800
|
-
# @note When making an API call, you may pass DescribePolicyRequest
|
1801
|
-
# data as a hash:
|
1802
|
-
#
|
1803
|
-
# {
|
1804
|
-
# policy_id: "PolicyId", # required
|
1805
|
-
# }
|
1806
|
-
#
|
1807
1635
|
# @!attribute [rw] policy_id
|
1808
1636
|
# The unique identifier (ID) of the policy that you want details
|
1809
1637
|
# about. You can get the ID from the ListPolicies or
|
@@ -1838,6 +1666,18 @@ module Aws::Organizations
|
|
1838
1666
|
include Aws::Structure
|
1839
1667
|
end
|
1840
1668
|
|
1669
|
+
# @!attribute [rw] resource_policy
|
1670
|
+
# A structure that contains details about the resource policy.
|
1671
|
+
# @return [Types::ResourcePolicy]
|
1672
|
+
#
|
1673
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeResourcePolicyResponse AWS API Documentation
|
1674
|
+
#
|
1675
|
+
class DescribeResourcePolicyResponse < Struct.new(
|
1676
|
+
:resource_policy)
|
1677
|
+
SENSITIVE = []
|
1678
|
+
include Aws::Structure
|
1679
|
+
end
|
1680
|
+
|
1841
1681
|
# We can't find the destination container (a root or OU) with the
|
1842
1682
|
# `ParentId` that you specified.
|
1843
1683
|
#
|
@@ -1852,14 +1692,6 @@ module Aws::Organizations
|
|
1852
1692
|
include Aws::Structure
|
1853
1693
|
end
|
1854
1694
|
|
1855
|
-
# @note When making an API call, you may pass DetachPolicyRequest
|
1856
|
-
# data as a hash:
|
1857
|
-
#
|
1858
|
-
# {
|
1859
|
-
# policy_id: "PolicyId", # required
|
1860
|
-
# target_id: "PolicyTargetId", # required
|
1861
|
-
# }
|
1862
|
-
#
|
1863
1695
|
# @!attribute [rw] policy_id
|
1864
1696
|
# The unique identifier (ID) of the policy you want to detach. You can
|
1865
1697
|
# get the ID from the ListPolicies or ListPoliciesForTarget
|
@@ -1907,13 +1739,6 @@ module Aws::Organizations
|
|
1907
1739
|
include Aws::Structure
|
1908
1740
|
end
|
1909
1741
|
|
1910
|
-
# @note When making an API call, you may pass DisableAWSServiceAccessRequest
|
1911
|
-
# data as a hash:
|
1912
|
-
#
|
1913
|
-
# {
|
1914
|
-
# service_principal: "ServicePrincipal", # required
|
1915
|
-
# }
|
1916
|
-
#
|
1917
1742
|
# @!attribute [rw] service_principal
|
1918
1743
|
# The service principal name of the Amazon Web Services service for
|
1919
1744
|
# which you want to disable integration with your organization. This
|
@@ -1929,14 +1754,6 @@ module Aws::Organizations
|
|
1929
1754
|
include Aws::Structure
|
1930
1755
|
end
|
1931
1756
|
|
1932
|
-
# @note When making an API call, you may pass DisablePolicyTypeRequest
|
1933
|
-
# data as a hash:
|
1934
|
-
#
|
1935
|
-
# {
|
1936
|
-
# root_id: "RootId", # required
|
1937
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1938
|
-
# }
|
1939
|
-
#
|
1940
1757
|
# @!attribute [rw] root_id
|
1941
1758
|
# The unique identifier (ID) of the root in which you want to disable
|
1942
1759
|
# a policy type. You can get the ID from the ListRoots operation.
|
@@ -2109,13 +1926,6 @@ module Aws::Organizations
|
|
2109
1926
|
include Aws::Structure
|
2110
1927
|
end
|
2111
1928
|
|
2112
|
-
# @note When making an API call, you may pass EnableAWSServiceAccessRequest
|
2113
|
-
# data as a hash:
|
2114
|
-
#
|
2115
|
-
# {
|
2116
|
-
# service_principal: "ServicePrincipal", # required
|
2117
|
-
# }
|
2118
|
-
#
|
2119
1929
|
# @!attribute [rw] service_principal
|
2120
1930
|
# The service principal name of the Amazon Web Services service for
|
2121
1931
|
# which you want to enable integration with your organization. This is
|
@@ -2150,14 +1960,6 @@ module Aws::Organizations
|
|
2150
1960
|
include Aws::Structure
|
2151
1961
|
end
|
2152
1962
|
|
2153
|
-
# @note When making an API call, you may pass EnablePolicyTypeRequest
|
2154
|
-
# data as a hash:
|
2155
|
-
#
|
2156
|
-
# {
|
2157
|
-
# root_id: "RootId", # required
|
2158
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
2159
|
-
# }
|
2160
|
-
#
|
2161
1963
|
# @!attribute [rw] root_id
|
2162
1964
|
# The unique identifier (ID) of the root in which you want to enable a
|
2163
1965
|
# policy type. You can get the ID from the ListRoots operation.
|
@@ -2461,14 +2263,6 @@ module Aws::Organizations
|
|
2461
2263
|
# Specifies the criteria that are used to select the handshakes for the
|
2462
2264
|
# operation.
|
2463
2265
|
#
|
2464
|
-
# @note When making an API call, you may pass HandshakeFilter
|
2465
|
-
# data as a hash:
|
2466
|
-
#
|
2467
|
-
# {
|
2468
|
-
# action_type: "INVITE", # accepts INVITE, ENABLE_ALL_FEATURES, APPROVE_ALL_FEATURES, ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE
|
2469
|
-
# parent_handshake_id: "HandshakeId",
|
2470
|
-
# }
|
2471
|
-
#
|
2472
2266
|
# @!attribute [rw] action_type
|
2473
2267
|
# Specifies the type of handshake action.
|
2474
2268
|
#
|
@@ -2515,14 +2309,6 @@ module Aws::Organizations
|
|
2515
2309
|
|
2516
2310
|
# Identifies a participant in a handshake.
|
2517
2311
|
#
|
2518
|
-
# @note When making an API call, you may pass HandshakeParty
|
2519
|
-
# data as a hash:
|
2520
|
-
#
|
2521
|
-
# {
|
2522
|
-
# id: "HandshakePartyId", # required
|
2523
|
-
# type: "ACCOUNT", # required, accepts ACCOUNT, ORGANIZATION, EMAIL
|
2524
|
-
# }
|
2525
|
-
#
|
2526
2312
|
# @!attribute [rw] id
|
2527
2313
|
# The unique identifier (ID) for the party.
|
2528
2314
|
#
|
@@ -2702,23 +2488,6 @@ module Aws::Organizations
|
|
2702
2488
|
include Aws::Structure
|
2703
2489
|
end
|
2704
2490
|
|
2705
|
-
# @note When making an API call, you may pass InviteAccountToOrganizationRequest
|
2706
|
-
# data as a hash:
|
2707
|
-
#
|
2708
|
-
# {
|
2709
|
-
# target: { # required
|
2710
|
-
# id: "HandshakePartyId", # required
|
2711
|
-
# type: "ACCOUNT", # required, accepts ACCOUNT, ORGANIZATION, EMAIL
|
2712
|
-
# },
|
2713
|
-
# notes: "HandshakeNotes",
|
2714
|
-
# tags: [
|
2715
|
-
# {
|
2716
|
-
# key: "TagKey", # required
|
2717
|
-
# value: "TagValue", # required
|
2718
|
-
# },
|
2719
|
-
# ],
|
2720
|
-
# }
|
2721
|
-
#
|
2722
2491
|
# @!attribute [rw] target
|
2723
2492
|
# The identifier (ID) of the Amazon Web Services account that you want
|
2724
2493
|
# to invite to join your organization. This is a JSON object that
|
@@ -2795,14 +2564,6 @@ module Aws::Organizations
|
|
2795
2564
|
include Aws::Structure
|
2796
2565
|
end
|
2797
2566
|
|
2798
|
-
# @note When making an API call, you may pass ListAWSServiceAccessForOrganizationRequest
|
2799
|
-
# data as a hash:
|
2800
|
-
#
|
2801
|
-
# {
|
2802
|
-
# next_token: "NextToken",
|
2803
|
-
# max_results: 1,
|
2804
|
-
# }
|
2805
|
-
#
|
2806
2567
|
# @!attribute [rw] next_token
|
2807
2568
|
# The parameter for receiving additional results if you receive a
|
2808
2569
|
# `NextToken` response in a previous request. A `NextToken` response
|
@@ -2857,15 +2618,6 @@ module Aws::Organizations
|
|
2857
2618
|
include Aws::Structure
|
2858
2619
|
end
|
2859
2620
|
|
2860
|
-
# @note When making an API call, you may pass ListAccountsForParentRequest
|
2861
|
-
# data as a hash:
|
2862
|
-
#
|
2863
|
-
# {
|
2864
|
-
# parent_id: "ParentId", # required
|
2865
|
-
# next_token: "NextToken",
|
2866
|
-
# max_results: 1,
|
2867
|
-
# }
|
2868
|
-
#
|
2869
2621
|
# @!attribute [rw] parent_id
|
2870
2622
|
# The unique identifier (ID) for the parent root or organization unit
|
2871
2623
|
# (OU) whose accounts you want to list.
|
@@ -2923,14 +2675,6 @@ module Aws::Organizations
|
|
2923
2675
|
include Aws::Structure
|
2924
2676
|
end
|
2925
2677
|
|
2926
|
-
# @note When making an API call, you may pass ListAccountsRequest
|
2927
|
-
# data as a hash:
|
2928
|
-
#
|
2929
|
-
# {
|
2930
|
-
# next_token: "NextToken",
|
2931
|
-
# max_results: 1,
|
2932
|
-
# }
|
2933
|
-
#
|
2934
2678
|
# @!attribute [rw] next_token
|
2935
2679
|
# The parameter for receiving additional results if you receive a
|
2936
2680
|
# `NextToken` response in a previous request. A `NextToken` response
|
@@ -2982,16 +2726,6 @@ module Aws::Organizations
|
|
2982
2726
|
include Aws::Structure
|
2983
2727
|
end
|
2984
2728
|
|
2985
|
-
# @note When making an API call, you may pass ListChildrenRequest
|
2986
|
-
# data as a hash:
|
2987
|
-
#
|
2988
|
-
# {
|
2989
|
-
# parent_id: "ParentId", # required
|
2990
|
-
# child_type: "ACCOUNT", # required, accepts ACCOUNT, ORGANIZATIONAL_UNIT
|
2991
|
-
# next_token: "NextToken",
|
2992
|
-
# max_results: 1,
|
2993
|
-
# }
|
2994
|
-
#
|
2995
2729
|
# @!attribute [rw] parent_id
|
2996
2730
|
# The unique identifier (ID) for the parent root or OU whose children
|
2997
2731
|
# you want to list.
|
@@ -3070,15 +2804,6 @@ module Aws::Organizations
|
|
3070
2804
|
include Aws::Structure
|
3071
2805
|
end
|
3072
2806
|
|
3073
|
-
# @note When making an API call, you may pass ListCreateAccountStatusRequest
|
3074
|
-
# data as a hash:
|
3075
|
-
#
|
3076
|
-
# {
|
3077
|
-
# states: ["IN_PROGRESS"], # accepts IN_PROGRESS, SUCCEEDED, FAILED
|
3078
|
-
# next_token: "NextToken",
|
3079
|
-
# max_results: 1,
|
3080
|
-
# }
|
3081
|
-
#
|
3082
2807
|
# @!attribute [rw] states
|
3083
2808
|
# A list of one or more states that you want included in the response.
|
3084
2809
|
# If this parameter isn't present, all requests are included in the
|
@@ -3139,15 +2864,6 @@ module Aws::Organizations
|
|
3139
2864
|
include Aws::Structure
|
3140
2865
|
end
|
3141
2866
|
|
3142
|
-
# @note When making an API call, you may pass ListDelegatedAdministratorsRequest
|
3143
|
-
# data as a hash:
|
3144
|
-
#
|
3145
|
-
# {
|
3146
|
-
# service_principal: "ServicePrincipal",
|
3147
|
-
# next_token: "NextToken",
|
3148
|
-
# max_results: 1,
|
3149
|
-
# }
|
3150
|
-
#
|
3151
2867
|
# @!attribute [rw] service_principal
|
3152
2868
|
# Specifies a service principal name. If specified, then the operation
|
3153
2869
|
# lists the delegated administrators only for the specified service.
|
@@ -3208,15 +2924,6 @@ module Aws::Organizations
|
|
3208
2924
|
include Aws::Structure
|
3209
2925
|
end
|
3210
2926
|
|
3211
|
-
# @note When making an API call, you may pass ListDelegatedServicesForAccountRequest
|
3212
|
-
# data as a hash:
|
3213
|
-
#
|
3214
|
-
# {
|
3215
|
-
# account_id: "AccountId", # required
|
3216
|
-
# next_token: "NextToken",
|
3217
|
-
# max_results: 1,
|
3218
|
-
# }
|
3219
|
-
#
|
3220
2927
|
# @!attribute [rw] account_id
|
3221
2928
|
# The account ID number of a delegated administrator account in the
|
3222
2929
|
# organization.
|
@@ -3274,18 +2981,6 @@ module Aws::Organizations
|
|
3274
2981
|
include Aws::Structure
|
3275
2982
|
end
|
3276
2983
|
|
3277
|
-
# @note When making an API call, you may pass ListHandshakesForAccountRequest
|
3278
|
-
# data as a hash:
|
3279
|
-
#
|
3280
|
-
# {
|
3281
|
-
# filter: {
|
3282
|
-
# action_type: "INVITE", # accepts INVITE, ENABLE_ALL_FEATURES, APPROVE_ALL_FEATURES, ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE
|
3283
|
-
# parent_handshake_id: "HandshakeId",
|
3284
|
-
# },
|
3285
|
-
# next_token: "NextToken",
|
3286
|
-
# max_results: 1,
|
3287
|
-
# }
|
3288
|
-
#
|
3289
2984
|
# @!attribute [rw] filter
|
3290
2985
|
# Filters the handshakes that you want included in the response. The
|
3291
2986
|
# default is all types. Use the `ActionType` element to limit the
|
@@ -3350,18 +3045,6 @@ module Aws::Organizations
|
|
3350
3045
|
include Aws::Structure
|
3351
3046
|
end
|
3352
3047
|
|
3353
|
-
# @note When making an API call, you may pass ListHandshakesForOrganizationRequest
|
3354
|
-
# data as a hash:
|
3355
|
-
#
|
3356
|
-
# {
|
3357
|
-
# filter: {
|
3358
|
-
# action_type: "INVITE", # accepts INVITE, ENABLE_ALL_FEATURES, APPROVE_ALL_FEATURES, ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE
|
3359
|
-
# parent_handshake_id: "HandshakeId",
|
3360
|
-
# },
|
3361
|
-
# next_token: "NextToken",
|
3362
|
-
# max_results: 1,
|
3363
|
-
# }
|
3364
|
-
#
|
3365
3048
|
# @!attribute [rw] filter
|
3366
3049
|
# A filter of the handshakes that you want included in the response.
|
3367
3050
|
# The default is all types. Use the `ActionType` element to limit the
|
@@ -3426,15 +3109,6 @@ module Aws::Organizations
|
|
3426
3109
|
include Aws::Structure
|
3427
3110
|
end
|
3428
3111
|
|
3429
|
-
# @note When making an API call, you may pass ListOrganizationalUnitsForParentRequest
|
3430
|
-
# data as a hash:
|
3431
|
-
#
|
3432
|
-
# {
|
3433
|
-
# parent_id: "ParentId", # required
|
3434
|
-
# next_token: "NextToken",
|
3435
|
-
# max_results: 1,
|
3436
|
-
# }
|
3437
|
-
#
|
3438
3112
|
# @!attribute [rw] parent_id
|
3439
3113
|
# The unique identifier (ID) of the root or OU whose child OUs you
|
3440
3114
|
# want to list.
|
@@ -3508,15 +3182,6 @@ module Aws::Organizations
|
|
3508
3182
|
include Aws::Structure
|
3509
3183
|
end
|
3510
3184
|
|
3511
|
-
# @note When making an API call, you may pass ListParentsRequest
|
3512
|
-
# data as a hash:
|
3513
|
-
#
|
3514
|
-
# {
|
3515
|
-
# child_id: "ChildId", # required
|
3516
|
-
# next_token: "NextToken",
|
3517
|
-
# max_results: 1,
|
3518
|
-
# }
|
3519
|
-
#
|
3520
3185
|
# @!attribute [rw] child_id
|
3521
3186
|
# The unique identifier (ID) of the OU or account whose parent
|
3522
3187
|
# containers you want to list. Don't specify a root.
|
@@ -3589,16 +3254,6 @@ module Aws::Organizations
|
|
3589
3254
|
include Aws::Structure
|
3590
3255
|
end
|
3591
3256
|
|
3592
|
-
# @note When making an API call, you may pass ListPoliciesForTargetRequest
|
3593
|
-
# data as a hash:
|
3594
|
-
#
|
3595
|
-
# {
|
3596
|
-
# target_id: "PolicyTargetId", # required
|
3597
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
3598
|
-
# next_token: "NextToken",
|
3599
|
-
# max_results: 1,
|
3600
|
-
# }
|
3601
|
-
#
|
3602
3257
|
# @!attribute [rw] target_id
|
3603
3258
|
# The unique identifier (ID) of the root, organizational unit, or
|
3604
3259
|
# account whose policies you want to list.
|
@@ -3695,15 +3350,6 @@ module Aws::Organizations
|
|
3695
3350
|
include Aws::Structure
|
3696
3351
|
end
|
3697
3352
|
|
3698
|
-
# @note When making an API call, you may pass ListPoliciesRequest
|
3699
|
-
# data as a hash:
|
3700
|
-
#
|
3701
|
-
# {
|
3702
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
3703
|
-
# next_token: "NextToken",
|
3704
|
-
# max_results: 1,
|
3705
|
-
# }
|
3706
|
-
#
|
3707
3353
|
# @!attribute [rw] filter
|
3708
3354
|
# Specifies the type of policy that you want to include in the
|
3709
3355
|
# response. You must specify one of the following values:
|
@@ -3778,14 +3424,6 @@ module Aws::Organizations
|
|
3778
3424
|
include Aws::Structure
|
3779
3425
|
end
|
3780
3426
|
|
3781
|
-
# @note When making an API call, you may pass ListRootsRequest
|
3782
|
-
# data as a hash:
|
3783
|
-
#
|
3784
|
-
# {
|
3785
|
-
# next_token: "NextToken",
|
3786
|
-
# max_results: 1,
|
3787
|
-
# }
|
3788
|
-
#
|
3789
3427
|
# @!attribute [rw] next_token
|
3790
3428
|
# The parameter for receiving additional results if you receive a
|
3791
3429
|
# `NextToken` response in a previous request. A `NextToken` response
|
@@ -3837,14 +3475,6 @@ module Aws::Organizations
|
|
3837
3475
|
include Aws::Structure
|
3838
3476
|
end
|
3839
3477
|
|
3840
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
3841
|
-
# data as a hash:
|
3842
|
-
#
|
3843
|
-
# {
|
3844
|
-
# resource_id: "TaggableResourceId", # required
|
3845
|
-
# next_token: "NextToken",
|
3846
|
-
# }
|
3847
|
-
#
|
3848
3478
|
# @!attribute [rw] resource_id
|
3849
3479
|
# The ID of the resource with the tags to list.
|
3850
3480
|
#
|
@@ -3900,15 +3530,6 @@ module Aws::Organizations
|
|
3900
3530
|
include Aws::Structure
|
3901
3531
|
end
|
3902
3532
|
|
3903
|
-
# @note When making an API call, you may pass ListTargetsForPolicyRequest
|
3904
|
-
# data as a hash:
|
3905
|
-
#
|
3906
|
-
# {
|
3907
|
-
# policy_id: "PolicyId", # required
|
3908
|
-
# next_token: "NextToken",
|
3909
|
-
# max_results: 1,
|
3910
|
-
# }
|
3911
|
-
#
|
3912
3533
|
# @!attribute [rw] policy_id
|
3913
3534
|
# The unique identifier (ID) of the policy whose attachments you want
|
3914
3535
|
# to know.
|
@@ -4011,15 +3632,6 @@ module Aws::Organizations
|
|
4011
3632
|
include Aws::Structure
|
4012
3633
|
end
|
4013
3634
|
|
4014
|
-
# @note When making an API call, you may pass MoveAccountRequest
|
4015
|
-
# data as a hash:
|
4016
|
-
#
|
4017
|
-
# {
|
4018
|
-
# account_id: "AccountId", # required
|
4019
|
-
# source_parent_id: "ParentId", # required
|
4020
|
-
# destination_parent_id: "ParentId", # required
|
4021
|
-
# }
|
4022
|
-
#
|
4023
3635
|
# @!attribute [rw] account_id
|
4024
3636
|
# The unique identifier (ID) of the account that you want to move.
|
4025
3637
|
#
|
@@ -4603,14 +4215,59 @@ module Aws::Organizations
|
|
4603
4215
|
include Aws::Structure
|
4604
4216
|
end
|
4605
4217
|
|
4606
|
-
#
|
4607
|
-
#
|
4218
|
+
# @!attribute [rw] content
|
4219
|
+
# If provided, the new content for the resource policy. The text must
|
4220
|
+
# be correctly formatted JSON that complies with the syntax for the
|
4221
|
+
# resource policy's type. For more information, see [Service Control
|
4222
|
+
# Policy Syntax][1] in the *Organizations User Guide.*
|
4223
|
+
#
|
4224
|
+
#
|
4225
|
+
#
|
4226
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html
|
4227
|
+
# @return [String]
|
4228
|
+
#
|
4229
|
+
# @!attribute [rw] tags
|
4230
|
+
# Updates the list of tags that you want to attach to the
|
4231
|
+
# newly-created resource policy. For each tag in the list, you must
|
4232
|
+
# specify both a tag key and a value. You can set the value to an
|
4233
|
+
# empty string, but you can't set it to `null`. For more information
|
4234
|
+
# about tagging, see [Tagging Organizations resources][1] in the
|
4235
|
+
# Organizations User Guide.
|
4236
|
+
#
|
4237
|
+
# <note markdown="1"> Calls with tags apply to the initial creation of the resource
|
4238
|
+
# policy, otherwise an exception is thrown. If any one of the tags is
|
4239
|
+
# invalid or if you exceed the allowed number of tags for the resource
|
4240
|
+
# policy, then the entire request fails and the resource policy is not
|
4241
|
+
# created.
|
4242
|
+
#
|
4243
|
+
# </note>
|
4244
|
+
#
|
4245
|
+
#
|
4246
|
+
#
|
4247
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_tagging.html
|
4248
|
+
# @return [Array<Types::Tag>]
|
4249
|
+
#
|
4250
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/PutResourcePolicyRequest AWS API Documentation
|
4251
|
+
#
|
4252
|
+
class PutResourcePolicyRequest < Struct.new(
|
4253
|
+
:content,
|
4254
|
+
:tags)
|
4255
|
+
SENSITIVE = []
|
4256
|
+
include Aws::Structure
|
4257
|
+
end
|
4258
|
+
|
4259
|
+
# @!attribute [rw] resource_policy
|
4260
|
+
# A structure that contains details about the resource policy.
|
4261
|
+
# @return [Types::ResourcePolicy]
|
4608
4262
|
#
|
4609
|
-
#
|
4610
|
-
# account_id: "AccountId", # required
|
4611
|
-
# service_principal: "ServicePrincipal", # required
|
4612
|
-
# }
|
4263
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/PutResourcePolicyResponse AWS API Documentation
|
4613
4264
|
#
|
4265
|
+
class PutResourcePolicyResponse < Struct.new(
|
4266
|
+
:resource_policy)
|
4267
|
+
SENSITIVE = []
|
4268
|
+
include Aws::Structure
|
4269
|
+
end
|
4270
|
+
|
4614
4271
|
# @!attribute [rw] account_id
|
4615
4272
|
# The account ID number of the member account in the organization to
|
4616
4273
|
# register as a delegated administrator.
|
@@ -4630,13 +4287,6 @@ module Aws::Organizations
|
|
4630
4287
|
include Aws::Structure
|
4631
4288
|
end
|
4632
4289
|
|
4633
|
-
# @note When making an API call, you may pass RemoveAccountFromOrganizationRequest
|
4634
|
-
# data as a hash:
|
4635
|
-
#
|
4636
|
-
# {
|
4637
|
-
# account_id: "AccountId", # required
|
4638
|
-
# }
|
4639
|
-
#
|
4640
4290
|
# @!attribute [rw] account_id
|
4641
4291
|
# The unique identifier (ID) of the member account that you want to
|
4642
4292
|
# remove from the organization.
|
@@ -4657,6 +4307,60 @@ module Aws::Organizations
|
|
4657
4307
|
include Aws::Structure
|
4658
4308
|
end
|
4659
4309
|
|
4310
|
+
# A structure that contains details about a resource policy.
|
4311
|
+
#
|
4312
|
+
# @!attribute [rw] resource_policy_summary
|
4313
|
+
# A structure that contains resource policy ID and Amazon Resource
|
4314
|
+
# Name (ARN).
|
4315
|
+
# @return [Types::ResourcePolicySummary]
|
4316
|
+
#
|
4317
|
+
# @!attribute [rw] content
|
4318
|
+
# The policy text of the resource policy.
|
4319
|
+
# @return [String]
|
4320
|
+
#
|
4321
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ResourcePolicy AWS API Documentation
|
4322
|
+
#
|
4323
|
+
class ResourcePolicy < Struct.new(
|
4324
|
+
:resource_policy_summary,
|
4325
|
+
:content)
|
4326
|
+
SENSITIVE = []
|
4327
|
+
include Aws::Structure
|
4328
|
+
end
|
4329
|
+
|
4330
|
+
# We can't find a resource policy request with the parameter that you
|
4331
|
+
# specified.
|
4332
|
+
#
|
4333
|
+
# @!attribute [rw] message
|
4334
|
+
# @return [String]
|
4335
|
+
#
|
4336
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ResourcePolicyNotFoundException AWS API Documentation
|
4337
|
+
#
|
4338
|
+
class ResourcePolicyNotFoundException < Struct.new(
|
4339
|
+
:message)
|
4340
|
+
SENSITIVE = []
|
4341
|
+
include Aws::Structure
|
4342
|
+
end
|
4343
|
+
|
4344
|
+
# A structure that contains resource policy ID and Amazon Resource Name
|
4345
|
+
# (ARN).
|
4346
|
+
#
|
4347
|
+
# @!attribute [rw] id
|
4348
|
+
# The unique identifier (ID) of the resource policy.
|
4349
|
+
# @return [String]
|
4350
|
+
#
|
4351
|
+
# @!attribute [rw] arn
|
4352
|
+
# The Amazon Resource Name (ARN) of the resource policy.
|
4353
|
+
# @return [String]
|
4354
|
+
#
|
4355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ResourcePolicySummary AWS API Documentation
|
4356
|
+
#
|
4357
|
+
class ResourcePolicySummary < Struct.new(
|
4358
|
+
:id,
|
4359
|
+
:arn)
|
4360
|
+
SENSITIVE = []
|
4361
|
+
include Aws::Structure
|
4362
|
+
end
|
4363
|
+
|
4660
4364
|
# Contains details about a root. A root is a top-level parent node in
|
4661
4365
|
# the hierarchy of an organization that can contain organizational units
|
4662
4366
|
# (OUs) and accounts. The root contains every Amazon Web Services
|
@@ -4773,14 +4477,6 @@ module Aws::Organizations
|
|
4773
4477
|
#
|
4774
4478
|
# * Policy
|
4775
4479
|
#
|
4776
|
-
# @note When making an API call, you may pass Tag
|
4777
|
-
# data as a hash:
|
4778
|
-
#
|
4779
|
-
# {
|
4780
|
-
# key: "TagKey", # required
|
4781
|
-
# value: "TagValue", # required
|
4782
|
-
# }
|
4783
|
-
#
|
4784
4480
|
# @!attribute [rw] key
|
4785
4481
|
# The key identifier, or name, of the tag.
|
4786
4482
|
# @return [String]
|
@@ -4800,19 +4496,6 @@ module Aws::Organizations
|
|
4800
4496
|
include Aws::Structure
|
4801
4497
|
end
|
4802
4498
|
|
4803
|
-
# @note When making an API call, you may pass TagResourceRequest
|
4804
|
-
# data as a hash:
|
4805
|
-
#
|
4806
|
-
# {
|
4807
|
-
# resource_id: "TaggableResourceId", # required
|
4808
|
-
# tags: [ # required
|
4809
|
-
# {
|
4810
|
-
# key: "TagKey", # required
|
4811
|
-
# value: "TagValue", # required
|
4812
|
-
# },
|
4813
|
-
# ],
|
4814
|
-
# }
|
4815
|
-
#
|
4816
4499
|
# @!attribute [rw] resource_id
|
4817
4500
|
# The ID of the resource to add a tag to.
|
4818
4501
|
#
|
@@ -4907,14 +4590,6 @@ module Aws::Organizations
|
|
4907
4590
|
include Aws::Structure
|
4908
4591
|
end
|
4909
4592
|
|
4910
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
4911
|
-
# data as a hash:
|
4912
|
-
#
|
4913
|
-
# {
|
4914
|
-
# resource_id: "TaggableResourceId", # required
|
4915
|
-
# tag_keys: ["TagKey"], # required
|
4916
|
-
# }
|
4917
|
-
#
|
4918
4593
|
# @!attribute [rw] resource_id
|
4919
4594
|
# The ID of the resource to remove a tag from.
|
4920
4595
|
#
|
@@ -4945,14 +4620,6 @@ module Aws::Organizations
|
|
4945
4620
|
include Aws::Structure
|
4946
4621
|
end
|
4947
4622
|
|
4948
|
-
# @note When making an API call, you may pass UpdateOrganizationalUnitRequest
|
4949
|
-
# data as a hash:
|
4950
|
-
#
|
4951
|
-
# {
|
4952
|
-
# organizational_unit_id: "OrganizationalUnitId", # required
|
4953
|
-
# name: "OrganizationalUnitName",
|
4954
|
-
# }
|
4955
|
-
#
|
4956
4623
|
# @!attribute [rw] organizational_unit_id
|
4957
4624
|
# The unique identifier (ID) of the OU that you want to rename. You
|
4958
4625
|
# can get the ID from the ListOrganizationalUnitsForParent operation.
|
@@ -5001,16 +4668,6 @@ module Aws::Organizations
|
|
5001
4668
|
include Aws::Structure
|
5002
4669
|
end
|
5003
4670
|
|
5004
|
-
# @note When making an API call, you may pass UpdatePolicyRequest
|
5005
|
-
# data as a hash:
|
5006
|
-
#
|
5007
|
-
# {
|
5008
|
-
# policy_id: "PolicyId", # required
|
5009
|
-
# name: "PolicyName",
|
5010
|
-
# description: "PolicyDescription",
|
5011
|
-
# content: "PolicyContent",
|
5012
|
-
# }
|
5013
|
-
#
|
5014
4671
|
# @!attribute [rw] policy_id
|
5015
4672
|
# The unique identifier (ID) of the policy that you want to update.
|
5016
4673
|
#
|