@aws-sdk/client-inspector2 3.413.0 → 3.418.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 (97) hide show
  1. package/dist-cjs/commands/AssociateMemberCommand.js +5 -0
  2. package/dist-cjs/commands/BatchGetAccountStatusCommand.js +5 -0
  3. package/dist-cjs/commands/BatchGetCodeSnippetCommand.js +5 -0
  4. package/dist-cjs/commands/BatchGetFindingDetailsCommand.js +5 -0
  5. package/dist-cjs/commands/BatchGetFreeTrialInfoCommand.js +5 -0
  6. package/dist-cjs/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +5 -0
  7. package/dist-cjs/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +5 -0
  8. package/dist-cjs/commands/CancelFindingsReportCommand.js +5 -0
  9. package/dist-cjs/commands/CancelSbomExportCommand.js +5 -0
  10. package/dist-cjs/commands/CreateFilterCommand.js +5 -0
  11. package/dist-cjs/commands/CreateFindingsReportCommand.js +5 -0
  12. package/dist-cjs/commands/CreateSbomExportCommand.js +5 -0
  13. package/dist-cjs/commands/DeleteFilterCommand.js +5 -0
  14. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +5 -0
  15. package/dist-cjs/commands/DisableCommand.js +5 -0
  16. package/dist-cjs/commands/DisableDelegatedAdminAccountCommand.js +5 -0
  17. package/dist-cjs/commands/DisassociateMemberCommand.js +5 -0
  18. package/dist-cjs/commands/EnableCommand.js +5 -0
  19. package/dist-cjs/commands/EnableDelegatedAdminAccountCommand.js +5 -0
  20. package/dist-cjs/commands/GetConfigurationCommand.js +5 -0
  21. package/dist-cjs/commands/GetDelegatedAdminAccountCommand.js +5 -0
  22. package/dist-cjs/commands/GetEc2DeepInspectionConfigurationCommand.js +5 -0
  23. package/dist-cjs/commands/GetEncryptionKeyCommand.js +5 -0
  24. package/dist-cjs/commands/GetFindingsReportStatusCommand.js +5 -0
  25. package/dist-cjs/commands/GetMemberCommand.js +5 -0
  26. package/dist-cjs/commands/GetSbomExportCommand.js +5 -0
  27. package/dist-cjs/commands/ListAccountPermissionsCommand.js +5 -0
  28. package/dist-cjs/commands/ListCoverageCommand.js +5 -0
  29. package/dist-cjs/commands/ListCoverageStatisticsCommand.js +5 -0
  30. package/dist-cjs/commands/ListDelegatedAdminAccountsCommand.js +5 -0
  31. package/dist-cjs/commands/ListFiltersCommand.js +5 -0
  32. package/dist-cjs/commands/ListFindingAggregationsCommand.js +5 -0
  33. package/dist-cjs/commands/ListFindingsCommand.js +5 -0
  34. package/dist-cjs/commands/ListMembersCommand.js +5 -0
  35. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  36. package/dist-cjs/commands/ListUsageTotalsCommand.js +5 -0
  37. package/dist-cjs/commands/ResetEncryptionKeyCommand.js +5 -0
  38. package/dist-cjs/commands/SearchVulnerabilitiesCommand.js +5 -0
  39. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  40. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  41. package/dist-cjs/commands/UpdateConfigurationCommand.js +5 -0
  42. package/dist-cjs/commands/UpdateEc2DeepInspectionConfigurationCommand.js +5 -0
  43. package/dist-cjs/commands/UpdateEncryptionKeyCommand.js +5 -0
  44. package/dist-cjs/commands/UpdateFilterCommand.js +5 -0
  45. package/dist-cjs/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +5 -0
  46. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +5 -0
  47. package/dist-cjs/runtimeExtensions.js +3 -0
  48. package/dist-es/commands/AssociateMemberCommand.js +5 -0
  49. package/dist-es/commands/BatchGetAccountStatusCommand.js +5 -0
  50. package/dist-es/commands/BatchGetCodeSnippetCommand.js +5 -0
  51. package/dist-es/commands/BatchGetFindingDetailsCommand.js +5 -0
  52. package/dist-es/commands/BatchGetFreeTrialInfoCommand.js +5 -0
  53. package/dist-es/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +5 -0
  54. package/dist-es/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +5 -0
  55. package/dist-es/commands/CancelFindingsReportCommand.js +5 -0
  56. package/dist-es/commands/CancelSbomExportCommand.js +5 -0
  57. package/dist-es/commands/CreateFilterCommand.js +5 -0
  58. package/dist-es/commands/CreateFindingsReportCommand.js +5 -0
  59. package/dist-es/commands/CreateSbomExportCommand.js +5 -0
  60. package/dist-es/commands/DeleteFilterCommand.js +5 -0
  61. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +5 -0
  62. package/dist-es/commands/DisableCommand.js +5 -0
  63. package/dist-es/commands/DisableDelegatedAdminAccountCommand.js +5 -0
  64. package/dist-es/commands/DisassociateMemberCommand.js +5 -0
  65. package/dist-es/commands/EnableCommand.js +5 -0
  66. package/dist-es/commands/EnableDelegatedAdminAccountCommand.js +5 -0
  67. package/dist-es/commands/GetConfigurationCommand.js +5 -0
  68. package/dist-es/commands/GetDelegatedAdminAccountCommand.js +5 -0
  69. package/dist-es/commands/GetEc2DeepInspectionConfigurationCommand.js +5 -0
  70. package/dist-es/commands/GetEncryptionKeyCommand.js +5 -0
  71. package/dist-es/commands/GetFindingsReportStatusCommand.js +5 -0
  72. package/dist-es/commands/GetMemberCommand.js +5 -0
  73. package/dist-es/commands/GetSbomExportCommand.js +5 -0
  74. package/dist-es/commands/ListAccountPermissionsCommand.js +5 -0
  75. package/dist-es/commands/ListCoverageCommand.js +5 -0
  76. package/dist-es/commands/ListCoverageStatisticsCommand.js +5 -0
  77. package/dist-es/commands/ListDelegatedAdminAccountsCommand.js +5 -0
  78. package/dist-es/commands/ListFiltersCommand.js +5 -0
  79. package/dist-es/commands/ListFindingAggregationsCommand.js +5 -0
  80. package/dist-es/commands/ListFindingsCommand.js +5 -0
  81. package/dist-es/commands/ListMembersCommand.js +5 -0
  82. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  83. package/dist-es/commands/ListUsageTotalsCommand.js +5 -0
  84. package/dist-es/commands/ResetEncryptionKeyCommand.js +5 -0
  85. package/dist-es/commands/SearchVulnerabilitiesCommand.js +5 -0
  86. package/dist-es/commands/TagResourceCommand.js +5 -0
  87. package/dist-es/commands/UntagResourceCommand.js +5 -0
  88. package/dist-es/commands/UpdateConfigurationCommand.js +5 -0
  89. package/dist-es/commands/UpdateEc2DeepInspectionConfigurationCommand.js +5 -0
  90. package/dist-es/commands/UpdateEncryptionKeyCommand.js +5 -0
  91. package/dist-es/commands/UpdateFilterCommand.js +5 -0
  92. package/dist-es/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +5 -0
  93. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +5 -0
  94. package/dist-es/runtimeExtensions.js +3 -0
  95. package/dist-types/extensionConfiguration.d.ts +2 -1
  96. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  97. package/package.json +31 -30
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_EnableCommand, se_EnableCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class EnableCommand extends $Command {
@@ -29,6 +30,10 @@ export class EnableCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "Enable",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_EnableDelegatedAdminAccountCommand, se_EnableDelegatedAdminAccountCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class EnableDelegatedAdminAccountCommand extends $Command {
@@ -29,6 +30,10 @@ export class EnableDelegatedAdminAccountCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "EnableDelegatedAdminAccount",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetConfigurationCommand, se_GetConfigurationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetConfigurationCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetConfigurationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "GetConfiguration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetDelegatedAdminAccountCommand, se_GetDelegatedAdminAccountCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetDelegatedAdminAccountCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetDelegatedAdminAccountCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "GetDelegatedAdminAccount",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetEc2DeepInspectionConfigurationCommand, se_GetEc2DeepInspectionConfigurationCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetEc2DeepInspectionConfigurationCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetEc2DeepInspectionConfigurationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "GetEc2DeepInspectionConfiguration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetEncryptionKeyCommand, se_GetEncryptionKeyCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetEncryptionKeyCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetEncryptionKeyCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "GetEncryptionKey",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetFindingsReportStatusCommand, se_GetFindingsReportStatusCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetFindingsReportStatusCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetFindingsReportStatusCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "GetFindingsReportStatus",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetMemberCommand, se_GetMemberCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetMemberCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetMemberCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "GetMember",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetSbomExportCommand, se_GetSbomExportCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetSbomExportCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetSbomExportCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "GetSbomExport",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListAccountPermissionsCommand, se_ListAccountPermissionsCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListAccountPermissionsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListAccountPermissionsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "ListAccountPermissions",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListCoverageCommand, se_ListCoverageCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListCoverageCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListCoverageCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "ListCoverage",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListCoverageStatisticsCommand, se_ListCoverageStatisticsCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListCoverageStatisticsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListCoverageStatisticsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "ListCoverageStatistics",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListDelegatedAdminAccountsCommand, se_ListDelegatedAdminAccountsCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListDelegatedAdminAccountsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListDelegatedAdminAccountsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "ListDelegatedAdminAccounts",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListFiltersCommand, se_ListFiltersCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListFiltersCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListFiltersCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "ListFilters",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListFindingAggregationsCommand, se_ListFindingAggregationsCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListFindingAggregationsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListFindingAggregationsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "ListFindingAggregations",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListFindingsCommand, se_ListFindingsCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListFindingsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListFindingsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "ListFindings",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListMembersCommand, se_ListMembersCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListMembersCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListMembersCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "ListMembers",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListTagsForResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListTagsForResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "ListTagsForResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListUsageTotalsCommand, se_ListUsageTotalsCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListUsageTotalsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListUsageTotalsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "ListUsageTotals",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ResetEncryptionKeyCommand, se_ResetEncryptionKeyCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ResetEncryptionKeyCommand extends $Command {
@@ -29,6 +30,10 @@ export class ResetEncryptionKeyCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "ResetEncryptionKey",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_SearchVulnerabilitiesCommand, se_SearchVulnerabilitiesCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class SearchVulnerabilitiesCommand extends $Command {
@@ -29,6 +30,10 @@ export class SearchVulnerabilitiesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "SearchVulnerabilities",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class TagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "TagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UntagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "UntagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateConfigurationCommand, se_UpdateConfigurationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateConfigurationCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateConfigurationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "UpdateConfiguration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateEc2DeepInspectionConfigurationCommand, se_UpdateEc2DeepInspectionConfigurationCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateEc2DeepInspectionConfigurationCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateEc2DeepInspectionConfigurationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "UpdateEc2DeepInspectionConfiguration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateEncryptionKeyCommand, se_UpdateEncryptionKeyCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateEncryptionKeyCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateEncryptionKeyCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "UpdateEncryptionKey",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateFilterCommand, se_UpdateFilterCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateFilterCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateFilterCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "UpdateFilter",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateOrgEc2DeepInspectionConfigurationCommand, se_UpdateOrgEc2DeepInspectionConfigurationCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateOrgEc2DeepInspectionConfigurationCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateOrgEc2DeepInspectionConfigurationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "UpdateOrgEc2DeepInspectionConfiguration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateOrganizationConfigurationCommand, se_UpdateOrganizationConfigurationCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateOrganizationConfigurationCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateOrganizationConfigurationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Inspector2",
35
+ operation: "UpdateOrganizationConfiguration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,14 +1,17 @@
1
+ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
1
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
2
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
3
4
  const asPartial = (t) => t;
4
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
5
6
  const extensionConfiguration = {
7
+ ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
6
8
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
9
  ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
8
10
  };
9
11
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
10
12
  return {
11
13
  ...runtimeConfig,
14
+ ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
12
15
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
16
  ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
14
17
  };
@@ -1,7 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  /**
4
5
  * @internal
5
6
  */
6
- export interface Inspector2ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
7
+ export interface Inspector2ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
7
8
  }
@@ -1,5 +1,7 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  export interface Inspector2ExtensionConfiguration
4
5
  extends HttpHandlerExtensionConfiguration,
5
- DefaultExtensionConfiguration {}
6
+ DefaultExtensionConfiguration,
7
+ AwsRegionExtensionConfiguration {}