@aws-sdk/client-inspector 3.183.0 → 3.185.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/Inspector.js +157 -150
- package/dist-es/InspectorClient.js +28 -22
- package/dist-es/commands/AddAttributesToFindingsCommand.js +28 -21
- package/dist-es/commands/CreateAssessmentTargetCommand.js +28 -21
- package/dist-es/commands/CreateAssessmentTemplateCommand.js +28 -21
- package/dist-es/commands/CreateExclusionsPreviewCommand.js +28 -21
- package/dist-es/commands/CreateResourceGroupCommand.js +28 -21
- package/dist-es/commands/DeleteAssessmentRunCommand.js +29 -22
- package/dist-es/commands/DeleteAssessmentTargetCommand.js +29 -22
- package/dist-es/commands/DeleteAssessmentTemplateCommand.js +29 -22
- package/dist-es/commands/DescribeAssessmentRunsCommand.js +28 -21
- package/dist-es/commands/DescribeAssessmentTargetsCommand.js +28 -21
- package/dist-es/commands/DescribeAssessmentTemplatesCommand.js +28 -21
- package/dist-es/commands/DescribeCrossAccountAccessRoleCommand.js +29 -22
- package/dist-es/commands/DescribeExclusionsCommand.js +28 -21
- package/dist-es/commands/DescribeFindingsCommand.js +28 -21
- package/dist-es/commands/DescribeResourceGroupsCommand.js +28 -21
- package/dist-es/commands/DescribeRulesPackagesCommand.js +28 -21
- package/dist-es/commands/GetAssessmentReportCommand.js +28 -21
- package/dist-es/commands/GetExclusionsPreviewCommand.js +28 -21
- package/dist-es/commands/GetTelemetryMetadataCommand.js +28 -21
- package/dist-es/commands/ListAssessmentRunAgentsCommand.js +28 -21
- package/dist-es/commands/ListAssessmentRunsCommand.js +28 -21
- package/dist-es/commands/ListAssessmentTargetsCommand.js +28 -21
- package/dist-es/commands/ListAssessmentTemplatesCommand.js +28 -21
- package/dist-es/commands/ListEventSubscriptionsCommand.js +28 -21
- package/dist-es/commands/ListExclusionsCommand.js +28 -21
- package/dist-es/commands/ListFindingsCommand.js +28 -21
- package/dist-es/commands/ListRulesPackagesCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/PreviewAgentsCommand.js +28 -21
- package/dist-es/commands/RegisterCrossAccountAccessRoleCommand.js +29 -22
- package/dist-es/commands/RemoveAttributesFromFindingsCommand.js +28 -21
- package/dist-es/commands/SetTagsForResourceCommand.js +29 -22
- package/dist-es/commands/StartAssessmentRunCommand.js +28 -21
- package/dist-es/commands/StopAssessmentRunCommand.js +29 -22
- package/dist-es/commands/SubscribeToEventCommand.js +29 -22
- package/dist-es/commands/UnsubscribeFromEventCommand.js +29 -22
- package/dist-es/commands/UpdateAssessmentTargetCommand.js +29 -22
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/InspectorServiceException.js +10 -5
- package/dist-es/models/models_0.js +238 -431
- package/dist-es/pagination/GetExclusionsPreviewPaginator.js +68 -25
- package/dist-es/pagination/ListAssessmentRunAgentsPaginator.js +68 -25
- package/dist-es/pagination/ListAssessmentRunsPaginator.js +68 -25
- package/dist-es/pagination/ListAssessmentTargetsPaginator.js +68 -25
- package/dist-es/pagination/ListAssessmentTemplatesPaginator.js +68 -25
- package/dist-es/pagination/ListEventSubscriptionsPaginator.js +68 -25
- package/dist-es/pagination/ListExclusionsPaginator.js +68 -25
- package/dist-es/pagination/ListFindingsPaginator.js +68 -25
- package/dist-es/pagination/ListRulesPackagesPaginator.js +68 -25
- package/dist-es/pagination/PreviewAgentsPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +3357 -2604
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeAssessmentTargetsRequestFilterSensitiveLog, DescribeAssessmentTargetsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeAssessmentTargetsCommand, serializeAws_json1_1DescribeAssessmentTargetsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeAssessmentTargetsCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeAssessmentTargetsCommand, _super);
|
|
8
|
+
function DescribeAssessmentTargetsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeAssessmentTargetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "InspectorClient";
|
|
18
|
+
var commandName = "DescribeAssessmentTargetsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeAssessmentTargetsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeAssessmentTargetsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeAssessmentTargetsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeAssessmentTargetsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeAssessmentTargetsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeAssessmentTargetsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeAssessmentTargetsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeAssessmentTargetsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeAssessmentTemplatesRequestFilterSensitiveLog, DescribeAssessmentTemplatesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeAssessmentTemplatesCommand, serializeAws_json1_1DescribeAssessmentTemplatesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeAssessmentTemplatesCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeAssessmentTemplatesCommand, _super);
|
|
8
|
+
function DescribeAssessmentTemplatesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeAssessmentTemplatesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "InspectorClient";
|
|
18
|
+
var commandName = "DescribeAssessmentTemplatesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeAssessmentTemplatesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeAssessmentTemplatesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeAssessmentTemplatesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeAssessmentTemplatesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeAssessmentTemplatesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeAssessmentTemplatesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeAssessmentTemplatesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeAssessmentTemplatesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeCrossAccountAccessRoleResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeCrossAccountAccessRoleCommand, serializeAws_json1_1DescribeCrossAccountAccessRoleCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeCrossAccountAccessRoleCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeCrossAccountAccessRoleCommand, _super);
|
|
8
|
+
function DescribeCrossAccountAccessRoleCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeCrossAccountAccessRoleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
20
|
-
inputFilterSensitiveLog: (input)
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "InspectorClient";
|
|
18
|
+
var commandName = "DescribeCrossAccountAccessRoleCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: function (input) { return input; },
|
|
21
24
|
outputFilterSensitiveLog: DescribeCrossAccountAccessRoleResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeCrossAccountAccessRoleCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeCrossAccountAccessRoleCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeCrossAccountAccessRoleCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeCrossAccountAccessRoleCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeCrossAccountAccessRoleCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeCrossAccountAccessRoleCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeExclusionsRequestFilterSensitiveLog, DescribeExclusionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeExclusionsCommand, serializeAws_json1_1DescribeExclusionsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeExclusionsCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeExclusionsCommand, _super);
|
|
8
|
+
function DescribeExclusionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeExclusionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "InspectorClient";
|
|
18
|
+
var commandName = "DescribeExclusionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeExclusionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeExclusionsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeExclusionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeExclusionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeExclusionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeExclusionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeExclusionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeExclusionsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeFindingsRequestFilterSensitiveLog, DescribeFindingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeFindingsCommand, serializeAws_json1_1DescribeFindingsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeFindingsCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeFindingsCommand, _super);
|
|
8
|
+
function DescribeFindingsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeFindingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "InspectorClient";
|
|
18
|
+
var commandName = "DescribeFindingsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeFindingsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeFindingsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeFindingsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeFindingsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeFindingsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeFindingsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeFindingsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeFindingsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeResourceGroupsRequestFilterSensitiveLog, DescribeResourceGroupsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeResourceGroupsCommand, serializeAws_json1_1DescribeResourceGroupsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeResourceGroupsCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeResourceGroupsCommand, _super);
|
|
8
|
+
function DescribeResourceGroupsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeResourceGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "InspectorClient";
|
|
18
|
+
var commandName = "DescribeResourceGroupsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeResourceGroupsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeResourceGroupsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeResourceGroupsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeResourceGroupsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeResourceGroupsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeResourceGroupsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeResourceGroupsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeResourceGroupsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeRulesPackagesRequestFilterSensitiveLog, DescribeRulesPackagesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeRulesPackagesCommand, serializeAws_json1_1DescribeRulesPackagesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeRulesPackagesCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeRulesPackagesCommand, _super);
|
|
8
|
+
function DescribeRulesPackagesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeRulesPackagesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "InspectorClient";
|
|
18
|
+
var commandName = "DescribeRulesPackagesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeRulesPackagesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeRulesPackagesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeRulesPackagesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeRulesPackagesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeRulesPackagesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeRulesPackagesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeRulesPackagesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeRulesPackagesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetAssessmentReportRequestFilterSensitiveLog, GetAssessmentReportResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetAssessmentReportCommand, serializeAws_json1_1GetAssessmentReportCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetAssessmentReportCommand = (function (_super) {
|
|
7
|
+
__extends(GetAssessmentReportCommand, _super);
|
|
8
|
+
function GetAssessmentReportCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetAssessmentReportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "InspectorClient";
|
|
18
|
+
var commandName = "GetAssessmentReportCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetAssessmentReportRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetAssessmentReportResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetAssessmentReportCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetAssessmentReportCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetAssessmentReportCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetAssessmentReportCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetAssessmentReportCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetAssessmentReportCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetExclusionsPreviewRequestFilterSensitiveLog, GetExclusionsPreviewResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetExclusionsPreviewCommand, serializeAws_json1_1GetExclusionsPreviewCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetExclusionsPreviewCommand = (function (_super) {
|
|
7
|
+
__extends(GetExclusionsPreviewCommand, _super);
|
|
8
|
+
function GetExclusionsPreviewCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetExclusionsPreviewCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "InspectorClient";
|
|
18
|
+
var commandName = "GetExclusionsPreviewCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetExclusionsPreviewRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetExclusionsPreviewResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetExclusionsPreviewCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetExclusionsPreviewCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetExclusionsPreviewCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetExclusionsPreviewCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetExclusionsPreviewCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetExclusionsPreviewCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetTelemetryMetadataRequestFilterSensitiveLog, GetTelemetryMetadataResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetTelemetryMetadataCommand, serializeAws_json1_1GetTelemetryMetadataCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetTelemetryMetadataCommand = (function (_super) {
|
|
7
|
+
__extends(GetTelemetryMetadataCommand, _super);
|
|
8
|
+
function GetTelemetryMetadataCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetTelemetryMetadataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "InspectorClient";
|
|
18
|
+
var commandName = "GetTelemetryMetadataCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetTelemetryMetadataRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetTelemetryMetadataResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetTelemetryMetadataCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetTelemetryMetadataCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetTelemetryMetadataCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetTelemetryMetadataCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetTelemetryMetadataCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetTelemetryMetadataCommand };
|