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