@aws-sdk/client-guardduty 3.414.0 → 3.421.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 (150) hide show
  1. package/README.md +7 -7
  2. package/dist-cjs/commands/AcceptAdministratorInvitationCommand.js +5 -0
  3. package/dist-cjs/commands/AcceptInvitationCommand.js +5 -0
  4. package/dist-cjs/commands/ArchiveFindingsCommand.js +5 -0
  5. package/dist-cjs/commands/CreateDetectorCommand.js +5 -0
  6. package/dist-cjs/commands/CreateFilterCommand.js +5 -0
  7. package/dist-cjs/commands/CreateIPSetCommand.js +5 -0
  8. package/dist-cjs/commands/CreateMembersCommand.js +5 -0
  9. package/dist-cjs/commands/CreatePublishingDestinationCommand.js +5 -0
  10. package/dist-cjs/commands/CreateSampleFindingsCommand.js +5 -0
  11. package/dist-cjs/commands/CreateThreatIntelSetCommand.js +5 -0
  12. package/dist-cjs/commands/DeclineInvitationsCommand.js +5 -0
  13. package/dist-cjs/commands/DeleteDetectorCommand.js +5 -0
  14. package/dist-cjs/commands/DeleteFilterCommand.js +5 -0
  15. package/dist-cjs/commands/DeleteIPSetCommand.js +5 -0
  16. package/dist-cjs/commands/DeleteInvitationsCommand.js +5 -0
  17. package/dist-cjs/commands/DeleteMembersCommand.js +5 -0
  18. package/dist-cjs/commands/DeletePublishingDestinationCommand.js +5 -0
  19. package/dist-cjs/commands/DeleteThreatIntelSetCommand.js +5 -0
  20. package/dist-cjs/commands/DescribeMalwareScansCommand.js +5 -0
  21. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +5 -0
  22. package/dist-cjs/commands/DescribePublishingDestinationCommand.js +5 -0
  23. package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +5 -0
  24. package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +5 -0
  25. package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +5 -0
  26. package/dist-cjs/commands/DisassociateMembersCommand.js +5 -0
  27. package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +5 -0
  28. package/dist-cjs/commands/GetAdministratorAccountCommand.js +5 -0
  29. package/dist-cjs/commands/GetCoverageStatisticsCommand.js +5 -0
  30. package/dist-cjs/commands/GetDetectorCommand.js +5 -0
  31. package/dist-cjs/commands/GetFilterCommand.js +5 -0
  32. package/dist-cjs/commands/GetFindingsCommand.js +5 -0
  33. package/dist-cjs/commands/GetFindingsStatisticsCommand.js +5 -0
  34. package/dist-cjs/commands/GetIPSetCommand.js +5 -0
  35. package/dist-cjs/commands/GetInvitationsCountCommand.js +5 -0
  36. package/dist-cjs/commands/GetMalwareScanSettingsCommand.js +5 -0
  37. package/dist-cjs/commands/GetMasterAccountCommand.js +5 -0
  38. package/dist-cjs/commands/GetMemberDetectorsCommand.js +5 -0
  39. package/dist-cjs/commands/GetMembersCommand.js +5 -0
  40. package/dist-cjs/commands/GetRemainingFreeTrialDaysCommand.js +5 -0
  41. package/dist-cjs/commands/GetThreatIntelSetCommand.js +5 -0
  42. package/dist-cjs/commands/GetUsageStatisticsCommand.js +5 -0
  43. package/dist-cjs/commands/InviteMembersCommand.js +5 -0
  44. package/dist-cjs/commands/ListCoverageCommand.js +5 -0
  45. package/dist-cjs/commands/ListDetectorsCommand.js +5 -0
  46. package/dist-cjs/commands/ListFiltersCommand.js +5 -0
  47. package/dist-cjs/commands/ListFindingsCommand.js +5 -0
  48. package/dist-cjs/commands/ListIPSetsCommand.js +5 -0
  49. package/dist-cjs/commands/ListInvitationsCommand.js +5 -0
  50. package/dist-cjs/commands/ListMembersCommand.js +5 -0
  51. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +5 -0
  52. package/dist-cjs/commands/ListPublishingDestinationsCommand.js +5 -0
  53. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  54. package/dist-cjs/commands/ListThreatIntelSetsCommand.js +5 -0
  55. package/dist-cjs/commands/StartMalwareScanCommand.js +5 -0
  56. package/dist-cjs/commands/StartMonitoringMembersCommand.js +5 -0
  57. package/dist-cjs/commands/StopMonitoringMembersCommand.js +5 -0
  58. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  59. package/dist-cjs/commands/UnarchiveFindingsCommand.js +5 -0
  60. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  61. package/dist-cjs/commands/UpdateDetectorCommand.js +5 -0
  62. package/dist-cjs/commands/UpdateFilterCommand.js +5 -0
  63. package/dist-cjs/commands/UpdateFindingsFeedbackCommand.js +5 -0
  64. package/dist-cjs/commands/UpdateIPSetCommand.js +5 -0
  65. package/dist-cjs/commands/UpdateMalwareScanSettingsCommand.js +5 -0
  66. package/dist-cjs/commands/UpdateMemberDetectorsCommand.js +5 -0
  67. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +5 -0
  68. package/dist-cjs/commands/UpdatePublishingDestinationCommand.js +5 -0
  69. package/dist-cjs/commands/UpdateThreatIntelSetCommand.js +5 -0
  70. package/dist-cjs/models/models_0.js +2 -0
  71. package/dist-es/commands/AcceptAdministratorInvitationCommand.js +5 -0
  72. package/dist-es/commands/AcceptInvitationCommand.js +5 -0
  73. package/dist-es/commands/ArchiveFindingsCommand.js +5 -0
  74. package/dist-es/commands/CreateDetectorCommand.js +5 -0
  75. package/dist-es/commands/CreateFilterCommand.js +5 -0
  76. package/dist-es/commands/CreateIPSetCommand.js +5 -0
  77. package/dist-es/commands/CreateMembersCommand.js +5 -0
  78. package/dist-es/commands/CreatePublishingDestinationCommand.js +5 -0
  79. package/dist-es/commands/CreateSampleFindingsCommand.js +5 -0
  80. package/dist-es/commands/CreateThreatIntelSetCommand.js +5 -0
  81. package/dist-es/commands/DeclineInvitationsCommand.js +5 -0
  82. package/dist-es/commands/DeleteDetectorCommand.js +5 -0
  83. package/dist-es/commands/DeleteFilterCommand.js +5 -0
  84. package/dist-es/commands/DeleteIPSetCommand.js +5 -0
  85. package/dist-es/commands/DeleteInvitationsCommand.js +5 -0
  86. package/dist-es/commands/DeleteMembersCommand.js +5 -0
  87. package/dist-es/commands/DeletePublishingDestinationCommand.js +5 -0
  88. package/dist-es/commands/DeleteThreatIntelSetCommand.js +5 -0
  89. package/dist-es/commands/DescribeMalwareScansCommand.js +5 -0
  90. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +5 -0
  91. package/dist-es/commands/DescribePublishingDestinationCommand.js +5 -0
  92. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +5 -0
  93. package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +5 -0
  94. package/dist-es/commands/DisassociateFromMasterAccountCommand.js +5 -0
  95. package/dist-es/commands/DisassociateMembersCommand.js +5 -0
  96. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +5 -0
  97. package/dist-es/commands/GetAdministratorAccountCommand.js +5 -0
  98. package/dist-es/commands/GetCoverageStatisticsCommand.js +5 -0
  99. package/dist-es/commands/GetDetectorCommand.js +5 -0
  100. package/dist-es/commands/GetFilterCommand.js +5 -0
  101. package/dist-es/commands/GetFindingsCommand.js +5 -0
  102. package/dist-es/commands/GetFindingsStatisticsCommand.js +5 -0
  103. package/dist-es/commands/GetIPSetCommand.js +5 -0
  104. package/dist-es/commands/GetInvitationsCountCommand.js +5 -0
  105. package/dist-es/commands/GetMalwareScanSettingsCommand.js +5 -0
  106. package/dist-es/commands/GetMasterAccountCommand.js +5 -0
  107. package/dist-es/commands/GetMemberDetectorsCommand.js +5 -0
  108. package/dist-es/commands/GetMembersCommand.js +5 -0
  109. package/dist-es/commands/GetRemainingFreeTrialDaysCommand.js +5 -0
  110. package/dist-es/commands/GetThreatIntelSetCommand.js +5 -0
  111. package/dist-es/commands/GetUsageStatisticsCommand.js +5 -0
  112. package/dist-es/commands/InviteMembersCommand.js +5 -0
  113. package/dist-es/commands/ListCoverageCommand.js +5 -0
  114. package/dist-es/commands/ListDetectorsCommand.js +5 -0
  115. package/dist-es/commands/ListFiltersCommand.js +5 -0
  116. package/dist-es/commands/ListFindingsCommand.js +5 -0
  117. package/dist-es/commands/ListIPSetsCommand.js +5 -0
  118. package/dist-es/commands/ListInvitationsCommand.js +5 -0
  119. package/dist-es/commands/ListMembersCommand.js +5 -0
  120. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +5 -0
  121. package/dist-es/commands/ListPublishingDestinationsCommand.js +5 -0
  122. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  123. package/dist-es/commands/ListThreatIntelSetsCommand.js +5 -0
  124. package/dist-es/commands/StartMalwareScanCommand.js +5 -0
  125. package/dist-es/commands/StartMonitoringMembersCommand.js +5 -0
  126. package/dist-es/commands/StopMonitoringMembersCommand.js +5 -0
  127. package/dist-es/commands/TagResourceCommand.js +5 -0
  128. package/dist-es/commands/UnarchiveFindingsCommand.js +5 -0
  129. package/dist-es/commands/UntagResourceCommand.js +5 -0
  130. package/dist-es/commands/UpdateDetectorCommand.js +5 -0
  131. package/dist-es/commands/UpdateFilterCommand.js +5 -0
  132. package/dist-es/commands/UpdateFindingsFeedbackCommand.js +5 -0
  133. package/dist-es/commands/UpdateIPSetCommand.js +5 -0
  134. package/dist-es/commands/UpdateMalwareScanSettingsCommand.js +5 -0
  135. package/dist-es/commands/UpdateMemberDetectorsCommand.js +5 -0
  136. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +5 -0
  137. package/dist-es/commands/UpdatePublishingDestinationCommand.js +5 -0
  138. package/dist-es/commands/UpdateThreatIntelSetCommand.js +5 -0
  139. package/dist-es/models/models_0.js +2 -0
  140. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +1 -1
  141. package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +1 -1
  142. package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
  143. package/dist-types/commands/ListCoverageCommand.d.ts +2 -2
  144. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +2 -2
  145. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  146. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -2
  147. package/dist-types/models/models_0.d.ts +20 -9
  148. package/dist-types/models/models_1.d.ts +11 -11
  149. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  150. package/package.json +31 -31
package/README.md CHANGED
@@ -41,16 +41,16 @@ using your favorite package manager:
41
41
 
42
42
  The AWS SDK is modulized by clients and commands.
43
43
  To send a request, you only need to import the `GuardDutyClient` and
44
- the commands you need, for example `AcceptAdministratorInvitationCommand`:
44
+ the commands you need, for example `ListDetectorsCommand`:
45
45
 
46
46
  ```js
47
47
  // ES5 example
48
- const { GuardDutyClient, AcceptAdministratorInvitationCommand } = require("@aws-sdk/client-guardduty");
48
+ const { GuardDutyClient, ListDetectorsCommand } = require("@aws-sdk/client-guardduty");
49
49
  ```
50
50
 
51
51
  ```ts
52
52
  // ES6+ example
53
- import { GuardDutyClient, AcceptAdministratorInvitationCommand } from "@aws-sdk/client-guardduty";
53
+ import { GuardDutyClient, ListDetectorsCommand } from "@aws-sdk/client-guardduty";
54
54
  ```
55
55
 
56
56
  ### Usage
@@ -69,7 +69,7 @@ const client = new GuardDutyClient({ region: "REGION" });
69
69
  const params = {
70
70
  /** input parameters */
71
71
  };
72
- const command = new AcceptAdministratorInvitationCommand(params);
72
+ const command = new ListDetectorsCommand(params);
73
73
  ```
74
74
 
75
75
  #### Async/await
@@ -148,7 +148,7 @@ const client = new AWS.GuardDuty({ region: "REGION" });
148
148
 
149
149
  // async/await.
150
150
  try {
151
- const data = await client.acceptAdministratorInvitation(params);
151
+ const data = await client.listDetectors(params);
152
152
  // process data.
153
153
  } catch (error) {
154
154
  // error handling.
@@ -156,7 +156,7 @@ try {
156
156
 
157
157
  // Promises.
158
158
  client
159
- .acceptAdministratorInvitation(params)
159
+ .listDetectors(params)
160
160
  .then((data) => {
161
161
  // process data.
162
162
  })
@@ -165,7 +165,7 @@ client
165
165
  });
166
166
 
167
167
  // callbacks.
168
- client.acceptAdministratorInvitation(params, (err, data) => {
168
+ client.listDetectors(params, (err, data) => {
169
169
  // process err and data.
170
170
  });
171
171
  ```
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class AcceptAdministratorInvitationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class AcceptAdministratorInvitationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "AcceptAdministratorInvitation",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class AcceptInvitationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class AcceptInvitationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "AcceptInvitation",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class ArchiveFindingsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ArchiveFindingsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "ArchiveFindings",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class CreateDetectorCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateDetectorCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "CreateDetector",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class CreateFilterCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateFilterCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "CreateFilter",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class CreateIPSetCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateIPSetCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "CreateIPSet",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class CreateMembersCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateMembersCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "CreateMembers",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class CreatePublishingDestinationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreatePublishingDestinationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "CreatePublishingDestination",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class CreateSampleFindingsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateSampleFindingsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "CreateSampleFindings",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class CreateThreatIntelSetCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateThreatIntelSetCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "CreateThreatIntelSet",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DeclineInvitationsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeclineInvitationsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DeclineInvitations",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DeleteDetectorCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteDetectorCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DeleteDetector",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DeleteFilterCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteFilterCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DeleteFilter",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DeleteIPSetCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteIPSetCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DeleteIPSet",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DeleteInvitationsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteInvitationsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DeleteInvitations",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DeleteMembersCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteMembersCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DeleteMembers",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DeletePublishingDestinationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeletePublishingDestinationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DeletePublishingDestination",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DeleteThreatIntelSetCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteThreatIntelSetCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DeleteThreatIntelSet",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DescribeMalwareScansCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeMalwareScansCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DescribeMalwareScans",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DescribeOrganizationConfigurationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeOrganizationConfigurationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DescribeOrganizationConfiguration",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DescribePublishingDestinationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribePublishingDestinationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DescribePublishingDestination",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DisableOrganizationAdminAccountCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DisableOrganizationAdminAccountCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DisableOrganizationAdminAccount",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DisassociateFromAdministratorAccountCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DisassociateFromAdministratorAccountCommand extends smithy_client_1.Comman
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DisassociateFromAdministratorAccount",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DisassociateFromMasterAccountCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DisassociateFromMasterAccountCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DisassociateFromMasterAccount",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DisassociateMembersCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DisassociateMembersCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "DisassociateMembers",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class EnableOrganizationAdminAccountCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class EnableOrganizationAdminAccountCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "EnableOrganizationAdminAccount",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class GetAdministratorAccountCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetAdministratorAccountCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "GetAdministratorAccount",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class GetCoverageStatisticsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetCoverageStatisticsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "GetCoverageStatistics",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class GetDetectorCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetDetectorCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GuardDutyAPIService",
38
+ operation: "GetDetector",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);