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