@aws-sdk/client-organizations 3.863.0 → 3.866.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 (32) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +109 -0
  3. package/dist-es/Organizations.js +4 -0
  4. package/dist-es/commands/ListAccountsWithInvalidEffectivePolicyCommand.js +23 -0
  5. package/dist-es/commands/ListEffectivePolicyValidationErrorsCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +4 -0
  8. package/dist-es/pagination/ListAccountsWithInvalidEffectivePolicyPaginator.js +4 -0
  9. package/dist-es/pagination/ListEffectivePolicyValidationErrorsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +2 -0
  11. package/dist-es/protocols/Aws_json1_1.js +55 -0
  12. package/dist-types/Organizations.d.ts +14 -0
  13. package/dist-types/OrganizationsClient.d.ts +4 -2
  14. package/dist-types/commands/ListAccountsWithInvalidEffectivePolicyCommand.d.ts +482 -0
  15. package/dist-types/commands/ListEffectivePolicyValidationErrorsCommand.d.ts +453 -0
  16. package/dist-types/commands/index.d.ts +2 -0
  17. package/dist-types/models/models_0.d.ts +292 -0
  18. package/dist-types/pagination/ListAccountsWithInvalidEffectivePolicyPaginator.d.ts +7 -0
  19. package/dist-types/pagination/ListEffectivePolicyValidationErrorsPaginator.d.ts +7 -0
  20. package/dist-types/pagination/index.d.ts +2 -0
  21. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  22. package/dist-types/ts3.4/Organizations.d.ts +46 -0
  23. package/dist-types/ts3.4/OrganizationsClient.d.ts +12 -0
  24. package/dist-types/ts3.4/commands/ListAccountsWithInvalidEffectivePolicyCommand.d.ts +51 -0
  25. package/dist-types/ts3.4/commands/ListEffectivePolicyValidationErrorsCommand.d.ts +51 -0
  26. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +35 -0
  28. package/dist-types/ts3.4/pagination/ListAccountsWithInvalidEffectivePolicyPaginator.d.ts +11 -0
  29. package/dist-types/ts3.4/pagination/ListEffectivePolicyValidationErrorsPaginator.d.ts +11 -0
  30. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  31. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  32. package/package.json +5 -5
@@ -0,0 +1,482 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListAccountsWithInvalidEffectivePolicyRequest, ListAccountsWithInvalidEffectivePolicyResponse } from "../models/models_0";
4
+ import { OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OrganizationsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAccountsWithInvalidEffectivePolicyCommand}.
14
+ */
15
+ export interface ListAccountsWithInvalidEffectivePolicyCommandInput extends ListAccountsWithInvalidEffectivePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAccountsWithInvalidEffectivePolicyCommand}.
21
+ */
22
+ export interface ListAccountsWithInvalidEffectivePolicyCommandOutput extends ListAccountsWithInvalidEffectivePolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const ListAccountsWithInvalidEffectivePolicyCommand_base: {
25
+ new (input: ListAccountsWithInvalidEffectivePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountsWithInvalidEffectivePolicyCommandInput, ListAccountsWithInvalidEffectivePolicyCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListAccountsWithInvalidEffectivePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountsWithInvalidEffectivePolicyCommandInput, ListAccountsWithInvalidEffectivePolicyCommandOutput, OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all the accounts in an organization that have invalid effective policies.
31
+ * An <i>invalid effective policy</i> is an <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_effective.html">effective policy</a> that fails validation checks, resulting in the effective policy not being fully enforced on all the intended accounts within an organization.</p>
32
+ * <p>This operation can be called only from the organization's
33
+ * management account or by a member account that is a delegated administrator.</p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { OrganizationsClient, ListAccountsWithInvalidEffectivePolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import
38
+ * // const { OrganizationsClient, ListAccountsWithInvalidEffectivePolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
39
+ * const client = new OrganizationsClient(config);
40
+ * const input = { // ListAccountsWithInvalidEffectivePolicyRequest
41
+ * PolicyType: "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY" || "DECLARATIVE_POLICY_EC2" || "SECURITYHUB_POLICY", // required
42
+ * NextToken: "STRING_VALUE",
43
+ * MaxResults: Number("int"),
44
+ * };
45
+ * const command = new ListAccountsWithInvalidEffectivePolicyCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListAccountsWithInvalidEffectivePolicyResponse
48
+ * // Accounts: [ // Accounts
49
+ * // { // Account
50
+ * // Id: "STRING_VALUE",
51
+ * // Arn: "STRING_VALUE",
52
+ * // Email: "STRING_VALUE",
53
+ * // Name: "STRING_VALUE",
54
+ * // Status: "ACTIVE" || "SUSPENDED" || "PENDING_CLOSURE",
55
+ * // JoinedMethod: "INVITED" || "CREATED",
56
+ * // JoinedTimestamp: new Date("TIMESTAMP"),
57
+ * // },
58
+ * // ],
59
+ * // PolicyType: "TAG_POLICY" || "BACKUP_POLICY" || "AISERVICES_OPT_OUT_POLICY" || "CHATBOT_POLICY" || "DECLARATIVE_POLICY_EC2" || "SECURITYHUB_POLICY",
60
+ * // NextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListAccountsWithInvalidEffectivePolicyCommandInput - {@link ListAccountsWithInvalidEffectivePolicyCommandInput}
66
+ * @returns {@link ListAccountsWithInvalidEffectivePolicyCommandOutput}
67
+ * @see {@link ListAccountsWithInvalidEffectivePolicyCommandInput} for command's `input` shape.
68
+ * @see {@link ListAccountsWithInvalidEffectivePolicyCommandOutput} for command's `response` shape.
69
+ * @see {@link OrganizationsClientResolvedConfig | config} for OrganizationsClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>You don't have permissions to perform the requested operation. The user or role that
73
+ * is making the request must have at least one IAM permissions policy attached that
74
+ * 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
75
+ * <i>IAM User Guide</i>.</p>
76
+ *
77
+ * @throws {@link AWSOrganizationsNotInUseException} (client fault)
78
+ * <p>Your account isn't a member of an organization. To make this request, you must use the
79
+ * credentials of an account that belongs to an organization.</p>
80
+ *
81
+ * @throws {@link ConstraintViolationException} (client fault)
82
+ * <p>Performing this operation violates a minimum or maximum value limit. For example,
83
+ * attempting to remove the last service control policy (SCP) from an OU or root, inviting
84
+ * or creating too many accounts to the organization, or attaching too many policies to an
85
+ * account, OU, or root. This exception includes a reason that contains additional
86
+ * information about the violated limit:</p>
87
+ * <note>
88
+ * <p>Some of the reasons in the following list might not be applicable to this specific
89
+ * API or operation.</p>
90
+ * </note>
91
+ * <ul>
92
+ * <li>
93
+ * <p>ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management
94
+ * account from the organization. You can't remove the management account. Instead,
95
+ * after you remove all member accounts, delete the organization itself.</p>
96
+ * </li>
97
+ * <li>
98
+ * <p>ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove an
99
+ * account from the organization that doesn't yet have enough information to exist
100
+ * as a standalone account. This account requires you to first complete phone
101
+ * 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
102
+ * <i>Organizations User Guide</i>.</p>
103
+ * </li>
104
+ * <li>
105
+ * <p>ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
106
+ * accounts that you can create in one day.</p>
107
+ * </li>
108
+ * <li>
109
+ * <p>ACCOUNT_CREATION_NOT_COMPLETE: Your account setup isn't complete or your
110
+ * account isn't fully active. You must complete the account setup before you
111
+ * create an organization.</p>
112
+ * </li>
113
+ * <li>
114
+ * <p>ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number
115
+ * of accounts in an organization. If you need more accounts, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services Support</a> to
116
+ * request an increase in your limit. </p>
117
+ * <p>Or the number of invitations that you tried to send would cause you to exceed
118
+ * the limit of accounts in your organization. Send fewer invitations or contact
119
+ * Amazon Web Services Support to request an increase in the number of accounts.</p>
120
+ * <note>
121
+ * <p>Deleted and closed accounts still count toward your limit.</p>
122
+ * </note>
123
+ * <important>
124
+ * <p>If you get this exception when running a command immediately after
125
+ * creating the organization, wait one hour and try again. After an hour, if
126
+ * the command continues to fail with this error, contact <a href="https://console.aws.amazon.com/support/home#/">Amazon Web Services Support</a>.</p>
127
+ * </important>
128
+ * </li>
129
+ * <li>
130
+ * <p>ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED: Your organization has
131
+ * more than 5000 accounts, and you can only use the standard migration process for
132
+ * organizations with less than 5000 accounts. Use the assisted migration process
133
+ * to enable all features mode, or create a support case for assistance if you are
134
+ * unable to use assisted migration.</p>
135
+ * </li>
136
+ * <li>
137
+ * <p>CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: You cannot
138
+ * register a suspended account as a delegated administrator.</p>
139
+ * </li>
140
+ * <li>
141
+ * <p>CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to register
142
+ * the management account of the organization as a delegated administrator for an
143
+ * Amazon Web Services service integrated with Organizations. You can designate only a member account as a
144
+ * delegated administrator.</p>
145
+ * </li>
146
+ * <li>
147
+ * <p>CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management
148
+ * account. To close the management account for the organization, you must first
149
+ * either remove or close all member accounts in the organization. Follow standard
150
+ * account closure process using root credentials.​ </p>
151
+ * </li>
152
+ * <li>
153
+ * <p>CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove an
154
+ * account that is registered as a delegated administrator for a service integrated
155
+ * with your organization. To complete this operation, you must first deregister
156
+ * this account as a delegated administrator. </p>
157
+ * </li>
158
+ * <li>
159
+ * <p>CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota for the
160
+ * past 30 days. </p>
161
+ * </li>
162
+ * <li>
163
+ * <p>CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number of
164
+ * accounts that you can close at a time. ​ </p>
165
+ * </li>
166
+ * <li>
167
+ * <p>CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
168
+ * organization in the specified region, you must enable all features mode.</p>
169
+ * </li>
170
+ * <li>
171
+ * <p>DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register an
172
+ * Amazon Web Services account as a delegated administrator for an Amazon Web Services service that already has
173
+ * a delegated administrator. To complete this operation, you must first deregister
174
+ * any existing delegated administrators for this service.</p>
175
+ * </li>
176
+ * <li>
177
+ * <p>EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for
178
+ * a limited period of time. You must resubmit the request and generate a new
179
+ * verfication code.</p>
180
+ * </li>
181
+ * <li>
182
+ * <p>HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
183
+ * handshakes that you can send in one day.</p>
184
+ * </li>
185
+ * <li>
186
+ * <p>INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported
187
+ * payment method is associated with the account. Amazon Web Services does not support cards
188
+ * issued by financial institutions in Russia or Belarus. For more information, see
189
+ * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html">Managing your
190
+ * Amazon Web Services payments</a>.</p>
191
+ * </li>
192
+ * <li>
193
+ * <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
194
+ * this organization, you first must migrate the organization's management account
195
+ * to the marketplace that corresponds to the management account's address. All
196
+ * accounts in an organization must be associated with the same marketplace.</p>
197
+ * </li>
198
+ * <li>
199
+ * <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
200
+ * China. To create an organization, the master must have a valid business license.
201
+ * For more information, contact customer support.</p>
202
+ * </li>
203
+ * <li>
204
+ * <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
205
+ * first provide a valid contact address and phone number for the management
206
+ * account. Then try the operation again.</p>
207
+ * </li>
208
+ * <li>
209
+ * <p>MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the
210
+ * management account must have an associated account in the Amazon Web Services GovCloud
211
+ * (US-West) Region. For more information, see <a href="https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html">Organizations</a>
212
+ * in the
213
+ * <i>Amazon Web Services GovCloud User Guide</i>.</p>
214
+ * </li>
215
+ * <li>
216
+ * <p>MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization with
217
+ * this management account, you first must associate a valid payment instrument,
218
+ * such as a credit card, with the account. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_account-before-remove.html">Considerations before removing an account from an organization</a> in
219
+ * the <i>Organizations User Guide</i>.</p>
220
+ * </li>
221
+ * <li>
222
+ * <p>MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted to
223
+ * register more delegated administrators than allowed for the service principal.
224
+ * </p>
225
+ * </li>
226
+ * <li>
227
+ * <p>MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the number
228
+ * of policies of a certain type that can be attached to an entity at one
229
+ * time.</p>
230
+ * </li>
231
+ * <li>
232
+ * <p>MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed on this
233
+ * resource. </p>
234
+ * </li>
235
+ * <li>
236
+ * <p>MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation with
237
+ * this member account, you first must associate a valid payment instrument, such
238
+ * as a credit card, with the account. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_account-before-remove.html">Considerations before removing an account from an organization</a> in
239
+ * the <i>Organizations User Guide</i>.</p>
240
+ * </li>
241
+ * <li>
242
+ * <p>MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a policy
243
+ * from an entity that would cause the entity to have fewer than the minimum number
244
+ * of policies of a certain type required.</p>
245
+ * </li>
246
+ * <li>
247
+ * <p>ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
248
+ * that requires the organization to be configured to support all features. An
249
+ * organization that supports only consolidated billing features can't perform this
250
+ * operation.</p>
251
+ * </li>
252
+ * <li>
253
+ * <p>OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is too many
254
+ * levels deep.</p>
255
+ * </li>
256
+ * <li>
257
+ * <p>OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs that you
258
+ * can have in an organization.</p>
259
+ * </li>
260
+ * <li>
261
+ * <p>POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that is larger
262
+ * than the maximum size.</p>
263
+ * </li>
264
+ * <li>
265
+ * <p>POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of policies
266
+ * that you can have in an organization.</p>
267
+ * </li>
268
+ * <li>
269
+ * <p>POLICY_TYPE_ENABLED_FOR_THIS_SERVICE: You attempted to disable service access
270
+ * before you disabled the policy type (for example, SECURITYHUB_POLICY). To
271
+ * complete this operation, you must first disable the policy type.</p>
272
+ * </li>
273
+ * <li>
274
+ * <p>SERVICE_ACCESS_NOT_ENABLED:</p>
275
+ * <ul>
276
+ * <li>
277
+ * <p>You attempted to register a delegated administrator before you enabled
278
+ * service access. Call the <code>EnableAWSServiceAccess</code> API
279
+ * first.</p>
280
+ * </li>
281
+ * <li>
282
+ * <p>You attempted to enable a policy type before you enabled service
283
+ * access. Call the <code>EnableAWSServiceAccess</code> API first.</p>
284
+ * </li>
285
+ * </ul>
286
+ * </li>
287
+ * <li>
288
+ * <p>TAG_POLICY_VIOLATION: You attempted to create or update a resource with tags
289
+ * that are not compliant with the tag policy requirements for this account.</p>
290
+ * </li>
291
+ * <li>
292
+ * <p>WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at
293
+ * least seven days after the account was created. Invited accounts aren't subject
294
+ * to this waiting period.</p>
295
+ * </li>
296
+ * </ul>
297
+ *
298
+ * @throws {@link EffectivePolicyNotFoundException} (client fault)
299
+ * <p>If you ran this action on the management account, this policy type is not enabled. If
300
+ * you ran the action on a member account, the account doesn't have an effective policy of
301
+ * this type. Contact the administrator of your organization about attaching a policy of
302
+ * this type to the account. </p>
303
+ *
304
+ * @throws {@link InvalidInputException} (client fault)
305
+ * <p>The requested operation failed because you provided invalid values for one or more of
306
+ * the request parameters. This exception includes a reason that contains additional
307
+ * information about the violated limit:</p>
308
+ * <note>
309
+ * <p>Some of the reasons in the following list might not be applicable to this specific
310
+ * API or operation.</p>
311
+ * </note>
312
+ * <ul>
313
+ * <li>
314
+ * <p>DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to the same
315
+ * entity.</p>
316
+ * </li>
317
+ * <li>
318
+ * <p>IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web Services and can't be
319
+ * modified.</p>
320
+ * </li>
321
+ * <li>
322
+ * <p>INPUT_REQUIRED: You must include a value for all required parameters.</p>
323
+ * </li>
324
+ * <li>
325
+ * <p>INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address for the
326
+ * invited account owner.</p>
327
+ * </li>
328
+ * <li>
329
+ * <p>INVALID_ENUM: You specified an invalid value.</p>
330
+ * </li>
331
+ * <li>
332
+ * <p>INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string.</p>
333
+ * </li>
334
+ * <li>
335
+ * <p>INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid
336
+ * characters.</p>
337
+ * </li>
338
+ * <li>
339
+ * <p>INVALID_LIST_MEMBER: You provided a list to a parameter that contains at least
340
+ * one invalid value.</p>
341
+ * </li>
342
+ * <li>
343
+ * <p>INVALID_PAGINATION_TOKEN: Get the value for the <code>NextToken</code>
344
+ * parameter from the response to a previous call of the operation.</p>
345
+ * </li>
346
+ * <li>
347
+ * <p>INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account,
348
+ * organization, or email) as a party.</p>
349
+ * </li>
350
+ * <li>
351
+ * <p>INVALID_PATTERN: You provided a value that doesn't match the required
352
+ * pattern.</p>
353
+ * </li>
354
+ * <li>
355
+ * <p>INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't match
356
+ * the required pattern.</p>
357
+ * </li>
358
+ * <li>
359
+ * <p>INVALID_PRINCIPAL: You specified an invalid principal element in the
360
+ * policy.</p>
361
+ * </li>
362
+ * <li>
363
+ * <p>INVALID_ROLE_NAME: You provided a role name that isn't valid. A role name
364
+ * can't begin with the reserved prefix <code>AWSServiceRoleFor</code>.</p>
365
+ * </li>
366
+ * <li>
367
+ * <p>INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource Name
368
+ * (ARN) for the organization.</p>
369
+ * </li>
370
+ * <li>
371
+ * <p>INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. </p>
372
+ * </li>
373
+ * <li>
374
+ * <p>INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system tag.
375
+ * You can’t add, edit, or delete system tag keys because they're reserved for
376
+ * Amazon Web Services use. System tags don’t count against your tags per resource limit.</p>
377
+ * </li>
378
+ * <li>
379
+ * <p>MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter for the
380
+ * operation.</p>
381
+ * </li>
382
+ * <li>
383
+ * <p>MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer than
384
+ * allowed.</p>
385
+ * </li>
386
+ * <li>
387
+ * <p>MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger value
388
+ * than allowed.</p>
389
+ * </li>
390
+ * <li>
391
+ * <p>MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter than
392
+ * allowed.</p>
393
+ * </li>
394
+ * <li>
395
+ * <p>MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller value
396
+ * than allowed.</p>
397
+ * </li>
398
+ * <li>
399
+ * <p>MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only between
400
+ * entities in the same root.</p>
401
+ * </li>
402
+ * <li>
403
+ * <p>NON_DETACHABLE_POLICY: You can't detach this Amazon Web Services Managed Policy.</p>
404
+ * </li>
405
+ * <li>
406
+ * <p>TARGET_NOT_SUPPORTED: You can't perform the specified operation on that target
407
+ * entity.</p>
408
+ * </li>
409
+ * <li>
410
+ * <p>UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that isn't
411
+ * recognized.</p>
412
+ * </li>
413
+ * </ul>
414
+ *
415
+ * @throws {@link ServiceException} (server fault)
416
+ * <p>Organizations can't complete your request because of an internal service error. Try again
417
+ * later.</p>
418
+ *
419
+ * @throws {@link TooManyRequestsException} (client fault)
420
+ * <p>You have sent too many requests in too short a period of time. The quota helps protect
421
+ * against denial-of-service attacks. Try again later.</p>
422
+ * <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
423
+ * <i>Organizations User Guide</i>.</p>
424
+ *
425
+ * @throws {@link UnsupportedAPIEndpointException} (client fault)
426
+ * <p>This action isn't available in the current Amazon Web Services Region.</p>
427
+ *
428
+ * @throws {@link OrganizationsServiceException}
429
+ * <p>Base exception class for all service exceptions from Organizations service.</p>
430
+ *
431
+ *
432
+ * @example To list all accounts in an organization with invalid effective policy
433
+ * ```javascript
434
+ * // The following example shows you how to request a list of the accounts in an organization having invalid effective policy for a policy type:
435
+ * const input = {
436
+ * PolicyType: "BACKUP_POLICY"
437
+ * };
438
+ * const command = new ListAccountsWithInvalidEffectivePolicyCommand(input);
439
+ * const response = await client.send(command);
440
+ * /* response is
441
+ * {
442
+ * Accounts: [
443
+ * {
444
+ * Email: "bill@example.com",
445
+ * Id: "111111111111",
446
+ * Name: "Management Account"
447
+ * },
448
+ * {
449
+ * Email: "alice@example.com",
450
+ * Id: "222222222222",
451
+ * Name: "Developer Account"
452
+ * },
453
+ * {
454
+ * Email: "juan@example.com",
455
+ * Id: "333333333333",
456
+ * Name: "Test Account"
457
+ * },
458
+ * {
459
+ * Email: "anika@example.com",
460
+ * Id: "444444444444",
461
+ * Name: "Production Account"
462
+ * }
463
+ * ]
464
+ * }
465
+ * *\/
466
+ * ```
467
+ *
468
+ * @public
469
+ */
470
+ export declare class ListAccountsWithInvalidEffectivePolicyCommand extends ListAccountsWithInvalidEffectivePolicyCommand_base {
471
+ /** @internal type navigation helper, not in runtime. */
472
+ protected static __types: {
473
+ api: {
474
+ input: ListAccountsWithInvalidEffectivePolicyRequest;
475
+ output: ListAccountsWithInvalidEffectivePolicyResponse;
476
+ };
477
+ sdk: {
478
+ input: ListAccountsWithInvalidEffectivePolicyCommandInput;
479
+ output: ListAccountsWithInvalidEffectivePolicyCommandOutput;
480
+ };
481
+ };
482
+ }