aws-sdk-organizations 1.72.0 → 1.74.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-organizations/client.rb +44 -38
- data/lib/aws-sdk-organizations/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-organizations/endpoint_provider.rb +116 -278
- data/lib/aws-sdk-organizations/types.rb +19 -488
- 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.
|
@@ -486,6 +457,10 @@ module Aws::Organizations
|
|
486
457
|
# * ACCOUNT\_CREATION\_RATE\_LIMIT\_EXCEEDED: You attempted to exceed
|
487
458
|
# the number of accounts that you can create in one day.
|
488
459
|
#
|
460
|
+
# * ACCOUNT\_CREATION\_NOT\_COMPLETE: Your account setup isn't complete
|
461
|
+
# or your account isn't fully active. You must complete the account
|
462
|
+
# setup before you create an organization.
|
463
|
+
#
|
489
464
|
# * ACCOUNT\_NUMBER\_LIMIT\_EXCEEDED: You attempted to exceed the limit
|
490
465
|
# on the number of accounts in an organization. If you need more
|
491
466
|
# accounts, contact [Amazon Web Services Support][2] to request an
|
@@ -657,22 +632,6 @@ module Aws::Organizations
|
|
657
632
|
include Aws::Structure
|
658
633
|
end
|
659
634
|
|
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
635
|
# @!attribute [rw] email
|
677
636
|
# The email address of the owner to assign to the new member account.
|
678
637
|
# This email address must not already be associated with another
|
@@ -765,7 +724,7 @@ module Aws::Organizations
|
|
765
724
|
# it to `null`. For more information about tagging, see [Tagging
|
766
725
|
# Organizations resources][1] in the Organizations User Guide.
|
767
726
|
#
|
768
|
-
# <note markdown="1"> If any one of the tags is
|
727
|
+
# <note markdown="1"> If any one of the tags is not valid or if you exceed the maximum
|
769
728
|
# allowed number of tags for an account, then the entire request fails
|
770
729
|
# and the account is not created.
|
771
730
|
#
|
@@ -957,22 +916,6 @@ module Aws::Organizations
|
|
957
916
|
include Aws::Structure
|
958
917
|
end
|
959
918
|
|
960
|
-
# @note When making an API call, you may pass CreateGovCloudAccountRequest
|
961
|
-
# data as a hash:
|
962
|
-
#
|
963
|
-
# {
|
964
|
-
# email: "Email", # required
|
965
|
-
# account_name: "CreateAccountName", # required
|
966
|
-
# role_name: "RoleName",
|
967
|
-
# iam_user_access_to_billing: "ALLOW", # accepts ALLOW, DENY
|
968
|
-
# tags: [
|
969
|
-
# {
|
970
|
-
# key: "TagKey", # required
|
971
|
-
# value: "TagValue", # required
|
972
|
-
# },
|
973
|
-
# ],
|
974
|
-
# }
|
975
|
-
#
|
976
919
|
# @!attribute [rw] email
|
977
920
|
# Specifies the email address of the owner to assign to the new member
|
978
921
|
# account in the commercial Region. This email address must not
|
@@ -1079,7 +1022,7 @@ module Aws::Organizations
|
|
1079
1022
|
# it to `null`. For more information about tagging, see [Tagging
|
1080
1023
|
# Organizations resources][1] in the Organizations User Guide.
|
1081
1024
|
#
|
1082
|
-
# <note markdown="1"> If any one of the tags is
|
1025
|
+
# <note markdown="1"> If any one of the tags is not valid or if you exceed the maximum
|
1083
1026
|
# allowed number of tags for an account, then the entire request fails
|
1084
1027
|
# and the account is not created.
|
1085
1028
|
#
|
@@ -1116,13 +1059,6 @@ module Aws::Organizations
|
|
1116
1059
|
include Aws::Structure
|
1117
1060
|
end
|
1118
1061
|
|
1119
|
-
# @note When making an API call, you may pass CreateOrganizationRequest
|
1120
|
-
# data as a hash:
|
1121
|
-
#
|
1122
|
-
# {
|
1123
|
-
# feature_set: "ALL", # accepts ALL, CONSOLIDATED_BILLING
|
1124
|
-
# }
|
1125
|
-
#
|
1126
1062
|
# @!attribute [rw] feature_set
|
1127
1063
|
# Specifies the feature set supported by the new organization. Each
|
1128
1064
|
# feature set supports different levels of functionality.
|
@@ -1168,20 +1104,6 @@ module Aws::Organizations
|
|
1168
1104
|
include Aws::Structure
|
1169
1105
|
end
|
1170
1106
|
|
1171
|
-
# @note When making an API call, you may pass CreateOrganizationalUnitRequest
|
1172
|
-
# data as a hash:
|
1173
|
-
#
|
1174
|
-
# {
|
1175
|
-
# parent_id: "ParentId", # required
|
1176
|
-
# name: "OrganizationalUnitName", # required
|
1177
|
-
# tags: [
|
1178
|
-
# {
|
1179
|
-
# key: "TagKey", # required
|
1180
|
-
# value: "TagValue", # required
|
1181
|
-
# },
|
1182
|
-
# ],
|
1183
|
-
# }
|
1184
|
-
#
|
1185
1107
|
# @!attribute [rw] parent_id
|
1186
1108
|
# The unique identifier (ID) of the parent root or OU that you want to
|
1187
1109
|
# create the new OU in.
|
@@ -1214,7 +1136,7 @@ module Aws::Organizations
|
|
1214
1136
|
# `null`. For more information about tagging, see [Tagging
|
1215
1137
|
# Organizations resources][1] in the Organizations User Guide.
|
1216
1138
|
#
|
1217
|
-
# <note markdown="1"> If any one of the tags is
|
1139
|
+
# <note markdown="1"> If any one of the tags is not valid or if you exceed the allowed
|
1218
1140
|
# number of tags for an OU, then the entire request fails and the OU
|
1219
1141
|
# is not created.
|
1220
1142
|
#
|
@@ -1247,22 +1169,6 @@ module Aws::Organizations
|
|
1247
1169
|
include Aws::Structure
|
1248
1170
|
end
|
1249
1171
|
|
1250
|
-
# @note When making an API call, you may pass CreatePolicyRequest
|
1251
|
-
# data as a hash:
|
1252
|
-
#
|
1253
|
-
# {
|
1254
|
-
# content: "PolicyContent", # required
|
1255
|
-
# description: "PolicyDescription", # required
|
1256
|
-
# name: "PolicyName", # required
|
1257
|
-
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1258
|
-
# tags: [
|
1259
|
-
# {
|
1260
|
-
# key: "TagKey", # required
|
1261
|
-
# value: "TagValue", # required
|
1262
|
-
# },
|
1263
|
-
# ],
|
1264
|
-
# }
|
1265
|
-
#
|
1266
1172
|
# @!attribute [rw] content
|
1267
1173
|
# The policy text content to add to the new policy. The text that you
|
1268
1174
|
# supply must adhere to the rules of the policy type you specify in
|
@@ -1311,7 +1217,7 @@ module Aws::Organizations
|
|
1311
1217
|
# it to `null`. For more information about tagging, see [Tagging
|
1312
1218
|
# Organizations resources][1] in the Organizations User Guide.
|
1313
1219
|
#
|
1314
|
-
# <note markdown="1"> If any one of the tags is
|
1220
|
+
# <note markdown="1"> If any one of the tags is not valid or if you exceed the allowed
|
1315
1221
|
# number of tags for a policy, then the entire request fails and the
|
1316
1222
|
# policy is not created.
|
1317
1223
|
#
|
@@ -1346,13 +1252,6 @@ module Aws::Organizations
|
|
1346
1252
|
include Aws::Structure
|
1347
1253
|
end
|
1348
1254
|
|
1349
|
-
# @note When making an API call, you may pass DeclineHandshakeRequest
|
1350
|
-
# data as a hash:
|
1351
|
-
#
|
1352
|
-
# {
|
1353
|
-
# handshake_id: "HandshakeId", # required
|
1354
|
-
# }
|
1355
|
-
#
|
1356
1255
|
# @!attribute [rw] handshake_id
|
1357
1256
|
# The unique identifier (ID) of the handshake that you want to
|
1358
1257
|
# decline. You can get the ID from the ListHandshakesForAccount
|
@@ -1465,13 +1364,6 @@ module Aws::Organizations
|
|
1465
1364
|
include Aws::Structure
|
1466
1365
|
end
|
1467
1366
|
|
1468
|
-
# @note When making an API call, you may pass DeleteOrganizationalUnitRequest
|
1469
|
-
# data as a hash:
|
1470
|
-
#
|
1471
|
-
# {
|
1472
|
-
# organizational_unit_id: "OrganizationalUnitId", # required
|
1473
|
-
# }
|
1474
|
-
#
|
1475
1367
|
# @!attribute [rw] organizational_unit_id
|
1476
1368
|
# The unique identifier (ID) of the organizational unit that you want
|
1477
1369
|
# to delete. You can get the ID from the
|
@@ -1496,13 +1388,6 @@ module Aws::Organizations
|
|
1496
1388
|
include Aws::Structure
|
1497
1389
|
end
|
1498
1390
|
|
1499
|
-
# @note When making an API call, you may pass DeletePolicyRequest
|
1500
|
-
# data as a hash:
|
1501
|
-
#
|
1502
|
-
# {
|
1503
|
-
# policy_id: "PolicyId", # required
|
1504
|
-
# }
|
1505
|
-
#
|
1506
1391
|
# @!attribute [rw] policy_id
|
1507
1392
|
# The unique identifier (ID) of the policy that you want to delete.
|
1508
1393
|
# You can get the ID from the ListPolicies or ListPoliciesForTarget
|
@@ -1525,14 +1410,6 @@ module Aws::Organizations
|
|
1525
1410
|
include Aws::Structure
|
1526
1411
|
end
|
1527
1412
|
|
1528
|
-
# @note When making an API call, you may pass DeregisterDelegatedAdministratorRequest
|
1529
|
-
# data as a hash:
|
1530
|
-
#
|
1531
|
-
# {
|
1532
|
-
# account_id: "AccountId", # required
|
1533
|
-
# service_principal: "ServicePrincipal", # required
|
1534
|
-
# }
|
1535
|
-
#
|
1536
1413
|
# @!attribute [rw] account_id
|
1537
1414
|
# The account ID number of the member account in the organization that
|
1538
1415
|
# you want to deregister as a delegated administrator.
|
@@ -1558,13 +1435,6 @@ module Aws::Organizations
|
|
1558
1435
|
include Aws::Structure
|
1559
1436
|
end
|
1560
1437
|
|
1561
|
-
# @note When making an API call, you may pass DescribeAccountRequest
|
1562
|
-
# data as a hash:
|
1563
|
-
#
|
1564
|
-
# {
|
1565
|
-
# account_id: "AccountId", # required
|
1566
|
-
# }
|
1567
|
-
#
|
1568
1438
|
# @!attribute [rw] account_id
|
1569
1439
|
# The unique identifier (ID) of the Amazon Web Services account that
|
1570
1440
|
# you want information about. You can get the ID from the ListAccounts
|
@@ -1598,13 +1468,6 @@ module Aws::Organizations
|
|
1598
1468
|
include Aws::Structure
|
1599
1469
|
end
|
1600
1470
|
|
1601
|
-
# @note When making an API call, you may pass DescribeCreateAccountStatusRequest
|
1602
|
-
# data as a hash:
|
1603
|
-
#
|
1604
|
-
# {
|
1605
|
-
# create_account_request_id: "CreateAccountRequestId", # required
|
1606
|
-
# }
|
1607
|
-
#
|
1608
1471
|
# @!attribute [rw] create_account_request_id
|
1609
1472
|
# Specifies the `Id` value that uniquely identifies the
|
1610
1473
|
# `CreateAccount` request. You can get the value from the
|
@@ -1641,14 +1504,6 @@ module Aws::Organizations
|
|
1641
1504
|
include Aws::Structure
|
1642
1505
|
end
|
1643
1506
|
|
1644
|
-
# @note When making an API call, you may pass DescribeEffectivePolicyRequest
|
1645
|
-
# data as a hash:
|
1646
|
-
#
|
1647
|
-
# {
|
1648
|
-
# policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1649
|
-
# target_id: "PolicyTargetId",
|
1650
|
-
# }
|
1651
|
-
#
|
1652
1507
|
# @!attribute [rw] policy_type
|
1653
1508
|
# The type of policy that you want information about. You can specify
|
1654
1509
|
# one of the following values:
|
@@ -1693,13 +1548,6 @@ module Aws::Organizations
|
|
1693
1548
|
include Aws::Structure
|
1694
1549
|
end
|
1695
1550
|
|
1696
|
-
# @note When making an API call, you may pass DescribeHandshakeRequest
|
1697
|
-
# data as a hash:
|
1698
|
-
#
|
1699
|
-
# {
|
1700
|
-
# handshake_id: "HandshakeId", # required
|
1701
|
-
# }
|
1702
|
-
#
|
1703
1551
|
# @!attribute [rw] handshake_id
|
1704
1552
|
# The unique identifier (ID) of the handshake that you want
|
1705
1553
|
# information about. You can get the ID from the original call to
|
@@ -1752,13 +1600,6 @@ module Aws::Organizations
|
|
1752
1600
|
include Aws::Structure
|
1753
1601
|
end
|
1754
1602
|
|
1755
|
-
# @note When making an API call, you may pass DescribeOrganizationalUnitRequest
|
1756
|
-
# data as a hash:
|
1757
|
-
#
|
1758
|
-
# {
|
1759
|
-
# organizational_unit_id: "OrganizationalUnitId", # required
|
1760
|
-
# }
|
1761
|
-
#
|
1762
1603
|
# @!attribute [rw] organizational_unit_id
|
1763
1604
|
# The unique identifier (ID) of the organizational unit that you want
|
1764
1605
|
# details about. You can get the ID from the
|
@@ -1795,13 +1636,6 @@ module Aws::Organizations
|
|
1795
1636
|
include Aws::Structure
|
1796
1637
|
end
|
1797
1638
|
|
1798
|
-
# @note When making an API call, you may pass DescribePolicyRequest
|
1799
|
-
# data as a hash:
|
1800
|
-
#
|
1801
|
-
# {
|
1802
|
-
# policy_id: "PolicyId", # required
|
1803
|
-
# }
|
1804
|
-
#
|
1805
1639
|
# @!attribute [rw] policy_id
|
1806
1640
|
# The unique identifier (ID) of the policy that you want details
|
1807
1641
|
# about. You can get the ID from the ListPolicies or
|
@@ -1862,14 +1696,6 @@ module Aws::Organizations
|
|
1862
1696
|
include Aws::Structure
|
1863
1697
|
end
|
1864
1698
|
|
1865
|
-
# @note When making an API call, you may pass DetachPolicyRequest
|
1866
|
-
# data as a hash:
|
1867
|
-
#
|
1868
|
-
# {
|
1869
|
-
# policy_id: "PolicyId", # required
|
1870
|
-
# target_id: "PolicyTargetId", # required
|
1871
|
-
# }
|
1872
|
-
#
|
1873
1699
|
# @!attribute [rw] policy_id
|
1874
1700
|
# The unique identifier (ID) of the policy you want to detach. You can
|
1875
1701
|
# get the ID from the ListPolicies or ListPoliciesForTarget
|
@@ -1917,13 +1743,6 @@ module Aws::Organizations
|
|
1917
1743
|
include Aws::Structure
|
1918
1744
|
end
|
1919
1745
|
|
1920
|
-
# @note When making an API call, you may pass DisableAWSServiceAccessRequest
|
1921
|
-
# data as a hash:
|
1922
|
-
#
|
1923
|
-
# {
|
1924
|
-
# service_principal: "ServicePrincipal", # required
|
1925
|
-
# }
|
1926
|
-
#
|
1927
1746
|
# @!attribute [rw] service_principal
|
1928
1747
|
# The service principal name of the Amazon Web Services service for
|
1929
1748
|
# which you want to disable integration with your organization. This
|
@@ -1939,14 +1758,6 @@ module Aws::Organizations
|
|
1939
1758
|
include Aws::Structure
|
1940
1759
|
end
|
1941
1760
|
|
1942
|
-
# @note When making an API call, you may pass DisablePolicyTypeRequest
|
1943
|
-
# data as a hash:
|
1944
|
-
#
|
1945
|
-
# {
|
1946
|
-
# root_id: "RootId", # required
|
1947
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1948
|
-
# }
|
1949
|
-
#
|
1950
1761
|
# @!attribute [rw] root_id
|
1951
1762
|
# The unique identifier (ID) of the root in which you want to disable
|
1952
1763
|
# a policy type. You can get the ID from the ListRoots operation.
|
@@ -2119,13 +1930,6 @@ module Aws::Organizations
|
|
2119
1930
|
include Aws::Structure
|
2120
1931
|
end
|
2121
1932
|
|
2122
|
-
# @note When making an API call, you may pass EnableAWSServiceAccessRequest
|
2123
|
-
# data as a hash:
|
2124
|
-
#
|
2125
|
-
# {
|
2126
|
-
# service_principal: "ServicePrincipal", # required
|
2127
|
-
# }
|
2128
|
-
#
|
2129
1933
|
# @!attribute [rw] service_principal
|
2130
1934
|
# The service principal name of the Amazon Web Services service for
|
2131
1935
|
# which you want to enable integration with your organization. This is
|
@@ -2160,14 +1964,6 @@ module Aws::Organizations
|
|
2160
1964
|
include Aws::Structure
|
2161
1965
|
end
|
2162
1966
|
|
2163
|
-
# @note When making an API call, you may pass EnablePolicyTypeRequest
|
2164
|
-
# data as a hash:
|
2165
|
-
#
|
2166
|
-
# {
|
2167
|
-
# root_id: "RootId", # required
|
2168
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
2169
|
-
# }
|
2170
|
-
#
|
2171
1967
|
# @!attribute [rw] root_id
|
2172
1968
|
# The unique identifier (ID) of the root in which you want to enable a
|
2173
1969
|
# policy type. You can get the ID from the ListRoots operation.
|
@@ -2471,14 +2267,6 @@ module Aws::Organizations
|
|
2471
2267
|
# Specifies the criteria that are used to select the handshakes for the
|
2472
2268
|
# operation.
|
2473
2269
|
#
|
2474
|
-
# @note When making an API call, you may pass HandshakeFilter
|
2475
|
-
# data as a hash:
|
2476
|
-
#
|
2477
|
-
# {
|
2478
|
-
# action_type: "INVITE", # accepts INVITE, ENABLE_ALL_FEATURES, APPROVE_ALL_FEATURES, ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE
|
2479
|
-
# parent_handshake_id: "HandshakeId",
|
2480
|
-
# }
|
2481
|
-
#
|
2482
2270
|
# @!attribute [rw] action_type
|
2483
2271
|
# Specifies the type of handshake action.
|
2484
2272
|
#
|
@@ -2525,14 +2313,6 @@ module Aws::Organizations
|
|
2525
2313
|
|
2526
2314
|
# Identifies a participant in a handshake.
|
2527
2315
|
#
|
2528
|
-
# @note When making an API call, you may pass HandshakeParty
|
2529
|
-
# data as a hash:
|
2530
|
-
#
|
2531
|
-
# {
|
2532
|
-
# id: "HandshakePartyId", # required
|
2533
|
-
# type: "ACCOUNT", # required, accepts ACCOUNT, ORGANIZATION, EMAIL
|
2534
|
-
# }
|
2535
|
-
#
|
2536
2316
|
# @!attribute [rw] id
|
2537
2317
|
# The unique identifier (ID) for the party.
|
2538
2318
|
#
|
@@ -2712,23 +2492,6 @@ module Aws::Organizations
|
|
2712
2492
|
include Aws::Structure
|
2713
2493
|
end
|
2714
2494
|
|
2715
|
-
# @note When making an API call, you may pass InviteAccountToOrganizationRequest
|
2716
|
-
# data as a hash:
|
2717
|
-
#
|
2718
|
-
# {
|
2719
|
-
# target: { # required
|
2720
|
-
# id: "HandshakePartyId", # required
|
2721
|
-
# type: "ACCOUNT", # required, accepts ACCOUNT, ORGANIZATION, EMAIL
|
2722
|
-
# },
|
2723
|
-
# notes: "HandshakeNotes",
|
2724
|
-
# tags: [
|
2725
|
-
# {
|
2726
|
-
# key: "TagKey", # required
|
2727
|
-
# value: "TagValue", # required
|
2728
|
-
# },
|
2729
|
-
# ],
|
2730
|
-
# }
|
2731
|
-
#
|
2732
2495
|
# @!attribute [rw] target
|
2733
2496
|
# The identifier (ID) of the Amazon Web Services account that you want
|
2734
2497
|
# to invite to join your organization. This is a JSON object that
|
@@ -2771,7 +2534,7 @@ module Aws::Organizations
|
|
2771
2534
|
# changes between the invitation and the acceptance, then that tags
|
2772
2535
|
# could potentially be non-compliant.
|
2773
2536
|
#
|
2774
|
-
# <note markdown="1"> If any one of the tags is
|
2537
|
+
# <note markdown="1"> If any one of the tags is not valid or if you exceed the allowed
|
2775
2538
|
# number of tags for an account, then the entire request fails and
|
2776
2539
|
# invitations are not sent.
|
2777
2540
|
#
|
@@ -2805,14 +2568,6 @@ module Aws::Organizations
|
|
2805
2568
|
include Aws::Structure
|
2806
2569
|
end
|
2807
2570
|
|
2808
|
-
# @note When making an API call, you may pass ListAWSServiceAccessForOrganizationRequest
|
2809
|
-
# data as a hash:
|
2810
|
-
#
|
2811
|
-
# {
|
2812
|
-
# next_token: "NextToken",
|
2813
|
-
# max_results: 1,
|
2814
|
-
# }
|
2815
|
-
#
|
2816
2571
|
# @!attribute [rw] next_token
|
2817
2572
|
# The parameter for receiving additional results if you receive a
|
2818
2573
|
# `NextToken` response in a previous request. A `NextToken` response
|
@@ -2867,15 +2622,6 @@ module Aws::Organizations
|
|
2867
2622
|
include Aws::Structure
|
2868
2623
|
end
|
2869
2624
|
|
2870
|
-
# @note When making an API call, you may pass ListAccountsForParentRequest
|
2871
|
-
# data as a hash:
|
2872
|
-
#
|
2873
|
-
# {
|
2874
|
-
# parent_id: "ParentId", # required
|
2875
|
-
# next_token: "NextToken",
|
2876
|
-
# max_results: 1,
|
2877
|
-
# }
|
2878
|
-
#
|
2879
2625
|
# @!attribute [rw] parent_id
|
2880
2626
|
# The unique identifier (ID) for the parent root or organization unit
|
2881
2627
|
# (OU) whose accounts you want to list.
|
@@ -2933,14 +2679,6 @@ module Aws::Organizations
|
|
2933
2679
|
include Aws::Structure
|
2934
2680
|
end
|
2935
2681
|
|
2936
|
-
# @note When making an API call, you may pass ListAccountsRequest
|
2937
|
-
# data as a hash:
|
2938
|
-
#
|
2939
|
-
# {
|
2940
|
-
# next_token: "NextToken",
|
2941
|
-
# max_results: 1,
|
2942
|
-
# }
|
2943
|
-
#
|
2944
2682
|
# @!attribute [rw] next_token
|
2945
2683
|
# The parameter for receiving additional results if you receive a
|
2946
2684
|
# `NextToken` response in a previous request. A `NextToken` response
|
@@ -2992,16 +2730,6 @@ module Aws::Organizations
|
|
2992
2730
|
include Aws::Structure
|
2993
2731
|
end
|
2994
2732
|
|
2995
|
-
# @note When making an API call, you may pass ListChildrenRequest
|
2996
|
-
# data as a hash:
|
2997
|
-
#
|
2998
|
-
# {
|
2999
|
-
# parent_id: "ParentId", # required
|
3000
|
-
# child_type: "ACCOUNT", # required, accepts ACCOUNT, ORGANIZATIONAL_UNIT
|
3001
|
-
# next_token: "NextToken",
|
3002
|
-
# max_results: 1,
|
3003
|
-
# }
|
3004
|
-
#
|
3005
2733
|
# @!attribute [rw] parent_id
|
3006
2734
|
# The unique identifier (ID) for the parent root or OU whose children
|
3007
2735
|
# you want to list.
|
@@ -3080,15 +2808,6 @@ module Aws::Organizations
|
|
3080
2808
|
include Aws::Structure
|
3081
2809
|
end
|
3082
2810
|
|
3083
|
-
# @note When making an API call, you may pass ListCreateAccountStatusRequest
|
3084
|
-
# data as a hash:
|
3085
|
-
#
|
3086
|
-
# {
|
3087
|
-
# states: ["IN_PROGRESS"], # accepts IN_PROGRESS, SUCCEEDED, FAILED
|
3088
|
-
# next_token: "NextToken",
|
3089
|
-
# max_results: 1,
|
3090
|
-
# }
|
3091
|
-
#
|
3092
2811
|
# @!attribute [rw] states
|
3093
2812
|
# A list of one or more states that you want included in the response.
|
3094
2813
|
# If this parameter isn't present, all requests are included in the
|
@@ -3149,15 +2868,6 @@ module Aws::Organizations
|
|
3149
2868
|
include Aws::Structure
|
3150
2869
|
end
|
3151
2870
|
|
3152
|
-
# @note When making an API call, you may pass ListDelegatedAdministratorsRequest
|
3153
|
-
# data as a hash:
|
3154
|
-
#
|
3155
|
-
# {
|
3156
|
-
# service_principal: "ServicePrincipal",
|
3157
|
-
# next_token: "NextToken",
|
3158
|
-
# max_results: 1,
|
3159
|
-
# }
|
3160
|
-
#
|
3161
2871
|
# @!attribute [rw] service_principal
|
3162
2872
|
# Specifies a service principal name. If specified, then the operation
|
3163
2873
|
# lists the delegated administrators only for the specified service.
|
@@ -3218,15 +2928,6 @@ module Aws::Organizations
|
|
3218
2928
|
include Aws::Structure
|
3219
2929
|
end
|
3220
2930
|
|
3221
|
-
# @note When making an API call, you may pass ListDelegatedServicesForAccountRequest
|
3222
|
-
# data as a hash:
|
3223
|
-
#
|
3224
|
-
# {
|
3225
|
-
# account_id: "AccountId", # required
|
3226
|
-
# next_token: "NextToken",
|
3227
|
-
# max_results: 1,
|
3228
|
-
# }
|
3229
|
-
#
|
3230
2931
|
# @!attribute [rw] account_id
|
3231
2932
|
# The account ID number of a delegated administrator account in the
|
3232
2933
|
# organization.
|
@@ -3284,18 +2985,6 @@ module Aws::Organizations
|
|
3284
2985
|
include Aws::Structure
|
3285
2986
|
end
|
3286
2987
|
|
3287
|
-
# @note When making an API call, you may pass ListHandshakesForAccountRequest
|
3288
|
-
# data as a hash:
|
3289
|
-
#
|
3290
|
-
# {
|
3291
|
-
# filter: {
|
3292
|
-
# action_type: "INVITE", # accepts INVITE, ENABLE_ALL_FEATURES, APPROVE_ALL_FEATURES, ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE
|
3293
|
-
# parent_handshake_id: "HandshakeId",
|
3294
|
-
# },
|
3295
|
-
# next_token: "NextToken",
|
3296
|
-
# max_results: 1,
|
3297
|
-
# }
|
3298
|
-
#
|
3299
2988
|
# @!attribute [rw] filter
|
3300
2989
|
# Filters the handshakes that you want included in the response. The
|
3301
2990
|
# default is all types. Use the `ActionType` element to limit the
|
@@ -3360,18 +3049,6 @@ module Aws::Organizations
|
|
3360
3049
|
include Aws::Structure
|
3361
3050
|
end
|
3362
3051
|
|
3363
|
-
# @note When making an API call, you may pass ListHandshakesForOrganizationRequest
|
3364
|
-
# data as a hash:
|
3365
|
-
#
|
3366
|
-
# {
|
3367
|
-
# filter: {
|
3368
|
-
# action_type: "INVITE", # accepts INVITE, ENABLE_ALL_FEATURES, APPROVE_ALL_FEATURES, ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE
|
3369
|
-
# parent_handshake_id: "HandshakeId",
|
3370
|
-
# },
|
3371
|
-
# next_token: "NextToken",
|
3372
|
-
# max_results: 1,
|
3373
|
-
# }
|
3374
|
-
#
|
3375
3052
|
# @!attribute [rw] filter
|
3376
3053
|
# A filter of the handshakes that you want included in the response.
|
3377
3054
|
# The default is all types. Use the `ActionType` element to limit the
|
@@ -3436,15 +3113,6 @@ module Aws::Organizations
|
|
3436
3113
|
include Aws::Structure
|
3437
3114
|
end
|
3438
3115
|
|
3439
|
-
# @note When making an API call, you may pass ListOrganizationalUnitsForParentRequest
|
3440
|
-
# data as a hash:
|
3441
|
-
#
|
3442
|
-
# {
|
3443
|
-
# parent_id: "ParentId", # required
|
3444
|
-
# next_token: "NextToken",
|
3445
|
-
# max_results: 1,
|
3446
|
-
# }
|
3447
|
-
#
|
3448
3116
|
# @!attribute [rw] parent_id
|
3449
3117
|
# The unique identifier (ID) of the root or OU whose child OUs you
|
3450
3118
|
# want to list.
|
@@ -3518,15 +3186,6 @@ module Aws::Organizations
|
|
3518
3186
|
include Aws::Structure
|
3519
3187
|
end
|
3520
3188
|
|
3521
|
-
# @note When making an API call, you may pass ListParentsRequest
|
3522
|
-
# data as a hash:
|
3523
|
-
#
|
3524
|
-
# {
|
3525
|
-
# child_id: "ChildId", # required
|
3526
|
-
# next_token: "NextToken",
|
3527
|
-
# max_results: 1,
|
3528
|
-
# }
|
3529
|
-
#
|
3530
3189
|
# @!attribute [rw] child_id
|
3531
3190
|
# The unique identifier (ID) of the OU or account whose parent
|
3532
3191
|
# containers you want to list. Don't specify a root.
|
@@ -3599,16 +3258,6 @@ module Aws::Organizations
|
|
3599
3258
|
include Aws::Structure
|
3600
3259
|
end
|
3601
3260
|
|
3602
|
-
# @note When making an API call, you may pass ListPoliciesForTargetRequest
|
3603
|
-
# data as a hash:
|
3604
|
-
#
|
3605
|
-
# {
|
3606
|
-
# target_id: "PolicyTargetId", # required
|
3607
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
3608
|
-
# next_token: "NextToken",
|
3609
|
-
# max_results: 1,
|
3610
|
-
# }
|
3611
|
-
#
|
3612
3261
|
# @!attribute [rw] target_id
|
3613
3262
|
# The unique identifier (ID) of the root, organizational unit, or
|
3614
3263
|
# account whose policies you want to list.
|
@@ -3705,15 +3354,6 @@ module Aws::Organizations
|
|
3705
3354
|
include Aws::Structure
|
3706
3355
|
end
|
3707
3356
|
|
3708
|
-
# @note When making an API call, you may pass ListPoliciesRequest
|
3709
|
-
# data as a hash:
|
3710
|
-
#
|
3711
|
-
# {
|
3712
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
3713
|
-
# next_token: "NextToken",
|
3714
|
-
# max_results: 1,
|
3715
|
-
# }
|
3716
|
-
#
|
3717
3357
|
# @!attribute [rw] filter
|
3718
3358
|
# Specifies the type of policy that you want to include in the
|
3719
3359
|
# response. You must specify one of the following values:
|
@@ -3788,14 +3428,6 @@ module Aws::Organizations
|
|
3788
3428
|
include Aws::Structure
|
3789
3429
|
end
|
3790
3430
|
|
3791
|
-
# @note When making an API call, you may pass ListRootsRequest
|
3792
|
-
# data as a hash:
|
3793
|
-
#
|
3794
|
-
# {
|
3795
|
-
# next_token: "NextToken",
|
3796
|
-
# max_results: 1,
|
3797
|
-
# }
|
3798
|
-
#
|
3799
3431
|
# @!attribute [rw] next_token
|
3800
3432
|
# The parameter for receiving additional results if you receive a
|
3801
3433
|
# `NextToken` response in a previous request. A `NextToken` response
|
@@ -3847,14 +3479,6 @@ module Aws::Organizations
|
|
3847
3479
|
include Aws::Structure
|
3848
3480
|
end
|
3849
3481
|
|
3850
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
3851
|
-
# data as a hash:
|
3852
|
-
#
|
3853
|
-
# {
|
3854
|
-
# resource_id: "TaggableResourceId", # required
|
3855
|
-
# next_token: "NextToken",
|
3856
|
-
# }
|
3857
|
-
#
|
3858
3482
|
# @!attribute [rw] resource_id
|
3859
3483
|
# The ID of the resource with the tags to list.
|
3860
3484
|
#
|
@@ -3910,15 +3534,6 @@ module Aws::Organizations
|
|
3910
3534
|
include Aws::Structure
|
3911
3535
|
end
|
3912
3536
|
|
3913
|
-
# @note When making an API call, you may pass ListTargetsForPolicyRequest
|
3914
|
-
# data as a hash:
|
3915
|
-
#
|
3916
|
-
# {
|
3917
|
-
# policy_id: "PolicyId", # required
|
3918
|
-
# next_token: "NextToken",
|
3919
|
-
# max_results: 1,
|
3920
|
-
# }
|
3921
|
-
#
|
3922
3537
|
# @!attribute [rw] policy_id
|
3923
3538
|
# The unique identifier (ID) of the policy whose attachments you want
|
3924
3539
|
# to know.
|
@@ -4021,15 +3636,6 @@ module Aws::Organizations
|
|
4021
3636
|
include Aws::Structure
|
4022
3637
|
end
|
4023
3638
|
|
4024
|
-
# @note When making an API call, you may pass MoveAccountRequest
|
4025
|
-
# data as a hash:
|
4026
|
-
#
|
4027
|
-
# {
|
4028
|
-
# account_id: "AccountId", # required
|
4029
|
-
# source_parent_id: "ParentId", # required
|
4030
|
-
# destination_parent_id: "ParentId", # required
|
4031
|
-
# }
|
4032
|
-
#
|
4033
3639
|
# @!attribute [rw] account_id
|
4034
3640
|
# The unique identifier (ID) of the account that you want to move.
|
4035
3641
|
#
|
@@ -4613,19 +4219,6 @@ module Aws::Organizations
|
|
4613
4219
|
include Aws::Structure
|
4614
4220
|
end
|
4615
4221
|
|
4616
|
-
# @note When making an API call, you may pass PutResourcePolicyRequest
|
4617
|
-
# data as a hash:
|
4618
|
-
#
|
4619
|
-
# {
|
4620
|
-
# content: "ResourcePolicyContent", # required
|
4621
|
-
# tags: [
|
4622
|
-
# {
|
4623
|
-
# key: "TagKey", # required
|
4624
|
-
# value: "TagValue", # required
|
4625
|
-
# },
|
4626
|
-
# ],
|
4627
|
-
# }
|
4628
|
-
#
|
4629
4222
|
# @!attribute [rw] content
|
4630
4223
|
# If provided, the new content for the resource policy. The text must
|
4631
4224
|
# be correctly formatted JSON that complies with the syntax for the
|
@@ -4638,18 +4231,18 @@ module Aws::Organizations
|
|
4638
4231
|
# @return [String]
|
4639
4232
|
#
|
4640
4233
|
# @!attribute [rw] tags
|
4641
|
-
#
|
4642
|
-
#
|
4643
|
-
#
|
4644
|
-
#
|
4645
|
-
#
|
4646
|
-
#
|
4234
|
+
# A list of tags that you want to attach to the newly created resource
|
4235
|
+
# policy. For each tag in the list, you must specify both a tag key
|
4236
|
+
# and a value. You can set the value to an empty string, but you
|
4237
|
+
# can't set it to `null`. For more information about tagging, see
|
4238
|
+
# [Tagging Organizations resources][1] in the Organizations User
|
4239
|
+
# Guide.
|
4647
4240
|
#
|
4648
4241
|
# <note markdown="1"> Calls with tags apply to the initial creation of the resource
|
4649
4242
|
# policy, otherwise an exception is thrown. If any one of the tags is
|
4650
|
-
#
|
4651
|
-
# policy, then the entire request fails and the resource
|
4652
|
-
# created.
|
4243
|
+
# not valid or if you exceed the allowed number of tags for the
|
4244
|
+
# resource policy, then the entire request fails and the resource
|
4245
|
+
# policy is not created.
|
4653
4246
|
#
|
4654
4247
|
# </note>
|
4655
4248
|
#
|
@@ -4679,14 +4272,6 @@ module Aws::Organizations
|
|
4679
4272
|
include Aws::Structure
|
4680
4273
|
end
|
4681
4274
|
|
4682
|
-
# @note When making an API call, you may pass RegisterDelegatedAdministratorRequest
|
4683
|
-
# data as a hash:
|
4684
|
-
#
|
4685
|
-
# {
|
4686
|
-
# account_id: "AccountId", # required
|
4687
|
-
# service_principal: "ServicePrincipal", # required
|
4688
|
-
# }
|
4689
|
-
#
|
4690
4275
|
# @!attribute [rw] account_id
|
4691
4276
|
# The account ID number of the member account in the organization to
|
4692
4277
|
# register as a delegated administrator.
|
@@ -4706,13 +4291,6 @@ module Aws::Organizations
|
|
4706
4291
|
include Aws::Structure
|
4707
4292
|
end
|
4708
4293
|
|
4709
|
-
# @note When making an API call, you may pass RemoveAccountFromOrganizationRequest
|
4710
|
-
# data as a hash:
|
4711
|
-
#
|
4712
|
-
# {
|
4713
|
-
# account_id: "AccountId", # required
|
4714
|
-
# }
|
4715
|
-
#
|
4716
4294
|
# @!attribute [rw] account_id
|
4717
4295
|
# The unique identifier (ID) of the member account that you want to
|
4718
4296
|
# remove from the organization.
|
@@ -4903,14 +4481,6 @@ module Aws::Organizations
|
|
4903
4481
|
#
|
4904
4482
|
# * Policy
|
4905
4483
|
#
|
4906
|
-
# @note When making an API call, you may pass Tag
|
4907
|
-
# data as a hash:
|
4908
|
-
#
|
4909
|
-
# {
|
4910
|
-
# key: "TagKey", # required
|
4911
|
-
# value: "TagValue", # required
|
4912
|
-
# }
|
4913
|
-
#
|
4914
4484
|
# @!attribute [rw] key
|
4915
4485
|
# The key identifier, or name, of the tag.
|
4916
4486
|
# @return [String]
|
@@ -4930,19 +4500,6 @@ module Aws::Organizations
|
|
4930
4500
|
include Aws::Structure
|
4931
4501
|
end
|
4932
4502
|
|
4933
|
-
# @note When making an API call, you may pass TagResourceRequest
|
4934
|
-
# data as a hash:
|
4935
|
-
#
|
4936
|
-
# {
|
4937
|
-
# resource_id: "TaggableResourceId", # required
|
4938
|
-
# tags: [ # required
|
4939
|
-
# {
|
4940
|
-
# key: "TagKey", # required
|
4941
|
-
# value: "TagValue", # required
|
4942
|
-
# },
|
4943
|
-
# ],
|
4944
|
-
# }
|
4945
|
-
#
|
4946
4503
|
# @!attribute [rw] resource_id
|
4947
4504
|
# The ID of the resource to add a tag to.
|
4948
4505
|
#
|
@@ -4967,7 +4524,7 @@ module Aws::Organizations
|
|
4967
4524
|
# value. The value can be an empty string, but you can't set it to
|
4968
4525
|
# `null`.
|
4969
4526
|
#
|
4970
|
-
# <note markdown="1"> If any one of the tags is
|
4527
|
+
# <note markdown="1"> If any one of the tags is not valid or if you exceed the maximum
|
4971
4528
|
# allowed number of tags for a resource, then the entire request
|
4972
4529
|
# fails.
|
4973
4530
|
#
|
@@ -5037,14 +4594,6 @@ module Aws::Organizations
|
|
5037
4594
|
include Aws::Structure
|
5038
4595
|
end
|
5039
4596
|
|
5040
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
5041
|
-
# data as a hash:
|
5042
|
-
#
|
5043
|
-
# {
|
5044
|
-
# resource_id: "TaggableResourceId", # required
|
5045
|
-
# tag_keys: ["TagKey"], # required
|
5046
|
-
# }
|
5047
|
-
#
|
5048
4597
|
# @!attribute [rw] resource_id
|
5049
4598
|
# The ID of the resource to remove a tag from.
|
5050
4599
|
#
|
@@ -5075,14 +4624,6 @@ module Aws::Organizations
|
|
5075
4624
|
include Aws::Structure
|
5076
4625
|
end
|
5077
4626
|
|
5078
|
-
# @note When making an API call, you may pass UpdateOrganizationalUnitRequest
|
5079
|
-
# data as a hash:
|
5080
|
-
#
|
5081
|
-
# {
|
5082
|
-
# organizational_unit_id: "OrganizationalUnitId", # required
|
5083
|
-
# name: "OrganizationalUnitName",
|
5084
|
-
# }
|
5085
|
-
#
|
5086
4627
|
# @!attribute [rw] organizational_unit_id
|
5087
4628
|
# The unique identifier (ID) of the OU that you want to rename. You
|
5088
4629
|
# can get the ID from the ListOrganizationalUnitsForParent operation.
|
@@ -5131,16 +4672,6 @@ module Aws::Organizations
|
|
5131
4672
|
include Aws::Structure
|
5132
4673
|
end
|
5133
4674
|
|
5134
|
-
# @note When making an API call, you may pass UpdatePolicyRequest
|
5135
|
-
# data as a hash:
|
5136
|
-
#
|
5137
|
-
# {
|
5138
|
-
# policy_id: "PolicyId", # required
|
5139
|
-
# name: "PolicyName",
|
5140
|
-
# description: "PolicyDescription",
|
5141
|
-
# content: "PolicyContent",
|
5142
|
-
# }
|
5143
|
-
#
|
5144
4675
|
# @!attribute [rw] policy_id
|
5145
4676
|
# The unique identifier (ID) of the policy that you want to update.
|
5146
4677
|
#
|