@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
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_RestoreEventDataStoreCommand, se_RestoreEventDataStoreCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class RestoreEventDataStoreCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, RestoreEventDataStoreCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudTrailClient";
26
- const commandName = "RestoreEventDataStoreCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CloudTrail_20131101",
35
- operation: "RestoreEventDataStore",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_RestoreEventDataStoreCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RestoreEventDataStoreCommand(output, context);
46
- }
7
+ export class RestoreEventDataStoreCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CloudTrail_20131101", "RestoreEventDataStore", {})
19
+ .n("CloudTrailClient", "RestoreEventDataStoreCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RestoreEventDataStoreCommand)
22
+ .de(de_RestoreEventDataStoreCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StartEventDataStoreIngestionCommand, se_StartEventDataStoreIngestionCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StartEventDataStoreIngestionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StartEventDataStoreIngestionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudTrailClient";
26
- const commandName = "StartEventDataStoreIngestionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CloudTrail_20131101",
35
- operation: "StartEventDataStoreIngestion",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StartEventDataStoreIngestionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartEventDataStoreIngestionCommand(output, context);
46
- }
7
+ export class StartEventDataStoreIngestionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CloudTrail_20131101", "StartEventDataStoreIngestion", {})
19
+ .n("CloudTrailClient", "StartEventDataStoreIngestionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartEventDataStoreIngestionCommand)
22
+ .de(de_StartEventDataStoreIngestionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StartImportCommand, se_StartImportCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StartImportCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StartImportCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudTrailClient";
26
- const commandName = "StartImportCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CloudTrail_20131101",
35
- operation: "StartImport",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StartImportCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartImportCommand(output, context);
46
- }
7
+ export class StartImportCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CloudTrail_20131101", "StartImport", {})
19
+ .n("CloudTrailClient", "StartImportCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartImportCommand)
22
+ .de(de_StartImportCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StartLoggingCommand, se_StartLoggingCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StartLoggingCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StartLoggingCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudTrailClient";
26
- const commandName = "StartLoggingCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CloudTrail_20131101",
35
- operation: "StartLogging",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StartLoggingCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartLoggingCommand(output, context);
46
- }
7
+ export class StartLoggingCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CloudTrail_20131101", "StartLogging", {})
19
+ .n("CloudTrailClient", "StartLoggingCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartLoggingCommand)
22
+ .de(de_StartLoggingCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StartQueryCommand, se_StartQueryCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StartQueryCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StartQueryCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudTrailClient";
26
- const commandName = "StartQueryCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CloudTrail_20131101",
35
- operation: "StartQuery",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StartQueryCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartQueryCommand(output, context);
46
- }
7
+ export class StartQueryCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CloudTrail_20131101", "StartQuery", {})
19
+ .n("CloudTrailClient", "StartQueryCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartQueryCommand)
22
+ .de(de_StartQueryCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StopEventDataStoreIngestionCommand, se_StopEventDataStoreIngestionCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StopEventDataStoreIngestionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StopEventDataStoreIngestionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudTrailClient";
26
- const commandName = "StopEventDataStoreIngestionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CloudTrail_20131101",
35
- operation: "StopEventDataStoreIngestion",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StopEventDataStoreIngestionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopEventDataStoreIngestionCommand(output, context);
46
- }
7
+ export class StopEventDataStoreIngestionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CloudTrail_20131101", "StopEventDataStoreIngestion", {})
19
+ .n("CloudTrailClient", "StopEventDataStoreIngestionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopEventDataStoreIngestionCommand)
22
+ .de(de_StopEventDataStoreIngestionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StopImportCommand, se_StopImportCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StopImportCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StopImportCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudTrailClient";
26
- const commandName = "StopImportCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CloudTrail_20131101",
35
- operation: "StopImport",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StopImportCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopImportCommand(output, context);
46
- }
7
+ export class StopImportCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CloudTrail_20131101", "StopImport", {})
19
+ .n("CloudTrailClient", "StopImportCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopImportCommand)
22
+ .de(de_StopImportCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StopLoggingCommand, se_StopLoggingCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StopLoggingCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StopLoggingCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudTrailClient";
26
- const commandName = "StopLoggingCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CloudTrail_20131101",
35
- operation: "StopLogging",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StopLoggingCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopLoggingCommand(output, context);
46
- }
7
+ export class StopLoggingCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CloudTrail_20131101", "StopLogging", {})
19
+ .n("CloudTrailClient", "StopLoggingCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopLoggingCommand)
22
+ .de(de_StopLoggingCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateChannelCommand, se_UpdateChannelCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateChannelCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateChannelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudTrailClient";
26
- const commandName = "UpdateChannelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CloudTrail_20131101",
35
- operation: "UpdateChannel",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateChannelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateChannelCommand(output, context);
46
- }
7
+ export class UpdateChannelCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CloudTrail_20131101", "UpdateChannel", {})
19
+ .n("CloudTrailClient", "UpdateChannelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateChannelCommand)
22
+ .de(de_UpdateChannelCommand)
23
+ .build() {
47
24
  }