@aws-sdk/client-inspector 3.294.0 → 3.295.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/dist-cjs/commands/AddAttributesToFindingsCommand.js +4 -4
  2. package/dist-cjs/commands/CreateAssessmentTargetCommand.js +4 -4
  3. package/dist-cjs/commands/CreateAssessmentTemplateCommand.js +4 -4
  4. package/dist-cjs/commands/CreateExclusionsPreviewCommand.js +4 -4
  5. package/dist-cjs/commands/CreateResourceGroupCommand.js +4 -4
  6. package/dist-cjs/commands/DeleteAssessmentRunCommand.js +4 -4
  7. package/dist-cjs/commands/DeleteAssessmentTargetCommand.js +4 -4
  8. package/dist-cjs/commands/DeleteAssessmentTemplateCommand.js +4 -4
  9. package/dist-cjs/commands/DescribeAssessmentRunsCommand.js +4 -4
  10. package/dist-cjs/commands/DescribeAssessmentTargetsCommand.js +4 -4
  11. package/dist-cjs/commands/DescribeAssessmentTemplatesCommand.js +4 -4
  12. package/dist-cjs/commands/DescribeCrossAccountAccessRoleCommand.js +4 -4
  13. package/dist-cjs/commands/DescribeExclusionsCommand.js +4 -4
  14. package/dist-cjs/commands/DescribeFindingsCommand.js +4 -4
  15. package/dist-cjs/commands/DescribeResourceGroupsCommand.js +4 -4
  16. package/dist-cjs/commands/DescribeRulesPackagesCommand.js +4 -4
  17. package/dist-cjs/commands/GetAssessmentReportCommand.js +4 -4
  18. package/dist-cjs/commands/GetExclusionsPreviewCommand.js +4 -4
  19. package/dist-cjs/commands/GetTelemetryMetadataCommand.js +4 -4
  20. package/dist-cjs/commands/ListAssessmentRunAgentsCommand.js +4 -4
  21. package/dist-cjs/commands/ListAssessmentRunsCommand.js +4 -4
  22. package/dist-cjs/commands/ListAssessmentTargetsCommand.js +4 -4
  23. package/dist-cjs/commands/ListAssessmentTemplatesCommand.js +4 -4
  24. package/dist-cjs/commands/ListEventSubscriptionsCommand.js +4 -4
  25. package/dist-cjs/commands/ListExclusionsCommand.js +4 -4
  26. package/dist-cjs/commands/ListFindingsCommand.js +4 -4
  27. package/dist-cjs/commands/ListRulesPackagesCommand.js +4 -4
  28. package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
  29. package/dist-cjs/commands/PreviewAgentsCommand.js +4 -4
  30. package/dist-cjs/commands/RegisterCrossAccountAccessRoleCommand.js +4 -4
  31. package/dist-cjs/commands/RemoveAttributesFromFindingsCommand.js +4 -4
  32. package/dist-cjs/commands/SetTagsForResourceCommand.js +4 -4
  33. package/dist-cjs/commands/StartAssessmentRunCommand.js +4 -4
  34. package/dist-cjs/commands/StopAssessmentRunCommand.js +4 -4
  35. package/dist-cjs/commands/SubscribeToEventCommand.js +4 -4
  36. package/dist-cjs/commands/UnsubscribeFromEventCommand.js +4 -4
  37. package/dist-cjs/commands/UpdateAssessmentTargetCommand.js +4 -4
  38. package/dist-es/commands/AddAttributesToFindingsCommand.js +4 -4
  39. package/dist-es/commands/CreateAssessmentTargetCommand.js +4 -4
  40. package/dist-es/commands/CreateAssessmentTemplateCommand.js +4 -4
  41. package/dist-es/commands/CreateExclusionsPreviewCommand.js +4 -4
  42. package/dist-es/commands/CreateResourceGroupCommand.js +4 -4
  43. package/dist-es/commands/DeleteAssessmentRunCommand.js +4 -4
  44. package/dist-es/commands/DeleteAssessmentTargetCommand.js +4 -4
  45. package/dist-es/commands/DeleteAssessmentTemplateCommand.js +4 -4
  46. package/dist-es/commands/DescribeAssessmentRunsCommand.js +4 -4
  47. package/dist-es/commands/DescribeAssessmentTargetsCommand.js +4 -4
  48. package/dist-es/commands/DescribeAssessmentTemplatesCommand.js +4 -4
  49. package/dist-es/commands/DescribeCrossAccountAccessRoleCommand.js +4 -4
  50. package/dist-es/commands/DescribeExclusionsCommand.js +4 -4
  51. package/dist-es/commands/DescribeFindingsCommand.js +4 -4
  52. package/dist-es/commands/DescribeResourceGroupsCommand.js +4 -4
  53. package/dist-es/commands/DescribeRulesPackagesCommand.js +4 -4
  54. package/dist-es/commands/GetAssessmentReportCommand.js +4 -4
  55. package/dist-es/commands/GetExclusionsPreviewCommand.js +4 -4
  56. package/dist-es/commands/GetTelemetryMetadataCommand.js +4 -4
  57. package/dist-es/commands/ListAssessmentRunAgentsCommand.js +4 -4
  58. package/dist-es/commands/ListAssessmentRunsCommand.js +4 -4
  59. package/dist-es/commands/ListAssessmentTargetsCommand.js +4 -4
  60. package/dist-es/commands/ListAssessmentTemplatesCommand.js +4 -4
  61. package/dist-es/commands/ListEventSubscriptionsCommand.js +4 -4
  62. package/dist-es/commands/ListExclusionsCommand.js +4 -4
  63. package/dist-es/commands/ListFindingsCommand.js +4 -4
  64. package/dist-es/commands/ListRulesPackagesCommand.js +4 -4
  65. package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
  66. package/dist-es/commands/PreviewAgentsCommand.js +4 -4
  67. package/dist-es/commands/RegisterCrossAccountAccessRoleCommand.js +4 -4
  68. package/dist-es/commands/RemoveAttributesFromFindingsCommand.js +4 -4
  69. package/dist-es/commands/SetTagsForResourceCommand.js +4 -4
  70. package/dist-es/commands/StartAssessmentRunCommand.js +4 -4
  71. package/dist-es/commands/StopAssessmentRunCommand.js +4 -4
  72. package/dist-es/commands/SubscribeToEventCommand.js +4 -4
  73. package/dist-es/commands/UnsubscribeFromEventCommand.js +4 -4
  74. package/dist-es/commands/UpdateAssessmentTargetCommand.js +4 -4
  75. package/dist-types/InspectorClient.d.ts +4 -4
  76. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  77. package/dist-types/ts3.4/InspectorClient.d.ts +4 -4
  78. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
  79. package/package.json +36 -36
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListAssessmentRunAgentsRequestFilterSensitiveLog, ListAssessmentRunAgentsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListAssessmentRunAgentsCommand, serializeAws_json1_1ListAssessmentRunAgentsCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListAssessmentRunAgentsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListAssessmentRunAgentsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListAssessmentRunAgentsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListAssessmentRunsRequestFilterSensitiveLog, ListAssessmentRunsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListAssessmentRunsCommand, serializeAws_json1_1ListAssessmentRunsCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListAssessmentRunsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListAssessmentRunsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListAssessmentRunsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListAssessmentTargetsRequestFilterSensitiveLog, ListAssessmentTargetsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListAssessmentTargetsCommand, serializeAws_json1_1ListAssessmentTargetsCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListAssessmentTargetsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListAssessmentTargetsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListAssessmentTargetsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListAssessmentTemplatesRequestFilterSensitiveLog, ListAssessmentTemplatesResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListAssessmentTemplatesCommand, serializeAws_json1_1ListAssessmentTemplatesCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListAssessmentTemplatesCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListAssessmentTemplatesCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListAssessmentTemplatesCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListEventSubscriptionsRequestFilterSensitiveLog, ListEventSubscriptionsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListEventSubscriptionsCommand, serializeAws_json1_1ListEventSubscriptionsCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListEventSubscriptionsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListEventSubscriptionsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListEventSubscriptionsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListExclusionsRequestFilterSensitiveLog, ListExclusionsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListExclusionsCommand, serializeAws_json1_1ListExclusionsCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListExclusionsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListExclusionsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListExclusionsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListFindingsRequestFilterSensitiveLog, ListFindingsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListFindingsCommand, serializeAws_json1_1ListFindingsCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListFindingsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListFindingsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListFindingsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListRulesPackagesRequestFilterSensitiveLog, ListRulesPackagesResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListRulesPackagesCommand, serializeAws_json1_1ListRulesPackagesCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListRulesPackagesCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListRulesPackagesCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListRulesPackagesCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListTagsForResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListTagsForResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { PreviewAgentsRequestFilterSensitiveLog, PreviewAgentsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1PreviewAgentsCommand, serializeAws_json1_1PreviewAgentsCommand, } from "../protocols/Aws_json1_1";
6
6
  export class PreviewAgentsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class PreviewAgentsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, PreviewAgentsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { RegisterCrossAccountAccessRoleRequestFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1RegisterCrossAccountAccessRoleCommand, serializeAws_json1_1RegisterCrossAccountAccessRoleCommand, } from "../protocols/Aws_json1_1";
6
6
  export class RegisterCrossAccountAccessRoleCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class RegisterCrossAccountAccessRoleCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, RegisterCrossAccountAccessRoleCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { RemoveAttributesFromFindingsRequestFilterSensitiveLog, RemoveAttributesFromFindingsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1RemoveAttributesFromFindingsCommand, serializeAws_json1_1RemoveAttributesFromFindingsCommand, } from "../protocols/Aws_json1_1";
6
6
  export class RemoveAttributesFromFindingsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class RemoveAttributesFromFindingsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, RemoveAttributesFromFindingsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { SetTagsForResourceRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_json1_1SetTagsForResourceCommand, serializeAws_json1_1SetTagsForResourceCommand, } from "../protocols/Aws_json1_1";
6
6
  export class SetTagsForResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class SetTagsForResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, SetTagsForResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { StartAssessmentRunRequestFilterSensitiveLog, StartAssessmentRunResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1StartAssessmentRunCommand, serializeAws_json1_1StartAssessmentRunCommand, } from "../protocols/Aws_json1_1";
6
6
  export class StartAssessmentRunCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class StartAssessmentRunCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, StartAssessmentRunCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { StopAssessmentRunRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_json1_1StopAssessmentRunCommand, serializeAws_json1_1StopAssessmentRunCommand, } from "../protocols/Aws_json1_1";
6
6
  export class StopAssessmentRunCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class StopAssessmentRunCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, StopAssessmentRunCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { SubscribeToEventRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_json1_1SubscribeToEventCommand, serializeAws_json1_1SubscribeToEventCommand, } from "../protocols/Aws_json1_1";
6
6
  export class SubscribeToEventCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class SubscribeToEventCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, SubscribeToEventCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UnsubscribeFromEventRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UnsubscribeFromEventCommand, serializeAws_json1_1UnsubscribeFromEventCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UnsubscribeFromEventCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UnsubscribeFromEventCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UnsubscribeFromEventCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateAssessmentTargetRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdateAssessmentTargetCommand, serializeAws_json1_1UpdateAssessmentTargetCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UpdateAssessmentTargetCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateAssessmentTargetCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAssessmentTargetCommand.getEndpointParameterInstructions()));
@@ -45,8 +45,8 @@ import { SubscribeToEventCommandInput, SubscribeToEventCommandOutput } from "./c
45
45
  import { UnsubscribeFromEventCommandInput, UnsubscribeFromEventCommandOutput } from "./commands/UnsubscribeFromEventCommand";
46
46
  import { UpdateAssessmentTargetCommandInput, UpdateAssessmentTargetCommandOutput } from "./commands/UpdateAssessmentTargetCommand";
47
47
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
48
- export declare type ServiceInputTypes = AddAttributesToFindingsCommandInput | CreateAssessmentTargetCommandInput | CreateAssessmentTemplateCommandInput | CreateExclusionsPreviewCommandInput | CreateResourceGroupCommandInput | DeleteAssessmentRunCommandInput | DeleteAssessmentTargetCommandInput | DeleteAssessmentTemplateCommandInput | DescribeAssessmentRunsCommandInput | DescribeAssessmentTargetsCommandInput | DescribeAssessmentTemplatesCommandInput | DescribeCrossAccountAccessRoleCommandInput | DescribeExclusionsCommandInput | DescribeFindingsCommandInput | DescribeResourceGroupsCommandInput | DescribeRulesPackagesCommandInput | GetAssessmentReportCommandInput | GetExclusionsPreviewCommandInput | GetTelemetryMetadataCommandInput | ListAssessmentRunAgentsCommandInput | ListAssessmentRunsCommandInput | ListAssessmentTargetsCommandInput | ListAssessmentTemplatesCommandInput | ListEventSubscriptionsCommandInput | ListExclusionsCommandInput | ListFindingsCommandInput | ListRulesPackagesCommandInput | ListTagsForResourceCommandInput | PreviewAgentsCommandInput | RegisterCrossAccountAccessRoleCommandInput | RemoveAttributesFromFindingsCommandInput | SetTagsForResourceCommandInput | StartAssessmentRunCommandInput | StopAssessmentRunCommandInput | SubscribeToEventCommandInput | UnsubscribeFromEventCommandInput | UpdateAssessmentTargetCommandInput;
49
- export declare type ServiceOutputTypes = AddAttributesToFindingsCommandOutput | CreateAssessmentTargetCommandOutput | CreateAssessmentTemplateCommandOutput | CreateExclusionsPreviewCommandOutput | CreateResourceGroupCommandOutput | DeleteAssessmentRunCommandOutput | DeleteAssessmentTargetCommandOutput | DeleteAssessmentTemplateCommandOutput | DescribeAssessmentRunsCommandOutput | DescribeAssessmentTargetsCommandOutput | DescribeAssessmentTemplatesCommandOutput | DescribeCrossAccountAccessRoleCommandOutput | DescribeExclusionsCommandOutput | DescribeFindingsCommandOutput | DescribeResourceGroupsCommandOutput | DescribeRulesPackagesCommandOutput | GetAssessmentReportCommandOutput | GetExclusionsPreviewCommandOutput | GetTelemetryMetadataCommandOutput | ListAssessmentRunAgentsCommandOutput | ListAssessmentRunsCommandOutput | ListAssessmentTargetsCommandOutput | ListAssessmentTemplatesCommandOutput | ListEventSubscriptionsCommandOutput | ListExclusionsCommandOutput | ListFindingsCommandOutput | ListRulesPackagesCommandOutput | ListTagsForResourceCommandOutput | PreviewAgentsCommandOutput | RegisterCrossAccountAccessRoleCommandOutput | RemoveAttributesFromFindingsCommandOutput | SetTagsForResourceCommandOutput | StartAssessmentRunCommandOutput | StopAssessmentRunCommandOutput | SubscribeToEventCommandOutput | UnsubscribeFromEventCommandOutput | UpdateAssessmentTargetCommandOutput;
48
+ export type ServiceInputTypes = AddAttributesToFindingsCommandInput | CreateAssessmentTargetCommandInput | CreateAssessmentTemplateCommandInput | CreateExclusionsPreviewCommandInput | CreateResourceGroupCommandInput | DeleteAssessmentRunCommandInput | DeleteAssessmentTargetCommandInput | DeleteAssessmentTemplateCommandInput | DescribeAssessmentRunsCommandInput | DescribeAssessmentTargetsCommandInput | DescribeAssessmentTemplatesCommandInput | DescribeCrossAccountAccessRoleCommandInput | DescribeExclusionsCommandInput | DescribeFindingsCommandInput | DescribeResourceGroupsCommandInput | DescribeRulesPackagesCommandInput | GetAssessmentReportCommandInput | GetExclusionsPreviewCommandInput | GetTelemetryMetadataCommandInput | ListAssessmentRunAgentsCommandInput | ListAssessmentRunsCommandInput | ListAssessmentTargetsCommandInput | ListAssessmentTemplatesCommandInput | ListEventSubscriptionsCommandInput | ListExclusionsCommandInput | ListFindingsCommandInput | ListRulesPackagesCommandInput | ListTagsForResourceCommandInput | PreviewAgentsCommandInput | RegisterCrossAccountAccessRoleCommandInput | RemoveAttributesFromFindingsCommandInput | SetTagsForResourceCommandInput | StartAssessmentRunCommandInput | StopAssessmentRunCommandInput | SubscribeToEventCommandInput | UnsubscribeFromEventCommandInput | UpdateAssessmentTargetCommandInput;
49
+ export type ServiceOutputTypes = AddAttributesToFindingsCommandOutput | CreateAssessmentTargetCommandOutput | CreateAssessmentTemplateCommandOutput | CreateExclusionsPreviewCommandOutput | CreateResourceGroupCommandOutput | DeleteAssessmentRunCommandOutput | DeleteAssessmentTargetCommandOutput | DeleteAssessmentTemplateCommandOutput | DescribeAssessmentRunsCommandOutput | DescribeAssessmentTargetsCommandOutput | DescribeAssessmentTemplatesCommandOutput | DescribeCrossAccountAccessRoleCommandOutput | DescribeExclusionsCommandOutput | DescribeFindingsCommandOutput | DescribeResourceGroupsCommandOutput | DescribeRulesPackagesCommandOutput | GetAssessmentReportCommandOutput | GetExclusionsPreviewCommandOutput | GetTelemetryMetadataCommandOutput | ListAssessmentRunAgentsCommandOutput | ListAssessmentRunsCommandOutput | ListAssessmentTargetsCommandOutput | ListAssessmentTemplatesCommandOutput | ListEventSubscriptionsCommandOutput | ListExclusionsCommandOutput | ListFindingsCommandOutput | ListRulesPackagesCommandOutput | ListTagsForResourceCommandOutput | PreviewAgentsCommandOutput | RegisterCrossAccountAccessRoleCommandOutput | RemoveAttributesFromFindingsCommandOutput | SetTagsForResourceCommandOutput | StartAssessmentRunCommandOutput | StopAssessmentRunCommandOutput | SubscribeToEventCommandOutput | UnsubscribeFromEventCommandOutput | UpdateAssessmentTargetCommandOutput;
50
50
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
51
51
  /**
52
52
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -147,13 +147,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
147
147
  */
148
148
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
149
149
  }
150
- declare type InspectorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
150
+ type InspectorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
151
151
  /**
152
152
  * The configuration interface of InspectorClient class constructor that set the region, credentials and other options.
153
153
  */
154
154
  export interface InspectorClientConfig extends InspectorClientConfigType {
155
155
  }
156
- declare type InspectorClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
156
+ type InspectorClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
157
157
  /**
158
158
  * The resolved configuration interface of InspectorClient class. This is resolved and normalized from the {@link InspectorClientConfig | constructor configuration interface}.
159
159
  */
@@ -5,7 +5,7 @@ export interface ClientInputEndpointParameters {
5
5
  useFipsEndpoint?: boolean | Provider<boolean>;
6
6
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
7
7
  }
8
- export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
8
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
9
  defaultSigningName: string;
10
10
  };
11
11
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
@@ -197,7 +197,7 @@ import {
197
197
  ClientResolvedEndpointParameters,
198
198
  EndpointParameters,
199
199
  } from "./endpoint/EndpointParameters";
200
- export declare type ServiceInputTypes =
200
+ export type ServiceInputTypes =
201
201
  | AddAttributesToFindingsCommandInput
202
202
  | CreateAssessmentTargetCommandInput
203
203
  | CreateAssessmentTemplateCommandInput
@@ -235,7 +235,7 @@ export declare type ServiceInputTypes =
235
235
  | SubscribeToEventCommandInput
236
236
  | UnsubscribeFromEventCommandInput
237
237
  | UpdateAssessmentTargetCommandInput;
238
- export declare type ServiceOutputTypes =
238
+ export type ServiceOutputTypes =
239
239
  | AddAttributesToFindingsCommandOutput
240
240
  | CreateAssessmentTargetCommandOutput
241
241
  | CreateAssessmentTemplateCommandOutput
@@ -297,7 +297,7 @@ export interface ClientDefaults
297
297
  logger?: __Logger;
298
298
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
299
299
  }
300
- declare type InspectorClientConfigType = Partial<
300
+ type InspectorClientConfigType = Partial<
301
301
  __SmithyConfiguration<__HttpHandlerOptions>
302
302
  > &
303
303
  ClientDefaults &
@@ -309,7 +309,7 @@ declare type InspectorClientConfigType = Partial<
309
309
  UserAgentInputConfig &
310
310
  ClientInputEndpointParameters;
311
311
  export interface InspectorClientConfig extends InspectorClientConfigType {}
312
- declare type InspectorClientResolvedConfigType =
312
+ type InspectorClientResolvedConfigType =
313
313
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
314
314
  Required<ClientDefaults> &
315
315
  RegionResolvedConfig &
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export declare type ClientResolvedEndpointParameters =
20
- ClientInputEndpointParameters & {
21
- defaultSigningName: string;
22
- };
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
23
22
  export declare const resolveClientEndpointParameters: <T>(
24
23
  options: T & ClientInputEndpointParameters
25
24
  ) => T &
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-inspector",
3
3
  "description": "AWS SDK for JavaScript Inspector Client for Node.js, Browser and React Native",
4
- "version": "3.294.0",
4
+ "version": "3.295.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,49 +20,49 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.294.0",
24
- "@aws-sdk/config-resolver": "3.292.0",
25
- "@aws-sdk/credential-provider-node": "3.294.0",
26
- "@aws-sdk/fetch-http-handler": "3.292.0",
27
- "@aws-sdk/hash-node": "3.292.0",
28
- "@aws-sdk/invalid-dependency": "3.292.0",
29
- "@aws-sdk/middleware-content-length": "3.292.0",
30
- "@aws-sdk/middleware-endpoint": "3.292.0",
31
- "@aws-sdk/middleware-host-header": "3.292.0",
32
- "@aws-sdk/middleware-logger": "3.292.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
- "@aws-sdk/middleware-retry": "3.293.0",
35
- "@aws-sdk/middleware-serde": "3.292.0",
36
- "@aws-sdk/middleware-signing": "3.292.0",
37
- "@aws-sdk/middleware-stack": "3.292.0",
38
- "@aws-sdk/middleware-user-agent": "3.293.0",
39
- "@aws-sdk/node-config-provider": "3.292.0",
40
- "@aws-sdk/node-http-handler": "3.292.0",
41
- "@aws-sdk/protocol-http": "3.292.0",
42
- "@aws-sdk/smithy-client": "3.292.0",
43
- "@aws-sdk/types": "3.292.0",
44
- "@aws-sdk/url-parser": "3.292.0",
45
- "@aws-sdk/util-base64": "3.292.0",
46
- "@aws-sdk/util-body-length-browser": "3.292.0",
47
- "@aws-sdk/util-body-length-node": "3.292.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
- "@aws-sdk/util-endpoints": "3.293.0",
51
- "@aws-sdk/util-retry": "3.292.0",
52
- "@aws-sdk/util-user-agent-browser": "3.292.0",
53
- "@aws-sdk/util-user-agent-node": "3.292.0",
54
- "@aws-sdk/util-utf8": "3.292.0",
55
- "tslib": "^2.3.1"
23
+ "@aws-sdk/client-sts": "3.295.0",
24
+ "@aws-sdk/config-resolver": "3.295.0",
25
+ "@aws-sdk/credential-provider-node": "3.295.0",
26
+ "@aws-sdk/fetch-http-handler": "3.295.0",
27
+ "@aws-sdk/hash-node": "3.295.0",
28
+ "@aws-sdk/invalid-dependency": "3.295.0",
29
+ "@aws-sdk/middleware-content-length": "3.295.0",
30
+ "@aws-sdk/middleware-endpoint": "3.295.0",
31
+ "@aws-sdk/middleware-host-header": "3.295.0",
32
+ "@aws-sdk/middleware-logger": "3.295.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.295.0",
34
+ "@aws-sdk/middleware-retry": "3.295.0",
35
+ "@aws-sdk/middleware-serde": "3.295.0",
36
+ "@aws-sdk/middleware-signing": "3.295.0",
37
+ "@aws-sdk/middleware-stack": "3.295.0",
38
+ "@aws-sdk/middleware-user-agent": "3.295.0",
39
+ "@aws-sdk/node-config-provider": "3.295.0",
40
+ "@aws-sdk/node-http-handler": "3.295.0",
41
+ "@aws-sdk/protocol-http": "3.295.0",
42
+ "@aws-sdk/smithy-client": "3.295.0",
43
+ "@aws-sdk/types": "3.295.0",
44
+ "@aws-sdk/url-parser": "3.295.0",
45
+ "@aws-sdk/util-base64": "3.295.0",
46
+ "@aws-sdk/util-body-length-browser": "3.295.0",
47
+ "@aws-sdk/util-body-length-node": "3.295.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.295.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.295.0",
50
+ "@aws-sdk/util-endpoints": "3.295.0",
51
+ "@aws-sdk/util-retry": "3.295.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.295.0",
53
+ "@aws-sdk/util-user-agent-node": "3.295.0",
54
+ "@aws-sdk/util-utf8": "3.295.0",
55
+ "tslib": "^2.5.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@aws-sdk/service-client-documentation-generator": "3.293.0",
58
+ "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
59
  "@tsconfig/node14": "1.0.3",
60
60
  "@types/node": "^14.14.31",
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "rimraf": "3.0.2",
64
64
  "typedoc": "0.23.23",
65
- "typescript": "~4.6.2"
65
+ "typescript": "~4.9.5"
66
66
  },
67
67
  "engines": {
68
68
  "node": ">=14.0.0"