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