@aws-sdk/client-cloudwatch-logs 3.417.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 (104) hide show
  1. package/README.md +7 -7
  2. package/dist-cjs/commands/AssociateKmsKeyCommand.js +5 -0
  3. package/dist-cjs/commands/CancelExportTaskCommand.js +5 -0
  4. package/dist-cjs/commands/CreateExportTaskCommand.js +5 -0
  5. package/dist-cjs/commands/CreateLogGroupCommand.js +5 -0
  6. package/dist-cjs/commands/CreateLogStreamCommand.js +5 -0
  7. package/dist-cjs/commands/DeleteAccountPolicyCommand.js +5 -0
  8. package/dist-cjs/commands/DeleteDataProtectionPolicyCommand.js +5 -0
  9. package/dist-cjs/commands/DeleteDestinationCommand.js +5 -0
  10. package/dist-cjs/commands/DeleteLogGroupCommand.js +5 -0
  11. package/dist-cjs/commands/DeleteLogStreamCommand.js +5 -0
  12. package/dist-cjs/commands/DeleteMetricFilterCommand.js +5 -0
  13. package/dist-cjs/commands/DeleteQueryDefinitionCommand.js +5 -0
  14. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +5 -0
  15. package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +5 -0
  16. package/dist-cjs/commands/DeleteSubscriptionFilterCommand.js +5 -0
  17. package/dist-cjs/commands/DescribeAccountPoliciesCommand.js +5 -0
  18. package/dist-cjs/commands/DescribeDestinationsCommand.js +5 -0
  19. package/dist-cjs/commands/DescribeExportTasksCommand.js +5 -0
  20. package/dist-cjs/commands/DescribeLogGroupsCommand.js +5 -0
  21. package/dist-cjs/commands/DescribeLogStreamsCommand.js +5 -0
  22. package/dist-cjs/commands/DescribeMetricFiltersCommand.js +5 -0
  23. package/dist-cjs/commands/DescribeQueriesCommand.js +5 -0
  24. package/dist-cjs/commands/DescribeQueryDefinitionsCommand.js +5 -0
  25. package/dist-cjs/commands/DescribeResourcePoliciesCommand.js +5 -0
  26. package/dist-cjs/commands/DescribeSubscriptionFiltersCommand.js +5 -0
  27. package/dist-cjs/commands/DisassociateKmsKeyCommand.js +5 -0
  28. package/dist-cjs/commands/FilterLogEventsCommand.js +5 -0
  29. package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +5 -0
  30. package/dist-cjs/commands/GetLogEventsCommand.js +5 -0
  31. package/dist-cjs/commands/GetLogGroupFieldsCommand.js +5 -0
  32. package/dist-cjs/commands/GetLogRecordCommand.js +5 -0
  33. package/dist-cjs/commands/GetQueryResultsCommand.js +5 -0
  34. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  35. package/dist-cjs/commands/ListTagsLogGroupCommand.js +5 -0
  36. package/dist-cjs/commands/PutAccountPolicyCommand.js +5 -0
  37. package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +5 -0
  38. package/dist-cjs/commands/PutDestinationCommand.js +5 -0
  39. package/dist-cjs/commands/PutDestinationPolicyCommand.js +5 -0
  40. package/dist-cjs/commands/PutLogEventsCommand.js +5 -0
  41. package/dist-cjs/commands/PutMetricFilterCommand.js +5 -0
  42. package/dist-cjs/commands/PutQueryDefinitionCommand.js +5 -0
  43. package/dist-cjs/commands/PutResourcePolicyCommand.js +5 -0
  44. package/dist-cjs/commands/PutRetentionPolicyCommand.js +5 -0
  45. package/dist-cjs/commands/PutSubscriptionFilterCommand.js +5 -0
  46. package/dist-cjs/commands/StartQueryCommand.js +5 -0
  47. package/dist-cjs/commands/StopQueryCommand.js +5 -0
  48. package/dist-cjs/commands/TagLogGroupCommand.js +5 -0
  49. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  50. package/dist-cjs/commands/TestMetricFilterCommand.js +5 -0
  51. package/dist-cjs/commands/UntagLogGroupCommand.js +5 -0
  52. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  53. package/dist-es/commands/AssociateKmsKeyCommand.js +5 -0
  54. package/dist-es/commands/CancelExportTaskCommand.js +5 -0
  55. package/dist-es/commands/CreateExportTaskCommand.js +5 -0
  56. package/dist-es/commands/CreateLogGroupCommand.js +5 -0
  57. package/dist-es/commands/CreateLogStreamCommand.js +5 -0
  58. package/dist-es/commands/DeleteAccountPolicyCommand.js +5 -0
  59. package/dist-es/commands/DeleteDataProtectionPolicyCommand.js +5 -0
  60. package/dist-es/commands/DeleteDestinationCommand.js +5 -0
  61. package/dist-es/commands/DeleteLogGroupCommand.js +5 -0
  62. package/dist-es/commands/DeleteLogStreamCommand.js +5 -0
  63. package/dist-es/commands/DeleteMetricFilterCommand.js +5 -0
  64. package/dist-es/commands/DeleteQueryDefinitionCommand.js +5 -0
  65. package/dist-es/commands/DeleteResourcePolicyCommand.js +5 -0
  66. package/dist-es/commands/DeleteRetentionPolicyCommand.js +5 -0
  67. package/dist-es/commands/DeleteSubscriptionFilterCommand.js +5 -0
  68. package/dist-es/commands/DescribeAccountPoliciesCommand.js +5 -0
  69. package/dist-es/commands/DescribeDestinationsCommand.js +5 -0
  70. package/dist-es/commands/DescribeExportTasksCommand.js +5 -0
  71. package/dist-es/commands/DescribeLogGroupsCommand.js +5 -0
  72. package/dist-es/commands/DescribeLogStreamsCommand.js +5 -0
  73. package/dist-es/commands/DescribeMetricFiltersCommand.js +5 -0
  74. package/dist-es/commands/DescribeQueriesCommand.js +5 -0
  75. package/dist-es/commands/DescribeQueryDefinitionsCommand.js +5 -0
  76. package/dist-es/commands/DescribeResourcePoliciesCommand.js +5 -0
  77. package/dist-es/commands/DescribeSubscriptionFiltersCommand.js +5 -0
  78. package/dist-es/commands/DisassociateKmsKeyCommand.js +5 -0
  79. package/dist-es/commands/FilterLogEventsCommand.js +5 -0
  80. package/dist-es/commands/GetDataProtectionPolicyCommand.js +5 -0
  81. package/dist-es/commands/GetLogEventsCommand.js +5 -0
  82. package/dist-es/commands/GetLogGroupFieldsCommand.js +5 -0
  83. package/dist-es/commands/GetLogRecordCommand.js +5 -0
  84. package/dist-es/commands/GetQueryResultsCommand.js +5 -0
  85. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  86. package/dist-es/commands/ListTagsLogGroupCommand.js +5 -0
  87. package/dist-es/commands/PutAccountPolicyCommand.js +5 -0
  88. package/dist-es/commands/PutDataProtectionPolicyCommand.js +5 -0
  89. package/dist-es/commands/PutDestinationCommand.js +5 -0
  90. package/dist-es/commands/PutDestinationPolicyCommand.js +5 -0
  91. package/dist-es/commands/PutLogEventsCommand.js +5 -0
  92. package/dist-es/commands/PutMetricFilterCommand.js +5 -0
  93. package/dist-es/commands/PutQueryDefinitionCommand.js +5 -0
  94. package/dist-es/commands/PutResourcePolicyCommand.js +5 -0
  95. package/dist-es/commands/PutRetentionPolicyCommand.js +5 -0
  96. package/dist-es/commands/PutSubscriptionFilterCommand.js +5 -0
  97. package/dist-es/commands/StartQueryCommand.js +5 -0
  98. package/dist-es/commands/StopQueryCommand.js +5 -0
  99. package/dist-es/commands/TagLogGroupCommand.js +5 -0
  100. package/dist-es/commands/TagResourceCommand.js +5 -0
  101. package/dist-es/commands/TestMetricFilterCommand.js +5 -0
  102. package/dist-es/commands/UntagLogGroupCommand.js +5 -0
  103. package/dist-es/commands/UntagResourceCommand.js +5 -0
  104. package/package.json +31 -31
package/README.md CHANGED
@@ -57,16 +57,16 @@ using your favorite package manager:
57
57
 
58
58
  The AWS SDK is modulized by clients and commands.
59
59
  To send a request, you only need to import the `CloudWatchLogsClient` and
60
- the commands you need, for example `AssociateKmsKeyCommand`:
60
+ the commands you need, for example `ListTagsLogGroupCommand`:
61
61
 
62
62
  ```js
63
63
  // ES5 example
64
- const { CloudWatchLogsClient, AssociateKmsKeyCommand } = require("@aws-sdk/client-cloudwatch-logs");
64
+ const { CloudWatchLogsClient, ListTagsLogGroupCommand } = require("@aws-sdk/client-cloudwatch-logs");
65
65
  ```
66
66
 
67
67
  ```ts
68
68
  // ES6+ example
69
- import { CloudWatchLogsClient, AssociateKmsKeyCommand } from "@aws-sdk/client-cloudwatch-logs";
69
+ import { CloudWatchLogsClient, ListTagsLogGroupCommand } from "@aws-sdk/client-cloudwatch-logs";
70
70
  ```
71
71
 
72
72
  ### Usage
@@ -85,7 +85,7 @@ const client = new CloudWatchLogsClient({ region: "REGION" });
85
85
  const params = {
86
86
  /** input parameters */
87
87
  };
88
- const command = new AssociateKmsKeyCommand(params);
88
+ const command = new ListTagsLogGroupCommand(params);
89
89
  ```
90
90
 
91
91
  #### Async/await
@@ -164,7 +164,7 @@ const client = new AWS.CloudWatchLogs({ region: "REGION" });
164
164
 
165
165
  // async/await.
166
166
  try {
167
- const data = await client.associateKmsKey(params);
167
+ const data = await client.listTagsLogGroup(params);
168
168
  // process data.
169
169
  } catch (error) {
170
170
  // error handling.
@@ -172,7 +172,7 @@ try {
172
172
 
173
173
  // Promises.
174
174
  client
175
- .associateKmsKey(params)
175
+ .listTagsLogGroup(params)
176
176
  .then((data) => {
177
177
  // process data.
178
178
  })
@@ -181,7 +181,7 @@ client
181
181
  });
182
182
 
183
183
  // callbacks.
184
- client.associateKmsKey(params, (err, data) => {
184
+ client.listTagsLogGroup(params, (err, data) => {
185
185
  // process err and data.
186
186
  });
187
187
  ```
@@ -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 AssociateKmsKeyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class AssociateKmsKeyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "AssociateKmsKey",
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 CancelExportTaskCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CancelExportTaskCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "CancelExportTask",
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 CreateExportTaskCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateExportTaskCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "CreateExportTask",
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 CreateLogGroupCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateLogGroupCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "CreateLogGroup",
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 CreateLogStreamCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateLogStreamCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "CreateLogStream",
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 DeleteAccountPolicyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteAccountPolicyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DeleteAccountPolicy",
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 DeleteDataProtectionPolicyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteDataProtectionPolicyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DeleteDataProtectionPolicy",
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 DeleteDestinationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteDestinationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DeleteDestination",
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 DeleteLogGroupCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteLogGroupCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DeleteLogGroup",
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 DeleteLogStreamCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteLogStreamCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DeleteLogStream",
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 DeleteMetricFilterCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteMetricFilterCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DeleteMetricFilter",
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 DeleteQueryDefinitionCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteQueryDefinitionCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DeleteQueryDefinition",
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: "Logs_20140328",
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 DeleteRetentionPolicyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteRetentionPolicyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DeleteRetentionPolicy",
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 DeleteSubscriptionFilterCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteSubscriptionFilterCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DeleteSubscriptionFilter",
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 DescribeAccountPoliciesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeAccountPoliciesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DescribeAccountPolicies",
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 DescribeDestinationsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeDestinationsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DescribeDestinations",
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 DescribeExportTasksCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeExportTasksCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DescribeExportTasks",
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 DescribeLogGroupsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeLogGroupsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DescribeLogGroups",
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 DescribeLogStreamsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeLogStreamsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DescribeLogStreams",
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 DescribeMetricFiltersCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeMetricFiltersCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DescribeMetricFilters",
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 DescribeQueriesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeQueriesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DescribeQueries",
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 DescribeQueryDefinitionsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeQueryDefinitionsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DescribeQueryDefinitions",
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 DescribeResourcePoliciesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeResourcePoliciesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DescribeResourcePolicies",
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 DescribeSubscriptionFiltersCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeSubscriptionFiltersCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DescribeSubscriptionFilters",
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 DisassociateKmsKeyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DisassociateKmsKeyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "DisassociateKmsKey",
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 FilterLogEventsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class FilterLogEventsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "FilterLogEvents",
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 GetDataProtectionPolicyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetDataProtectionPolicyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "GetDataProtectionPolicy",
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 GetLogEventsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetLogEventsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Logs_20140328",
38
+ operation: "GetLogEvents",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);