@aws-sdk/client-inspector2 3.54.0 → 3.56.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 (51) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/Inspector2Client.js +13 -13
  3. package/dist-cjs/commands/AssociateMemberCommand.js +3 -3
  4. package/dist-cjs/commands/BatchGetAccountStatusCommand.js +3 -3
  5. package/dist-cjs/commands/BatchGetFreeTrialInfoCommand.js +3 -3
  6. package/dist-cjs/commands/CancelFindingsReportCommand.js +3 -3
  7. package/dist-cjs/commands/CreateFilterCommand.js +3 -3
  8. package/dist-cjs/commands/CreateFindingsReportCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteFilterCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +3 -3
  11. package/dist-cjs/commands/DisableCommand.js +3 -3
  12. package/dist-cjs/commands/DisableDelegatedAdminAccountCommand.js +3 -3
  13. package/dist-cjs/commands/DisassociateMemberCommand.js +3 -3
  14. package/dist-cjs/commands/EnableCommand.js +3 -3
  15. package/dist-cjs/commands/EnableDelegatedAdminAccountCommand.js +3 -3
  16. package/dist-cjs/commands/GetDelegatedAdminAccountCommand.js +3 -3
  17. package/dist-cjs/commands/GetFindingsReportStatusCommand.js +3 -3
  18. package/dist-cjs/commands/GetMemberCommand.js +3 -3
  19. package/dist-cjs/commands/ListAccountPermissionsCommand.js +3 -3
  20. package/dist-cjs/commands/ListCoverageCommand.js +3 -3
  21. package/dist-cjs/commands/ListCoverageStatisticsCommand.js +3 -3
  22. package/dist-cjs/commands/ListDelegatedAdminAccountsCommand.js +3 -3
  23. package/dist-cjs/commands/ListFiltersCommand.js +3 -3
  24. package/dist-cjs/commands/ListFindingAggregationsCommand.js +3 -3
  25. package/dist-cjs/commands/ListFindingsCommand.js +3 -3
  26. package/dist-cjs/commands/ListMembersCommand.js +3 -3
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  28. package/dist-cjs/commands/ListUsageTotalsCommand.js +3 -3
  29. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  30. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  31. package/dist-cjs/commands/UpdateFilterCommand.js +3 -3
  32. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +3 -3
  33. package/dist-cjs/endpoints.js +1 -1
  34. package/dist-cjs/protocols/Aws_restJson1.js +287 -287
  35. package/dist-cjs/runtimeConfig.browser.js +4 -4
  36. package/dist-cjs/runtimeConfig.js +9 -9
  37. package/dist-cjs/runtimeConfig.native.js +1 -1
  38. package/dist-es/Inspector2.js +30 -30
  39. package/dist-es/pagination/ListAccountPermissionsPaginator.js +4 -4
  40. package/dist-es/pagination/ListCoveragePaginator.js +4 -4
  41. package/dist-es/pagination/ListCoverageStatisticsPaginator.js +4 -4
  42. package/dist-es/pagination/ListDelegatedAdminAccountsPaginator.js +4 -4
  43. package/dist-es/pagination/ListFiltersPaginator.js +4 -4
  44. package/dist-es/pagination/ListFindingAggregationsPaginator.js +4 -4
  45. package/dist-es/pagination/ListFindingsPaginator.js +4 -4
  46. package/dist-es/pagination/ListMembersPaginator.js +4 -4
  47. package/dist-es/pagination/ListUsageTotalsPaginator.js +4 -4
  48. package/dist-es/protocols/Aws_restJson1.js +30 -30
  49. package/dist-types/runtimeConfig.native.d.ts +2 -2
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  51. package/package.json +34 -34
@@ -11,7 +11,7 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "Inspector2Client";
@@ -27,10 +27,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -11,7 +11,7 @@ class ListUsageTotalsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "Inspector2Client";
@@ -27,10 +27,10 @@ class ListUsageTotalsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListUsageTotalsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListUsageTotalsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListUsageTotalsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListUsageTotalsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListUsageTotalsCommand = ListUsageTotalsCommand;
@@ -11,7 +11,7 @@ class TagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "Inspector2Client";
@@ -27,10 +27,10 @@ class TagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1TagResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.TagResourceCommand = TagResourceCommand;
@@ -11,7 +11,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "Inspector2Client";
@@ -27,10 +27,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -11,7 +11,7 @@ class UpdateFilterCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "Inspector2Client";
@@ -27,10 +27,10 @@ class UpdateFilterCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UpdateFilterCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateFilterCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateFilterCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateFilterCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateFilterCommand = UpdateFilterCommand;
@@ -11,7 +11,7 @@ class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "Inspector2Client";
@@ -27,10 +27,10 @@ class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UpdateOrganizationConfigurationCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateOrganizationConfigurationCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateOrganizationConfigurationCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateOrganizationConfigurationCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateOrganizationConfigurationCommand = UpdateOrganizationConfigurationCommand;
@@ -122,7 +122,7 @@ const partitionHash = {
122
122
  ],
123
123
  },
124
124
  };
125
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
125
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
126
126
  ...options,
127
127
  signingService: "inspector2",
128
128
  regionHash,