@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.
- package/dist-types/commands/AcceptHandshakeCommand.d.ts +265 -0
- package/dist-types/commands/AttachPolicyCommand.d.ts +378 -0
- package/dist-types/commands/CancelHandshakeCommand.d.ts +201 -0
- package/dist-types/commands/CloseAccountCommand.d.ts +343 -0
- package/dist-types/commands/CreateAccountCommand.d.ts +358 -0
- package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +336 -0
- package/dist-types/commands/CreateOrganizationCommand.d.ts +389 -0
- package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +357 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +377 -0
- package/dist-types/commands/DeclineHandshakeCommand.d.ts +196 -0
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +135 -0
- package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +152 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +154 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +230 -0
- package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +339 -0
- package/dist-types/commands/DescribeAccountCommand.d.ts +153 -0
- package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +154 -0
- package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +337 -0
- package/dist-types/commands/DescribeHandshakeCommand.d.ts +183 -0
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +53 -0
- package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +151 -0
- package/dist-types/commands/DescribePolicyCommand.d.ts +159 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +226 -0
- package/dist-types/commands/DetachPolicyCommand.d.ts +357 -0
- package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +331 -0
- package/dist-types/commands/DisablePolicyTypeCommand.d.ts +367 -0
- package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +331 -0
- package/dist-types/commands/EnableAllFeaturesCommand.d.ts +223 -0
- package/dist-types/commands/EnablePolicyTypeCommand.d.ts +375 -0
- package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +467 -0
- package/dist-types/commands/LeaveOrganizationCommand.d.ts +347 -0
- package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +327 -0
- package/dist-types/commands/ListAccountsCommand.d.ts +178 -0
- package/dist-types/commands/ListAccountsForParentCommand.d.ts +165 -0
- package/dist-types/commands/ListChildrenCommand.d.ts +156 -0
- package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +182 -0
- package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +327 -0
- package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +335 -0
- package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +184 -0
- package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +230 -0
- package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +157 -0
- package/dist-types/commands/ListParentsCommand.d.ts +152 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +171 -0
- package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +160 -0
- package/dist-types/commands/ListRootsCommand.d.ts +153 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +131 -0
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +168 -0
- package/dist-types/commands/MoveAccountCommand.d.ts +160 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +331 -0
- package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +340 -0
- package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +349 -0
- package/dist-types/commands/TagResourceCommand.d.ts +332 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +332 -0
- package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +159 -0
- package/dist-types/commands/UpdatePolicyCommand.d.ts +403 -0
- package/package.json +29 -29
|
@@ -103,6 +103,364 @@ export interface CreateAccountCommandOutput extends CreateAccountResponse, __Met
|
|
|
103
103
|
* @see {@link CreateAccountCommandOutput} for command's `response` shape.
|
|
104
104
|
* @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
|
|
105
105
|
*
|
|
106
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
107
|
+
* <p>You don't have permissions to perform the requested operation. The user or role that
|
|
108
|
+
* is making the request must have at least one IAM permissions policy attached that
|
|
109
|
+
* 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
|
|
110
|
+
* <i>IAM User Guide.</i>
|
|
111
|
+
* </p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link AWSOrganizationsNotInUseException} (client fault)
|
|
114
|
+
* <p>Your account isn't a member of an organization. To make this request, you must use the
|
|
115
|
+
* credentials of an account that belongs to an organization.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
118
|
+
* <p>The target of the operation is currently being modified by a different request. Try
|
|
119
|
+
* again later.</p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link ConstraintViolationException} (client fault)
|
|
122
|
+
* <p>Performing this operation violates a minimum or maximum value limit. For example,
|
|
123
|
+
* attempting to remove the last service control policy (SCP) from an OU or root, inviting
|
|
124
|
+
* or creating too many accounts to the organization, or attaching too many policies to an
|
|
125
|
+
* account, OU, or root. This exception includes a reason that contains additional
|
|
126
|
+
* information about the violated limit:</p>
|
|
127
|
+
* <note>
|
|
128
|
+
* <p>Some of the reasons in the following list might not be applicable to this specific
|
|
129
|
+
* API or operation.</p>
|
|
130
|
+
* </note>
|
|
131
|
+
* <ul>
|
|
132
|
+
* <li>
|
|
133
|
+
* <p>ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management
|
|
134
|
+
* account from the organization. You can't remove the management account. Instead,
|
|
135
|
+
* after you remove all member accounts, delete the organization itself.</p>
|
|
136
|
+
* </li>
|
|
137
|
+
* <li>
|
|
138
|
+
* <p>ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove an
|
|
139
|
+
* account from the organization that doesn't yet have enough information to exist
|
|
140
|
+
* as a standalone account. This account requires you to first complete phone
|
|
141
|
+
* 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
|
|
142
|
+
* <i>Organizations User Guide.</i>
|
|
143
|
+
* </p>
|
|
144
|
+
* </li>
|
|
145
|
+
* <li>
|
|
146
|
+
* <p>ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
|
|
147
|
+
* accounts that you can create in one day.</p>
|
|
148
|
+
* </li>
|
|
149
|
+
* <li>
|
|
150
|
+
* <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>
|
|
151
|
+
* </li>
|
|
152
|
+
* <li>
|
|
153
|
+
* <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
|
|
154
|
+
* 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
|
|
155
|
+
* request an increase in your limit. </p>
|
|
156
|
+
* <p>Or the number of invitations that you tried to send would cause you to exceed
|
|
157
|
+
* the limit of accounts in your organization. Send fewer invitations or contact
|
|
158
|
+
* Amazon Web Services Support to request an increase in the number of accounts.</p>
|
|
159
|
+
* <note>
|
|
160
|
+
* <p>Deleted and closed accounts still count toward your limit.</p>
|
|
161
|
+
* </note>
|
|
162
|
+
* <important>
|
|
163
|
+
* <p>If you get this exception when running a command immediately after
|
|
164
|
+
* creating the organization, wait one hour and try again. After an hour, if
|
|
165
|
+
* the command continues to fail with this error, contact <a href="https://docs.aws.amazon.com/support/home#/">Amazon Web Services
|
|
166
|
+
* Support</a>.</p>
|
|
167
|
+
* </important>
|
|
168
|
+
* </li>
|
|
169
|
+
* <li>
|
|
170
|
+
* <p>CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to register
|
|
171
|
+
* the management account of the organization as a delegated administrator for an
|
|
172
|
+
* Amazon Web Services service integrated with Organizations. You can designate only a member account as a
|
|
173
|
+
* delegated administrator.</p>
|
|
174
|
+
* </li>
|
|
175
|
+
* <li>
|
|
176
|
+
* <p>CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management
|
|
177
|
+
* account. To close the management account for the organization, you must first
|
|
178
|
+
* either remove or close all member accounts in the organization. Follow standard
|
|
179
|
+
* account closure process using root credentials. </p>
|
|
180
|
+
* </li>
|
|
181
|
+
* <li>
|
|
182
|
+
* <p>CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove an
|
|
183
|
+
* account that is registered as a delegated administrator for a service integrated
|
|
184
|
+
* with your organization. To complete this operation, you must first deregister
|
|
185
|
+
* this account as a delegated administrator. </p>
|
|
186
|
+
* </li>
|
|
187
|
+
* <li>
|
|
188
|
+
* <p>CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota for the
|
|
189
|
+
* past 30 days. </p>
|
|
190
|
+
* </li>
|
|
191
|
+
* <li>
|
|
192
|
+
* <p>CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number of
|
|
193
|
+
* accounts that you can close at a time. </p>
|
|
194
|
+
* </li>
|
|
195
|
+
* <li>
|
|
196
|
+
* <p>CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
|
|
197
|
+
* organization in the specified region, you must enable all features mode.</p>
|
|
198
|
+
* </li>
|
|
199
|
+
* <li>
|
|
200
|
+
* <p>DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register an
|
|
201
|
+
* Amazon Web Services account as a delegated administrator for an Amazon Web Services service that already has
|
|
202
|
+
* a delegated administrator. To complete this operation, you must first deregister
|
|
203
|
+
* any existing delegated administrators for this service.</p>
|
|
204
|
+
* </li>
|
|
205
|
+
* <li>
|
|
206
|
+
* <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
|
|
207
|
+
* a limited period of time. You must resubmit the request and generate a new
|
|
208
|
+
* verfication code.</p>
|
|
209
|
+
* </li>
|
|
210
|
+
* <li>
|
|
211
|
+
* <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
|
|
212
|
+
* handshakes that you can send in one day.</p>
|
|
213
|
+
* </li>
|
|
214
|
+
* <li>
|
|
215
|
+
* <p>INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported
|
|
216
|
+
* payment method is associated with the account. Amazon Web Services does not support cards
|
|
217
|
+
* issued by financial institutions in Russia or Belarus. For more information, see
|
|
218
|
+
* <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html">Managing your
|
|
219
|
+
* Amazon Web Services payments</a>.</p>
|
|
220
|
+
* </li>
|
|
221
|
+
* <li>
|
|
222
|
+
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
|
|
223
|
+
* this organization, you first must migrate the organization's management account
|
|
224
|
+
* to the marketplace that corresponds to the management account's address. For
|
|
225
|
+
* example, accounts with India addresses must be associated with the AISPL
|
|
226
|
+
* marketplace. All accounts in an organization must be associated with the same
|
|
227
|
+
* marketplace.</p>
|
|
228
|
+
* </li>
|
|
229
|
+
* <li>
|
|
230
|
+
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services /> Regions
|
|
231
|
+
* in China. To create an organization, the master must have a valid business
|
|
232
|
+
* license. For more information, contact customer support.</p>
|
|
233
|
+
* </li>
|
|
234
|
+
* <li>
|
|
235
|
+
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
|
|
236
|
+
* first provide a valid contact address and phone number for the management
|
|
237
|
+
* account. Then try the operation again.</p>
|
|
238
|
+
* </li>
|
|
239
|
+
* <li>
|
|
240
|
+
* <p>MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the
|
|
241
|
+
* management account must have an associated account in the Amazon Web Services GovCloud
|
|
242
|
+
* (US-West) Region. For more information, see <a href="https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html">Organizations</a>
|
|
243
|
+
* in the
|
|
244
|
+
* <i>Amazon Web Services GovCloud User Guide.</i>
|
|
245
|
+
* </p>
|
|
246
|
+
* </li>
|
|
247
|
+
* <li>
|
|
248
|
+
* <p>MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization with
|
|
249
|
+
* this management account, you first must associate a valid payment instrument,
|
|
250
|
+
* 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
|
|
251
|
+
* been provided</a> in the <i>Organizations User Guide.</i>
|
|
252
|
+
* </p>
|
|
253
|
+
* </li>
|
|
254
|
+
* <li>
|
|
255
|
+
* <p>MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted to
|
|
256
|
+
* register more delegated administrators than allowed for the service principal.
|
|
257
|
+
* </p>
|
|
258
|
+
* </li>
|
|
259
|
+
* <li>
|
|
260
|
+
* <p>MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the number
|
|
261
|
+
* of policies of a certain type that can be attached to an entity at one
|
|
262
|
+
* time.</p>
|
|
263
|
+
* </li>
|
|
264
|
+
* <li>
|
|
265
|
+
* <p>MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed on this
|
|
266
|
+
* resource. </p>
|
|
267
|
+
* </li>
|
|
268
|
+
* <li>
|
|
269
|
+
* <p>MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation with
|
|
270
|
+
* this member account, you first must associate a valid payment instrument, such
|
|
271
|
+
* 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
|
|
272
|
+
* been provided</a> in the <i>Organizations User Guide.</i>
|
|
273
|
+
* </p>
|
|
274
|
+
* </li>
|
|
275
|
+
* <li>
|
|
276
|
+
* <p>MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a policy
|
|
277
|
+
* from an entity that would cause the entity to have fewer than the minimum number
|
|
278
|
+
* of policies of a certain type required.</p>
|
|
279
|
+
* </li>
|
|
280
|
+
* <li>
|
|
281
|
+
* <p>ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
|
|
282
|
+
* that requires the organization to be configured to support all features. An
|
|
283
|
+
* organization that supports only consolidated billing features can't perform this
|
|
284
|
+
* operation.</p>
|
|
285
|
+
* </li>
|
|
286
|
+
* <li>
|
|
287
|
+
* <p>OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is too many
|
|
288
|
+
* levels deep.</p>
|
|
289
|
+
* </li>
|
|
290
|
+
* <li>
|
|
291
|
+
* <p>OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs that you
|
|
292
|
+
* can have in an organization.</p>
|
|
293
|
+
* </li>
|
|
294
|
+
* <li>
|
|
295
|
+
* <p>POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that is larger
|
|
296
|
+
* than the maximum size.</p>
|
|
297
|
+
* </li>
|
|
298
|
+
* <li>
|
|
299
|
+
* <p>POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of policies
|
|
300
|
+
* that you can have in an organization.</p>
|
|
301
|
+
* </li>
|
|
302
|
+
* <li>
|
|
303
|
+
* <p>SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated
|
|
304
|
+
* administrator before you enabled service access. Call the
|
|
305
|
+
* <code>EnableAWSServiceAccess</code> API first.</p>
|
|
306
|
+
* </li>
|
|
307
|
+
* <li>
|
|
308
|
+
* <p>TAG_POLICY_VIOLATION: You attempted to create or update a resource with tags
|
|
309
|
+
* that are not compliant with the tag policy requirements for this account.</p>
|
|
310
|
+
* </li>
|
|
311
|
+
* <li>
|
|
312
|
+
* <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, there is a waiting
|
|
313
|
+
* period before you can remove it from the organization. If you get an error that
|
|
314
|
+
* indicates that a wait period is required, try again in a few days.</p>
|
|
315
|
+
* </li>
|
|
316
|
+
* </ul>
|
|
317
|
+
*
|
|
318
|
+
* @throws {@link FinalizingOrganizationException} (client fault)
|
|
319
|
+
* <p>Organizations couldn't perform the operation because your organization hasn't finished
|
|
320
|
+
* initializing. This can take up to an hour. Try again later. If after one hour you
|
|
321
|
+
* continue to receive this error, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services Support</a>.</p>
|
|
322
|
+
*
|
|
323
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
324
|
+
* <p>The requested operation failed because you provided invalid values for one or more of
|
|
325
|
+
* the request parameters. This exception includes a reason that contains additional
|
|
326
|
+
* information about the violated limit:</p>
|
|
327
|
+
* <note>
|
|
328
|
+
* <p>Some of the reasons in the following list might not be applicable to this specific
|
|
329
|
+
* API or operation.</p>
|
|
330
|
+
* </note>
|
|
331
|
+
* <ul>
|
|
332
|
+
* <li>
|
|
333
|
+
* <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
|
|
334
|
+
* entity.</p>
|
|
335
|
+
* </li>
|
|
336
|
+
* <li>
|
|
337
|
+
* <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
|
|
338
|
+
* modified.</p>
|
|
339
|
+
* </li>
|
|
340
|
+
* <li>
|
|
341
|
+
* <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>
|
|
342
|
+
* </li>
|
|
343
|
+
* <li>
|
|
344
|
+
* <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the
|
|
345
|
+
* invited account owner.</p>
|
|
346
|
+
* </li>
|
|
347
|
+
* <li>
|
|
348
|
+
* <p>INVALID_ENUM: You specified an invalid value.</p>
|
|
349
|
+
* </li>
|
|
350
|
+
* <li>
|
|
351
|
+
* <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>
|
|
352
|
+
* </li>
|
|
353
|
+
* <li>
|
|
354
|
+
* <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
|
|
355
|
+
* characters.</p>
|
|
356
|
+
* </li>
|
|
357
|
+
* <li>
|
|
358
|
+
* <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least
|
|
359
|
+
* one invalid value.</p>
|
|
360
|
+
* </li>
|
|
361
|
+
* <li>
|
|
362
|
+
* <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>
|
|
363
|
+
* parameter from the response to a previous call of the operation.</p>
|
|
364
|
+
* </li>
|
|
365
|
+
* <li>
|
|
366
|
+
* <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
|
|
367
|
+
* organization, or email) as a party.</p>
|
|
368
|
+
* </li>
|
|
369
|
+
* <li>
|
|
370
|
+
* <p>INVALID_PATTERN: You provided a value that doesn't match the required
|
|
371
|
+
* pattern.</p>
|
|
372
|
+
* </li>
|
|
373
|
+
* <li>
|
|
374
|
+
* <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match
|
|
375
|
+
* the required pattern.</p>
|
|
376
|
+
* </li>
|
|
377
|
+
* <li>
|
|
378
|
+
* <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
|
|
379
|
+
* can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
|
|
380
|
+
* </li>
|
|
381
|
+
* <li>
|
|
382
|
+
* <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
|
|
383
|
+
* (ARN) for the organization.</p>
|
|
384
|
+
* </li>
|
|
385
|
+
* <li>
|
|
386
|
+
* <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>
|
|
387
|
+
* </li>
|
|
388
|
+
* <li>
|
|
389
|
+
* <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.
|
|
390
|
+
* You can’t add, edit, or delete system tag keys because they're reserved for
|
|
391
|
+
* Amazon Web Services use. System tags don’t count against your tags per resource limit.</p>
|
|
392
|
+
* </li>
|
|
393
|
+
* <li>
|
|
394
|
+
* <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the
|
|
395
|
+
* operation.</p>
|
|
396
|
+
* </li>
|
|
397
|
+
* <li>
|
|
398
|
+
* <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than
|
|
399
|
+
* allowed.</p>
|
|
400
|
+
* </li>
|
|
401
|
+
* <li>
|
|
402
|
+
* <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value
|
|
403
|
+
* than allowed.</p>
|
|
404
|
+
* </li>
|
|
405
|
+
* <li>
|
|
406
|
+
* <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than
|
|
407
|
+
* allowed.</p>
|
|
408
|
+
* </li>
|
|
409
|
+
* <li>
|
|
410
|
+
* <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller value
|
|
411
|
+
* than allowed.</p>
|
|
412
|
+
* </li>
|
|
413
|
+
* <li>
|
|
414
|
+
* <p>MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only between
|
|
415
|
+
* entities in the same root.</p>
|
|
416
|
+
* </li>
|
|
417
|
+
* <li>
|
|
418
|
+
* <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
|
|
419
|
+
* entity.</p>
|
|
420
|
+
* </li>
|
|
421
|
+
* <li>
|
|
422
|
+
* <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
|
|
423
|
+
* recognized.</p>
|
|
424
|
+
* </li>
|
|
425
|
+
* </ul>
|
|
426
|
+
*
|
|
427
|
+
* @throws {@link ServiceException} (server fault)
|
|
428
|
+
* <p>Organizations can't complete your request because of an internal service error. Try again
|
|
429
|
+
* later.</p>
|
|
430
|
+
*
|
|
431
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
432
|
+
* <p>You have sent too many requests in too short a period of time. The quota helps protect
|
|
433
|
+
* against denial-of-service attacks. Try again later.</p>
|
|
434
|
+
* <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
|
|
435
|
+
* <i>Organizations User Guide.</i>
|
|
436
|
+
* </p>
|
|
437
|
+
*
|
|
438
|
+
* @throws {@link UnsupportedAPIEndpointException} (client fault)
|
|
439
|
+
* <p>This action isn't available in the current Amazon Web Services Region.</p>
|
|
440
|
+
*
|
|
441
|
+
*
|
|
442
|
+
* @example To create a new account that is automatically part of the organization
|
|
443
|
+
* ```javascript
|
|
444
|
+
* // The owner of an organization creates a member account in the organization. The following example shows that when the organization owner creates the member account, the account is preconfigured with the name "Production Account" and an owner email address of susan@example.com. An IAM role is automatically created using the default name because the roleName parameter is not used. AWS Organizations sends Susan a "Welcome to AWS" email:
|
|
445
|
+
* //
|
|
446
|
+
* //
|
|
447
|
+
* const input = {
|
|
448
|
+
* "AccountName": "Production Account",
|
|
449
|
+
* "Email": "susan@example.com"
|
|
450
|
+
* };
|
|
451
|
+
* const command = new CreateAccountCommand(input);
|
|
452
|
+
* const response = await client.send(command);
|
|
453
|
+
* /* response ==
|
|
454
|
+
* {
|
|
455
|
+
* "CreateAccountStatus": {
|
|
456
|
+
* "Id": "car-examplecreateaccountrequestid111",
|
|
457
|
+
* "State": "IN_PROGRESS"
|
|
458
|
+
* }
|
|
459
|
+
* }
|
|
460
|
+
* *\/
|
|
461
|
+
* // example id: to-create-a-new-account-that-is-automatically-part-of-the-organization-1472501463507
|
|
462
|
+
* ```
|
|
463
|
+
*
|
|
106
464
|
*/
|
|
107
465
|
export declare class CreateAccountCommand extends $Command<CreateAccountCommandInput, CreateAccountCommandOutput, OrganizationsClientResolvedConfig> {
|
|
108
466
|
readonly input: CreateAccountCommandInput;
|