@aws-sdk/client-cloudtrail 3.477.0 → 3.481.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 (237) hide show
  1. package/dist-cjs/commands/AddTagsCommand.js +18 -41
  2. package/dist-cjs/commands/CancelQueryCommand.js +18 -41
  3. package/dist-cjs/commands/CreateChannelCommand.js +18 -41
  4. package/dist-cjs/commands/CreateEventDataStoreCommand.js +18 -41
  5. package/dist-cjs/commands/CreateTrailCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteChannelCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteEventDataStoreCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteTrailCommand.js +18 -41
  10. package/dist-cjs/commands/DeregisterOrganizationDelegatedAdminCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeQueryCommand.js +18 -41
  12. package/dist-cjs/commands/DescribeTrailsCommand.js +18 -41
  13. package/dist-cjs/commands/DisableFederationCommand.js +18 -41
  14. package/dist-cjs/commands/EnableFederationCommand.js +18 -41
  15. package/dist-cjs/commands/GetChannelCommand.js +18 -41
  16. package/dist-cjs/commands/GetEventDataStoreCommand.js +18 -41
  17. package/dist-cjs/commands/GetEventSelectorsCommand.js +18 -41
  18. package/dist-cjs/commands/GetImportCommand.js +18 -41
  19. package/dist-cjs/commands/GetInsightSelectorsCommand.js +18 -41
  20. package/dist-cjs/commands/GetQueryResultsCommand.js +18 -41
  21. package/dist-cjs/commands/GetResourcePolicyCommand.js +18 -41
  22. package/dist-cjs/commands/GetTrailCommand.js +18 -41
  23. package/dist-cjs/commands/GetTrailStatusCommand.js +18 -41
  24. package/dist-cjs/commands/ListChannelsCommand.js +18 -41
  25. package/dist-cjs/commands/ListEventDataStoresCommand.js +18 -41
  26. package/dist-cjs/commands/ListImportFailuresCommand.js +18 -41
  27. package/dist-cjs/commands/ListImportsCommand.js +18 -41
  28. package/dist-cjs/commands/ListPublicKeysCommand.js +18 -41
  29. package/dist-cjs/commands/ListQueriesCommand.js +18 -41
  30. package/dist-cjs/commands/ListTagsCommand.js +18 -41
  31. package/dist-cjs/commands/ListTrailsCommand.js +18 -41
  32. package/dist-cjs/commands/LookupEventsCommand.js +18 -41
  33. package/dist-cjs/commands/PutEventSelectorsCommand.js +18 -41
  34. package/dist-cjs/commands/PutInsightSelectorsCommand.js +18 -41
  35. package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
  36. package/dist-cjs/commands/RegisterOrganizationDelegatedAdminCommand.js +18 -41
  37. package/dist-cjs/commands/RemoveTagsCommand.js +18 -41
  38. package/dist-cjs/commands/RestoreEventDataStoreCommand.js +18 -41
  39. package/dist-cjs/commands/StartEventDataStoreIngestionCommand.js +18 -41
  40. package/dist-cjs/commands/StartImportCommand.js +18 -41
  41. package/dist-cjs/commands/StartLoggingCommand.js +18 -41
  42. package/dist-cjs/commands/StartQueryCommand.js +18 -41
  43. package/dist-cjs/commands/StopEventDataStoreIngestionCommand.js +18 -41
  44. package/dist-cjs/commands/StopImportCommand.js +18 -41
  45. package/dist-cjs/commands/StopLoggingCommand.js +18 -41
  46. package/dist-cjs/commands/UpdateChannelCommand.js +18 -41
  47. package/dist-cjs/commands/UpdateEventDataStoreCommand.js +18 -41
  48. package/dist-cjs/commands/UpdateTrailCommand.js +18 -41
  49. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  50. package/dist-cjs/pagination/GetQueryResultsPaginator.js +2 -23
  51. package/dist-cjs/pagination/ListChannelsPaginator.js +2 -24
  52. package/dist-cjs/pagination/ListEventDataStoresPaginator.js +2 -24
  53. package/dist-cjs/pagination/ListImportFailuresPaginator.js +2 -24
  54. package/dist-cjs/pagination/ListImportsPaginator.js +2 -24
  55. package/dist-cjs/pagination/ListPublicKeysPaginator.js +2 -23
  56. package/dist-cjs/pagination/ListQueriesPaginator.js +2 -24
  57. package/dist-cjs/pagination/ListTagsPaginator.js +2 -23
  58. package/dist-cjs/pagination/ListTrailsPaginator.js +2 -23
  59. package/dist-cjs/pagination/LookupEventsPaginator.js +2 -24
  60. package/dist-es/commands/AddTagsCommand.js +18 -41
  61. package/dist-es/commands/CancelQueryCommand.js +18 -41
  62. package/dist-es/commands/CreateChannelCommand.js +18 -41
  63. package/dist-es/commands/CreateEventDataStoreCommand.js +18 -41
  64. package/dist-es/commands/CreateTrailCommand.js +18 -41
  65. package/dist-es/commands/DeleteChannelCommand.js +18 -41
  66. package/dist-es/commands/DeleteEventDataStoreCommand.js +18 -41
  67. package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
  68. package/dist-es/commands/DeleteTrailCommand.js +18 -41
  69. package/dist-es/commands/DeregisterOrganizationDelegatedAdminCommand.js +18 -41
  70. package/dist-es/commands/DescribeQueryCommand.js +18 -41
  71. package/dist-es/commands/DescribeTrailsCommand.js +18 -41
  72. package/dist-es/commands/DisableFederationCommand.js +18 -41
  73. package/dist-es/commands/EnableFederationCommand.js +18 -41
  74. package/dist-es/commands/GetChannelCommand.js +18 -41
  75. package/dist-es/commands/GetEventDataStoreCommand.js +18 -41
  76. package/dist-es/commands/GetEventSelectorsCommand.js +18 -41
  77. package/dist-es/commands/GetImportCommand.js +18 -41
  78. package/dist-es/commands/GetInsightSelectorsCommand.js +18 -41
  79. package/dist-es/commands/GetQueryResultsCommand.js +18 -41
  80. package/dist-es/commands/GetResourcePolicyCommand.js +18 -41
  81. package/dist-es/commands/GetTrailCommand.js +18 -41
  82. package/dist-es/commands/GetTrailStatusCommand.js +18 -41
  83. package/dist-es/commands/ListChannelsCommand.js +18 -41
  84. package/dist-es/commands/ListEventDataStoresCommand.js +18 -41
  85. package/dist-es/commands/ListImportFailuresCommand.js +18 -41
  86. package/dist-es/commands/ListImportsCommand.js +18 -41
  87. package/dist-es/commands/ListPublicKeysCommand.js +18 -41
  88. package/dist-es/commands/ListQueriesCommand.js +18 -41
  89. package/dist-es/commands/ListTagsCommand.js +18 -41
  90. package/dist-es/commands/ListTrailsCommand.js +18 -41
  91. package/dist-es/commands/LookupEventsCommand.js +18 -41
  92. package/dist-es/commands/PutEventSelectorsCommand.js +18 -41
  93. package/dist-es/commands/PutInsightSelectorsCommand.js +18 -41
  94. package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
  95. package/dist-es/commands/RegisterOrganizationDelegatedAdminCommand.js +18 -41
  96. package/dist-es/commands/RemoveTagsCommand.js +18 -41
  97. package/dist-es/commands/RestoreEventDataStoreCommand.js +18 -41
  98. package/dist-es/commands/StartEventDataStoreIngestionCommand.js +18 -41
  99. package/dist-es/commands/StartImportCommand.js +18 -41
  100. package/dist-es/commands/StartLoggingCommand.js +18 -41
  101. package/dist-es/commands/StartQueryCommand.js +18 -41
  102. package/dist-es/commands/StopEventDataStoreIngestionCommand.js +18 -41
  103. package/dist-es/commands/StopImportCommand.js +18 -41
  104. package/dist-es/commands/StopLoggingCommand.js +18 -41
  105. package/dist-es/commands/UpdateChannelCommand.js +18 -41
  106. package/dist-es/commands/UpdateEventDataStoreCommand.js +18 -41
  107. package/dist-es/commands/UpdateTrailCommand.js +18 -41
  108. package/dist-es/endpoint/EndpointParameters.js +6 -0
  109. package/dist-es/pagination/GetQueryResultsPaginator.js +2 -22
  110. package/dist-es/pagination/ListChannelsPaginator.js +2 -23
  111. package/dist-es/pagination/ListEventDataStoresPaginator.js +2 -23
  112. package/dist-es/pagination/ListImportFailuresPaginator.js +2 -23
  113. package/dist-es/pagination/ListImportsPaginator.js +2 -23
  114. package/dist-es/pagination/ListPublicKeysPaginator.js +2 -22
  115. package/dist-es/pagination/ListQueriesPaginator.js +2 -23
  116. package/dist-es/pagination/ListTagsPaginator.js +2 -22
  117. package/dist-es/pagination/ListTrailsPaginator.js +2 -22
  118. package/dist-es/pagination/LookupEventsPaginator.js +2 -23
  119. package/dist-types/commands/AddTagsCommand.d.ts +6 -21
  120. package/dist-types/commands/CancelQueryCommand.d.ts +6 -21
  121. package/dist-types/commands/CreateChannelCommand.d.ts +6 -21
  122. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +6 -21
  123. package/dist-types/commands/CreateTrailCommand.d.ts +6 -21
  124. package/dist-types/commands/DeleteChannelCommand.d.ts +6 -21
  125. package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +6 -21
  126. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
  127. package/dist-types/commands/DeleteTrailCommand.d.ts +6 -21
  128. package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +6 -21
  129. package/dist-types/commands/DescribeQueryCommand.d.ts +6 -21
  130. package/dist-types/commands/DescribeTrailsCommand.d.ts +6 -21
  131. package/dist-types/commands/DisableFederationCommand.d.ts +6 -21
  132. package/dist-types/commands/EnableFederationCommand.d.ts +6 -21
  133. package/dist-types/commands/GetChannelCommand.d.ts +6 -21
  134. package/dist-types/commands/GetEventDataStoreCommand.d.ts +6 -21
  135. package/dist-types/commands/GetEventSelectorsCommand.d.ts +6 -21
  136. package/dist-types/commands/GetImportCommand.d.ts +6 -21
  137. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +6 -21
  138. package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -21
  139. package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -21
  140. package/dist-types/commands/GetTrailCommand.d.ts +6 -21
  141. package/dist-types/commands/GetTrailStatusCommand.d.ts +6 -21
  142. package/dist-types/commands/ListChannelsCommand.d.ts +6 -21
  143. package/dist-types/commands/ListEventDataStoresCommand.d.ts +6 -21
  144. package/dist-types/commands/ListImportFailuresCommand.d.ts +6 -21
  145. package/dist-types/commands/ListImportsCommand.d.ts +6 -21
  146. package/dist-types/commands/ListPublicKeysCommand.d.ts +6 -21
  147. package/dist-types/commands/ListQueriesCommand.d.ts +6 -21
  148. package/dist-types/commands/ListTagsCommand.d.ts +6 -21
  149. package/dist-types/commands/ListTrailsCommand.d.ts +6 -21
  150. package/dist-types/commands/LookupEventsCommand.d.ts +6 -21
  151. package/dist-types/commands/PutEventSelectorsCommand.d.ts +6 -21
  152. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +6 -21
  153. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
  154. package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +6 -21
  155. package/dist-types/commands/RemoveTagsCommand.d.ts +6 -21
  156. package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +6 -21
  157. package/dist-types/commands/StartEventDataStoreIngestionCommand.d.ts +6 -21
  158. package/dist-types/commands/StartImportCommand.d.ts +6 -21
  159. package/dist-types/commands/StartLoggingCommand.d.ts +6 -21
  160. package/dist-types/commands/StartQueryCommand.d.ts +6 -21
  161. package/dist-types/commands/StopEventDataStoreIngestionCommand.d.ts +6 -21
  162. package/dist-types/commands/StopImportCommand.d.ts +6 -21
  163. package/dist-types/commands/StopLoggingCommand.d.ts +6 -21
  164. package/dist-types/commands/UpdateChannelCommand.d.ts +6 -21
  165. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +6 -21
  166. package/dist-types/commands/UpdateTrailCommand.d.ts +6 -21
  167. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  168. package/dist-types/pagination/GetQueryResultsPaginator.d.ts +1 -1
  169. package/dist-types/pagination/ListChannelsPaginator.d.ts +1 -1
  170. package/dist-types/pagination/ListEventDataStoresPaginator.d.ts +1 -1
  171. package/dist-types/pagination/ListImportFailuresPaginator.d.ts +1 -1
  172. package/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
  173. package/dist-types/pagination/ListPublicKeysPaginator.d.ts +1 -1
  174. package/dist-types/pagination/ListQueriesPaginator.d.ts +1 -1
  175. package/dist-types/pagination/ListTagsPaginator.d.ts +1 -1
  176. package/dist-types/pagination/ListTrailsPaginator.d.ts +1 -1
  177. package/dist-types/pagination/LookupEventsPaginator.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +12 -23
  179. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +14 -23
  180. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +12 -24
  182. package/dist-types/ts3.4/commands/CreateTrailCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +12 -24
  185. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
  186. package/dist-types/ts3.4/commands/DeleteTrailCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/DescribeTrailsCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/DisableFederationCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/EnableFederationCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/GetEventSelectorsCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/GetImportCommand.d.ts +14 -23
  196. package/dist-types/ts3.4/commands/GetInsightSelectorsCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/GetTrailCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/GetTrailStatusCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +14 -23
  203. package/dist-types/ts3.4/commands/ListImportFailuresCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +14 -23
  207. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +14 -23
  208. package/dist-types/ts3.4/commands/ListTrailsCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/LookupEventsCommand.d.ts +14 -23
  210. package/dist-types/ts3.4/commands/PutEventSelectorsCommand.d.ts +14 -23
  211. package/dist-types/ts3.4/commands/PutInsightSelectorsCommand.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +12 -24
  214. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +12 -24
  216. package/dist-types/ts3.4/commands/StartEventDataStoreIngestionCommand.d.ts +12 -24
  217. package/dist-types/ts3.4/commands/StartImportCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/StartLoggingCommand.d.ts +14 -23
  219. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +14 -23
  220. package/dist-types/ts3.4/commands/StopEventDataStoreIngestionCommand.d.ts +12 -24
  221. package/dist-types/ts3.4/commands/StopImportCommand.d.ts +14 -23
  222. package/dist-types/ts3.4/commands/StopLoggingCommand.d.ts +14 -23
  223. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +14 -23
  224. package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +12 -24
  225. package/dist-types/ts3.4/commands/UpdateTrailCommand.d.ts +14 -23
  226. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  227. package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +3 -3
  228. package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +3 -3
  229. package/dist-types/ts3.4/pagination/ListEventDataStoresPaginator.d.ts +3 -3
  230. package/dist-types/ts3.4/pagination/ListImportFailuresPaginator.d.ts +3 -3
  231. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +3 -3
  232. package/dist-types/ts3.4/pagination/ListPublicKeysPaginator.d.ts +3 -3
  233. package/dist-types/ts3.4/pagination/ListQueriesPaginator.d.ts +3 -3
  234. package/dist-types/ts3.4/pagination/ListTagsPaginator.d.ts +3 -3
  235. package/dist-types/ts3.4/pagination/ListTrailsPaginator.d.ts +3 -3
  236. package/dist-types/ts3.4/pagination/LookupEventsPaginator.d.ts +3 -3
  237. package/package.json +11 -10
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class RemoveTagsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RemoveTagsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudTrailClient";
29
- const commandName = "RemoveTagsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CloudTrail_20131101",
38
- operation: "RemoveTags",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_RemoveTagsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_RemoveTagsCommand)(output, context);
49
- }
10
+ class RemoveTagsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CloudTrail_20131101", "RemoveTags", {})
22
+ .n("CloudTrailClient", "RemoveTagsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_RemoveTagsCommand)
25
+ .de(Aws_json1_1_1.de_RemoveTagsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.RemoveTagsCommand = RemoveTagsCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class RestoreEventDataStoreCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RestoreEventDataStoreCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudTrailClient";
29
- const commandName = "RestoreEventDataStoreCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CloudTrail_20131101",
38
- operation: "RestoreEventDataStore",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_RestoreEventDataStoreCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_RestoreEventDataStoreCommand)(output, context);
49
- }
10
+ class RestoreEventDataStoreCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CloudTrail_20131101", "RestoreEventDataStore", {})
22
+ .n("CloudTrailClient", "RestoreEventDataStoreCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_RestoreEventDataStoreCommand)
25
+ .de(Aws_json1_1_1.de_RestoreEventDataStoreCommand)
26
+ .build() {
50
27
  }
51
28
  exports.RestoreEventDataStoreCommand = RestoreEventDataStoreCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StartEventDataStoreIngestionCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartEventDataStoreIngestionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudTrailClient";
29
- const commandName = "StartEventDataStoreIngestionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CloudTrail_20131101",
38
- operation: "StartEventDataStoreIngestion",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_StartEventDataStoreIngestionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_StartEventDataStoreIngestionCommand)(output, context);
49
- }
10
+ class StartEventDataStoreIngestionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CloudTrail_20131101", "StartEventDataStoreIngestion", {})
22
+ .n("CloudTrailClient", "StartEventDataStoreIngestionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_StartEventDataStoreIngestionCommand)
25
+ .de(Aws_json1_1_1.de_StartEventDataStoreIngestionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.StartEventDataStoreIngestionCommand = StartEventDataStoreIngestionCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StartImportCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartImportCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudTrailClient";
29
- const commandName = "StartImportCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CloudTrail_20131101",
38
- operation: "StartImport",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_StartImportCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_StartImportCommand)(output, context);
49
- }
10
+ class StartImportCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CloudTrail_20131101", "StartImport", {})
22
+ .n("CloudTrailClient", "StartImportCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_StartImportCommand)
25
+ .de(Aws_json1_1_1.de_StartImportCommand)
26
+ .build() {
50
27
  }
51
28
  exports.StartImportCommand = StartImportCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StartLoggingCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartLoggingCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudTrailClient";
29
- const commandName = "StartLoggingCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CloudTrail_20131101",
38
- operation: "StartLogging",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_StartLoggingCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_StartLoggingCommand)(output, context);
49
- }
10
+ class StartLoggingCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CloudTrail_20131101", "StartLogging", {})
22
+ .n("CloudTrailClient", "StartLoggingCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_StartLoggingCommand)
25
+ .de(Aws_json1_1_1.de_StartLoggingCommand)
26
+ .build() {
50
27
  }
51
28
  exports.StartLoggingCommand = StartLoggingCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StartQueryCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartQueryCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudTrailClient";
29
- const commandName = "StartQueryCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CloudTrail_20131101",
38
- operation: "StartQuery",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_StartQueryCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_StartQueryCommand)(output, context);
49
- }
10
+ class StartQueryCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CloudTrail_20131101", "StartQuery", {})
22
+ .n("CloudTrailClient", "StartQueryCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_StartQueryCommand)
25
+ .de(Aws_json1_1_1.de_StartQueryCommand)
26
+ .build() {
50
27
  }
51
28
  exports.StartQueryCommand = StartQueryCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StopEventDataStoreIngestionCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StopEventDataStoreIngestionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudTrailClient";
29
- const commandName = "StopEventDataStoreIngestionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CloudTrail_20131101",
38
- operation: "StopEventDataStoreIngestion",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_StopEventDataStoreIngestionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_StopEventDataStoreIngestionCommand)(output, context);
49
- }
10
+ class StopEventDataStoreIngestionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CloudTrail_20131101", "StopEventDataStoreIngestion", {})
22
+ .n("CloudTrailClient", "StopEventDataStoreIngestionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_StopEventDataStoreIngestionCommand)
25
+ .de(Aws_json1_1_1.de_StopEventDataStoreIngestionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.StopEventDataStoreIngestionCommand = StopEventDataStoreIngestionCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StopImportCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StopImportCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudTrailClient";
29
- const commandName = "StopImportCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CloudTrail_20131101",
38
- operation: "StopImport",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_StopImportCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_StopImportCommand)(output, context);
49
- }
10
+ class StopImportCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CloudTrail_20131101", "StopImport", {})
22
+ .n("CloudTrailClient", "StopImportCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_StopImportCommand)
25
+ .de(Aws_json1_1_1.de_StopImportCommand)
26
+ .build() {
50
27
  }
51
28
  exports.StopImportCommand = StopImportCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class StopLoggingCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StopLoggingCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CloudTrailClient";
29
- const commandName = "StopLoggingCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CloudTrail_20131101",
38
- operation: "StopLogging",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_StopLoggingCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_StopLoggingCommand)(output, context);
49
- }
10
+ class StopLoggingCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CloudTrail_20131101", "StopLogging", {})
22
+ .n("CloudTrailClient", "StopLoggingCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_StopLoggingCommand)
25
+ .de(Aws_json1_1_1.de_StopLoggingCommand)
26
+ .build() {
50
27
  }
51
28
  exports.StopLoggingCommand = StopLoggingCommand;