@aws-sdk/client-organizations 3.289.0 → 3.292.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.
Files changed (56) hide show
  1. package/dist-types/commands/AcceptHandshakeCommand.d.ts +208 -0
  2. package/dist-types/commands/AttachPolicyCommand.d.ts +352 -0
  3. package/dist-types/commands/CancelHandshakeCommand.d.ts +139 -0
  4. package/dist-types/commands/CloseAccountCommand.d.ts +343 -0
  5. package/dist-types/commands/CreateAccountCommand.d.ts +336 -0
  6. package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +336 -0
  7. package/dist-types/commands/CreateOrganizationCommand.d.ts +334 -0
  8. package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +334 -0
  9. package/dist-types/commands/CreatePolicyCommand.d.ts +348 -0
  10. package/dist-types/commands/DeclineHandshakeCommand.d.ts +139 -0
  11. package/dist-types/commands/DeleteOrganizationCommand.d.ts +135 -0
  12. package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +139 -0
  13. package/dist-types/commands/DeletePolicyCommand.d.ts +141 -0
  14. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +230 -0
  15. package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +339 -0
  16. package/dist-types/commands/DescribeAccountCommand.d.ts +132 -0
  17. package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +134 -0
  18. package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +337 -0
  19. package/dist-types/commands/DescribeHandshakeCommand.d.ts +130 -0
  20. package/dist-types/commands/DescribeOrganizationCommand.d.ts +27 -0
  21. package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +131 -0
  22. package/dist-types/commands/DescribePolicyCommand.d.ts +133 -0
  23. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +226 -0
  24. package/dist-types/commands/DetachPolicyCommand.d.ts +345 -0
  25. package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +331 -0
  26. package/dist-types/commands/DisablePolicyTypeCommand.d.ts +345 -0
  27. package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +331 -0
  28. package/dist-types/commands/EnableAllFeaturesCommand.d.ts +190 -0
  29. package/dist-types/commands/EnablePolicyTypeCommand.d.ts +348 -0
  30. package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +406 -0
  31. package/dist-types/commands/LeaveOrganizationCommand.d.ts +338 -0
  32. package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +327 -0
  33. package/dist-types/commands/ListAccountsCommand.d.ts +127 -0
  34. package/dist-types/commands/ListAccountsForParentCommand.d.ts +130 -0
  35. package/dist-types/commands/ListChildrenCommand.d.ts +130 -0
  36. package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +130 -0
  37. package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +327 -0
  38. package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +335 -0
  39. package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +127 -0
  40. package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +131 -0
  41. package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +130 -0
  42. package/dist-types/commands/ListParentsCommand.d.ts +131 -0
  43. package/dist-types/commands/ListPoliciesCommand.d.ts +130 -0
  44. package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +134 -0
  45. package/dist-types/commands/ListRootsCommand.d.ts +127 -0
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +131 -0
  47. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +133 -0
  48. package/dist-types/commands/MoveAccountCommand.d.ts +147 -0
  49. package/dist-types/commands/PutResourcePolicyCommand.d.ts +331 -0
  50. package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +340 -0
  51. package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +338 -0
  52. package/dist-types/commands/TagResourceCommand.d.ts +332 -0
  53. package/dist-types/commands/UntagResourceCommand.d.ts +332 -0
  54. package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +138 -0
  55. package/dist-types/commands/UpdatePolicyCommand.d.ts +348 -0
  56. package/package.json +35 -40
@@ -45,6 +45,338 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
45
45
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
46
46
  * @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
47
47
  *
48
+ * @throws {@link AccessDeniedException} (client fault)
49
+ * <p>You don't have permissions to perform the requested operation. The user or role that
50
+ * is making the request must have at least one IAM permissions policy attached that
51
+ * grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access Management</a> in the
52
+ * <i>IAM User Guide.</i>
53
+ * </p>
54
+ *
55
+ * @throws {@link AWSOrganizationsNotInUseException} (client fault)
56
+ * <p>Your account isn't a member of an organization. To make this request, you must use the
57
+ * credentials of an account that belongs to an organization.</p>
58
+ *
59
+ * @throws {@link ConcurrentModificationException} (client fault)
60
+ * <p>The target of the operation is currently being modified by a different request. Try
61
+ * again later.</p>
62
+ *
63
+ * @throws {@link ConstraintViolationException} (client fault)
64
+ * <p>Performing this operation violates a minimum or maximum value limit. For example,
65
+ * attempting to remove the last service control policy (SCP) from an OU or root, inviting
66
+ * or creating too many accounts to the organization, or attaching too many policies to an
67
+ * account, OU, or root. This exception includes a reason that contains additional
68
+ * information about the violated limit:</p>
69
+ * <note>
70
+ * <p>Some of the reasons in the following list might not be applicable to this specific
71
+ * API or operation.</p>
72
+ * </note>
73
+ * <ul>
74
+ * <li>
75
+ * <p>ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management
76
+ * account from the organization. You can't remove the management account. Instead,
77
+ * after you remove all member accounts, delete the organization itself.</p>
78
+ * </li>
79
+ * <li>
80
+ * <p>ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove an
81
+ * account from the organization that doesn't yet have enough information to exist
82
+ * as a standalone account. This account requires you to first complete phone
83
+ * verification. Follow the steps at <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master">Removing a member account from your organization</a> in the
84
+ * <i>Organizations User Guide.</i>
85
+ * </p>
86
+ * </li>
87
+ * <li>
88
+ * <p>ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
89
+ * accounts that you can create in one day.</p>
90
+ * </li>
91
+ * <li>
92
+ * <p>ACCOUNT_CREATION_NOT_COMPLETE: Your account setup isn't complete or your account isn't fully active. You must complete the account setup before you create an organization.</p>
93
+ * </li>
94
+ * <li>
95
+ * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
96
+ * of accounts in an organization. If you need more accounts, contact <a href="https://docs.aws.amazon.com/support/home#/">Amazon Web Services Support</a> to
97
+ * request an increase in your limit. </p>
98
+ * <p>Or the number of invitations that you tried to send would cause you to exceed
99
+ * the limit of accounts in your organization. Send fewer invitations or contact
100
+ * Amazon Web Services Support to request an increase in the number of accounts.</p>
101
+ * <note>
102
+ * <p>Deleted and closed accounts still count toward your limit.</p>
103
+ * </note>
104
+ * <important>
105
+ * <p>If you get this exception when running a command immediately after
106
+ * creating the organization, wait one hour and try again. After an hour, if
107
+ * the command continues to fail with this error, contact <a href="https://docs.aws.amazon.com/support/home#/">Amazon Web Services
108
+ * Support</a>.</p>
109
+ * </important>
110
+ * </li>
111
+ * <li>
112
+ * <p>CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to register
113
+ * the management account of the organization as a delegated administrator for an
114
+ * Amazon Web Services service integrated with Organizations. You can designate only a member account as a
115
+ * delegated administrator.</p>
116
+ * </li>
117
+ * <li>
118
+ * <p>CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management
119
+ * account. To close the management account for the organization, you must first
120
+ * either remove or close all member accounts in the organization. Follow standard
121
+ * account closure process using root credentials.​ </p>
122
+ * </li>
123
+ * <li>
124
+ * <p>CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove an
125
+ * account that is registered as a delegated administrator for a service integrated
126
+ * with your organization. To complete this operation, you must first deregister
127
+ * this account as a delegated administrator. </p>
128
+ * </li>
129
+ * <li>
130
+ * <p>CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota for the
131
+ * past 30 days. </p>
132
+ * </li>
133
+ * <li>
134
+ * <p>CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number of
135
+ * accounts that you can close at a time. ​ </p>
136
+ * </li>
137
+ * <li>
138
+ * <p>CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
139
+ * organization in the specified region, you must enable all features mode.</p>
140
+ * </li>
141
+ * <li>
142
+ * <p>DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register an
143
+ * Amazon Web Services account as a delegated administrator for an Amazon Web Services service that already has
144
+ * a delegated administrator. To complete this operation, you must first deregister
145
+ * any existing delegated administrators for this service.</p>
146
+ * </li>
147
+ * <li>
148
+ * <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
149
+ * a limited period of time. You must resubmit the request and generate a new
150
+ * verfication code.</p>
151
+ * </li>
152
+ * <li>
153
+ * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
154
+ * handshakes that you can send in one day.</p>
155
+ * </li>
156
+ * <li>
157
+ * <p>INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported
158
+ * payment method is associated with the account. Amazon Web Services does not support cards
159
+ * issued by financial institutions in Russia or Belarus. For more information, see
160
+ * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html">Managing your
161
+ * Amazon Web Services payments</a>.</p>
162
+ * </li>
163
+ * <li>
164
+ * <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
165
+ * this organization, you first must migrate the organization's management account
166
+ * to the marketplace that corresponds to the management account's address. For
167
+ * example, accounts with India addresses must be associated with the AISPL
168
+ * marketplace. All accounts in an organization must be associated with the same
169
+ * marketplace.</p>
170
+ * </li>
171
+ * <li>
172
+ * <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services /> Regions
173
+ * in China. To create an organization, the master must have a valid business
174
+ * license. For more information, contact customer support.</p>
175
+ * </li>
176
+ * <li>
177
+ * <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
178
+ * first provide a valid contact address and phone number for the management
179
+ * account. Then try the operation again.</p>
180
+ * </li>
181
+ * <li>
182
+ * <p>MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the
183
+ * management account must have an associated account in the Amazon Web Services GovCloud
184
+ * (US-West) Region. For more information, see <a href="https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html">Organizations</a>
185
+ * in the
186
+ * <i>Amazon Web Services GovCloud User Guide.</i>
187
+ * </p>
188
+ * </li>
189
+ * <li>
190
+ * <p>MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization with
191
+ * this management account, you first must associate a valid payment instrument,
192
+ * such as a credit card, with the account. Follow the steps at <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info">To leave an organization when all required account information has not yet
193
+ * been provided</a> in the <i>Organizations User Guide.</i>
194
+ * </p>
195
+ * </li>
196
+ * <li>
197
+ * <p>MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted to
198
+ * register more delegated administrators than allowed for the service principal.
199
+ * </p>
200
+ * </li>
201
+ * <li>
202
+ * <p>MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the number
203
+ * of policies of a certain type that can be attached to an entity at one
204
+ * time.</p>
205
+ * </li>
206
+ * <li>
207
+ * <p>MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed on this
208
+ * resource. </p>
209
+ * </li>
210
+ * <li>
211
+ * <p>MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation with
212
+ * this member account, you first must associate a valid payment instrument, such
213
+ * as a credit card, with the account. Follow the steps at <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info">To leave an organization when all required account information has not yet
214
+ * been provided</a> in the <i>Organizations User Guide.</i>
215
+ * </p>
216
+ * </li>
217
+ * <li>
218
+ * <p>MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a policy
219
+ * from an entity that would cause the entity to have fewer than the minimum number
220
+ * of policies of a certain type required.</p>
221
+ * </li>
222
+ * <li>
223
+ * <p>ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
224
+ * that requires the organization to be configured to support all features. An
225
+ * organization that supports only consolidated billing features can't perform this
226
+ * operation.</p>
227
+ * </li>
228
+ * <li>
229
+ * <p>OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is too many
230
+ * levels deep.</p>
231
+ * </li>
232
+ * <li>
233
+ * <p>OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs that you
234
+ * can have in an organization.</p>
235
+ * </li>
236
+ * <li>
237
+ * <p>POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that is larger
238
+ * than the maximum size.</p>
239
+ * </li>
240
+ * <li>
241
+ * <p>POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of policies
242
+ * that you can have in an organization.</p>
243
+ * </li>
244
+ * <li>
245
+ * <p>SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated
246
+ * administrator before you enabled service access. Call the
247
+ * <code>EnableAWSServiceAccess</code> API first.</p>
248
+ * </li>
249
+ * <li>
250
+ * <p>TAG_POLICY_VIOLATION: You attempted to create or update a resource with tags
251
+ * that are not compliant with the tag policy requirements for this account.</p>
252
+ * </li>
253
+ * <li>
254
+ * <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, there is a waiting
255
+ * period before you can remove it from the organization. If you get an error that
256
+ * indicates that a wait period is required, try again in a few days.</p>
257
+ * </li>
258
+ * </ul>
259
+ *
260
+ * @throws {@link InvalidInputException} (client fault)
261
+ * <p>The requested operation failed because you provided invalid values for one or more of
262
+ * the request parameters. This exception includes a reason that contains additional
263
+ * information about the violated limit:</p>
264
+ * <note>
265
+ * <p>Some of the reasons in the following list might not be applicable to this specific
266
+ * API or operation.</p>
267
+ * </note>
268
+ * <ul>
269
+ * <li>
270
+ * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
271
+ * entity.</p>
272
+ * </li>
273
+ * <li>
274
+ * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
275
+ * modified.</p>
276
+ * </li>
277
+ * <li>
278
+ * <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>
279
+ * </li>
280
+ * <li>
281
+ * <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the
282
+ * invited account owner.</p>
283
+ * </li>
284
+ * <li>
285
+ * <p>INVALID_ENUM: You specified an invalid value.</p>
286
+ * </li>
287
+ * <li>
288
+ * <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>
289
+ * </li>
290
+ * <li>
291
+ * <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
292
+ * characters.</p>
293
+ * </li>
294
+ * <li>
295
+ * <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least
296
+ * one invalid value.</p>
297
+ * </li>
298
+ * <li>
299
+ * <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>
300
+ * parameter from the response to a previous call of the operation.</p>
301
+ * </li>
302
+ * <li>
303
+ * <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
304
+ * organization, or email) as a party.</p>
305
+ * </li>
306
+ * <li>
307
+ * <p>INVALID_PATTERN: You provided a value that doesn't match the required
308
+ * pattern.</p>
309
+ * </li>
310
+ * <li>
311
+ * <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match
312
+ * the required pattern.</p>
313
+ * </li>
314
+ * <li>
315
+ * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
316
+ * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
317
+ * </li>
318
+ * <li>
319
+ * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
320
+ * (ARN) for the organization.</p>
321
+ * </li>
322
+ * <li>
323
+ * <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>
324
+ * </li>
325
+ * <li>
326
+ * <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.
327
+ * You can’t add, edit, or delete system tag keys because they're reserved for
328
+ * Amazon Web Services use. System tags don’t count against your tags per resource limit.</p>
329
+ * </li>
330
+ * <li>
331
+ * <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the
332
+ * operation.</p>
333
+ * </li>
334
+ * <li>
335
+ * <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than
336
+ * allowed.</p>
337
+ * </li>
338
+ * <li>
339
+ * <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value
340
+ * than allowed.</p>
341
+ * </li>
342
+ * <li>
343
+ * <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than
344
+ * allowed.</p>
345
+ * </li>
346
+ * <li>
347
+ * <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller value
348
+ * than allowed.</p>
349
+ * </li>
350
+ * <li>
351
+ * <p>MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only between
352
+ * entities in the same root.</p>
353
+ * </li>
354
+ * <li>
355
+ * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
356
+ * entity.</p>
357
+ * </li>
358
+ * <li>
359
+ * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
360
+ * recognized.</p>
361
+ * </li>
362
+ * </ul>
363
+ *
364
+ * @throws {@link ServiceException} (server fault)
365
+ * <p>Organizations can't complete your request because of an internal service error. Try again
366
+ * later.</p>
367
+ *
368
+ * @throws {@link TargetNotFoundException} (client fault)
369
+ * <p>We can't find a root, OU, account, or policy with the <code>TargetId</code> that you
370
+ * specified.</p>
371
+ *
372
+ * @throws {@link TooManyRequestsException} (client fault)
373
+ * <p>You have sent too many requests in too short a period of time. The quota helps protect
374
+ * against denial-of-service attacks. Try again later.</p>
375
+ * <p>For information about quotas that affect Organizations, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html">Quotas for Organizations</a>in the
376
+ * <i>Organizations User Guide.</i>
377
+ * </p>
378
+ *
379
+ *
48
380
  */
49
381
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, OrganizationsClientResolvedConfig> {
50
382
  readonly input: UntagResourceCommandInput;
@@ -32,6 +32,144 @@ export interface UpdateOrganizationalUnitCommandOutput extends UpdateOrganizatio
32
32
  * @see {@link UpdateOrganizationalUnitCommandOutput} for command's `response` shape.
33
33
  * @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
34
34
  *
35
+ * @throws {@link AccessDeniedException} (client fault)
36
+ * <p>You don't have permissions to perform the requested operation. The user or role that
37
+ * is making the request must have at least one IAM permissions policy attached that
38
+ * grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access Management</a> in the
39
+ * <i>IAM User Guide.</i>
40
+ * </p>
41
+ *
42
+ * @throws {@link AWSOrganizationsNotInUseException} (client fault)
43
+ * <p>Your account isn't a member of an organization. To make this request, you must use the
44
+ * credentials of an account that belongs to an organization.</p>
45
+ *
46
+ * @throws {@link ConcurrentModificationException} (client fault)
47
+ * <p>The target of the operation is currently being modified by a different request. Try
48
+ * again later.</p>
49
+ *
50
+ * @throws {@link DuplicateOrganizationalUnitException} (client fault)
51
+ * <p>An OU with the same name already exists.</p>
52
+ *
53
+ * @throws {@link InvalidInputException} (client fault)
54
+ * <p>The requested operation failed because you provided invalid values for one or more of
55
+ * the request parameters. This exception includes a reason that contains additional
56
+ * information about the violated limit:</p>
57
+ * <note>
58
+ * <p>Some of the reasons in the following list might not be applicable to this specific
59
+ * API or operation.</p>
60
+ * </note>
61
+ * <ul>
62
+ * <li>
63
+ * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
64
+ * entity.</p>
65
+ * </li>
66
+ * <li>
67
+ * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
68
+ * modified.</p>
69
+ * </li>
70
+ * <li>
71
+ * <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>
72
+ * </li>
73
+ * <li>
74
+ * <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the
75
+ * invited account owner.</p>
76
+ * </li>
77
+ * <li>
78
+ * <p>INVALID_ENUM: You specified an invalid value.</p>
79
+ * </li>
80
+ * <li>
81
+ * <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>
82
+ * </li>
83
+ * <li>
84
+ * <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
85
+ * characters.</p>
86
+ * </li>
87
+ * <li>
88
+ * <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least
89
+ * one invalid value.</p>
90
+ * </li>
91
+ * <li>
92
+ * <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>
93
+ * parameter from the response to a previous call of the operation.</p>
94
+ * </li>
95
+ * <li>
96
+ * <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
97
+ * organization, or email) as a party.</p>
98
+ * </li>
99
+ * <li>
100
+ * <p>INVALID_PATTERN: You provided a value that doesn't match the required
101
+ * pattern.</p>
102
+ * </li>
103
+ * <li>
104
+ * <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match
105
+ * the required pattern.</p>
106
+ * </li>
107
+ * <li>
108
+ * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
109
+ * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
110
+ * </li>
111
+ * <li>
112
+ * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
113
+ * (ARN) for the organization.</p>
114
+ * </li>
115
+ * <li>
116
+ * <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>
117
+ * </li>
118
+ * <li>
119
+ * <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.
120
+ * You can’t add, edit, or delete system tag keys because they're reserved for
121
+ * Amazon Web Services use. System tags don’t count against your tags per resource limit.</p>
122
+ * </li>
123
+ * <li>
124
+ * <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the
125
+ * operation.</p>
126
+ * </li>
127
+ * <li>
128
+ * <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than
129
+ * allowed.</p>
130
+ * </li>
131
+ * <li>
132
+ * <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value
133
+ * than allowed.</p>
134
+ * </li>
135
+ * <li>
136
+ * <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than
137
+ * allowed.</p>
138
+ * </li>
139
+ * <li>
140
+ * <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller value
141
+ * than allowed.</p>
142
+ * </li>
143
+ * <li>
144
+ * <p>MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only between
145
+ * entities in the same root.</p>
146
+ * </li>
147
+ * <li>
148
+ * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
149
+ * entity.</p>
150
+ * </li>
151
+ * <li>
152
+ * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
153
+ * recognized.</p>
154
+ * </li>
155
+ * </ul>
156
+ *
157
+ * @throws {@link OrganizationalUnitNotFoundException} (client fault)
158
+ * <p>We can't find an OU with the <code>OrganizationalUnitId</code> that you
159
+ * specified.</p>
160
+ *
161
+ * @throws {@link ServiceException} (server fault)
162
+ * <p>Organizations can't complete your request because of an internal service error. Try again
163
+ * later.</p>
164
+ *
165
+ * @throws {@link TooManyRequestsException} (client fault)
166
+ * <p>You have sent too many requests in too short a period of time. The quota helps protect
167
+ * against denial-of-service attacks. Try again later.</p>
168
+ * <p>For information about quotas that affect Organizations, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html">Quotas for Organizations</a>in the
169
+ * <i>Organizations User Guide.</i>
170
+ * </p>
171
+ *
172
+ *
35
173
  * @example To rename an organizational unit
36
174
  * ```javascript
37
175
  * // The following example shows how to rename an OU. The output confirms the new name:/n/n