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