Skip to content

Commit a4680a4

Browse files
author
awstools
committed
feat(client-organizations): This release introduces 2 new APIs in Organizations: 1. ListAccountsWithInvalidEffectivePolicy 2. ListEffectivePolicyValidationErrors
1 parent 6e6a0a6 commit a4680a4

12 files changed

+1878
-0
lines changed

clients/client-organizations/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,14 @@ ListAccountsForParent
537537

538538
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/organizations/command/ListAccountsForParentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-organizations/Interface/ListAccountsForParentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-organizations/Interface/ListAccountsForParentCommandOutput/)
539539

540+
</details>
541+
<details>
542+
<summary>
543+
ListAccountsWithInvalidEffectivePolicy
544+
</summary>
545+
546+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/organizations/command/ListAccountsWithInvalidEffectivePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-organizations/Interface/ListAccountsWithInvalidEffectivePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-organizations/Interface/ListAccountsWithInvalidEffectivePolicyCommandOutput/)
547+
540548
</details>
541549
<details>
542550
<summary>
@@ -577,6 +585,14 @@ ListDelegatedServicesForAccount
577585

578586
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/organizations/command/ListDelegatedServicesForAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-organizations/Interface/ListDelegatedServicesForAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-organizations/Interface/ListDelegatedServicesForAccountCommandOutput/)
579587

588+
</details>
589+
<details>
590+
<summary>
591+
ListEffectivePolicyValidationErrors
592+
</summary>
593+
594+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/organizations/command/ListEffectivePolicyValidationErrorsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-organizations/Interface/ListEffectivePolicyValidationErrorsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-organizations/Interface/ListEffectivePolicyValidationErrorsCommandOutput/)
595+
580596
</details>
581597
<details>
582598
<summary>

clients/client-organizations/src/Organizations.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,11 @@ import {
167167
ListAccountsForParentCommandInput,
168168
ListAccountsForParentCommandOutput,
169169
} from "./commands/ListAccountsForParentCommand";
170+
import {
171+
ListAccountsWithInvalidEffectivePolicyCommand,
172+
ListAccountsWithInvalidEffectivePolicyCommandInput,
173+
ListAccountsWithInvalidEffectivePolicyCommandOutput,
174+
} from "./commands/ListAccountsWithInvalidEffectivePolicyCommand";
170175
import {
171176
ListAWSServiceAccessForOrganizationCommand,
172177
ListAWSServiceAccessForOrganizationCommandInput,
@@ -192,6 +197,11 @@ import {
192197
ListDelegatedServicesForAccountCommandInput,
193198
ListDelegatedServicesForAccountCommandOutput,
194199
} from "./commands/ListDelegatedServicesForAccountCommand";
200+
import {
201+
ListEffectivePolicyValidationErrorsCommand,
202+
ListEffectivePolicyValidationErrorsCommandInput,
203+
ListEffectivePolicyValidationErrorsCommandOutput,
204+
} from "./commands/ListEffectivePolicyValidationErrorsCommand";
195205
import {
196206
ListHandshakesForAccountCommand,
197207
ListHandshakesForAccountCommandInput,
@@ -297,11 +307,13 @@ const commands = {
297307
LeaveOrganizationCommand,
298308
ListAccountsCommand,
299309
ListAccountsForParentCommand,
310+
ListAccountsWithInvalidEffectivePolicyCommand,
300311
ListAWSServiceAccessForOrganizationCommand,
301312
ListChildrenCommand,
302313
ListCreateAccountStatusCommand,
303314
ListDelegatedAdministratorsCommand,
304315
ListDelegatedServicesForAccountCommand,
316+
ListEffectivePolicyValidationErrorsCommand,
305317
ListHandshakesForAccountCommand,
306318
ListHandshakesForOrganizationCommand,
307319
ListOrganizationalUnitsForParentCommand,
@@ -837,6 +849,23 @@ export interface Organizations {
837849
cb: (err: any, data?: ListAccountsForParentCommandOutput) => void
838850
): void;
839851

852+
/**
853+
* @see {@link ListAccountsWithInvalidEffectivePolicyCommand}
854+
*/
855+
listAccountsWithInvalidEffectivePolicy(
856+
args: ListAccountsWithInvalidEffectivePolicyCommandInput,
857+
options?: __HttpHandlerOptions
858+
): Promise<ListAccountsWithInvalidEffectivePolicyCommandOutput>;
859+
listAccountsWithInvalidEffectivePolicy(
860+
args: ListAccountsWithInvalidEffectivePolicyCommandInput,
861+
cb: (err: any, data?: ListAccountsWithInvalidEffectivePolicyCommandOutput) => void
862+
): void;
863+
listAccountsWithInvalidEffectivePolicy(
864+
args: ListAccountsWithInvalidEffectivePolicyCommandInput,
865+
options: __HttpHandlerOptions,
866+
cb: (err: any, data?: ListAccountsWithInvalidEffectivePolicyCommandOutput) => void
867+
): void;
868+
840869
/**
841870
* @see {@link ListAWSServiceAccessForOrganizationCommand}
842871
*/
@@ -919,6 +948,23 @@ export interface Organizations {
919948
cb: (err: any, data?: ListDelegatedServicesForAccountCommandOutput) => void
920949
): void;
921950

951+
/**
952+
* @see {@link ListEffectivePolicyValidationErrorsCommand}
953+
*/
954+
listEffectivePolicyValidationErrors(
955+
args: ListEffectivePolicyValidationErrorsCommandInput,
956+
options?: __HttpHandlerOptions
957+
): Promise<ListEffectivePolicyValidationErrorsCommandOutput>;
958+
listEffectivePolicyValidationErrors(
959+
args: ListEffectivePolicyValidationErrorsCommandInput,
960+
cb: (err: any, data?: ListEffectivePolicyValidationErrorsCommandOutput) => void
961+
): void;
962+
listEffectivePolicyValidationErrors(
963+
args: ListEffectivePolicyValidationErrorsCommandInput,
964+
options: __HttpHandlerOptions,
965+
cb: (err: any, data?: ListEffectivePolicyValidationErrorsCommandOutput) => void
966+
): void;
967+
922968
/**
923969
* @see {@link ListHandshakesForAccountCommand}
924970
*/

clients/client-organizations/src/OrganizationsClient.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ import {
128128
ListAccountsForParentCommandInput,
129129
ListAccountsForParentCommandOutput,
130130
} from "./commands/ListAccountsForParentCommand";
131+
import {
132+
ListAccountsWithInvalidEffectivePolicyCommandInput,
133+
ListAccountsWithInvalidEffectivePolicyCommandOutput,
134+
} from "./commands/ListAccountsWithInvalidEffectivePolicyCommand";
131135
import {
132136
ListAWSServiceAccessForOrganizationCommandInput,
133137
ListAWSServiceAccessForOrganizationCommandOutput,
@@ -145,6 +149,10 @@ import {
145149
ListDelegatedServicesForAccountCommandInput,
146150
ListDelegatedServicesForAccountCommandOutput,
147151
} from "./commands/ListDelegatedServicesForAccountCommand";
152+
import {
153+
ListEffectivePolicyValidationErrorsCommandInput,
154+
ListEffectivePolicyValidationErrorsCommandOutput,
155+
} from "./commands/ListEffectivePolicyValidationErrorsCommand";
148156
import {
149157
ListHandshakesForAccountCommandInput,
150158
ListHandshakesForAccountCommandOutput,
@@ -238,10 +246,12 @@ export type ServiceInputTypes =
238246
| ListAWSServiceAccessForOrganizationCommandInput
239247
| ListAccountsCommandInput
240248
| ListAccountsForParentCommandInput
249+
| ListAccountsWithInvalidEffectivePolicyCommandInput
241250
| ListChildrenCommandInput
242251
| ListCreateAccountStatusCommandInput
243252
| ListDelegatedAdministratorsCommandInput
244253
| ListDelegatedServicesForAccountCommandInput
254+
| ListEffectivePolicyValidationErrorsCommandInput
245255
| ListHandshakesForAccountCommandInput
246256
| ListHandshakesForOrganizationCommandInput
247257
| ListOrganizationalUnitsForParentCommandInput
@@ -298,10 +308,12 @@ export type ServiceOutputTypes =
298308
| ListAWSServiceAccessForOrganizationCommandOutput
299309
| ListAccountsCommandOutput
300310
| ListAccountsForParentCommandOutput
311+
| ListAccountsWithInvalidEffectivePolicyCommandOutput
301312
| ListChildrenCommandOutput
302313
| ListCreateAccountStatusCommandOutput
303314
| ListDelegatedAdministratorsCommandOutput
304315
| ListDelegatedServicesForAccountCommandOutput
316+
| ListEffectivePolicyValidationErrorsCommandOutput
305317
| ListHandshakesForAccountCommandOutput
306318
| ListHandshakesForOrganizationCommandOutput
307319
| ListOrganizationalUnitsForParentCommandOutput

0 commit comments

Comments
 (0)