@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_UpdateEventDataStoreCommand, se_UpdateEventDataStoreCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateEventDataStoreCommand 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, UpdateEventDataStoreCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudTrailClient";
26
- const commandName = "UpdateEventDataStoreCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CloudTrail_20131101",
35
- operation: "UpdateEventDataStore",
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_UpdateEventDataStoreCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateEventDataStoreCommand(output, context);
46
- }
7
+ export class UpdateEventDataStoreCommand 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", "UpdateEventDataStore", {})
19
+ .n("CloudTrailClient", "UpdateEventDataStoreCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateEventDataStoreCommand)
22
+ .de(de_UpdateEventDataStoreCommand)
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_UpdateTrailCommand, se_UpdateTrailCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateTrailCommand 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, UpdateTrailCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudTrailClient";
26
- const commandName = "UpdateTrailCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CloudTrail_20131101",
35
- operation: "UpdateTrail",
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_UpdateTrailCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateTrailCommand(output, context);
46
- }
7
+ export class UpdateTrailCommand 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", "UpdateTrail", {})
19
+ .n("CloudTrailClient", "UpdateTrailCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateTrailCommand)
22
+ .de(de_UpdateTrailCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "cloudtrail",
7
7
  };
8
8
  };
9
+ export const commonParams = {
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
+ };
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudTrailClient } from "../CloudTrailClient";
2
3
  import { GetQueryResultsCommand, } from "../commands/GetQueryResultsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetQueryResultsCommand(input), ...args);
5
- };
6
- export async function* paginateGetQueryResults(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- if (config.client instanceof CloudTrailClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.NextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateGetQueryResults = createPaginator(CloudTrailClient, GetQueryResultsCommand, "NextToken", "NextToken", "");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudTrailClient } from "../CloudTrailClient";
2
3
  import { ListChannelsCommand, } from "../commands/ListChannelsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListChannelsCommand(input), ...args);
5
- };
6
- export async function* paginateListChannels(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CloudTrailClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListChannels = createPaginator(CloudTrailClient, ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudTrailClient } from "../CloudTrailClient";
2
3
  import { ListEventDataStoresCommand, } from "../commands/ListEventDataStoresCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListEventDataStoresCommand(input), ...args);
5
- };
6
- export async function* paginateListEventDataStores(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CloudTrailClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListEventDataStores = createPaginator(CloudTrailClient, ListEventDataStoresCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudTrailClient } from "../CloudTrailClient";
2
3
  import { ListImportFailuresCommand, } from "../commands/ListImportFailuresCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListImportFailuresCommand(input), ...args);
5
- };
6
- export async function* paginateListImportFailures(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CloudTrailClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListImportFailures = createPaginator(CloudTrailClient, ListImportFailuresCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudTrailClient } from "../CloudTrailClient";
2
3
  import { ListImportsCommand } from "../commands/ListImportsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListImportsCommand(input), ...args);
5
- };
6
- export async function* paginateListImports(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CloudTrailClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListImports = createPaginator(CloudTrailClient, ListImportsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudTrailClient } from "../CloudTrailClient";
2
3
  import { ListPublicKeysCommand, } from "../commands/ListPublicKeysCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListPublicKeysCommand(input), ...args);
5
- };
6
- export async function* paginateListPublicKeys(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- if (config.client instanceof CloudTrailClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.NextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateListPublicKeys = createPaginator(CloudTrailClient, ListPublicKeysCommand, "NextToken", "NextToken", "");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudTrailClient } from "../CloudTrailClient";
2
3
  import { ListQueriesCommand } from "../commands/ListQueriesCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListQueriesCommand(input), ...args);
5
- };
6
- export async function* paginateListQueries(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CloudTrailClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListQueries = createPaginator(CloudTrailClient, ListQueriesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudTrailClient } from "../CloudTrailClient";
2
3
  import { ListTagsCommand } from "../commands/ListTagsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTagsCommand(input), ...args);
5
- };
6
- export async function* paginateListTags(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- if (config.client instanceof CloudTrailClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.NextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateListTags = createPaginator(CloudTrailClient, ListTagsCommand, "NextToken", "NextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudTrailClient } from "../CloudTrailClient";
2
3
  import { ListTrailsCommand } from "../commands/ListTrailsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTrailsCommand(input), ...args);
5
- };
6
- export async function* paginateListTrails(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- if (config.client instanceof CloudTrailClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.NextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateListTrails = createPaginator(CloudTrailClient, ListTrailsCommand, "NextToken", "NextToken", "");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudTrailClient } from "../CloudTrailClient";
2
3
  import { LookupEventsCommand, } from "../commands/LookupEventsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new LookupEventsCommand(input), ...args);
5
- };
6
- export async function* paginateLookupEvents(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CloudTrailClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateLookupEvents = createPaginator(CloudTrailClient, LookupEventsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
5
4
  import { AddTagsRequest, AddTagsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AddTagsCommandInput extends AddTagsRequest {
21
20
  */
22
21
  export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer {
23
22
  }
23
+ declare const AddTagsCommand_base: {
24
+ new (input: AddTagsCommandInput): import("@smithy/smithy-client").CommandImpl<AddTagsCommandInput, AddTagsCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds one or more tags to a trail, event data store, or channel, up to a limit of 50. Overwrites an
@@ -147,23 +150,5 @@ export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer
147
150
  * <p>Base exception class for all service exceptions from CloudTrail service.</p>
148
151
  *
149
152
  */
150
- export declare class AddTagsCommand extends $Command<AddTagsCommandInput, AddTagsCommandOutput, CloudTrailClientResolvedConfig> {
151
- readonly input: AddTagsCommandInput;
152
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
153
- /**
154
- * @public
155
- */
156
- constructor(input: AddTagsCommandInput);
157
- /**
158
- * @internal
159
- */
160
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddTagsCommandInput, AddTagsCommandOutput>;
161
- /**
162
- * @internal
163
- */
164
- private serialize;
165
- /**
166
- * @internal
167
- */
168
- private deserialize;
153
+ export declare class AddTagsCommand extends AddTagsCommand_base {
169
154
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
5
4
  import { CancelQueryRequest, CancelQueryResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CancelQueryCommandInput extends CancelQueryRequest {
21
20
  */
22
21
  export interface CancelQueryCommandOutput extends CancelQueryResponse, __MetadataBearer {
23
22
  }
23
+ declare const CancelQueryCommand_base: {
24
+ new (input: CancelQueryCommandInput): import("@smithy/smithy-client").CommandImpl<CancelQueryCommandInput, CancelQueryCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Cancels a query if the query is not in a terminated state, such as
@@ -94,23 +97,5 @@ export interface CancelQueryCommandOutput extends CancelQueryResponse, __Metadat
94
97
  * <p>Base exception class for all service exceptions from CloudTrail service.</p>
95
98
  *
96
99
  */
97
- export declare class CancelQueryCommand extends $Command<CancelQueryCommandInput, CancelQueryCommandOutput, CloudTrailClientResolvedConfig> {
98
- readonly input: CancelQueryCommandInput;
99
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
- /**
101
- * @public
102
- */
103
- constructor(input: CancelQueryCommandInput);
104
- /**
105
- * @internal
106
- */
107
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelQueryCommandInput, CancelQueryCommandOutput>;
108
- /**
109
- * @internal
110
- */
111
- private serialize;
112
- /**
113
- * @internal
114
- */
115
- private deserialize;
100
+ export declare class CancelQueryCommand extends CancelQueryCommand_base {
116
101
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
5
4
  import { CreateChannelRequest, CreateChannelResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateChannelCommandInput extends CreateChannelRequest {
21
20
  */
22
21
  export interface CreateChannelCommandOutput extends CreateChannelResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateChannelCommand_base: {
24
+ new (input: CreateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChannelCommandInput, CreateChannelCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a channel for CloudTrail to ingest events from a partner or external source.
@@ -124,23 +127,5 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
124
127
  * <p>Base exception class for all service exceptions from CloudTrail service.</p>
125
128
  *
126
129
  */
127
- export declare class CreateChannelCommand extends $Command<CreateChannelCommandInput, CreateChannelCommandOutput, CloudTrailClientResolvedConfig> {
128
- readonly input: CreateChannelCommandInput;
129
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
130
- /**
131
- * @public
132
- */
133
- constructor(input: CreateChannelCommandInput);
134
- /**
135
- * @internal
136
- */
137
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateChannelCommandInput, CreateChannelCommandOutput>;
138
- /**
139
- * @internal
140
- */
141
- private serialize;
142
- /**
143
- * @internal
144
- */
145
- private deserialize;
130
+ export declare class CreateChannelCommand extends CreateChannelCommand_base {
146
131
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
5
4
  import { CreateEventDataStoreRequest, CreateEventDataStoreResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateEventDataStoreCommandInput extends CreateEventDataStoreRe
21
20
  */
22
21
  export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateEventDataStoreCommand_base: {
24
+ new (input: CreateEventDataStoreCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new event data store.</p>
@@ -230,23 +233,5 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
230
233
  * <p>Base exception class for all service exceptions from CloudTrail service.</p>
231
234
  *
232
235
  */
233
- export declare class CreateEventDataStoreCommand extends $Command<CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput, CloudTrailClientResolvedConfig> {
234
- readonly input: CreateEventDataStoreCommandInput;
235
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
236
- /**
237
- * @public
238
- */
239
- constructor(input: CreateEventDataStoreCommandInput);
240
- /**
241
- * @internal
242
- */
243
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput>;
244
- /**
245
- * @internal
246
- */
247
- private serialize;
248
- /**
249
- * @internal
250
- */
251
- private deserialize;
236
+ export declare class CreateEventDataStoreCommand extends CreateEventDataStoreCommand_base {
252
237
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
5
4
  import { CreateTrailRequest, CreateTrailResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateTrailCommandInput extends CreateTrailRequest {
21
20
  */
22
21
  export interface CreateTrailCommandOutput extends CreateTrailResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateTrailCommand_base: {
24
+ new (input: CreateTrailCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTrailCommandInput, CreateTrailCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.
@@ -221,23 +224,5 @@ export interface CreateTrailCommandOutput extends CreateTrailResponse, __Metadat
221
224
  * <p>Base exception class for all service exceptions from CloudTrail service.</p>
222
225
  *
223
226
  */
224
- export declare class CreateTrailCommand extends $Command<CreateTrailCommandInput, CreateTrailCommandOutput, CloudTrailClientResolvedConfig> {
225
- readonly input: CreateTrailCommandInput;
226
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
227
- /**
228
- * @public
229
- */
230
- constructor(input: CreateTrailCommandInput);
231
- /**
232
- * @internal
233
- */
234
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTrailCommandInput, CreateTrailCommandOutput>;
235
- /**
236
- * @internal
237
- */
238
- private serialize;
239
- /**
240
- * @internal
241
- */
242
- private deserialize;
227
+ export declare class CreateTrailCommand extends CreateTrailCommand_base {
243
228
  }