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