@aws-sdk/client-cloudtrail 3.414.0 → 3.421.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +7 -7
  2. package/dist-cjs/commands/AddTagsCommand.js +5 -0
  3. package/dist-cjs/commands/CancelQueryCommand.js +5 -0
  4. package/dist-cjs/commands/CreateChannelCommand.js +5 -0
  5. package/dist-cjs/commands/CreateEventDataStoreCommand.js +5 -0
  6. package/dist-cjs/commands/CreateTrailCommand.js +5 -0
  7. package/dist-cjs/commands/DeleteChannelCommand.js +5 -0
  8. package/dist-cjs/commands/DeleteEventDataStoreCommand.js +5 -0
  9. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +5 -0
  10. package/dist-cjs/commands/DeleteTrailCommand.js +5 -0
  11. package/dist-cjs/commands/DeregisterOrganizationDelegatedAdminCommand.js +5 -0
  12. package/dist-cjs/commands/DescribeQueryCommand.js +5 -0
  13. package/dist-cjs/commands/DescribeTrailsCommand.js +5 -0
  14. package/dist-cjs/commands/GetChannelCommand.js +5 -0
  15. package/dist-cjs/commands/GetEventDataStoreCommand.js +5 -0
  16. package/dist-cjs/commands/GetEventSelectorsCommand.js +5 -0
  17. package/dist-cjs/commands/GetImportCommand.js +5 -0
  18. package/dist-cjs/commands/GetInsightSelectorsCommand.js +5 -0
  19. package/dist-cjs/commands/GetQueryResultsCommand.js +5 -0
  20. package/dist-cjs/commands/GetResourcePolicyCommand.js +5 -0
  21. package/dist-cjs/commands/GetTrailCommand.js +5 -0
  22. package/dist-cjs/commands/GetTrailStatusCommand.js +5 -0
  23. package/dist-cjs/commands/ListChannelsCommand.js +5 -0
  24. package/dist-cjs/commands/ListEventDataStoresCommand.js +5 -0
  25. package/dist-cjs/commands/ListImportFailuresCommand.js +5 -0
  26. package/dist-cjs/commands/ListImportsCommand.js +5 -0
  27. package/dist-cjs/commands/ListPublicKeysCommand.js +5 -0
  28. package/dist-cjs/commands/ListQueriesCommand.js +5 -0
  29. package/dist-cjs/commands/ListTagsCommand.js +5 -0
  30. package/dist-cjs/commands/ListTrailsCommand.js +5 -0
  31. package/dist-cjs/commands/LookupEventsCommand.js +5 -0
  32. package/dist-cjs/commands/PutEventSelectorsCommand.js +5 -0
  33. package/dist-cjs/commands/PutInsightSelectorsCommand.js +5 -0
  34. package/dist-cjs/commands/PutResourcePolicyCommand.js +5 -0
  35. package/dist-cjs/commands/RegisterOrganizationDelegatedAdminCommand.js +5 -0
  36. package/dist-cjs/commands/RemoveTagsCommand.js +5 -0
  37. package/dist-cjs/commands/RestoreEventDataStoreCommand.js +5 -0
  38. package/dist-cjs/commands/StartEventDataStoreIngestionCommand.js +5 -0
  39. package/dist-cjs/commands/StartImportCommand.js +5 -0
  40. package/dist-cjs/commands/StartLoggingCommand.js +5 -0
  41. package/dist-cjs/commands/StartQueryCommand.js +5 -0
  42. package/dist-cjs/commands/StopEventDataStoreIngestionCommand.js +5 -0
  43. package/dist-cjs/commands/StopImportCommand.js +5 -0
  44. package/dist-cjs/commands/StopLoggingCommand.js +5 -0
  45. package/dist-cjs/commands/UpdateChannelCommand.js +5 -0
  46. package/dist-cjs/commands/UpdateEventDataStoreCommand.js +5 -0
  47. package/dist-cjs/commands/UpdateTrailCommand.js +5 -0
  48. package/dist-es/commands/AddTagsCommand.js +5 -0
  49. package/dist-es/commands/CancelQueryCommand.js +5 -0
  50. package/dist-es/commands/CreateChannelCommand.js +5 -0
  51. package/dist-es/commands/CreateEventDataStoreCommand.js +5 -0
  52. package/dist-es/commands/CreateTrailCommand.js +5 -0
  53. package/dist-es/commands/DeleteChannelCommand.js +5 -0
  54. package/dist-es/commands/DeleteEventDataStoreCommand.js +5 -0
  55. package/dist-es/commands/DeleteResourcePolicyCommand.js +5 -0
  56. package/dist-es/commands/DeleteTrailCommand.js +5 -0
  57. package/dist-es/commands/DeregisterOrganizationDelegatedAdminCommand.js +5 -0
  58. package/dist-es/commands/DescribeQueryCommand.js +5 -0
  59. package/dist-es/commands/DescribeTrailsCommand.js +5 -0
  60. package/dist-es/commands/GetChannelCommand.js +5 -0
  61. package/dist-es/commands/GetEventDataStoreCommand.js +5 -0
  62. package/dist-es/commands/GetEventSelectorsCommand.js +5 -0
  63. package/dist-es/commands/GetImportCommand.js +5 -0
  64. package/dist-es/commands/GetInsightSelectorsCommand.js +5 -0
  65. package/dist-es/commands/GetQueryResultsCommand.js +5 -0
  66. package/dist-es/commands/GetResourcePolicyCommand.js +5 -0
  67. package/dist-es/commands/GetTrailCommand.js +5 -0
  68. package/dist-es/commands/GetTrailStatusCommand.js +5 -0
  69. package/dist-es/commands/ListChannelsCommand.js +5 -0
  70. package/dist-es/commands/ListEventDataStoresCommand.js +5 -0
  71. package/dist-es/commands/ListImportFailuresCommand.js +5 -0
  72. package/dist-es/commands/ListImportsCommand.js +5 -0
  73. package/dist-es/commands/ListPublicKeysCommand.js +5 -0
  74. package/dist-es/commands/ListQueriesCommand.js +5 -0
  75. package/dist-es/commands/ListTagsCommand.js +5 -0
  76. package/dist-es/commands/ListTrailsCommand.js +5 -0
  77. package/dist-es/commands/LookupEventsCommand.js +5 -0
  78. package/dist-es/commands/PutEventSelectorsCommand.js +5 -0
  79. package/dist-es/commands/PutInsightSelectorsCommand.js +5 -0
  80. package/dist-es/commands/PutResourcePolicyCommand.js +5 -0
  81. package/dist-es/commands/RegisterOrganizationDelegatedAdminCommand.js +5 -0
  82. package/dist-es/commands/RemoveTagsCommand.js +5 -0
  83. package/dist-es/commands/RestoreEventDataStoreCommand.js +5 -0
  84. package/dist-es/commands/StartEventDataStoreIngestionCommand.js +5 -0
  85. package/dist-es/commands/StartImportCommand.js +5 -0
  86. package/dist-es/commands/StartLoggingCommand.js +5 -0
  87. package/dist-es/commands/StartQueryCommand.js +5 -0
  88. package/dist-es/commands/StopEventDataStoreIngestionCommand.js +5 -0
  89. package/dist-es/commands/StopImportCommand.js +5 -0
  90. package/dist-es/commands/StopLoggingCommand.js +5 -0
  91. package/dist-es/commands/UpdateChannelCommand.js +5 -0
  92. package/dist-es/commands/UpdateEventDataStoreCommand.js +5 -0
  93. package/dist-es/commands/UpdateTrailCommand.js +5 -0
  94. package/package.json +31 -31
package/README.md CHANGED
@@ -39,16 +39,16 @@ using your favorite package manager:
39
39
 
40
40
  The AWS SDK is modulized by clients and commands.
41
41
  To send a request, you only need to import the `CloudTrailClient` and
42
- the commands you need, for example `AddTagsCommand`:
42
+ the commands you need, for example `ListImportsCommand`:
43
43
 
44
44
  ```js
45
45
  // ES5 example
46
- const { CloudTrailClient, AddTagsCommand } = require("@aws-sdk/client-cloudtrail");
46
+ const { CloudTrailClient, ListImportsCommand } = require("@aws-sdk/client-cloudtrail");
47
47
  ```
48
48
 
49
49
  ```ts
50
50
  // ES6+ example
51
- import { CloudTrailClient, AddTagsCommand } from "@aws-sdk/client-cloudtrail";
51
+ import { CloudTrailClient, ListImportsCommand } from "@aws-sdk/client-cloudtrail";
52
52
  ```
53
53
 
54
54
  ### Usage
@@ -67,7 +67,7 @@ const client = new CloudTrailClient({ region: "REGION" });
67
67
  const params = {
68
68
  /** input parameters */
69
69
  };
70
- const command = new AddTagsCommand(params);
70
+ const command = new ListImportsCommand(params);
71
71
  ```
72
72
 
73
73
  #### Async/await
@@ -146,7 +146,7 @@ const client = new AWS.CloudTrail({ region: "REGION" });
146
146
 
147
147
  // async/await.
148
148
  try {
149
- const data = await client.addTags(params);
149
+ const data = await client.listImports(params);
150
150
  // process data.
151
151
  } catch (error) {
152
152
  // error handling.
@@ -154,7 +154,7 @@ try {
154
154
 
155
155
  // Promises.
156
156
  client
157
- .addTags(params)
157
+ .listImports(params)
158
158
  .then((data) => {
159
159
  // process data.
160
160
  })
@@ -163,7 +163,7 @@ client
163
163
  });
164
164
 
165
165
  // callbacks.
166
- client.addTags(params, (err, data) => {
166
+ client.listImports(params, (err, data) => {
167
167
  // process err and data.
168
168
  });
169
169
  ```
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class AddTagsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class AddTagsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "AddTags",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CancelQueryCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CancelQueryCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "CancelQuery",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateChannelCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateChannelCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "CreateChannel",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateEventDataStoreCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateEventDataStoreCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "CreateEventDataStore",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateTrailCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateTrailCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "CreateTrail",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteChannelCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteChannelCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "DeleteChannel",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteEventDataStoreCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteEventDataStoreCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "DeleteEventDataStore",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteResourcePolicyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteResourcePolicyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "DeleteResourcePolicy",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteTrailCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteTrailCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "DeleteTrail",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeregisterOrganizationDelegatedAdminCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeregisterOrganizationDelegatedAdminCommand extends smithy_client_1.Comman
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "DeregisterOrganizationDelegatedAdmin",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DescribeQueryCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeQueryCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "DescribeQuery",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DescribeTrailsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeTrailsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "DescribeTrails",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetChannelCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetChannelCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "GetChannel",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetEventDataStoreCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetEventDataStoreCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "GetEventDataStore",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetEventSelectorsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetEventSelectorsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "GetEventSelectors",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetImportCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetImportCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "GetImport",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetInsightSelectorsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetInsightSelectorsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "GetInsightSelectors",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetQueryResultsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetQueryResultsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "GetQueryResults",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetResourcePolicyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetResourcePolicyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "GetResourcePolicy",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetTrailCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetTrailCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "GetTrail",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetTrailStatusCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetTrailStatusCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "GetTrailStatus",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListChannelsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListChannelsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "ListChannels",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListEventDataStoresCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListEventDataStoresCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "ListEventDataStores",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListImportFailuresCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListImportFailuresCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "ListImportFailures",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListImportsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListImportsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "ListImports",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListPublicKeysCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListPublicKeysCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "ListPublicKeys",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListQueriesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListQueriesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "ListQueries",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListTagsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListTagsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "ListTags",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListTrailsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListTrailsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "CloudTrail_20131101",
38
+ operation: "ListTrails",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);