@aws-sdk/client-inspector 3.306.0 → 3.309.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/commands/AddAttributesToFindingsCommand.js +2 -2
- package/dist-cjs/commands/CreateAssessmentTargetCommand.js +2 -2
- package/dist-cjs/commands/CreateAssessmentTemplateCommand.js +2 -2
- package/dist-cjs/commands/CreateExclusionsPreviewCommand.js +2 -2
- package/dist-cjs/commands/CreateResourceGroupCommand.js +2 -2
- package/dist-cjs/commands/DeleteAssessmentRunCommand.js +2 -2
- package/dist-cjs/commands/DeleteAssessmentTargetCommand.js +2 -2
- package/dist-cjs/commands/DeleteAssessmentTemplateCommand.js +2 -2
- package/dist-cjs/commands/DescribeAssessmentRunsCommand.js +2 -2
- package/dist-cjs/commands/DescribeAssessmentTargetsCommand.js +2 -2
- package/dist-cjs/commands/DescribeAssessmentTemplatesCommand.js +2 -2
- package/dist-cjs/commands/DescribeCrossAccountAccessRoleCommand.js +2 -2
- package/dist-cjs/commands/DescribeExclusionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeFindingsCommand.js +2 -2
- package/dist-cjs/commands/DescribeResourceGroupsCommand.js +2 -2
- package/dist-cjs/commands/DescribeRulesPackagesCommand.js +2 -2
- package/dist-cjs/commands/GetAssessmentReportCommand.js +2 -2
- package/dist-cjs/commands/GetExclusionsPreviewCommand.js +2 -2
- package/dist-cjs/commands/GetTelemetryMetadataCommand.js +2 -2
- package/dist-cjs/commands/ListAssessmentRunAgentsCommand.js +2 -2
- package/dist-cjs/commands/ListAssessmentRunsCommand.js +2 -2
- package/dist-cjs/commands/ListAssessmentTargetsCommand.js +2 -2
- package/dist-cjs/commands/ListAssessmentTemplatesCommand.js +2 -2
- package/dist-cjs/commands/ListEventSubscriptionsCommand.js +2 -2
- package/dist-cjs/commands/ListExclusionsCommand.js +2 -2
- package/dist-cjs/commands/ListFindingsCommand.js +2 -2
- package/dist-cjs/commands/ListRulesPackagesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/PreviewAgentsCommand.js +2 -2
- package/dist-cjs/commands/RegisterCrossAccountAccessRoleCommand.js +2 -2
- package/dist-cjs/commands/RemoveAttributesFromFindingsCommand.js +2 -2
- package/dist-cjs/commands/SetTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/StartAssessmentRunCommand.js +2 -2
- package/dist-cjs/commands/StopAssessmentRunCommand.js +2 -2
- package/dist-cjs/commands/SubscribeToEventCommand.js +2 -2
- package/dist-cjs/commands/UnsubscribeFromEventCommand.js +2 -2
- package/dist-cjs/commands/UpdateAssessmentTargetCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +757 -823
- package/dist-es/commands/AddAttributesToFindingsCommand.js +3 -3
- package/dist-es/commands/CreateAssessmentTargetCommand.js +3 -3
- package/dist-es/commands/CreateAssessmentTemplateCommand.js +3 -3
- package/dist-es/commands/CreateExclusionsPreviewCommand.js +3 -3
- package/dist-es/commands/CreateResourceGroupCommand.js +3 -3
- package/dist-es/commands/DeleteAssessmentRunCommand.js +3 -3
- package/dist-es/commands/DeleteAssessmentTargetCommand.js +3 -3
- package/dist-es/commands/DeleteAssessmentTemplateCommand.js +3 -3
- package/dist-es/commands/DescribeAssessmentRunsCommand.js +3 -3
- package/dist-es/commands/DescribeAssessmentTargetsCommand.js +3 -3
- package/dist-es/commands/DescribeAssessmentTemplatesCommand.js +3 -3
- package/dist-es/commands/DescribeCrossAccountAccessRoleCommand.js +3 -3
- package/dist-es/commands/DescribeExclusionsCommand.js +3 -3
- package/dist-es/commands/DescribeFindingsCommand.js +3 -3
- package/dist-es/commands/DescribeResourceGroupsCommand.js +3 -3
- package/dist-es/commands/DescribeRulesPackagesCommand.js +3 -3
- package/dist-es/commands/GetAssessmentReportCommand.js +3 -3
- package/dist-es/commands/GetExclusionsPreviewCommand.js +3 -3
- package/dist-es/commands/GetTelemetryMetadataCommand.js +3 -3
- package/dist-es/commands/ListAssessmentRunAgentsCommand.js +3 -3
- package/dist-es/commands/ListAssessmentRunsCommand.js +3 -3
- package/dist-es/commands/ListAssessmentTargetsCommand.js +3 -3
- package/dist-es/commands/ListAssessmentTemplatesCommand.js +3 -3
- package/dist-es/commands/ListEventSubscriptionsCommand.js +3 -3
- package/dist-es/commands/ListExclusionsCommand.js +3 -3
- package/dist-es/commands/ListFindingsCommand.js +3 -3
- package/dist-es/commands/ListRulesPackagesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/PreviewAgentsCommand.js +3 -3
- package/dist-es/commands/RegisterCrossAccountAccessRoleCommand.js +3 -3
- package/dist-es/commands/RemoveAttributesFromFindingsCommand.js +3 -3
- package/dist-es/commands/SetTagsForResourceCommand.js +3 -3
- package/dist-es/commands/StartAssessmentRunCommand.js +3 -3
- package/dist-es/commands/StopAssessmentRunCommand.js +3 -3
- package/dist-es/commands/SubscribeToEventCommand.js +3 -3
- package/dist-es/commands/UnsubscribeFromEventCommand.js +3 -3
- package/dist-es/commands/UpdateAssessmentTargetCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +681 -747
- package/dist-types/protocols/Aws_json1_1.d.ts +296 -74
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +74 -74
- package/package.json +6 -6
|
@@ -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 {
|
|
4
|
+
import { de_PreviewAgentsCommand, se_PreviewAgentsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class PreviewAgentsCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class PreviewAgentsCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_PreviewAgentsCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_PreviewAgentsCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -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 {
|
|
4
|
+
import { de_RegisterCrossAccountAccessRoleCommand, se_RegisterCrossAccountAccessRoleCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class RegisterCrossAccountAccessRoleCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class RegisterCrossAccountAccessRoleCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_RegisterCrossAccountAccessRoleCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_RegisterCrossAccountAccessRoleCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -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 {
|
|
4
|
+
import { de_RemoveAttributesFromFindingsCommand, se_RemoveAttributesFromFindingsCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class RemoveAttributesFromFindingsCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class RemoveAttributesFromFindingsCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_RemoveAttributesFromFindingsCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_RemoveAttributesFromFindingsCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -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 {
|
|
4
|
+
import { de_SetTagsForResourceCommand, se_SetTagsForResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class SetTagsForResourceCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class SetTagsForResourceCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_SetTagsForResourceCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_SetTagsForResourceCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -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 {
|
|
4
|
+
import { de_StartAssessmentRunCommand, se_StartAssessmentRunCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class StartAssessmentRunCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class StartAssessmentRunCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_StartAssessmentRunCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_StartAssessmentRunCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -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 {
|
|
4
|
+
import { de_StopAssessmentRunCommand, se_StopAssessmentRunCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class StopAssessmentRunCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class StopAssessmentRunCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_StopAssessmentRunCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_StopAssessmentRunCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -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 {
|
|
4
|
+
import { de_SubscribeToEventCommand, se_SubscribeToEventCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class SubscribeToEventCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class SubscribeToEventCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_SubscribeToEventCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_SubscribeToEventCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -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 {
|
|
4
|
+
import { de_UnsubscribeFromEventCommand, se_UnsubscribeFromEventCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class UnsubscribeFromEventCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UnsubscribeFromEventCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UnsubscribeFromEventCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UnsubscribeFromEventCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -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 {
|
|
4
|
+
import { de_UpdateAssessmentTargetCommand, se_UpdateAssessmentTargetCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class UpdateAssessmentTargetCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateAssessmentTargetCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateAssessmentTargetCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateAssessmentTargetCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|