@aws-sdk/client-organizations 3.864.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 +1 -1
@@ -853,6 +853,16 @@ export interface ListAccountsForParentResponse {
853
853
  Accounts?: Account[] | undefined;
854
854
  NextToken?: string | undefined;
855
855
  }
856
+ export interface ListAccountsWithInvalidEffectivePolicyRequest {
857
+ PolicyType: EffectivePolicyType | undefined;
858
+ NextToken?: string | undefined;
859
+ MaxResults?: number | undefined;
860
+ }
861
+ export interface ListAccountsWithInvalidEffectivePolicyResponse {
862
+ Accounts?: Account[] | undefined;
863
+ PolicyType?: EffectivePolicyType | undefined;
864
+ NextToken?: string | undefined;
865
+ }
856
866
  export interface ListAWSServiceAccessForOrganizationRequest {
857
867
  NextToken?: string | undefined;
858
868
  MaxResults?: number | undefined;
@@ -925,6 +935,28 @@ export interface ListDelegatedServicesForAccountResponse {
925
935
  DelegatedServices?: DelegatedService[] | undefined;
926
936
  NextToken?: string | undefined;
927
937
  }
938
+ export interface ListEffectivePolicyValidationErrorsRequest {
939
+ AccountId: string | undefined;
940
+ PolicyType: EffectivePolicyType | undefined;
941
+ NextToken?: string | undefined;
942
+ MaxResults?: number | undefined;
943
+ }
944
+ export interface EffectivePolicyValidationError {
945
+ ErrorCode?: string | undefined;
946
+ ErrorMessage?: string | undefined;
947
+ PathToError?: string | undefined;
948
+ ContributingPolicies?: string[] | undefined;
949
+ }
950
+ export interface ListEffectivePolicyValidationErrorsResponse {
951
+ AccountId?: string | undefined;
952
+ PolicyType?: EffectivePolicyType | undefined;
953
+ Path?: string | undefined;
954
+ EvaluationTimestamp?: Date | undefined;
955
+ NextToken?: string | undefined;
956
+ EffectivePolicyValidationErrors?:
957
+ | EffectivePolicyValidationError[]
958
+ | undefined;
959
+ }
928
960
  export interface HandshakeFilter {
929
961
  ActionType?: ActionType | undefined;
930
962
  ParentHandshakeId?: string | undefined;
@@ -1182,6 +1214,9 @@ export declare const ListAccountsResponseFilterSensitiveLog: (
1182
1214
  export declare const ListAccountsForParentResponseFilterSensitiveLog: (
1183
1215
  obj: ListAccountsForParentResponse
1184
1216
  ) => any;
1217
+ export declare const ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog: (
1218
+ obj: ListAccountsWithInvalidEffectivePolicyResponse
1219
+ ) => any;
1185
1220
  export declare const ListCreateAccountStatusResponseFilterSensitiveLog: (
1186
1221
  obj: ListCreateAccountStatusResponse
1187
1222
  ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAccountsWithInvalidEffectivePolicyCommandInput,
4
+ ListAccountsWithInvalidEffectivePolicyCommandOutput,
5
+ } from "../commands/ListAccountsWithInvalidEffectivePolicyCommand";
6
+ import { OrganizationsPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListAccountsWithInvalidEffectivePolicy: (
8
+ config: OrganizationsPaginationConfiguration,
9
+ input: ListAccountsWithInvalidEffectivePolicyCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListAccountsWithInvalidEffectivePolicyCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListEffectivePolicyValidationErrorsCommandInput,
4
+ ListEffectivePolicyValidationErrorsCommandOutput,
5
+ } from "../commands/ListEffectivePolicyValidationErrorsCommand";
6
+ import { OrganizationsPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListEffectivePolicyValidationErrors: (
8
+ config: OrganizationsPaginationConfiguration,
9
+ input: ListEffectivePolicyValidationErrorsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListEffectivePolicyValidationErrorsCommandOutput>;
@@ -2,10 +2,12 @@ export * from "./Interfaces";
2
2
  export * from "./ListAWSServiceAccessForOrganizationPaginator";
3
3
  export * from "./ListAccountsForParentPaginator";
4
4
  export * from "./ListAccountsPaginator";
5
+ export * from "./ListAccountsWithInvalidEffectivePolicyPaginator";
5
6
  export * from "./ListChildrenPaginator";
6
7
  export * from "./ListCreateAccountStatusPaginator";
7
8
  export * from "./ListDelegatedAdministratorsPaginator";
8
9
  export * from "./ListDelegatedServicesForAccountPaginator";
10
+ export * from "./ListEffectivePolicyValidationErrorsPaginator";
9
11
  export * from "./ListHandshakesForAccountPaginator";
10
12
  export * from "./ListHandshakesForOrganizationPaginator";
11
13
  export * from "./ListOrganizationalUnitsForParentPaginator";
@@ -135,6 +135,10 @@ import {
135
135
  ListAccountsForParentCommandInput,
136
136
  ListAccountsForParentCommandOutput,
137
137
  } from "../commands/ListAccountsForParentCommand";
138
+ import {
139
+ ListAccountsWithInvalidEffectivePolicyCommandInput,
140
+ ListAccountsWithInvalidEffectivePolicyCommandOutput,
141
+ } from "../commands/ListAccountsWithInvalidEffectivePolicyCommand";
138
142
  import {
139
143
  ListAWSServiceAccessForOrganizationCommandInput,
140
144
  ListAWSServiceAccessForOrganizationCommandOutput,
@@ -155,6 +159,10 @@ import {
155
159
  ListDelegatedServicesForAccountCommandInput,
156
160
  ListDelegatedServicesForAccountCommandOutput,
157
161
  } from "../commands/ListDelegatedServicesForAccountCommand";
162
+ import {
163
+ ListEffectivePolicyValidationErrorsCommandInput,
164
+ ListEffectivePolicyValidationErrorsCommandOutput,
165
+ } from "../commands/ListEffectivePolicyValidationErrorsCommand";
158
166
  import {
159
167
  ListHandshakesForAccountCommandInput,
160
168
  ListHandshakesForAccountCommandOutput,
@@ -355,6 +363,10 @@ export declare const se_ListAccountsForParentCommand: (
355
363
  input: ListAccountsForParentCommandInput,
356
364
  context: __SerdeContext
357
365
  ) => Promise<__HttpRequest>;
366
+ export declare const se_ListAccountsWithInvalidEffectivePolicyCommand: (
367
+ input: ListAccountsWithInvalidEffectivePolicyCommandInput,
368
+ context: __SerdeContext
369
+ ) => Promise<__HttpRequest>;
358
370
  export declare const se_ListAWSServiceAccessForOrganizationCommand: (
359
371
  input: ListAWSServiceAccessForOrganizationCommandInput,
360
372
  context: __SerdeContext
@@ -375,6 +387,10 @@ export declare const se_ListDelegatedServicesForAccountCommand: (
375
387
  input: ListDelegatedServicesForAccountCommandInput,
376
388
  context: __SerdeContext
377
389
  ) => Promise<__HttpRequest>;
390
+ export declare const se_ListEffectivePolicyValidationErrorsCommand: (
391
+ input: ListEffectivePolicyValidationErrorsCommandInput,
392
+ context: __SerdeContext
393
+ ) => Promise<__HttpRequest>;
378
394
  export declare const se_ListHandshakesForAccountCommand: (
379
395
  input: ListHandshakesForAccountCommandInput,
380
396
  context: __SerdeContext
@@ -575,6 +591,10 @@ export declare const de_ListAccountsForParentCommand: (
575
591
  output: __HttpResponse,
576
592
  context: __SerdeContext
577
593
  ) => Promise<ListAccountsForParentCommandOutput>;
594
+ export declare const de_ListAccountsWithInvalidEffectivePolicyCommand: (
595
+ output: __HttpResponse,
596
+ context: __SerdeContext
597
+ ) => Promise<ListAccountsWithInvalidEffectivePolicyCommandOutput>;
578
598
  export declare const de_ListAWSServiceAccessForOrganizationCommand: (
579
599
  output: __HttpResponse,
580
600
  context: __SerdeContext
@@ -595,6 +615,10 @@ export declare const de_ListDelegatedServicesForAccountCommand: (
595
615
  output: __HttpResponse,
596
616
  context: __SerdeContext
597
617
  ) => Promise<ListDelegatedServicesForAccountCommandOutput>;
618
+ export declare const de_ListEffectivePolicyValidationErrorsCommand: (
619
+ output: __HttpResponse,
620
+ context: __SerdeContext
621
+ ) => Promise<ListEffectivePolicyValidationErrorsCommandOutput>;
598
622
  export declare const de_ListHandshakesForAccountCommand: (
599
623
  output: __HttpResponse,
600
624
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-organizations",
3
3
  "description": "AWS SDK for JavaScript Organizations Client for Node.js, Browser and React Native",
4
- "version": "3.864.0",
4
+ "version": "3.866.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-organizations",