@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.
- package/README.md +16 -0
- package/dist-cjs/index.js +109 -0
- package/dist-es/Organizations.js +4 -0
- package/dist-es/commands/ListAccountsWithInvalidEffectivePolicyCommand.js +23 -0
- package/dist-es/commands/ListEffectivePolicyValidationErrorsCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/pagination/ListAccountsWithInvalidEffectivePolicyPaginator.js +4 -0
- package/dist-es/pagination/ListEffectivePolicyValidationErrorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +55 -0
- package/dist-types/Organizations.d.ts +14 -0
- package/dist-types/OrganizationsClient.d.ts +4 -2
- package/dist-types/commands/ListAccountsWithInvalidEffectivePolicyCommand.d.ts +482 -0
- package/dist-types/commands/ListEffectivePolicyValidationErrorsCommand.d.ts +453 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +292 -0
- package/dist-types/pagination/ListAccountsWithInvalidEffectivePolicyPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEffectivePolicyValidationErrorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/Organizations.d.ts +46 -0
- package/dist-types/ts3.4/OrganizationsClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListAccountsWithInvalidEffectivePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEffectivePolicyValidationErrorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +35 -0
- package/dist-types/ts3.4/pagination/ListAccountsWithInvalidEffectivePolicyPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEffectivePolicyValidationErrorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -537,6 +537,14 @@ ListAccountsForParent
|
|
|
537
537
|
|
|
538
538
|
[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/)
|
|
539
539
|
|
|
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
|
+
|
|
540
548
|
</details>
|
|
541
549
|
<details>
|
|
542
550
|
<summary>
|
|
@@ -577,6 +585,14 @@ ListDelegatedServicesForAccount
|
|
|
577
585
|
|
|
578
586
|
[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/)
|
|
579
587
|
|
|
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
|
+
|
|
580
596
|
</details>
|
|
581
597
|
<details>
|
|
582
598
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -120,12 +120,15 @@ __export(index_exports, {
|
|
|
120
120
|
ListAccountsForParentCommand: () => ListAccountsForParentCommand,
|
|
121
121
|
ListAccountsForParentResponseFilterSensitiveLog: () => ListAccountsForParentResponseFilterSensitiveLog,
|
|
122
122
|
ListAccountsResponseFilterSensitiveLog: () => ListAccountsResponseFilterSensitiveLog,
|
|
123
|
+
ListAccountsWithInvalidEffectivePolicyCommand: () => ListAccountsWithInvalidEffectivePolicyCommand,
|
|
124
|
+
ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog: () => ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog,
|
|
123
125
|
ListChildrenCommand: () => ListChildrenCommand,
|
|
124
126
|
ListCreateAccountStatusCommand: () => ListCreateAccountStatusCommand,
|
|
125
127
|
ListCreateAccountStatusResponseFilterSensitiveLog: () => ListCreateAccountStatusResponseFilterSensitiveLog,
|
|
126
128
|
ListDelegatedAdministratorsCommand: () => ListDelegatedAdministratorsCommand,
|
|
127
129
|
ListDelegatedAdministratorsResponseFilterSensitiveLog: () => ListDelegatedAdministratorsResponseFilterSensitiveLog,
|
|
128
130
|
ListDelegatedServicesForAccountCommand: () => ListDelegatedServicesForAccountCommand,
|
|
131
|
+
ListEffectivePolicyValidationErrorsCommand: () => ListEffectivePolicyValidationErrorsCommand,
|
|
129
132
|
ListHandshakesForAccountCommand: () => ListHandshakesForAccountCommand,
|
|
130
133
|
ListHandshakesForAccountResponseFilterSensitiveLog: () => ListHandshakesForAccountResponseFilterSensitiveLog,
|
|
131
134
|
ListHandshakesForOrganizationCommand: () => ListHandshakesForOrganizationCommand,
|
|
@@ -178,10 +181,12 @@ __export(index_exports, {
|
|
|
178
181
|
paginateListAWSServiceAccessForOrganization: () => paginateListAWSServiceAccessForOrganization,
|
|
179
182
|
paginateListAccounts: () => paginateListAccounts,
|
|
180
183
|
paginateListAccountsForParent: () => paginateListAccountsForParent,
|
|
184
|
+
paginateListAccountsWithInvalidEffectivePolicy: () => paginateListAccountsWithInvalidEffectivePolicy,
|
|
181
185
|
paginateListChildren: () => paginateListChildren,
|
|
182
186
|
paginateListCreateAccountStatus: () => paginateListCreateAccountStatus,
|
|
183
187
|
paginateListDelegatedAdministrators: () => paginateListDelegatedAdministrators,
|
|
184
188
|
paginateListDelegatedServicesForAccount: () => paginateListDelegatedServicesForAccount,
|
|
189
|
+
paginateListEffectivePolicyValidationErrors: () => paginateListEffectivePolicyValidationErrors,
|
|
185
190
|
paginateListHandshakesForAccount: () => paginateListHandshakesForAccount,
|
|
186
191
|
paginateListHandshakesForOrganization: () => paginateListHandshakesForOrganization,
|
|
187
192
|
paginateListOrganizationalUnitsForParent: () => paginateListOrganizationalUnitsForParent,
|
|
@@ -1572,6 +1577,10 @@ var ListAccountsForParentResponseFilterSensitiveLog = /* @__PURE__ */ __name((ob
|
|
|
1572
1577
|
...obj,
|
|
1573
1578
|
...obj.Accounts && { Accounts: obj.Accounts.map((item) => AccountFilterSensitiveLog(item)) }
|
|
1574
1579
|
}), "ListAccountsForParentResponseFilterSensitiveLog");
|
|
1580
|
+
var ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1581
|
+
...obj,
|
|
1582
|
+
...obj.Accounts && { Accounts: obj.Accounts.map((item) => AccountFilterSensitiveLog(item)) }
|
|
1583
|
+
}), "ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog");
|
|
1575
1584
|
var ListCreateAccountStatusResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1576
1585
|
...obj,
|
|
1577
1586
|
...obj.CreateAccountStatuses && {
|
|
@@ -1827,6 +1836,12 @@ var se_ListAccountsForParentCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1827
1836
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1828
1837
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1829
1838
|
}, "se_ListAccountsForParentCommand");
|
|
1839
|
+
var se_ListAccountsWithInvalidEffectivePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1840
|
+
const headers = sharedHeaders("ListAccountsWithInvalidEffectivePolicy");
|
|
1841
|
+
let body;
|
|
1842
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1843
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1844
|
+
}, "se_ListAccountsWithInvalidEffectivePolicyCommand");
|
|
1830
1845
|
var se_ListAWSServiceAccessForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1831
1846
|
const headers = sharedHeaders("ListAWSServiceAccessForOrganization");
|
|
1832
1847
|
let body;
|
|
@@ -1857,6 +1872,12 @@ var se_ListDelegatedServicesForAccountCommand = /* @__PURE__ */ __name(async (in
|
|
|
1857
1872
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1858
1873
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1859
1874
|
}, "se_ListDelegatedServicesForAccountCommand");
|
|
1875
|
+
var se_ListEffectivePolicyValidationErrorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1876
|
+
const headers = sharedHeaders("ListEffectivePolicyValidationErrors");
|
|
1877
|
+
let body;
|
|
1878
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1879
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1880
|
+
}, "se_ListEffectivePolicyValidationErrorsCommand");
|
|
1860
1881
|
var se_ListHandshakesForAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1861
1882
|
const headers = sharedHeaders("ListHandshakesForAccount");
|
|
1862
1883
|
let body;
|
|
@@ -2355,6 +2376,19 @@ var de_ListAccountsForParentCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2355
2376
|
};
|
|
2356
2377
|
return response;
|
|
2357
2378
|
}, "de_ListAccountsForParentCommand");
|
|
2379
|
+
var de_ListAccountsWithInvalidEffectivePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2380
|
+
if (output.statusCode >= 300) {
|
|
2381
|
+
return de_CommandError(output, context);
|
|
2382
|
+
}
|
|
2383
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2384
|
+
let contents = {};
|
|
2385
|
+
contents = de_ListAccountsWithInvalidEffectivePolicyResponse(data, context);
|
|
2386
|
+
const response = {
|
|
2387
|
+
$metadata: deserializeMetadata(output),
|
|
2388
|
+
...contents
|
|
2389
|
+
};
|
|
2390
|
+
return response;
|
|
2391
|
+
}, "de_ListAccountsWithInvalidEffectivePolicyCommand");
|
|
2358
2392
|
var de_ListAWSServiceAccessForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2359
2393
|
if (output.statusCode >= 300) {
|
|
2360
2394
|
return de_CommandError(output, context);
|
|
@@ -2420,6 +2454,19 @@ var de_ListDelegatedServicesForAccountCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2420
2454
|
};
|
|
2421
2455
|
return response;
|
|
2422
2456
|
}, "de_ListDelegatedServicesForAccountCommand");
|
|
2457
|
+
var de_ListEffectivePolicyValidationErrorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2458
|
+
if (output.statusCode >= 300) {
|
|
2459
|
+
return de_CommandError(output, context);
|
|
2460
|
+
}
|
|
2461
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2462
|
+
let contents = {};
|
|
2463
|
+
contents = de_ListEffectivePolicyValidationErrorsResponse(data, context);
|
|
2464
|
+
const response = {
|
|
2465
|
+
$metadata: deserializeMetadata(output),
|
|
2466
|
+
...contents
|
|
2467
|
+
};
|
|
2468
|
+
return response;
|
|
2469
|
+
}, "de_ListEffectivePolicyValidationErrorsCommand");
|
|
2423
2470
|
var de_ListHandshakesForAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2424
2471
|
if (output.statusCode >= 300) {
|
|
2425
2472
|
return de_CommandError(output, context);
|
|
@@ -3389,6 +3436,13 @@ var de_ListAccountsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
3389
3436
|
NextToken: import_smithy_client.expectString
|
|
3390
3437
|
});
|
|
3391
3438
|
}, "de_ListAccountsResponse");
|
|
3439
|
+
var de_ListAccountsWithInvalidEffectivePolicyResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3440
|
+
return (0, import_smithy_client.take)(output, {
|
|
3441
|
+
Accounts: /* @__PURE__ */ __name((_) => de_Accounts(_, context), "Accounts"),
|
|
3442
|
+
NextToken: import_smithy_client.expectString,
|
|
3443
|
+
PolicyType: import_smithy_client.expectString
|
|
3444
|
+
});
|
|
3445
|
+
}, "de_ListAccountsWithInvalidEffectivePolicyResponse");
|
|
3392
3446
|
var de_ListAWSServiceAccessForOrganizationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3393
3447
|
return (0, import_smithy_client.take)(output, {
|
|
3394
3448
|
EnabledServicePrincipals: /* @__PURE__ */ __name((_) => de_EnabledServicePrincipals(_, context), "EnabledServicePrincipals"),
|
|
@@ -3413,6 +3467,16 @@ var de_ListDelegatedServicesForAccountResponse = /* @__PURE__ */ __name((output,
|
|
|
3413
3467
|
NextToken: import_smithy_client.expectString
|
|
3414
3468
|
});
|
|
3415
3469
|
}, "de_ListDelegatedServicesForAccountResponse");
|
|
3470
|
+
var de_ListEffectivePolicyValidationErrorsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3471
|
+
return (0, import_smithy_client.take)(output, {
|
|
3472
|
+
AccountId: import_smithy_client.expectString,
|
|
3473
|
+
EffectivePolicyValidationErrors: import_smithy_client._json,
|
|
3474
|
+
EvaluationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EvaluationTimestamp"),
|
|
3475
|
+
NextToken: import_smithy_client.expectString,
|
|
3476
|
+
Path: import_smithy_client.expectString,
|
|
3477
|
+
PolicyType: import_smithy_client.expectString
|
|
3478
|
+
});
|
|
3479
|
+
}, "de_ListEffectivePolicyValidationErrorsResponse");
|
|
3416
3480
|
var de_ListHandshakesForAccountResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3417
3481
|
return (0, import_smithy_client.take)(output, {
|
|
3418
3482
|
Handshakes: /* @__PURE__ */ __name((_) => de_Handshakes(_, context), "Handshakes"),
|
|
@@ -3950,6 +4014,21 @@ var ListAccountsForParentCommand = class extends import_smithy_client.Command.cl
|
|
|
3950
4014
|
}
|
|
3951
4015
|
};
|
|
3952
4016
|
|
|
4017
|
+
// src/commands/ListAccountsWithInvalidEffectivePolicyCommand.ts
|
|
4018
|
+
|
|
4019
|
+
|
|
4020
|
+
|
|
4021
|
+
var ListAccountsWithInvalidEffectivePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4022
|
+
return [
|
|
4023
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4024
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4025
|
+
];
|
|
4026
|
+
}).s("AWSOrganizationsV20161128", "ListAccountsWithInvalidEffectivePolicy", {}).n("OrganizationsClient", "ListAccountsWithInvalidEffectivePolicyCommand").f(void 0, ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog).ser(se_ListAccountsWithInvalidEffectivePolicyCommand).de(de_ListAccountsWithInvalidEffectivePolicyCommand).build() {
|
|
4027
|
+
static {
|
|
4028
|
+
__name(this, "ListAccountsWithInvalidEffectivePolicyCommand");
|
|
4029
|
+
}
|
|
4030
|
+
};
|
|
4031
|
+
|
|
3953
4032
|
// src/commands/ListAWSServiceAccessForOrganizationCommand.ts
|
|
3954
4033
|
|
|
3955
4034
|
|
|
@@ -4025,6 +4104,21 @@ var ListDelegatedServicesForAccountCommand = class extends import_smithy_client.
|
|
|
4025
4104
|
}
|
|
4026
4105
|
};
|
|
4027
4106
|
|
|
4107
|
+
// src/commands/ListEffectivePolicyValidationErrorsCommand.ts
|
|
4108
|
+
|
|
4109
|
+
|
|
4110
|
+
|
|
4111
|
+
var ListEffectivePolicyValidationErrorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4112
|
+
return [
|
|
4113
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4114
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4115
|
+
];
|
|
4116
|
+
}).s("AWSOrganizationsV20161128", "ListEffectivePolicyValidationErrors", {}).n("OrganizationsClient", "ListEffectivePolicyValidationErrorsCommand").f(void 0, void 0).ser(se_ListEffectivePolicyValidationErrorsCommand).de(de_ListEffectivePolicyValidationErrorsCommand).build() {
|
|
4117
|
+
static {
|
|
4118
|
+
__name(this, "ListEffectivePolicyValidationErrorsCommand");
|
|
4119
|
+
}
|
|
4120
|
+
};
|
|
4121
|
+
|
|
4028
4122
|
// src/commands/ListHandshakesForAccountCommand.ts
|
|
4029
4123
|
|
|
4030
4124
|
|
|
@@ -4315,11 +4409,13 @@ var commands = {
|
|
|
4315
4409
|
LeaveOrganizationCommand,
|
|
4316
4410
|
ListAccountsCommand,
|
|
4317
4411
|
ListAccountsForParentCommand,
|
|
4412
|
+
ListAccountsWithInvalidEffectivePolicyCommand,
|
|
4318
4413
|
ListAWSServiceAccessForOrganizationCommand,
|
|
4319
4414
|
ListChildrenCommand,
|
|
4320
4415
|
ListCreateAccountStatusCommand,
|
|
4321
4416
|
ListDelegatedAdministratorsCommand,
|
|
4322
4417
|
ListDelegatedServicesForAccountCommand,
|
|
4418
|
+
ListEffectivePolicyValidationErrorsCommand,
|
|
4323
4419
|
ListHandshakesForAccountCommand,
|
|
4324
4420
|
ListHandshakesForOrganizationCommand,
|
|
4325
4421
|
ListOrganizationalUnitsForParentCommand,
|
|
@@ -4357,6 +4453,10 @@ var paginateListAccountsForParent = (0, import_core.createPaginator)(Organizatio
|
|
|
4357
4453
|
|
|
4358
4454
|
var paginateListAccounts = (0, import_core.createPaginator)(OrganizationsClient, ListAccountsCommand, "NextToken", "NextToken", "MaxResults");
|
|
4359
4455
|
|
|
4456
|
+
// src/pagination/ListAccountsWithInvalidEffectivePolicyPaginator.ts
|
|
4457
|
+
|
|
4458
|
+
var paginateListAccountsWithInvalidEffectivePolicy = (0, import_core.createPaginator)(OrganizationsClient, ListAccountsWithInvalidEffectivePolicyCommand, "NextToken", "NextToken", "MaxResults");
|
|
4459
|
+
|
|
4360
4460
|
// src/pagination/ListChildrenPaginator.ts
|
|
4361
4461
|
|
|
4362
4462
|
var paginateListChildren = (0, import_core.createPaginator)(OrganizationsClient, ListChildrenCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4373,6 +4473,10 @@ var paginateListDelegatedAdministrators = (0, import_core.createPaginator)(Organ
|
|
|
4373
4473
|
|
|
4374
4474
|
var paginateListDelegatedServicesForAccount = (0, import_core.createPaginator)(OrganizationsClient, ListDelegatedServicesForAccountCommand, "NextToken", "NextToken", "MaxResults");
|
|
4375
4475
|
|
|
4476
|
+
// src/pagination/ListEffectivePolicyValidationErrorsPaginator.ts
|
|
4477
|
+
|
|
4478
|
+
var paginateListEffectivePolicyValidationErrors = (0, import_core.createPaginator)(OrganizationsClient, ListEffectivePolicyValidationErrorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
4479
|
+
|
|
4376
4480
|
// src/pagination/ListHandshakesForAccountPaginator.ts
|
|
4377
4481
|
|
|
4378
4482
|
var paginateListHandshakesForAccount = (0, import_core.createPaginator)(OrganizationsClient, ListHandshakesForAccountCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4450,10 +4554,12 @@ var paginateListTargetsForPolicy = (0, import_core.createPaginator)(Organization
|
|
|
4450
4554
|
ListAWSServiceAccessForOrganizationCommand,
|
|
4451
4555
|
ListAccountsCommand,
|
|
4452
4556
|
ListAccountsForParentCommand,
|
|
4557
|
+
ListAccountsWithInvalidEffectivePolicyCommand,
|
|
4453
4558
|
ListChildrenCommand,
|
|
4454
4559
|
ListCreateAccountStatusCommand,
|
|
4455
4560
|
ListDelegatedAdministratorsCommand,
|
|
4456
4561
|
ListDelegatedServicesForAccountCommand,
|
|
4562
|
+
ListEffectivePolicyValidationErrorsCommand,
|
|
4457
4563
|
ListHandshakesForAccountCommand,
|
|
4458
4564
|
ListHandshakesForOrganizationCommand,
|
|
4459
4565
|
ListOrganizationalUnitsForParentCommand,
|
|
@@ -4474,10 +4580,12 @@ var paginateListTargetsForPolicy = (0, import_core.createPaginator)(Organization
|
|
|
4474
4580
|
paginateListAWSServiceAccessForOrganization,
|
|
4475
4581
|
paginateListAccountsForParent,
|
|
4476
4582
|
paginateListAccounts,
|
|
4583
|
+
paginateListAccountsWithInvalidEffectivePolicy,
|
|
4477
4584
|
paginateListChildren,
|
|
4478
4585
|
paginateListCreateAccountStatus,
|
|
4479
4586
|
paginateListDelegatedAdministrators,
|
|
4480
4587
|
paginateListDelegatedServicesForAccount,
|
|
4588
|
+
paginateListEffectivePolicyValidationErrors,
|
|
4481
4589
|
paginateListHandshakesForAccount,
|
|
4482
4590
|
paginateListHandshakesForOrganization,
|
|
4483
4591
|
paginateListOrganizationalUnitsForParent,
|
|
@@ -4569,6 +4677,7 @@ var paginateListTargetsForPolicy = (0, import_core.createPaginator)(Organization
|
|
|
4569
4677
|
InviteAccountToOrganizationRequestFilterSensitiveLog,
|
|
4570
4678
|
ListAccountsResponseFilterSensitiveLog,
|
|
4571
4679
|
ListAccountsForParentResponseFilterSensitiveLog,
|
|
4680
|
+
ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog,
|
|
4572
4681
|
ListCreateAccountStatusResponseFilterSensitiveLog,
|
|
4573
4682
|
DelegatedAdministratorFilterSensitiveLog,
|
|
4574
4683
|
ListDelegatedAdministratorsResponseFilterSensitiveLog,
|
package/dist-es/Organizations.js
CHANGED
|
@@ -32,11 +32,13 @@ import { InviteAccountToOrganizationCommand, } from "./commands/InviteAccountToO
|
|
|
32
32
|
import { LeaveOrganizationCommand, } from "./commands/LeaveOrganizationCommand";
|
|
33
33
|
import { ListAccountsCommand, } from "./commands/ListAccountsCommand";
|
|
34
34
|
import { ListAccountsForParentCommand, } from "./commands/ListAccountsForParentCommand";
|
|
35
|
+
import { ListAccountsWithInvalidEffectivePolicyCommand, } from "./commands/ListAccountsWithInvalidEffectivePolicyCommand";
|
|
35
36
|
import { ListAWSServiceAccessForOrganizationCommand, } from "./commands/ListAWSServiceAccessForOrganizationCommand";
|
|
36
37
|
import { ListChildrenCommand, } from "./commands/ListChildrenCommand";
|
|
37
38
|
import { ListCreateAccountStatusCommand, } from "./commands/ListCreateAccountStatusCommand";
|
|
38
39
|
import { ListDelegatedAdministratorsCommand, } from "./commands/ListDelegatedAdministratorsCommand";
|
|
39
40
|
import { ListDelegatedServicesForAccountCommand, } from "./commands/ListDelegatedServicesForAccountCommand";
|
|
41
|
+
import { ListEffectivePolicyValidationErrorsCommand, } from "./commands/ListEffectivePolicyValidationErrorsCommand";
|
|
40
42
|
import { ListHandshakesForAccountCommand, } from "./commands/ListHandshakesForAccountCommand";
|
|
41
43
|
import { ListHandshakesForOrganizationCommand, } from "./commands/ListHandshakesForOrganizationCommand";
|
|
42
44
|
import { ListOrganizationalUnitsForParentCommand, } from "./commands/ListOrganizationalUnitsForParentCommand";
|
|
@@ -89,11 +91,13 @@ const commands = {
|
|
|
89
91
|
LeaveOrganizationCommand,
|
|
90
92
|
ListAccountsCommand,
|
|
91
93
|
ListAccountsForParentCommand,
|
|
94
|
+
ListAccountsWithInvalidEffectivePolicyCommand,
|
|
92
95
|
ListAWSServiceAccessForOrganizationCommand,
|
|
93
96
|
ListChildrenCommand,
|
|
94
97
|
ListCreateAccountStatusCommand,
|
|
95
98
|
ListDelegatedAdministratorsCommand,
|
|
96
99
|
ListDelegatedServicesForAccountCommand,
|
|
100
|
+
ListEffectivePolicyValidationErrorsCommand,
|
|
97
101
|
ListHandshakesForAccountCommand,
|
|
98
102
|
ListHandshakesForOrganizationCommand,
|
|
99
103
|
ListOrganizationalUnitsForParentCommand,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_ListAccountsWithInvalidEffectivePolicyCommand, se_ListAccountsWithInvalidEffectivePolicyCommand, } from "../protocols/Aws_json1_1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ListAccountsWithInvalidEffectivePolicyCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AWSOrganizationsV20161128", "ListAccountsWithInvalidEffectivePolicy", {})
|
|
18
|
+
.n("OrganizationsClient", "ListAccountsWithInvalidEffectivePolicyCommand")
|
|
19
|
+
.f(void 0, ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_ListAccountsWithInvalidEffectivePolicyCommand)
|
|
21
|
+
.de(de_ListAccountsWithInvalidEffectivePolicyCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListEffectivePolicyValidationErrorsCommand, se_ListEffectivePolicyValidationErrorsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListEffectivePolicyValidationErrorsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSOrganizationsV20161128", "ListEffectivePolicyValidationErrors", {})
|
|
17
|
+
.n("OrganizationsClient", "ListEffectivePolicyValidationErrorsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListEffectivePolicyValidationErrorsCommand)
|
|
20
|
+
.de(de_ListEffectivePolicyValidationErrorsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -32,10 +32,12 @@ export * from "./LeaveOrganizationCommand";
|
|
|
32
32
|
export * from "./ListAWSServiceAccessForOrganizationCommand";
|
|
33
33
|
export * from "./ListAccountsCommand";
|
|
34
34
|
export * from "./ListAccountsForParentCommand";
|
|
35
|
+
export * from "./ListAccountsWithInvalidEffectivePolicyCommand";
|
|
35
36
|
export * from "./ListChildrenCommand";
|
|
36
37
|
export * from "./ListCreateAccountStatusCommand";
|
|
37
38
|
export * from "./ListDelegatedAdministratorsCommand";
|
|
38
39
|
export * from "./ListDelegatedServicesForAccountCommand";
|
|
40
|
+
export * from "./ListEffectivePolicyValidationErrorsCommand";
|
|
39
41
|
export * from "./ListHandshakesForAccountCommand";
|
|
40
42
|
export * from "./ListHandshakesForOrganizationCommand";
|
|
41
43
|
export * from "./ListOrganizationalUnitsForParentCommand";
|
|
@@ -928,6 +928,10 @@ export const ListAccountsForParentResponseFilterSensitiveLog = (obj) => ({
|
|
|
928
928
|
...obj,
|
|
929
929
|
...(obj.Accounts && { Accounts: obj.Accounts.map((item) => AccountFilterSensitiveLog(item)) }),
|
|
930
930
|
});
|
|
931
|
+
export const ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
932
|
+
...obj,
|
|
933
|
+
...(obj.Accounts && { Accounts: obj.Accounts.map((item) => AccountFilterSensitiveLog(item)) }),
|
|
934
|
+
});
|
|
931
935
|
export const ListCreateAccountStatusResponseFilterSensitiveLog = (obj) => ({
|
|
932
936
|
...obj,
|
|
933
937
|
...(obj.CreateAccountStatuses && {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListAccountsWithInvalidEffectivePolicyCommand, } from "../commands/ListAccountsWithInvalidEffectivePolicyCommand";
|
|
3
|
+
import { OrganizationsClient } from "../OrganizationsClient";
|
|
4
|
+
export const paginateListAccountsWithInvalidEffectivePolicy = createPaginator(OrganizationsClient, ListAccountsWithInvalidEffectivePolicyCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListEffectivePolicyValidationErrorsCommand, } from "../commands/ListEffectivePolicyValidationErrorsCommand";
|
|
3
|
+
import { OrganizationsClient } from "../OrganizationsClient";
|
|
4
|
+
export const paginateListEffectivePolicyValidationErrors = createPaginator(OrganizationsClient, ListEffectivePolicyValidationErrorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -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";
|
|
@@ -196,6 +196,12 @@ export const se_ListAccountsForParentCommand = async (input, context) => {
|
|
|
196
196
|
body = JSON.stringify(_json(input));
|
|
197
197
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
198
|
};
|
|
199
|
+
export const se_ListAccountsWithInvalidEffectivePolicyCommand = async (input, context) => {
|
|
200
|
+
const headers = sharedHeaders("ListAccountsWithInvalidEffectivePolicy");
|
|
201
|
+
let body;
|
|
202
|
+
body = JSON.stringify(_json(input));
|
|
203
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
204
|
+
};
|
|
199
205
|
export const se_ListAWSServiceAccessForOrganizationCommand = async (input, context) => {
|
|
200
206
|
const headers = sharedHeaders("ListAWSServiceAccessForOrganization");
|
|
201
207
|
let body;
|
|
@@ -226,6 +232,12 @@ export const se_ListDelegatedServicesForAccountCommand = async (input, context)
|
|
|
226
232
|
body = JSON.stringify(_json(input));
|
|
227
233
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
234
|
};
|
|
235
|
+
export const se_ListEffectivePolicyValidationErrorsCommand = async (input, context) => {
|
|
236
|
+
const headers = sharedHeaders("ListEffectivePolicyValidationErrors");
|
|
237
|
+
let body;
|
|
238
|
+
body = JSON.stringify(_json(input));
|
|
239
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
240
|
+
};
|
|
229
241
|
export const se_ListHandshakesForAccountCommand = async (input, context) => {
|
|
230
242
|
const headers = sharedHeaders("ListHandshakesForAccount");
|
|
231
243
|
let body;
|
|
@@ -724,6 +736,19 @@ export const de_ListAccountsForParentCommand = async (output, context) => {
|
|
|
724
736
|
};
|
|
725
737
|
return response;
|
|
726
738
|
};
|
|
739
|
+
export const de_ListAccountsWithInvalidEffectivePolicyCommand = async (output, context) => {
|
|
740
|
+
if (output.statusCode >= 300) {
|
|
741
|
+
return de_CommandError(output, context);
|
|
742
|
+
}
|
|
743
|
+
const data = await parseBody(output.body, context);
|
|
744
|
+
let contents = {};
|
|
745
|
+
contents = de_ListAccountsWithInvalidEffectivePolicyResponse(data, context);
|
|
746
|
+
const response = {
|
|
747
|
+
$metadata: deserializeMetadata(output),
|
|
748
|
+
...contents,
|
|
749
|
+
};
|
|
750
|
+
return response;
|
|
751
|
+
};
|
|
727
752
|
export const de_ListAWSServiceAccessForOrganizationCommand = async (output, context) => {
|
|
728
753
|
if (output.statusCode >= 300) {
|
|
729
754
|
return de_CommandError(output, context);
|
|
@@ -789,6 +814,19 @@ export const de_ListDelegatedServicesForAccountCommand = async (output, context)
|
|
|
789
814
|
};
|
|
790
815
|
return response;
|
|
791
816
|
};
|
|
817
|
+
export const de_ListEffectivePolicyValidationErrorsCommand = async (output, context) => {
|
|
818
|
+
if (output.statusCode >= 300) {
|
|
819
|
+
return de_CommandError(output, context);
|
|
820
|
+
}
|
|
821
|
+
const data = await parseBody(output.body, context);
|
|
822
|
+
let contents = {};
|
|
823
|
+
contents = de_ListEffectivePolicyValidationErrorsResponse(data, context);
|
|
824
|
+
const response = {
|
|
825
|
+
$metadata: deserializeMetadata(output),
|
|
826
|
+
...contents,
|
|
827
|
+
};
|
|
828
|
+
return response;
|
|
829
|
+
};
|
|
792
830
|
export const de_ListHandshakesForAccountCommand = async (output, context) => {
|
|
793
831
|
if (output.statusCode >= 300) {
|
|
794
832
|
return de_CommandError(output, context);
|
|
@@ -1772,6 +1810,13 @@ const de_ListAccountsResponse = (output, context) => {
|
|
|
1772
1810
|
NextToken: __expectString,
|
|
1773
1811
|
});
|
|
1774
1812
|
};
|
|
1813
|
+
const de_ListAccountsWithInvalidEffectivePolicyResponse = (output, context) => {
|
|
1814
|
+
return take(output, {
|
|
1815
|
+
Accounts: (_) => de_Accounts(_, context),
|
|
1816
|
+
NextToken: __expectString,
|
|
1817
|
+
PolicyType: __expectString,
|
|
1818
|
+
});
|
|
1819
|
+
};
|
|
1775
1820
|
const de_ListAWSServiceAccessForOrganizationResponse = (output, context) => {
|
|
1776
1821
|
return take(output, {
|
|
1777
1822
|
EnabledServicePrincipals: (_) => de_EnabledServicePrincipals(_, context),
|
|
@@ -1796,6 +1841,16 @@ const de_ListDelegatedServicesForAccountResponse = (output, context) => {
|
|
|
1796
1841
|
NextToken: __expectString,
|
|
1797
1842
|
});
|
|
1798
1843
|
};
|
|
1844
|
+
const de_ListEffectivePolicyValidationErrorsResponse = (output, context) => {
|
|
1845
|
+
return take(output, {
|
|
1846
|
+
AccountId: __expectString,
|
|
1847
|
+
EffectivePolicyValidationErrors: _json,
|
|
1848
|
+
EvaluationTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1849
|
+
NextToken: __expectString,
|
|
1850
|
+
Path: __expectString,
|
|
1851
|
+
PolicyType: __expectString,
|
|
1852
|
+
});
|
|
1853
|
+
};
|
|
1799
1854
|
const de_ListHandshakesForAccountResponse = (output, context) => {
|
|
1800
1855
|
return take(output, {
|
|
1801
1856
|
Handshakes: (_) => de_Handshakes(_, context),
|
|
@@ -32,11 +32,13 @@ import { InviteAccountToOrganizationCommandInput, InviteAccountToOrganizationCom
|
|
|
32
32
|
import { LeaveOrganizationCommandInput, LeaveOrganizationCommandOutput } from "./commands/LeaveOrganizationCommand";
|
|
33
33
|
import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAccountsCommand";
|
|
34
34
|
import { ListAccountsForParentCommandInput, ListAccountsForParentCommandOutput } from "./commands/ListAccountsForParentCommand";
|
|
35
|
+
import { ListAccountsWithInvalidEffectivePolicyCommandInput, ListAccountsWithInvalidEffectivePolicyCommandOutput } from "./commands/ListAccountsWithInvalidEffectivePolicyCommand";
|
|
35
36
|
import { ListAWSServiceAccessForOrganizationCommandInput, ListAWSServiceAccessForOrganizationCommandOutput } from "./commands/ListAWSServiceAccessForOrganizationCommand";
|
|
36
37
|
import { ListChildrenCommandInput, ListChildrenCommandOutput } from "./commands/ListChildrenCommand";
|
|
37
38
|
import { ListCreateAccountStatusCommandInput, ListCreateAccountStatusCommandOutput } from "./commands/ListCreateAccountStatusCommand";
|
|
38
39
|
import { ListDelegatedAdministratorsCommandInput, ListDelegatedAdministratorsCommandOutput } from "./commands/ListDelegatedAdministratorsCommand";
|
|
39
40
|
import { ListDelegatedServicesForAccountCommandInput, ListDelegatedServicesForAccountCommandOutput } from "./commands/ListDelegatedServicesForAccountCommand";
|
|
41
|
+
import { ListEffectivePolicyValidationErrorsCommandInput, ListEffectivePolicyValidationErrorsCommandOutput } from "./commands/ListEffectivePolicyValidationErrorsCommand";
|
|
40
42
|
import { ListHandshakesForAccountCommandInput, ListHandshakesForAccountCommandOutput } from "./commands/ListHandshakesForAccountCommand";
|
|
41
43
|
import { ListHandshakesForOrganizationCommandInput, ListHandshakesForOrganizationCommandOutput } from "./commands/ListHandshakesForOrganizationCommand";
|
|
42
44
|
import { ListOrganizationalUnitsForParentCommandInput, ListOrganizationalUnitsForParentCommandOutput } from "./commands/ListOrganizationalUnitsForParentCommand";
|
|
@@ -262,6 +264,12 @@ export interface Organizations {
|
|
|
262
264
|
listAccountsForParent(args: ListAccountsForParentCommandInput, options?: __HttpHandlerOptions): Promise<ListAccountsForParentCommandOutput>;
|
|
263
265
|
listAccountsForParent(args: ListAccountsForParentCommandInput, cb: (err: any, data?: ListAccountsForParentCommandOutput) => void): void;
|
|
264
266
|
listAccountsForParent(args: ListAccountsForParentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccountsForParentCommandOutput) => void): void;
|
|
267
|
+
/**
|
|
268
|
+
* @see {@link ListAccountsWithInvalidEffectivePolicyCommand}
|
|
269
|
+
*/
|
|
270
|
+
listAccountsWithInvalidEffectivePolicy(args: ListAccountsWithInvalidEffectivePolicyCommandInput, options?: __HttpHandlerOptions): Promise<ListAccountsWithInvalidEffectivePolicyCommandOutput>;
|
|
271
|
+
listAccountsWithInvalidEffectivePolicy(args: ListAccountsWithInvalidEffectivePolicyCommandInput, cb: (err: any, data?: ListAccountsWithInvalidEffectivePolicyCommandOutput) => void): void;
|
|
272
|
+
listAccountsWithInvalidEffectivePolicy(args: ListAccountsWithInvalidEffectivePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccountsWithInvalidEffectivePolicyCommandOutput) => void): void;
|
|
265
273
|
/**
|
|
266
274
|
* @see {@link ListAWSServiceAccessForOrganizationCommand}
|
|
267
275
|
*/
|
|
@@ -295,6 +303,12 @@ export interface Organizations {
|
|
|
295
303
|
listDelegatedServicesForAccount(args: ListDelegatedServicesForAccountCommandInput, options?: __HttpHandlerOptions): Promise<ListDelegatedServicesForAccountCommandOutput>;
|
|
296
304
|
listDelegatedServicesForAccount(args: ListDelegatedServicesForAccountCommandInput, cb: (err: any, data?: ListDelegatedServicesForAccountCommandOutput) => void): void;
|
|
297
305
|
listDelegatedServicesForAccount(args: ListDelegatedServicesForAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDelegatedServicesForAccountCommandOutput) => void): void;
|
|
306
|
+
/**
|
|
307
|
+
* @see {@link ListEffectivePolicyValidationErrorsCommand}
|
|
308
|
+
*/
|
|
309
|
+
listEffectivePolicyValidationErrors(args: ListEffectivePolicyValidationErrorsCommandInput, options?: __HttpHandlerOptions): Promise<ListEffectivePolicyValidationErrorsCommandOutput>;
|
|
310
|
+
listEffectivePolicyValidationErrors(args: ListEffectivePolicyValidationErrorsCommandInput, cb: (err: any, data?: ListEffectivePolicyValidationErrorsCommandOutput) => void): void;
|
|
311
|
+
listEffectivePolicyValidationErrors(args: ListEffectivePolicyValidationErrorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEffectivePolicyValidationErrorsCommandOutput) => void): void;
|
|
298
312
|
/**
|
|
299
313
|
* @see {@link ListHandshakesForAccountCommand}
|
|
300
314
|
*/
|
|
@@ -40,11 +40,13 @@ import { InviteAccountToOrganizationCommandInput, InviteAccountToOrganizationCom
|
|
|
40
40
|
import { LeaveOrganizationCommandInput, LeaveOrganizationCommandOutput } from "./commands/LeaveOrganizationCommand";
|
|
41
41
|
import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAccountsCommand";
|
|
42
42
|
import { ListAccountsForParentCommandInput, ListAccountsForParentCommandOutput } from "./commands/ListAccountsForParentCommand";
|
|
43
|
+
import { ListAccountsWithInvalidEffectivePolicyCommandInput, ListAccountsWithInvalidEffectivePolicyCommandOutput } from "./commands/ListAccountsWithInvalidEffectivePolicyCommand";
|
|
43
44
|
import { ListAWSServiceAccessForOrganizationCommandInput, ListAWSServiceAccessForOrganizationCommandOutput } from "./commands/ListAWSServiceAccessForOrganizationCommand";
|
|
44
45
|
import { ListChildrenCommandInput, ListChildrenCommandOutput } from "./commands/ListChildrenCommand";
|
|
45
46
|
import { ListCreateAccountStatusCommandInput, ListCreateAccountStatusCommandOutput } from "./commands/ListCreateAccountStatusCommand";
|
|
46
47
|
import { ListDelegatedAdministratorsCommandInput, ListDelegatedAdministratorsCommandOutput } from "./commands/ListDelegatedAdministratorsCommand";
|
|
47
48
|
import { ListDelegatedServicesForAccountCommandInput, ListDelegatedServicesForAccountCommandOutput } from "./commands/ListDelegatedServicesForAccountCommand";
|
|
49
|
+
import { ListEffectivePolicyValidationErrorsCommandInput, ListEffectivePolicyValidationErrorsCommandOutput } from "./commands/ListEffectivePolicyValidationErrorsCommand";
|
|
48
50
|
import { ListHandshakesForAccountCommandInput, ListHandshakesForAccountCommandOutput } from "./commands/ListHandshakesForAccountCommand";
|
|
49
51
|
import { ListHandshakesForOrganizationCommandInput, ListHandshakesForOrganizationCommandOutput } from "./commands/ListHandshakesForOrganizationCommand";
|
|
50
52
|
import { ListOrganizationalUnitsForParentCommandInput, ListOrganizationalUnitsForParentCommandOutput } from "./commands/ListOrganizationalUnitsForParentCommand";
|
|
@@ -68,11 +70,11 @@ export { __Client };
|
|
|
68
70
|
/**
|
|
69
71
|
* @public
|
|
70
72
|
*/
|
|
71
|
-
export type ServiceInputTypes = AcceptHandshakeCommandInput | AttachPolicyCommandInput | CancelHandshakeCommandInput | CloseAccountCommandInput | CreateAccountCommandInput | CreateGovCloudAccountCommandInput | CreateOrganizationCommandInput | CreateOrganizationalUnitCommandInput | CreatePolicyCommandInput | DeclineHandshakeCommandInput | DeleteOrganizationCommandInput | DeleteOrganizationalUnitCommandInput | DeletePolicyCommandInput | DeleteResourcePolicyCommandInput | DeregisterDelegatedAdministratorCommandInput | DescribeAccountCommandInput | DescribeCreateAccountStatusCommandInput | DescribeEffectivePolicyCommandInput | DescribeHandshakeCommandInput | DescribeOrganizationCommandInput | DescribeOrganizationalUnitCommandInput | DescribePolicyCommandInput | DescribeResourcePolicyCommandInput | DetachPolicyCommandInput | DisableAWSServiceAccessCommandInput | DisablePolicyTypeCommandInput | EnableAWSServiceAccessCommandInput | EnableAllFeaturesCommandInput | EnablePolicyTypeCommandInput | InviteAccountToOrganizationCommandInput | LeaveOrganizationCommandInput | ListAWSServiceAccessForOrganizationCommandInput | ListAccountsCommandInput | ListAccountsForParentCommandInput | ListChildrenCommandInput | ListCreateAccountStatusCommandInput | ListDelegatedAdministratorsCommandInput | ListDelegatedServicesForAccountCommandInput | ListHandshakesForAccountCommandInput | ListHandshakesForOrganizationCommandInput | ListOrganizationalUnitsForParentCommandInput | ListParentsCommandInput | ListPoliciesCommandInput | ListPoliciesForTargetCommandInput | ListRootsCommandInput | ListTagsForResourceCommandInput | ListTargetsForPolicyCommandInput | MoveAccountCommandInput | PutResourcePolicyCommandInput | RegisterDelegatedAdministratorCommandInput | RemoveAccountFromOrganizationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOrganizationalUnitCommandInput | UpdatePolicyCommandInput;
|
|
73
|
+
export type ServiceInputTypes = AcceptHandshakeCommandInput | AttachPolicyCommandInput | CancelHandshakeCommandInput | CloseAccountCommandInput | CreateAccountCommandInput | CreateGovCloudAccountCommandInput | CreateOrganizationCommandInput | CreateOrganizationalUnitCommandInput | CreatePolicyCommandInput | DeclineHandshakeCommandInput | DeleteOrganizationCommandInput | DeleteOrganizationalUnitCommandInput | DeletePolicyCommandInput | DeleteResourcePolicyCommandInput | DeregisterDelegatedAdministratorCommandInput | DescribeAccountCommandInput | DescribeCreateAccountStatusCommandInput | DescribeEffectivePolicyCommandInput | DescribeHandshakeCommandInput | DescribeOrganizationCommandInput | DescribeOrganizationalUnitCommandInput | DescribePolicyCommandInput | DescribeResourcePolicyCommandInput | DetachPolicyCommandInput | DisableAWSServiceAccessCommandInput | DisablePolicyTypeCommandInput | EnableAWSServiceAccessCommandInput | EnableAllFeaturesCommandInput | EnablePolicyTypeCommandInput | InviteAccountToOrganizationCommandInput | LeaveOrganizationCommandInput | ListAWSServiceAccessForOrganizationCommandInput | ListAccountsCommandInput | ListAccountsForParentCommandInput | ListAccountsWithInvalidEffectivePolicyCommandInput | ListChildrenCommandInput | ListCreateAccountStatusCommandInput | ListDelegatedAdministratorsCommandInput | ListDelegatedServicesForAccountCommandInput | ListEffectivePolicyValidationErrorsCommandInput | ListHandshakesForAccountCommandInput | ListHandshakesForOrganizationCommandInput | ListOrganizationalUnitsForParentCommandInput | ListParentsCommandInput | ListPoliciesCommandInput | ListPoliciesForTargetCommandInput | ListRootsCommandInput | ListTagsForResourceCommandInput | ListTargetsForPolicyCommandInput | MoveAccountCommandInput | PutResourcePolicyCommandInput | RegisterDelegatedAdministratorCommandInput | RemoveAccountFromOrganizationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOrganizationalUnitCommandInput | UpdatePolicyCommandInput;
|
|
72
74
|
/**
|
|
73
75
|
* @public
|
|
74
76
|
*/
|
|
75
|
-
export type ServiceOutputTypes = AcceptHandshakeCommandOutput | AttachPolicyCommandOutput | CancelHandshakeCommandOutput | CloseAccountCommandOutput | CreateAccountCommandOutput | CreateGovCloudAccountCommandOutput | CreateOrganizationCommandOutput | CreateOrganizationalUnitCommandOutput | CreatePolicyCommandOutput | DeclineHandshakeCommandOutput | DeleteOrganizationCommandOutput | DeleteOrganizationalUnitCommandOutput | DeletePolicyCommandOutput | DeleteResourcePolicyCommandOutput | DeregisterDelegatedAdministratorCommandOutput | DescribeAccountCommandOutput | DescribeCreateAccountStatusCommandOutput | DescribeEffectivePolicyCommandOutput | DescribeHandshakeCommandOutput | DescribeOrganizationCommandOutput | DescribeOrganizationalUnitCommandOutput | DescribePolicyCommandOutput | DescribeResourcePolicyCommandOutput | DetachPolicyCommandOutput | DisableAWSServiceAccessCommandOutput | DisablePolicyTypeCommandOutput | EnableAWSServiceAccessCommandOutput | EnableAllFeaturesCommandOutput | EnablePolicyTypeCommandOutput | InviteAccountToOrganizationCommandOutput | LeaveOrganizationCommandOutput | ListAWSServiceAccessForOrganizationCommandOutput | ListAccountsCommandOutput | ListAccountsForParentCommandOutput | ListChildrenCommandOutput | ListCreateAccountStatusCommandOutput | ListDelegatedAdministratorsCommandOutput | ListDelegatedServicesForAccountCommandOutput | ListHandshakesForAccountCommandOutput | ListHandshakesForOrganizationCommandOutput | ListOrganizationalUnitsForParentCommandOutput | ListParentsCommandOutput | ListPoliciesCommandOutput | ListPoliciesForTargetCommandOutput | ListRootsCommandOutput | ListTagsForResourceCommandOutput | ListTargetsForPolicyCommandOutput | MoveAccountCommandOutput | PutResourcePolicyCommandOutput | RegisterDelegatedAdministratorCommandOutput | RemoveAccountFromOrganizationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOrganizationalUnitCommandOutput | UpdatePolicyCommandOutput;
|
|
77
|
+
export type ServiceOutputTypes = AcceptHandshakeCommandOutput | AttachPolicyCommandOutput | CancelHandshakeCommandOutput | CloseAccountCommandOutput | CreateAccountCommandOutput | CreateGovCloudAccountCommandOutput | CreateOrganizationCommandOutput | CreateOrganizationalUnitCommandOutput | CreatePolicyCommandOutput | DeclineHandshakeCommandOutput | DeleteOrganizationCommandOutput | DeleteOrganizationalUnitCommandOutput | DeletePolicyCommandOutput | DeleteResourcePolicyCommandOutput | DeregisterDelegatedAdministratorCommandOutput | DescribeAccountCommandOutput | DescribeCreateAccountStatusCommandOutput | DescribeEffectivePolicyCommandOutput | DescribeHandshakeCommandOutput | DescribeOrganizationCommandOutput | DescribeOrganizationalUnitCommandOutput | DescribePolicyCommandOutput | DescribeResourcePolicyCommandOutput | DetachPolicyCommandOutput | DisableAWSServiceAccessCommandOutput | DisablePolicyTypeCommandOutput | EnableAWSServiceAccessCommandOutput | EnableAllFeaturesCommandOutput | EnablePolicyTypeCommandOutput | InviteAccountToOrganizationCommandOutput | LeaveOrganizationCommandOutput | ListAWSServiceAccessForOrganizationCommandOutput | ListAccountsCommandOutput | ListAccountsForParentCommandOutput | ListAccountsWithInvalidEffectivePolicyCommandOutput | ListChildrenCommandOutput | ListCreateAccountStatusCommandOutput | ListDelegatedAdministratorsCommandOutput | ListDelegatedServicesForAccountCommandOutput | ListEffectivePolicyValidationErrorsCommandOutput | ListHandshakesForAccountCommandOutput | ListHandshakesForOrganizationCommandOutput | ListOrganizationalUnitsForParentCommandOutput | ListParentsCommandOutput | ListPoliciesCommandOutput | ListPoliciesForTargetCommandOutput | ListRootsCommandOutput | ListTagsForResourceCommandOutput | ListTargetsForPolicyCommandOutput | MoveAccountCommandOutput | PutResourcePolicyCommandOutput | RegisterDelegatedAdministratorCommandOutput | RemoveAccountFromOrganizationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOrganizationalUnitCommandOutput | UpdatePolicyCommandOutput;
|
|
76
78
|
/**
|
|
77
79
|
* @public
|
|
78
80
|
*/
|