@aws-sdk/client-config-service 3.216.0 → 3.219.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/dist-cjs/ConfigService.js +45 -0
- package/dist-cjs/commands/GetResourceEvaluationSummaryCommand.js +46 -0
- package/dist-cjs/commands/ListResourceEvaluationsCommand.js +46 -0
- package/dist-cjs/commands/PutAggregationAuthorizationCommand.js +3 -3
- package/dist-cjs/commands/PutConfigRuleCommand.js +2 -2
- package/dist-cjs/commands/PutConfigurationAggregatorCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationRecorderCommand.js +2 -2
- package/dist-cjs/commands/StartResourceEvaluationCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +82 -151
- package/dist-cjs/models/models_1.js +155 -1
- package/dist-cjs/pagination/ListResourceEvaluationsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +341 -12
- package/dist-es/ConfigService.js +45 -0
- package/dist-es/commands/GetResourceEvaluationSummaryCommand.js +42 -0
- package/dist-es/commands/ListResourceEvaluationsCommand.js +42 -0
- package/dist-es/commands/PutAggregationAuthorizationCommand.js +1 -1
- package/dist-es/commands/PutConfigRuleCommand.js +1 -1
- package/dist-es/commands/PutConfigurationAggregatorCommand.js +1 -1
- package/dist-es/commands/PutConfigurationRecorderCommand.js +1 -1
- package/dist-es/commands/StartResourceEvaluationCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +59 -125
- package/dist-es/models/models_1.js +135 -0
- package/dist-es/pagination/ListResourceEvaluationsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +325 -2
- package/dist-types/ConfigService.d.ts +36 -3
- package/dist-types/ConfigServiceClient.d.ts +5 -2
- package/dist-types/commands/DescribeAggregateComplianceByConformancePacksCommand.d.ts +2 -2
- package/dist-types/commands/GetComplianceDetailsByResourceCommand.d.ts +1 -1
- package/dist-types/commands/GetResourceEvaluationSummaryCommand.d.ts +39 -0
- package/dist-types/commands/ListResourceEvaluationsCommand.d.ts +37 -0
- package/dist-types/commands/PutAggregationAuthorizationCommand.d.ts +1 -1
- package/dist-types/commands/PutConfigRuleCommand.d.ts +1 -1
- package/dist-types/commands/PutConfigurationAggregatorCommand.d.ts +1 -1
- package/dist-types/commands/PutConfigurationRecorderCommand.d.ts +1 -1
- package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +3 -0
- package/dist-types/commands/StartResourceEvaluationCommand.d.ts +44 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +287 -290
- package/dist-types/models/models_1.d.ts +319 -1
- package/dist-types/pagination/ListResourceEvaluationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/ConfigService.d.ts +51 -0
- package/dist-types/ts3.4/ConfigServiceClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetResourceEvaluationSummaryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListResourceEvaluationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutAggregationAuthorizationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutConfigRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutConfigurationAggregatorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutConfigurationRecorderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartResourceEvaluationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +114 -150
- package/dist-types/ts3.4/models/models_1.d.ts +175 -1
- package/dist-types/ts3.4/pagination/ListResourceEvaluationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +3 -3
package/dist-es/ConfigService.js
CHANGED
|
@@ -58,10 +58,12 @@ import { GetOrganizationConfigRuleDetailedStatusCommand, } from "./commands/GetO
|
|
|
58
58
|
import { GetOrganizationConformancePackDetailedStatusCommand, } from "./commands/GetOrganizationConformancePackDetailedStatusCommand";
|
|
59
59
|
import { GetOrganizationCustomRulePolicyCommand, } from "./commands/GetOrganizationCustomRulePolicyCommand";
|
|
60
60
|
import { GetResourceConfigHistoryCommand, } from "./commands/GetResourceConfigHistoryCommand";
|
|
61
|
+
import { GetResourceEvaluationSummaryCommand, } from "./commands/GetResourceEvaluationSummaryCommand";
|
|
61
62
|
import { GetStoredQueryCommand, } from "./commands/GetStoredQueryCommand";
|
|
62
63
|
import { ListAggregateDiscoveredResourcesCommand, } from "./commands/ListAggregateDiscoveredResourcesCommand";
|
|
63
64
|
import { ListConformancePackComplianceScoresCommand, } from "./commands/ListConformancePackComplianceScoresCommand";
|
|
64
65
|
import { ListDiscoveredResourcesCommand, } from "./commands/ListDiscoveredResourcesCommand";
|
|
66
|
+
import { ListResourceEvaluationsCommand, } from "./commands/ListResourceEvaluationsCommand";
|
|
65
67
|
import { ListStoredQueriesCommand, } from "./commands/ListStoredQueriesCommand";
|
|
66
68
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
67
69
|
import { PutAggregationAuthorizationCommand, } from "./commands/PutAggregationAuthorizationCommand";
|
|
@@ -84,6 +86,7 @@ import { SelectResourceConfigCommand, } from "./commands/SelectResourceConfigCom
|
|
|
84
86
|
import { StartConfigRulesEvaluationCommand, } from "./commands/StartConfigRulesEvaluationCommand";
|
|
85
87
|
import { StartConfigurationRecorderCommand, } from "./commands/StartConfigurationRecorderCommand";
|
|
86
88
|
import { StartRemediationExecutionCommand, } from "./commands/StartRemediationExecutionCommand";
|
|
89
|
+
import { StartResourceEvaluationCommand, } from "./commands/StartResourceEvaluationCommand";
|
|
87
90
|
import { StopConfigurationRecorderCommand, } from "./commands/StopConfigurationRecorderCommand";
|
|
88
91
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
89
92
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -929,6 +932,20 @@ export class ConfigService extends ConfigServiceClient {
|
|
|
929
932
|
return this.send(command, optionsOrCb);
|
|
930
933
|
}
|
|
931
934
|
}
|
|
935
|
+
getResourceEvaluationSummary(args, optionsOrCb, cb) {
|
|
936
|
+
const command = new GetResourceEvaluationSummaryCommand(args);
|
|
937
|
+
if (typeof optionsOrCb === "function") {
|
|
938
|
+
this.send(command, optionsOrCb);
|
|
939
|
+
}
|
|
940
|
+
else if (typeof cb === "function") {
|
|
941
|
+
if (typeof optionsOrCb !== "object")
|
|
942
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
943
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
944
|
+
}
|
|
945
|
+
else {
|
|
946
|
+
return this.send(command, optionsOrCb);
|
|
947
|
+
}
|
|
948
|
+
}
|
|
932
949
|
getStoredQuery(args, optionsOrCb, cb) {
|
|
933
950
|
const command = new GetStoredQueryCommand(args);
|
|
934
951
|
if (typeof optionsOrCb === "function") {
|
|
@@ -985,6 +1002,20 @@ export class ConfigService extends ConfigServiceClient {
|
|
|
985
1002
|
return this.send(command, optionsOrCb);
|
|
986
1003
|
}
|
|
987
1004
|
}
|
|
1005
|
+
listResourceEvaluations(args, optionsOrCb, cb) {
|
|
1006
|
+
const command = new ListResourceEvaluationsCommand(args);
|
|
1007
|
+
if (typeof optionsOrCb === "function") {
|
|
1008
|
+
this.send(command, optionsOrCb);
|
|
1009
|
+
}
|
|
1010
|
+
else if (typeof cb === "function") {
|
|
1011
|
+
if (typeof optionsOrCb !== "object")
|
|
1012
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1013
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1014
|
+
}
|
|
1015
|
+
else {
|
|
1016
|
+
return this.send(command, optionsOrCb);
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
988
1019
|
listStoredQueries(args, optionsOrCb, cb) {
|
|
989
1020
|
const command = new ListStoredQueriesCommand(args);
|
|
990
1021
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1293,6 +1324,20 @@ export class ConfigService extends ConfigServiceClient {
|
|
|
1293
1324
|
return this.send(command, optionsOrCb);
|
|
1294
1325
|
}
|
|
1295
1326
|
}
|
|
1327
|
+
startResourceEvaluation(args, optionsOrCb, cb) {
|
|
1328
|
+
const command = new StartResourceEvaluationCommand(args);
|
|
1329
|
+
if (typeof optionsOrCb === "function") {
|
|
1330
|
+
this.send(command, optionsOrCb);
|
|
1331
|
+
}
|
|
1332
|
+
else if (typeof cb === "function") {
|
|
1333
|
+
if (typeof optionsOrCb !== "object")
|
|
1334
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1335
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1336
|
+
}
|
|
1337
|
+
else {
|
|
1338
|
+
return this.send(command, optionsOrCb);
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1296
1341
|
stopConfigurationRecorder(args, optionsOrCb, cb) {
|
|
1297
1342
|
const command = new StopConfigurationRecorderCommand(args);
|
|
1298
1343
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetResourceEvaluationSummaryRequestFilterSensitiveLog, GetResourceEvaluationSummaryResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1GetResourceEvaluationSummaryCommand, serializeAws_json1_1GetResourceEvaluationSummaryCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class GetResourceEvaluationSummaryCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetResourceEvaluationSummaryCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ConfigServiceClient";
|
|
25
|
+
const commandName = "GetResourceEvaluationSummaryCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetResourceEvaluationSummaryRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetResourceEvaluationSummaryResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1GetResourceEvaluationSummaryCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1GetResourceEvaluationSummaryCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListResourceEvaluationsRequestFilterSensitiveLog, ListResourceEvaluationsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListResourceEvaluationsCommand, serializeAws_json1_1ListResourceEvaluationsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class ListResourceEvaluationsCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListResourceEvaluationsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ConfigServiceClient";
|
|
25
|
+
const commandName = "ListResourceEvaluationsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: ListResourceEvaluationsRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: ListResourceEvaluationsResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1ListResourceEvaluationsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1ListResourceEvaluationsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { PutAggregationAuthorizationRequestFilterSensitiveLog, PutAggregationAuthorizationResponseFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { PutAggregationAuthorizationRequestFilterSensitiveLog, PutAggregationAuthorizationResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_json1_1PutAggregationAuthorizationCommand, serializeAws_json1_1PutAggregationAuthorizationCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class PutAggregationAuthorizationCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { PutConfigRuleRequestFilterSensitiveLog } from "../models/
|
|
4
|
+
import { PutConfigRuleRequestFilterSensitiveLog } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_json1_1PutConfigRuleCommand, serializeAws_json1_1PutConfigRuleCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class PutConfigRuleCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { PutConfigurationAggregatorRequestFilterSensitiveLog, PutConfigurationAggregatorResponseFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { PutConfigurationAggregatorRequestFilterSensitiveLog, PutConfigurationAggregatorResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_json1_1PutConfigurationAggregatorCommand, serializeAws_json1_1PutConfigurationAggregatorCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class PutConfigurationAggregatorCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { PutConfigurationRecorderRequestFilterSensitiveLog } from "../models/
|
|
4
|
+
import { PutConfigurationRecorderRequestFilterSensitiveLog } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_json1_1PutConfigurationRecorderCommand, serializeAws_json1_1PutConfigurationRecorderCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class PutConfigurationRecorderCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StartResourceEvaluationRequestFilterSensitiveLog, StartResourceEvaluationResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_json1_1StartResourceEvaluationCommand, serializeAws_json1_1StartResourceEvaluationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class StartResourceEvaluationCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartResourceEvaluationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ConfigServiceClient";
|
|
25
|
+
const commandName = "StartResourceEvaluationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: StartResourceEvaluationRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: StartResourceEvaluationResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1StartResourceEvaluationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1StartResourceEvaluationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -58,10 +58,12 @@ export * from "./GetOrganizationConfigRuleDetailedStatusCommand";
|
|
|
58
58
|
export * from "./GetOrganizationConformancePackDetailedStatusCommand";
|
|
59
59
|
export * from "./GetOrganizationCustomRulePolicyCommand";
|
|
60
60
|
export * from "./GetResourceConfigHistoryCommand";
|
|
61
|
+
export * from "./GetResourceEvaluationSummaryCommand";
|
|
61
62
|
export * from "./GetStoredQueryCommand";
|
|
62
63
|
export * from "./ListAggregateDiscoveredResourcesCommand";
|
|
63
64
|
export * from "./ListConformancePackComplianceScoresCommand";
|
|
64
65
|
export * from "./ListDiscoveredResourcesCommand";
|
|
66
|
+
export * from "./ListResourceEvaluationsCommand";
|
|
65
67
|
export * from "./ListStoredQueriesCommand";
|
|
66
68
|
export * from "./ListTagsForResourceCommand";
|
|
67
69
|
export * from "./PutAggregationAuthorizationCommand";
|
|
@@ -84,6 +86,7 @@ export * from "./SelectResourceConfigCommand";
|
|
|
84
86
|
export * from "./StartConfigRulesEvaluationCommand";
|
|
85
87
|
export * from "./StartConfigurationRecorderCommand";
|
|
86
88
|
export * from "./StartRemediationExecutionCommand";
|
|
89
|
+
export * from "./StartResourceEvaluationCommand";
|
|
87
90
|
export * from "./StopConfigurationRecorderCommand";
|
|
88
91
|
export * from "./TagResourceCommand";
|
|
89
92
|
export * from "./UntagResourceCommand";
|
|
@@ -28,6 +28,11 @@ export var AggregatedSourceType;
|
|
|
28
28
|
AggregatedSourceType["ACCOUNT"] = "ACCOUNT";
|
|
29
29
|
AggregatedSourceType["ORGANIZATION"] = "ORGANIZATION";
|
|
30
30
|
})(AggregatedSourceType || (AggregatedSourceType = {}));
|
|
31
|
+
export var EvaluationMode;
|
|
32
|
+
(function (EvaluationMode) {
|
|
33
|
+
EvaluationMode["DETECTIVE"] = "DETECTIVE";
|
|
34
|
+
EvaluationMode["PROACTIVE"] = "PROACTIVE";
|
|
35
|
+
})(EvaluationMode || (EvaluationMode = {}));
|
|
31
36
|
export var ResourceType;
|
|
32
37
|
(function (ResourceType) {
|
|
33
38
|
ResourceType["AccessAnalyzerAnalyzer"] = "AWS::AccessAnalyzer::Analyzer";
|
|
@@ -609,6 +614,12 @@ export var RemediationExecutionStepState;
|
|
|
609
614
|
RemediationExecutionStepState["PENDING"] = "PENDING";
|
|
610
615
|
RemediationExecutionStepState["SUCCEEDED"] = "SUCCEEDED";
|
|
611
616
|
})(RemediationExecutionStepState || (RemediationExecutionStepState = {}));
|
|
617
|
+
export var ResourceEvaluationStatus;
|
|
618
|
+
(function (ResourceEvaluationStatus) {
|
|
619
|
+
ResourceEvaluationStatus["FAILED"] = "FAILED";
|
|
620
|
+
ResourceEvaluationStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
621
|
+
ResourceEvaluationStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
622
|
+
})(ResourceEvaluationStatus || (ResourceEvaluationStatus = {}));
|
|
612
623
|
export var ResourceCountGroupKey;
|
|
613
624
|
(function (ResourceCountGroupKey) {
|
|
614
625
|
ResourceCountGroupKey["ACCOUNT_ID"] = "ACCOUNT_ID";
|
|
@@ -675,6 +686,22 @@ export class InvalidTimeRangeException extends __BaseException {
|
|
|
675
686
|
Object.setPrototypeOf(this, InvalidTimeRangeException.prototype);
|
|
676
687
|
}
|
|
677
688
|
}
|
|
689
|
+
export var ResourceConfigurationSchemaType;
|
|
690
|
+
(function (ResourceConfigurationSchemaType) {
|
|
691
|
+
ResourceConfigurationSchemaType["CFN_RESOURCE_SCHEMA"] = "CFN_RESOURCE_SCHEMA";
|
|
692
|
+
})(ResourceConfigurationSchemaType || (ResourceConfigurationSchemaType = {}));
|
|
693
|
+
export class IdempotentParameterMismatch extends __BaseException {
|
|
694
|
+
constructor(opts) {
|
|
695
|
+
super({
|
|
696
|
+
name: "IdempotentParameterMismatch",
|
|
697
|
+
$fault: "client",
|
|
698
|
+
...opts,
|
|
699
|
+
});
|
|
700
|
+
this.name = "IdempotentParameterMismatch";
|
|
701
|
+
this.$fault = "client";
|
|
702
|
+
Object.setPrototypeOf(this, IdempotentParameterMismatch.prototype);
|
|
703
|
+
}
|
|
704
|
+
}
|
|
678
705
|
export class InsufficientDeliveryPolicyException extends __BaseException {
|
|
679
706
|
constructor(opts) {
|
|
680
707
|
super({
|
|
@@ -864,114 +891,6 @@ export class MaxNumberOfConformancePacksExceededException extends __BaseExceptio
|
|
|
864
891
|
Object.setPrototypeOf(this, MaxNumberOfConformancePacksExceededException.prototype);
|
|
865
892
|
}
|
|
866
893
|
}
|
|
867
|
-
export class MaxNumberOfDeliveryChannelsExceededException extends __BaseException {
|
|
868
|
-
constructor(opts) {
|
|
869
|
-
super({
|
|
870
|
-
name: "MaxNumberOfDeliveryChannelsExceededException",
|
|
871
|
-
$fault: "client",
|
|
872
|
-
...opts,
|
|
873
|
-
});
|
|
874
|
-
this.name = "MaxNumberOfDeliveryChannelsExceededException";
|
|
875
|
-
this.$fault = "client";
|
|
876
|
-
Object.setPrototypeOf(this, MaxNumberOfDeliveryChannelsExceededException.prototype);
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
|
-
export class MaxNumberOfOrganizationConfigRulesExceededException extends __BaseException {
|
|
880
|
-
constructor(opts) {
|
|
881
|
-
super({
|
|
882
|
-
name: "MaxNumberOfOrganizationConfigRulesExceededException",
|
|
883
|
-
$fault: "client",
|
|
884
|
-
...opts,
|
|
885
|
-
});
|
|
886
|
-
this.name = "MaxNumberOfOrganizationConfigRulesExceededException";
|
|
887
|
-
this.$fault = "client";
|
|
888
|
-
Object.setPrototypeOf(this, MaxNumberOfOrganizationConfigRulesExceededException.prototype);
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
export class MaxNumberOfOrganizationConformancePacksExceededException extends __BaseException {
|
|
892
|
-
constructor(opts) {
|
|
893
|
-
super({
|
|
894
|
-
name: "MaxNumberOfOrganizationConformancePacksExceededException",
|
|
895
|
-
$fault: "client",
|
|
896
|
-
...opts,
|
|
897
|
-
});
|
|
898
|
-
this.name = "MaxNumberOfOrganizationConformancePacksExceededException";
|
|
899
|
-
this.$fault = "client";
|
|
900
|
-
Object.setPrototypeOf(this, MaxNumberOfOrganizationConformancePacksExceededException.prototype);
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
export class MaxNumberOfRetentionConfigurationsExceededException extends __BaseException {
|
|
904
|
-
constructor(opts) {
|
|
905
|
-
super({
|
|
906
|
-
name: "MaxNumberOfRetentionConfigurationsExceededException",
|
|
907
|
-
$fault: "client",
|
|
908
|
-
...opts,
|
|
909
|
-
});
|
|
910
|
-
this.name = "MaxNumberOfRetentionConfigurationsExceededException";
|
|
911
|
-
this.$fault = "client";
|
|
912
|
-
Object.setPrototypeOf(this, MaxNumberOfRetentionConfigurationsExceededException.prototype);
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
export class NoAvailableDeliveryChannelException extends __BaseException {
|
|
916
|
-
constructor(opts) {
|
|
917
|
-
super({
|
|
918
|
-
name: "NoAvailableDeliveryChannelException",
|
|
919
|
-
$fault: "client",
|
|
920
|
-
...opts,
|
|
921
|
-
});
|
|
922
|
-
this.name = "NoAvailableDeliveryChannelException";
|
|
923
|
-
this.$fault = "client";
|
|
924
|
-
Object.setPrototypeOf(this, NoAvailableDeliveryChannelException.prototype);
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
export class NoAvailableOrganizationException extends __BaseException {
|
|
928
|
-
constructor(opts) {
|
|
929
|
-
super({
|
|
930
|
-
name: "NoAvailableOrganizationException",
|
|
931
|
-
$fault: "client",
|
|
932
|
-
...opts,
|
|
933
|
-
});
|
|
934
|
-
this.name = "NoAvailableOrganizationException";
|
|
935
|
-
this.$fault = "client";
|
|
936
|
-
Object.setPrototypeOf(this, NoAvailableOrganizationException.prototype);
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
export class NoSuchBucketException extends __BaseException {
|
|
940
|
-
constructor(opts) {
|
|
941
|
-
super({
|
|
942
|
-
name: "NoSuchBucketException",
|
|
943
|
-
$fault: "client",
|
|
944
|
-
...opts,
|
|
945
|
-
});
|
|
946
|
-
this.name = "NoSuchBucketException";
|
|
947
|
-
this.$fault = "client";
|
|
948
|
-
Object.setPrototypeOf(this, NoSuchBucketException.prototype);
|
|
949
|
-
}
|
|
950
|
-
}
|
|
951
|
-
export class OrganizationAllFeaturesNotEnabledException extends __BaseException {
|
|
952
|
-
constructor(opts) {
|
|
953
|
-
super({
|
|
954
|
-
name: "OrganizationAllFeaturesNotEnabledException",
|
|
955
|
-
$fault: "client",
|
|
956
|
-
...opts,
|
|
957
|
-
});
|
|
958
|
-
this.name = "OrganizationAllFeaturesNotEnabledException";
|
|
959
|
-
this.$fault = "client";
|
|
960
|
-
Object.setPrototypeOf(this, OrganizationAllFeaturesNotEnabledException.prototype);
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
export class OrganizationConformancePackTemplateValidationException extends __BaseException {
|
|
964
|
-
constructor(opts) {
|
|
965
|
-
super({
|
|
966
|
-
name: "OrganizationConformancePackTemplateValidationException",
|
|
967
|
-
$fault: "client",
|
|
968
|
-
...opts,
|
|
969
|
-
});
|
|
970
|
-
this.name = "OrganizationConformancePackTemplateValidationException";
|
|
971
|
-
this.$fault = "client";
|
|
972
|
-
Object.setPrototypeOf(this, OrganizationConformancePackTemplateValidationException.prototype);
|
|
973
|
-
}
|
|
974
|
-
}
|
|
975
894
|
export const AccountAggregationSourceFilterSensitiveLog = (obj) => ({
|
|
976
895
|
...obj,
|
|
977
896
|
});
|
|
@@ -1056,6 +975,9 @@ export const ComplianceSummaryByResourceTypeFilterSensitiveLog = (obj) => ({
|
|
|
1056
975
|
export const ConfigExportDeliveryInfoFilterSensitiveLog = (obj) => ({
|
|
1057
976
|
...obj,
|
|
1058
977
|
});
|
|
978
|
+
export const EvaluationModeConfigurationFilterSensitiveLog = (obj) => ({
|
|
979
|
+
...obj,
|
|
980
|
+
});
|
|
1059
981
|
export const ScopeFilterSensitiveLog = (obj) => ({
|
|
1060
982
|
...obj,
|
|
1061
983
|
});
|
|
@@ -1251,6 +1173,9 @@ export const DescribeConfigRuleEvaluationStatusRequestFilterSensitiveLog = (obj)
|
|
|
1251
1173
|
export const DescribeConfigRuleEvaluationStatusResponseFilterSensitiveLog = (obj) => ({
|
|
1252
1174
|
...obj,
|
|
1253
1175
|
});
|
|
1176
|
+
export const DescribeConfigRulesFiltersFilterSensitiveLog = (obj) => ({
|
|
1177
|
+
...obj,
|
|
1178
|
+
});
|
|
1254
1179
|
export const DescribeConfigRulesRequestFilterSensitiveLog = (obj) => ({
|
|
1255
1180
|
...obj,
|
|
1256
1181
|
});
|
|
@@ -1422,9 +1347,15 @@ export const DescribeRetentionConfigurationsResponseFilterSensitiveLog = (obj) =
|
|
|
1422
1347
|
export const EvaluationFilterSensitiveLog = (obj) => ({
|
|
1423
1348
|
...obj,
|
|
1424
1349
|
});
|
|
1350
|
+
export const EvaluationContextFilterSensitiveLog = (obj) => ({
|
|
1351
|
+
...obj,
|
|
1352
|
+
});
|
|
1425
1353
|
export const EvaluationResultFilterSensitiveLog = (obj) => ({
|
|
1426
1354
|
...obj,
|
|
1427
1355
|
});
|
|
1356
|
+
export const EvaluationStatusFilterSensitiveLog = (obj) => ({
|
|
1357
|
+
...obj,
|
|
1358
|
+
});
|
|
1428
1359
|
export const ExternalEvaluationFilterSensitiveLog = (obj) => ({
|
|
1429
1360
|
...obj,
|
|
1430
1361
|
});
|
|
@@ -1557,6 +1488,15 @@ export const GetResourceConfigHistoryRequestFilterSensitiveLog = (obj) => ({
|
|
|
1557
1488
|
export const GetResourceConfigHistoryResponseFilterSensitiveLog = (obj) => ({
|
|
1558
1489
|
...obj,
|
|
1559
1490
|
});
|
|
1491
|
+
export const GetResourceEvaluationSummaryRequestFilterSensitiveLog = (obj) => ({
|
|
1492
|
+
...obj,
|
|
1493
|
+
});
|
|
1494
|
+
export const ResourceDetailsFilterSensitiveLog = (obj) => ({
|
|
1495
|
+
...obj,
|
|
1496
|
+
});
|
|
1497
|
+
export const GetResourceEvaluationSummaryResponseFilterSensitiveLog = (obj) => ({
|
|
1498
|
+
...obj,
|
|
1499
|
+
});
|
|
1560
1500
|
export const GetStoredQueryRequestFilterSensitiveLog = (obj) => ({
|
|
1561
1501
|
...obj,
|
|
1562
1502
|
});
|
|
@@ -1590,42 +1530,36 @@ export const ResourceIdentifierFilterSensitiveLog = (obj) => ({
|
|
|
1590
1530
|
export const ListDiscoveredResourcesResponseFilterSensitiveLog = (obj) => ({
|
|
1591
1531
|
...obj,
|
|
1592
1532
|
});
|
|
1593
|
-
export const
|
|
1533
|
+
export const TimeWindowFilterSensitiveLog = (obj) => ({
|
|
1594
1534
|
...obj,
|
|
1595
1535
|
});
|
|
1596
|
-
export const
|
|
1536
|
+
export const ResourceEvaluationFiltersFilterSensitiveLog = (obj) => ({
|
|
1597
1537
|
...obj,
|
|
1598
1538
|
});
|
|
1599
|
-
export const
|
|
1539
|
+
export const ListResourceEvaluationsRequestFilterSensitiveLog = (obj) => ({
|
|
1600
1540
|
...obj,
|
|
1601
1541
|
});
|
|
1602
|
-
export const
|
|
1603
|
-
...obj,
|
|
1604
|
-
});
|
|
1605
|
-
export const TagFilterSensitiveLog = (obj) => ({
|
|
1606
|
-
...obj,
|
|
1607
|
-
});
|
|
1608
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
1542
|
+
export const ResourceEvaluationFilterSensitiveLog = (obj) => ({
|
|
1609
1543
|
...obj,
|
|
1610
1544
|
});
|
|
1611
|
-
export const
|
|
1545
|
+
export const ListResourceEvaluationsResponseFilterSensitiveLog = (obj) => ({
|
|
1612
1546
|
...obj,
|
|
1613
1547
|
});
|
|
1614
|
-
export const
|
|
1548
|
+
export const ListStoredQueriesRequestFilterSensitiveLog = (obj) => ({
|
|
1615
1549
|
...obj,
|
|
1616
1550
|
});
|
|
1617
|
-
export const
|
|
1551
|
+
export const StoredQueryMetadataFilterSensitiveLog = (obj) => ({
|
|
1618
1552
|
...obj,
|
|
1619
1553
|
});
|
|
1620
|
-
export const
|
|
1554
|
+
export const ListStoredQueriesResponseFilterSensitiveLog = (obj) => ({
|
|
1621
1555
|
...obj,
|
|
1622
1556
|
});
|
|
1623
|
-
export const
|
|
1557
|
+
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
1624
1558
|
...obj,
|
|
1625
1559
|
});
|
|
1626
|
-
export const
|
|
1560
|
+
export const TagFilterSensitiveLog = (obj) => ({
|
|
1627
1561
|
...obj,
|
|
1628
1562
|
});
|
|
1629
|
-
export const
|
|
1563
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
1630
1564
|
...obj,
|
|
1631
1565
|
});
|