@aws-sdk/client-organizations 3.288.0 → 3.290.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 +265 -0
  2. package/dist-types/commands/AttachPolicyCommand.d.ts +378 -0
  3. package/dist-types/commands/CancelHandshakeCommand.d.ts +201 -0
  4. package/dist-types/commands/CloseAccountCommand.d.ts +343 -0
  5. package/dist-types/commands/CreateAccountCommand.d.ts +358 -0
  6. package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +336 -0
  7. package/dist-types/commands/CreateOrganizationCommand.d.ts +389 -0
  8. package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +357 -0
  9. package/dist-types/commands/CreatePolicyCommand.d.ts +377 -0
  10. package/dist-types/commands/DeclineHandshakeCommand.d.ts +196 -0
  11. package/dist-types/commands/DeleteOrganizationCommand.d.ts +135 -0
  12. package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +152 -0
  13. package/dist-types/commands/DeletePolicyCommand.d.ts +154 -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 +153 -0
  17. package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +154 -0
  18. package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +337 -0
  19. package/dist-types/commands/DescribeHandshakeCommand.d.ts +183 -0
  20. package/dist-types/commands/DescribeOrganizationCommand.d.ts +53 -0
  21. package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +151 -0
  22. package/dist-types/commands/DescribePolicyCommand.d.ts +159 -0
  23. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +226 -0
  24. package/dist-types/commands/DetachPolicyCommand.d.ts +357 -0
  25. package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +331 -0
  26. package/dist-types/commands/DisablePolicyTypeCommand.d.ts +367 -0
  27. package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +331 -0
  28. package/dist-types/commands/EnableAllFeaturesCommand.d.ts +223 -0
  29. package/dist-types/commands/EnablePolicyTypeCommand.d.ts +375 -0
  30. package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +467 -0
  31. package/dist-types/commands/LeaveOrganizationCommand.d.ts +347 -0
  32. package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +327 -0
  33. package/dist-types/commands/ListAccountsCommand.d.ts +178 -0
  34. package/dist-types/commands/ListAccountsForParentCommand.d.ts +165 -0
  35. package/dist-types/commands/ListChildrenCommand.d.ts +156 -0
  36. package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +182 -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 +184 -0
  40. package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +230 -0
  41. package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +157 -0
  42. package/dist-types/commands/ListParentsCommand.d.ts +152 -0
  43. package/dist-types/commands/ListPoliciesCommand.d.ts +171 -0
  44. package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +160 -0
  45. package/dist-types/commands/ListRootsCommand.d.ts +153 -0
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +131 -0
  47. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +168 -0
  48. package/dist-types/commands/MoveAccountCommand.d.ts +160 -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 +349 -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 +159 -0
  55. package/dist-types/commands/UpdatePolicyCommand.d.ts +403 -0
  56. package/package.json +29 -29
@@ -54,6 +54,473 @@ export interface InviteAccountToOrganizationCommandOutput extends InviteAccountT
54
54
  * @see {@link InviteAccountToOrganizationCommandOutput} for command's `response` shape.
55
55
  * @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
56
56
  *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>You don't have permissions to perform the requested operation. The user or role that
59
+ * is making the request must have at least one IAM permissions policy attached that
60
+ * 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
61
+ * <i>IAM User Guide.</i>
62
+ * </p>
63
+ *
64
+ * @throws {@link AccountOwnerNotVerifiedException} (client fault)
65
+ * <p>You can't invite an existing account to your organization until you verify that you
66
+ * own the email address associated with the management account. For more information, see
67
+ * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_create.html#about-email-verification">Email Address
68
+ * Verification</a> in the <i>Organizations User Guide.</i>
69
+ * </p>
70
+ *
71
+ * @throws {@link AWSOrganizationsNotInUseException} (client fault)
72
+ * <p>Your account isn't a member of an organization. To make this request, you must use the
73
+ * credentials of an account that belongs to an organization.</p>
74
+ *
75
+ * @throws {@link ConcurrentModificationException} (client fault)
76
+ * <p>The target of the operation is currently being modified by a different request. Try
77
+ * again later.</p>
78
+ *
79
+ * @throws {@link ConstraintViolationException} (client fault)
80
+ * <p>Performing this operation violates a minimum or maximum value limit. For example,
81
+ * attempting to remove the last service control policy (SCP) from an OU or root, inviting
82
+ * or creating too many accounts to the organization, or attaching too many policies to an
83
+ * account, OU, or root. This exception includes a reason that contains additional
84
+ * information about the violated limit:</p>
85
+ * <note>
86
+ * <p>Some of the reasons in the following list might not be applicable to this specific
87
+ * API or operation.</p>
88
+ * </note>
89
+ * <ul>
90
+ * <li>
91
+ * <p>ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management
92
+ * account from the organization. You can't remove the management account. Instead,
93
+ * after you remove all member accounts, delete the organization itself.</p>
94
+ * </li>
95
+ * <li>
96
+ * <p>ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove an
97
+ * account from the organization that doesn't yet have enough information to exist
98
+ * as a standalone account. This account requires you to first complete phone
99
+ * 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
100
+ * <i>Organizations User Guide.</i>
101
+ * </p>
102
+ * </li>
103
+ * <li>
104
+ * <p>ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
105
+ * accounts that you can create in one day.</p>
106
+ * </li>
107
+ * <li>
108
+ * <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>
109
+ * </li>
110
+ * <li>
111
+ * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
112
+ * 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
113
+ * request an increase in your limit. </p>
114
+ * <p>Or the number of invitations that you tried to send would cause you to exceed
115
+ * the limit of accounts in your organization. Send fewer invitations or contact
116
+ * Amazon Web Services Support to request an increase in the number of accounts.</p>
117
+ * <note>
118
+ * <p>Deleted and closed accounts still count toward your limit.</p>
119
+ * </note>
120
+ * <important>
121
+ * <p>If you get this exception when running a command immediately after
122
+ * creating the organization, wait one hour and try again. After an hour, if
123
+ * the command continues to fail with this error, contact <a href="https://docs.aws.amazon.com/support/home#/">Amazon Web Services
124
+ * Support</a>.</p>
125
+ * </important>
126
+ * </li>
127
+ * <li>
128
+ * <p>CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to register
129
+ * the management account of the organization as a delegated administrator for an
130
+ * Amazon Web Services service integrated with Organizations. You can designate only a member account as a
131
+ * delegated administrator.</p>
132
+ * </li>
133
+ * <li>
134
+ * <p>CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management
135
+ * account. To close the management account for the organization, you must first
136
+ * either remove or close all member accounts in the organization. Follow standard
137
+ * account closure process using root credentials.​ </p>
138
+ * </li>
139
+ * <li>
140
+ * <p>CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove an
141
+ * account that is registered as a delegated administrator for a service integrated
142
+ * with your organization. To complete this operation, you must first deregister
143
+ * this account as a delegated administrator. </p>
144
+ * </li>
145
+ * <li>
146
+ * <p>CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota for the
147
+ * past 30 days. </p>
148
+ * </li>
149
+ * <li>
150
+ * <p>CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number of
151
+ * accounts that you can close at a time. ​ </p>
152
+ * </li>
153
+ * <li>
154
+ * <p>CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
155
+ * organization in the specified region, you must enable all features mode.</p>
156
+ * </li>
157
+ * <li>
158
+ * <p>DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register an
159
+ * Amazon Web Services account as a delegated administrator for an Amazon Web Services service that already has
160
+ * a delegated administrator. To complete this operation, you must first deregister
161
+ * any existing delegated administrators for this service.</p>
162
+ * </li>
163
+ * <li>
164
+ * <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
165
+ * a limited period of time. You must resubmit the request and generate a new
166
+ * verfication code.</p>
167
+ * </li>
168
+ * <li>
169
+ * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
170
+ * handshakes that you can send in one day.</p>
171
+ * </li>
172
+ * <li>
173
+ * <p>INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported
174
+ * payment method is associated with the account. Amazon Web Services does not support cards
175
+ * issued by financial institutions in Russia or Belarus. For more information, see
176
+ * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html">Managing your
177
+ * Amazon Web Services payments</a>.</p>
178
+ * </li>
179
+ * <li>
180
+ * <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
181
+ * this organization, you first must migrate the organization's management account
182
+ * to the marketplace that corresponds to the management account's address. For
183
+ * example, accounts with India addresses must be associated with the AISPL
184
+ * marketplace. All accounts in an organization must be associated with the same
185
+ * marketplace.</p>
186
+ * </li>
187
+ * <li>
188
+ * <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services /> Regions
189
+ * in China. To create an organization, the master must have a valid business
190
+ * license. For more information, contact customer support.</p>
191
+ * </li>
192
+ * <li>
193
+ * <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
194
+ * first provide a valid contact address and phone number for the management
195
+ * account. Then try the operation again.</p>
196
+ * </li>
197
+ * <li>
198
+ * <p>MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the
199
+ * management account must have an associated account in the Amazon Web Services GovCloud
200
+ * (US-West) Region. For more information, see <a href="https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html">Organizations</a>
201
+ * in the
202
+ * <i>Amazon Web Services GovCloud User Guide.</i>
203
+ * </p>
204
+ * </li>
205
+ * <li>
206
+ * <p>MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization with
207
+ * this management account, you first must associate a valid payment instrument,
208
+ * 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
209
+ * been provided</a> in the <i>Organizations User Guide.</i>
210
+ * </p>
211
+ * </li>
212
+ * <li>
213
+ * <p>MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted to
214
+ * register more delegated administrators than allowed for the service principal.
215
+ * </p>
216
+ * </li>
217
+ * <li>
218
+ * <p>MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the number
219
+ * of policies of a certain type that can be attached to an entity at one
220
+ * time.</p>
221
+ * </li>
222
+ * <li>
223
+ * <p>MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed on this
224
+ * resource. </p>
225
+ * </li>
226
+ * <li>
227
+ * <p>MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation with
228
+ * this member account, you first must associate a valid payment instrument, such
229
+ * 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
230
+ * been provided</a> in the <i>Organizations User Guide.</i>
231
+ * </p>
232
+ * </li>
233
+ * <li>
234
+ * <p>MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a policy
235
+ * from an entity that would cause the entity to have fewer than the minimum number
236
+ * of policies of a certain type required.</p>
237
+ * </li>
238
+ * <li>
239
+ * <p>ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
240
+ * that requires the organization to be configured to support all features. An
241
+ * organization that supports only consolidated billing features can't perform this
242
+ * operation.</p>
243
+ * </li>
244
+ * <li>
245
+ * <p>OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is too many
246
+ * levels deep.</p>
247
+ * </li>
248
+ * <li>
249
+ * <p>OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs that you
250
+ * can have in an organization.</p>
251
+ * </li>
252
+ * <li>
253
+ * <p>POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that is larger
254
+ * than the maximum size.</p>
255
+ * </li>
256
+ * <li>
257
+ * <p>POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of policies
258
+ * that you can have in an organization.</p>
259
+ * </li>
260
+ * <li>
261
+ * <p>SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated
262
+ * administrator before you enabled service access. Call the
263
+ * <code>EnableAWSServiceAccess</code> API first.</p>
264
+ * </li>
265
+ * <li>
266
+ * <p>TAG_POLICY_VIOLATION: You attempted to create or update a resource with tags
267
+ * that are not compliant with the tag policy requirements for this account.</p>
268
+ * </li>
269
+ * <li>
270
+ * <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, there is a waiting
271
+ * period before you can remove it from the organization. If you get an error that
272
+ * indicates that a wait period is required, try again in a few days.</p>
273
+ * </li>
274
+ * </ul>
275
+ *
276
+ * @throws {@link DuplicateHandshakeException} (client fault)
277
+ * <p>A handshake with the same action and target already exists. For example, if you
278
+ * invited an account to join your organization, the invited account might already have a
279
+ * pending invitation from this organization. If you intend to resend an invitation to an
280
+ * account, ensure that existing handshakes that might be considered duplicates are
281
+ * canceled or declined.</p>
282
+ *
283
+ * @throws {@link FinalizingOrganizationException} (client fault)
284
+ * <p>Organizations couldn't perform the operation because your organization hasn't finished
285
+ * initializing. This can take up to an hour. Try again later. If after one hour you
286
+ * continue to receive this error, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services Support</a>.</p>
287
+ *
288
+ * @throws {@link HandshakeConstraintViolationException} (client fault)
289
+ * <p>The requested operation would violate the constraint identified in the reason
290
+ * code.</p>
291
+ * <note>
292
+ * <p>Some of the reasons in the following list might not be applicable to this specific
293
+ * API or operation:</p>
294
+ * </note>
295
+ * <ul>
296
+ * <li>
297
+ * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
298
+ * of accounts in an organization. Note that deleted and closed accounts still
299
+ * count toward your limit.</p>
300
+ * <important>
301
+ * <p>If you get this exception immediately after creating the organization,
302
+ * wait one hour and try again. If after an hour it continues to fail with this
303
+ * error, contact <a href="https://docs.aws.amazon.com/support/home#/">Amazon Web Services Support</a>.</p>
304
+ * </important>
305
+ * </li>
306
+ * <li>
307
+ * <p>ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because the
308
+ * invited account is already a member of an organization.</p>
309
+ * </li>
310
+ * <li>
311
+ * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
312
+ * handshakes that you can send in one day.</p>
313
+ * </li>
314
+ * <li>
315
+ * <p>INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can't issue new invitations to
316
+ * join an organization while it's in the process of enabling all features. You can
317
+ * resume inviting accounts after you finalize the process when all accounts have
318
+ * agreed to the change.</p>
319
+ * </li>
320
+ * <li>
321
+ * <p>ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid
322
+ * because the organization has already enabled all features.</p>
323
+ * </li>
324
+ * <li>
325
+ * <p>ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake request
326
+ * is invalid because the organization has already started the process to enable
327
+ * all features.</p>
328
+ * </li>
329
+ * <li>
330
+ * <p>ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because the
331
+ * account is from a different marketplace than the accounts in the organization.
332
+ * For example, accounts with India addresses must be associated with the AISPL
333
+ * marketplace. All accounts in an organization must be from the same
334
+ * marketplace.</p>
335
+ * </li>
336
+ * <li>
337
+ * <p>ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to change
338
+ * the membership of an account too quickly after its previous change.</p>
339
+ * </li>
340
+ * <li>
341
+ * <p>PAYMENT_INSTRUMENT_REQUIRED: You can't complete the operation with an account
342
+ * that doesn't have a payment instrument, such as a credit card, associated with
343
+ * it.</p>
344
+ * </li>
345
+ * </ul>
346
+ *
347
+ * @throws {@link InvalidInputException} (client fault)
348
+ * <p>The requested operation failed because you provided invalid values for one or more of
349
+ * the request parameters. This exception includes a reason that contains additional
350
+ * information about the violated limit:</p>
351
+ * <note>
352
+ * <p>Some of the reasons in the following list might not be applicable to this specific
353
+ * API or operation.</p>
354
+ * </note>
355
+ * <ul>
356
+ * <li>
357
+ * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
358
+ * entity.</p>
359
+ * </li>
360
+ * <li>
361
+ * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
362
+ * modified.</p>
363
+ * </li>
364
+ * <li>
365
+ * <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>
366
+ * </li>
367
+ * <li>
368
+ * <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the
369
+ * invited account owner.</p>
370
+ * </li>
371
+ * <li>
372
+ * <p>INVALID_ENUM: You specified an invalid value.</p>
373
+ * </li>
374
+ * <li>
375
+ * <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>
376
+ * </li>
377
+ * <li>
378
+ * <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
379
+ * characters.</p>
380
+ * </li>
381
+ * <li>
382
+ * <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least
383
+ * one invalid value.</p>
384
+ * </li>
385
+ * <li>
386
+ * <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>
387
+ * parameter from the response to a previous call of the operation.</p>
388
+ * </li>
389
+ * <li>
390
+ * <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
391
+ * organization, or email) as a party.</p>
392
+ * </li>
393
+ * <li>
394
+ * <p>INVALID_PATTERN: You provided a value that doesn't match the required
395
+ * pattern.</p>
396
+ * </li>
397
+ * <li>
398
+ * <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match
399
+ * the required pattern.</p>
400
+ * </li>
401
+ * <li>
402
+ * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
403
+ * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
404
+ * </li>
405
+ * <li>
406
+ * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
407
+ * (ARN) for the organization.</p>
408
+ * </li>
409
+ * <li>
410
+ * <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>
411
+ * </li>
412
+ * <li>
413
+ * <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.
414
+ * You can’t add, edit, or delete system tag keys because they're reserved for
415
+ * Amazon Web Services use. System tags don’t count against your tags per resource limit.</p>
416
+ * </li>
417
+ * <li>
418
+ * <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the
419
+ * operation.</p>
420
+ * </li>
421
+ * <li>
422
+ * <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than
423
+ * allowed.</p>
424
+ * </li>
425
+ * <li>
426
+ * <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value
427
+ * than allowed.</p>
428
+ * </li>
429
+ * <li>
430
+ * <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than
431
+ * allowed.</p>
432
+ * </li>
433
+ * <li>
434
+ * <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller value
435
+ * than allowed.</p>
436
+ * </li>
437
+ * <li>
438
+ * <p>MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only between
439
+ * entities in the same root.</p>
440
+ * </li>
441
+ * <li>
442
+ * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
443
+ * entity.</p>
444
+ * </li>
445
+ * <li>
446
+ * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
447
+ * recognized.</p>
448
+ * </li>
449
+ * </ul>
450
+ *
451
+ * @throws {@link ServiceException} (server fault)
452
+ * <p>Organizations can't complete your request because of an internal service error. Try again
453
+ * later.</p>
454
+ *
455
+ * @throws {@link TooManyRequestsException} (client fault)
456
+ * <p>You have sent too many requests in too short a period of time. The quota helps protect
457
+ * against denial-of-service attacks. Try again later.</p>
458
+ * <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
459
+ * <i>Organizations User Guide.</i>
460
+ * </p>
461
+ *
462
+ *
463
+ * @example To invite an account to join an organization
464
+ * ```javascript
465
+ * // The following example shows the admin of the master account owned by bill@example.com inviting the account owned by juan@example.com to join an organization.
466
+ * const input = {
467
+ * "Notes": "This is a request for Juan's account to join Bill's organization",
468
+ * "Target": {
469
+ * "Id": "juan@example.com",
470
+ * "Type": "EMAIL"
471
+ * }
472
+ * };
473
+ * const command = new InviteAccountToOrganizationCommand(input);
474
+ * const response = await client.send(command);
475
+ * /* response ==
476
+ * {
477
+ * "Handshake": {
478
+ * "Action": "INVITE",
479
+ * "Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111",
480
+ * "ExpirationTimestamp": "2017-02-16T09:36:05.02Z",
481
+ * "Id": "h-examplehandshakeid111",
482
+ * "Parties": [
483
+ * {
484
+ * "Id": "o-exampleorgid",
485
+ * "Type": "ORGANIZATION"
486
+ * },
487
+ * {
488
+ * "Id": "juan@example.com",
489
+ * "Type": "EMAIL"
490
+ * }
491
+ * ],
492
+ * "RequestedTimestamp": "2017-02-01T09:36:05.02Z",
493
+ * "Resources": [
494
+ * {
495
+ * "Resources": [
496
+ * {
497
+ * "Type": "MASTER_EMAIL",
498
+ * "Value": "bill@amazon.com"
499
+ * },
500
+ * {
501
+ * "Type": "MASTER_NAME",
502
+ * "Value": "Org Master Account"
503
+ * },
504
+ * {
505
+ * "Type": "ORGANIZATION_FEATURE_SET",
506
+ * "Value": "FULL"
507
+ * }
508
+ * ],
509
+ * "Type": "ORGANIZATION",
510
+ * "Value": "o-exampleorgid"
511
+ * },
512
+ * {
513
+ * "Type": "EMAIL",
514
+ * "Value": "juan@example.com"
515
+ * }
516
+ * ],
517
+ * "State": "OPEN"
518
+ * }
519
+ * }
520
+ * *\/
521
+ * // example id: to-invite-an-account-to-join-an-organization-1472508594110
522
+ * ```
523
+ *
57
524
  */
58
525
  export declare class InviteAccountToOrganizationCommand extends $Command<InviteAccountToOrganizationCommandInput, InviteAccountToOrganizationCommandOutput, OrganizationsClientResolvedConfig> {
59
526
  readonly input: InviteAccountToOrganizationCommandInput;