@aws-sdk/client-cloudtrail 3.54.0 → 3.56.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 (47) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/CloudTrailClient.js +13 -13
  3. package/dist-cjs/commands/AddTagsCommand.js +3 -3
  4. package/dist-cjs/commands/CancelQueryCommand.js +3 -3
  5. package/dist-cjs/commands/CreateEventDataStoreCommand.js +3 -3
  6. package/dist-cjs/commands/CreateTrailCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteEventDataStoreCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteTrailCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeQueryCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeTrailsCommand.js +3 -3
  11. package/dist-cjs/commands/GetEventDataStoreCommand.js +3 -3
  12. package/dist-cjs/commands/GetEventSelectorsCommand.js +3 -3
  13. package/dist-cjs/commands/GetInsightSelectorsCommand.js +3 -3
  14. package/dist-cjs/commands/GetQueryResultsCommand.js +3 -3
  15. package/dist-cjs/commands/GetTrailCommand.js +3 -3
  16. package/dist-cjs/commands/GetTrailStatusCommand.js +3 -3
  17. package/dist-cjs/commands/ListEventDataStoresCommand.js +3 -3
  18. package/dist-cjs/commands/ListPublicKeysCommand.js +3 -3
  19. package/dist-cjs/commands/ListQueriesCommand.js +3 -3
  20. package/dist-cjs/commands/ListTagsCommand.js +3 -3
  21. package/dist-cjs/commands/ListTrailsCommand.js +3 -3
  22. package/dist-cjs/commands/LookupEventsCommand.js +3 -3
  23. package/dist-cjs/commands/PutEventSelectorsCommand.js +3 -3
  24. package/dist-cjs/commands/PutInsightSelectorsCommand.js +3 -3
  25. package/dist-cjs/commands/RemoveTagsCommand.js +3 -3
  26. package/dist-cjs/commands/RestoreEventDataStoreCommand.js +3 -3
  27. package/dist-cjs/commands/StartLoggingCommand.js +3 -3
  28. package/dist-cjs/commands/StartQueryCommand.js +3 -3
  29. package/dist-cjs/commands/StopLoggingCommand.js +3 -3
  30. package/dist-cjs/commands/UpdateEventDataStoreCommand.js +3 -3
  31. package/dist-cjs/commands/UpdateTrailCommand.js +3 -3
  32. package/dist-cjs/endpoints.js +1 -1
  33. package/dist-cjs/protocols/Aws_json1_1.js +309 -309
  34. package/dist-cjs/runtimeConfig.browser.js +4 -4
  35. package/dist-cjs/runtimeConfig.js +9 -9
  36. package/dist-cjs/runtimeConfig.native.js +1 -1
  37. package/dist-es/CloudTrail.js +29 -29
  38. package/dist-es/pagination/GetQueryResultsPaginator.js +4 -4
  39. package/dist-es/pagination/ListEventDataStoresPaginator.js +4 -4
  40. package/dist-es/pagination/ListPublicKeysPaginator.js +4 -4
  41. package/dist-es/pagination/ListQueriesPaginator.js +4 -4
  42. package/dist-es/pagination/ListTagsPaginator.js +4 -4
  43. package/dist-es/pagination/ListTrailsPaginator.js +4 -4
  44. package/dist-es/pagination/LookupEventsPaginator.js +4 -4
  45. package/dist-types/runtimeConfig.native.d.ts +2 -2
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  47. package/package.json +34 -34
package/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-cloudtrail
9
+
10
+
11
+
12
+
13
+
14
+ # [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-cloudtrail
17
+
18
+
19
+
20
+
21
+
22
+ ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-cloudtrail
25
+
26
+
27
+
28
+
29
+
6
30
  # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
31
 
8
32
 
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class CloudTrailClient extends smithy_client_1.Client {
14
14
  constructor(configuration) {
15
- const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
- const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
- const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
- const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
- const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
- const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
- const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
15
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
16
+ const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
17
+ const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
18
+ const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
19
+ const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
20
+ const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
21
+ const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
22
22
  super(_config_6);
23
23
  this.config = _config_6;
24
- this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
- this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
- this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
- this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
- this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
24
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
25
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
28
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
30
  }
31
31
  destroy() {
32
32
  super.destroy();
@@ -11,7 +11,7 @@ class AddTagsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class AddTagsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1AddTagsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1AddTagsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1AddTagsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1AddTagsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.AddTagsCommand = AddTagsCommand;
@@ -11,7 +11,7 @@ class CancelQueryCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class CancelQueryCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1CancelQueryCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CancelQueryCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1CancelQueryCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CancelQueryCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CancelQueryCommand = CancelQueryCommand;
@@ -11,7 +11,7 @@ class CreateEventDataStoreCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class CreateEventDataStoreCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1CreateEventDataStoreCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateEventDataStoreCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1CreateEventDataStoreCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateEventDataStoreCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateEventDataStoreCommand = CreateEventDataStoreCommand;
@@ -11,7 +11,7 @@ class CreateTrailCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class CreateTrailCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1CreateTrailCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateTrailCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1CreateTrailCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateTrailCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateTrailCommand = CreateTrailCommand;
@@ -11,7 +11,7 @@ class DeleteEventDataStoreCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class DeleteEventDataStoreCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DeleteEventDataStoreCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteEventDataStoreCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DeleteEventDataStoreCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteEventDataStoreCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteEventDataStoreCommand = DeleteEventDataStoreCommand;
@@ -11,7 +11,7 @@ class DeleteTrailCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class DeleteTrailCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DeleteTrailCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteTrailCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DeleteTrailCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteTrailCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteTrailCommand = DeleteTrailCommand;
@@ -11,7 +11,7 @@ class DescribeQueryCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class DescribeQueryCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DescribeQueryCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeQueryCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeQueryCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeQueryCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeQueryCommand = DescribeQueryCommand;
@@ -11,7 +11,7 @@ class DescribeTrailsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class DescribeTrailsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DescribeTrailsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeTrailsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeTrailsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeTrailsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeTrailsCommand = DescribeTrailsCommand;
@@ -11,7 +11,7 @@ class GetEventDataStoreCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class GetEventDataStoreCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetEventDataStoreCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetEventDataStoreCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetEventDataStoreCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetEventDataStoreCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetEventDataStoreCommand = GetEventDataStoreCommand;
@@ -11,7 +11,7 @@ class GetEventSelectorsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class GetEventSelectorsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetEventSelectorsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetEventSelectorsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetEventSelectorsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetEventSelectorsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetEventSelectorsCommand = GetEventSelectorsCommand;
@@ -11,7 +11,7 @@ class GetInsightSelectorsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class GetInsightSelectorsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetInsightSelectorsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetInsightSelectorsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetInsightSelectorsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetInsightSelectorsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetInsightSelectorsCommand = GetInsightSelectorsCommand;
@@ -11,7 +11,7 @@ class GetQueryResultsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class GetQueryResultsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetQueryResultsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetQueryResultsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetQueryResultsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetQueryResultsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetQueryResultsCommand = GetQueryResultsCommand;
@@ -11,7 +11,7 @@ class GetTrailCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class GetTrailCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetTrailCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetTrailCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetTrailCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetTrailCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetTrailCommand = GetTrailCommand;
@@ -11,7 +11,7 @@ class GetTrailStatusCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class GetTrailStatusCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetTrailStatusCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetTrailStatusCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetTrailStatusCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetTrailStatusCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetTrailStatusCommand = GetTrailStatusCommand;
@@ -11,7 +11,7 @@ class ListEventDataStoresCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class ListEventDataStoresCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListEventDataStoresCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListEventDataStoresCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListEventDataStoresCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListEventDataStoresCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListEventDataStoresCommand = ListEventDataStoresCommand;
@@ -11,7 +11,7 @@ class ListPublicKeysCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class ListPublicKeysCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListPublicKeysCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListPublicKeysCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListPublicKeysCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListPublicKeysCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListPublicKeysCommand = ListPublicKeysCommand;
@@ -11,7 +11,7 @@ class ListQueriesCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class ListQueriesCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListQueriesCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListQueriesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListQueriesCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListQueriesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListQueriesCommand = ListQueriesCommand;
@@ -11,7 +11,7 @@ class ListTagsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class ListTagsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListTagsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListTagsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListTagsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListTagsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTagsCommand = ListTagsCommand;
@@ -11,7 +11,7 @@ class ListTrailsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class ListTrailsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListTrailsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListTrailsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListTrailsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListTrailsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTrailsCommand = ListTrailsCommand;
@@ -11,7 +11,7 @@ class LookupEventsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class LookupEventsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1LookupEventsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1LookupEventsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1LookupEventsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1LookupEventsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.LookupEventsCommand = LookupEventsCommand;
@@ -11,7 +11,7 @@ class PutEventSelectorsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class PutEventSelectorsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1PutEventSelectorsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1PutEventSelectorsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1PutEventSelectorsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1PutEventSelectorsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.PutEventSelectorsCommand = PutEventSelectorsCommand;
@@ -11,7 +11,7 @@ class PutInsightSelectorsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class PutInsightSelectorsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1PutInsightSelectorsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1PutInsightSelectorsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1PutInsightSelectorsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1PutInsightSelectorsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.PutInsightSelectorsCommand = PutInsightSelectorsCommand;
@@ -11,7 +11,7 @@ class RemoveTagsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class RemoveTagsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1RemoveTagsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1RemoveTagsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1RemoveTagsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1RemoveTagsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.RemoveTagsCommand = RemoveTagsCommand;
@@ -11,7 +11,7 @@ class RestoreEventDataStoreCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "CloudTrailClient";
@@ -27,10 +27,10 @@ class RestoreEventDataStoreCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1RestoreEventDataStoreCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1RestoreEventDataStoreCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1RestoreEventDataStoreCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1RestoreEventDataStoreCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.RestoreEventDataStoreCommand = RestoreEventDataStoreCommand;