@aws-sdk/client-timestream-query 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 (28) hide show
  1. package/README.md +7 -7
  2. package/dist-cjs/commands/CancelQueryCommand.js +5 -0
  3. package/dist-cjs/commands/CreateScheduledQueryCommand.js +5 -0
  4. package/dist-cjs/commands/DeleteScheduledQueryCommand.js +5 -0
  5. package/dist-cjs/commands/DescribeEndpointsCommand.js +5 -0
  6. package/dist-cjs/commands/DescribeScheduledQueryCommand.js +5 -0
  7. package/dist-cjs/commands/ExecuteScheduledQueryCommand.js +5 -0
  8. package/dist-cjs/commands/ListScheduledQueriesCommand.js +5 -0
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  10. package/dist-cjs/commands/PrepareQueryCommand.js +5 -0
  11. package/dist-cjs/commands/QueryCommand.js +5 -0
  12. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  13. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  14. package/dist-cjs/commands/UpdateScheduledQueryCommand.js +5 -0
  15. package/dist-es/commands/CancelQueryCommand.js +5 -0
  16. package/dist-es/commands/CreateScheduledQueryCommand.js +5 -0
  17. package/dist-es/commands/DeleteScheduledQueryCommand.js +5 -0
  18. package/dist-es/commands/DescribeEndpointsCommand.js +5 -0
  19. package/dist-es/commands/DescribeScheduledQueryCommand.js +5 -0
  20. package/dist-es/commands/ExecuteScheduledQueryCommand.js +5 -0
  21. package/dist-es/commands/ListScheduledQueriesCommand.js +5 -0
  22. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  23. package/dist-es/commands/PrepareQueryCommand.js +5 -0
  24. package/dist-es/commands/QueryCommand.js +5 -0
  25. package/dist-es/commands/TagResourceCommand.js +5 -0
  26. package/dist-es/commands/UntagResourceCommand.js +5 -0
  27. package/dist-es/commands/UpdateScheduledQueryCommand.js +5 -0
  28. package/package.json +32 -32
package/README.md CHANGED
@@ -26,16 +26,16 @@ using your favorite package manager:
26
26
 
27
27
  The AWS SDK is modulized by clients and commands.
28
28
  To send a request, you only need to import the `TimestreamQueryClient` and
29
- the commands you need, for example `CancelQueryCommand`:
29
+ the commands you need, for example `ListScheduledQueriesCommand`:
30
30
 
31
31
  ```js
32
32
  // ES5 example
33
- const { TimestreamQueryClient, CancelQueryCommand } = require("@aws-sdk/client-timestream-query");
33
+ const { TimestreamQueryClient, ListScheduledQueriesCommand } = require("@aws-sdk/client-timestream-query");
34
34
  ```
35
35
 
36
36
  ```ts
37
37
  // ES6+ example
38
- import { TimestreamQueryClient, CancelQueryCommand } from "@aws-sdk/client-timestream-query";
38
+ import { TimestreamQueryClient, ListScheduledQueriesCommand } from "@aws-sdk/client-timestream-query";
39
39
  ```
40
40
 
41
41
  ### Usage
@@ -54,7 +54,7 @@ const client = new TimestreamQueryClient({ region: "REGION" });
54
54
  const params = {
55
55
  /** input parameters */
56
56
  };
57
- const command = new CancelQueryCommand(params);
57
+ const command = new ListScheduledQueriesCommand(params);
58
58
  ```
59
59
 
60
60
  #### Async/await
@@ -133,7 +133,7 @@ const client = new AWS.TimestreamQuery({ region: "REGION" });
133
133
 
134
134
  // async/await.
135
135
  try {
136
- const data = await client.cancelQuery(params);
136
+ const data = await client.listScheduledQueries(params);
137
137
  // process data.
138
138
  } catch (error) {
139
139
  // error handling.
@@ -141,7 +141,7 @@ try {
141
141
 
142
142
  // Promises.
143
143
  client
144
- .cancelQuery(params)
144
+ .listScheduledQueries(params)
145
145
  .then((data) => {
146
146
  // process data.
147
147
  })
@@ -150,7 +150,7 @@ client
150
150
  });
151
151
 
152
152
  // callbacks.
153
- client.cancelQuery(params, (err, data) => {
153
+ client.listScheduledQueries(params, (err, data) => {
154
154
  // process err and data.
155
155
  });
156
156
  ```
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
11
  class CancelQueryCommand extends smithy_client_1.Command {
11
12
  static getEndpointParameterInstructions() {
@@ -34,6 +35,10 @@ class CancelQueryCommand extends smithy_client_1.Command {
34
35
  commandName,
35
36
  inputFilterSensitiveLog: (_) => _,
36
37
  outputFilterSensitiveLog: (_) => _,
38
+ [types_1.SMITHY_CONTEXT_KEY]: {
39
+ service: "Timestream_20181101",
40
+ operation: "CancelQuery",
41
+ },
37
42
  };
38
43
  const { requestHandler } = configuration;
39
44
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const models_0_1 = require("../models/models_0");
10
11
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
12
  class CreateScheduledQueryCommand extends smithy_client_1.Command {
@@ -35,6 +36,10 @@ class CreateScheduledQueryCommand extends smithy_client_1.Command {
35
36
  commandName,
36
37
  inputFilterSensitiveLog: models_0_1.CreateScheduledQueryRequestFilterSensitiveLog,
37
38
  outputFilterSensitiveLog: (_) => _,
39
+ [types_1.SMITHY_CONTEXT_KEY]: {
40
+ service: "Timestream_20181101",
41
+ operation: "CreateScheduledQuery",
42
+ },
38
43
  };
39
44
  const { requestHandler } = configuration;
40
45
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
11
  class DeleteScheduledQueryCommand extends smithy_client_1.Command {
11
12
  static getEndpointParameterInstructions() {
@@ -34,6 +35,10 @@ class DeleteScheduledQueryCommand extends smithy_client_1.Command {
34
35
  commandName,
35
36
  inputFilterSensitiveLog: (_) => _,
36
37
  outputFilterSensitiveLog: (_) => _,
38
+ [types_1.SMITHY_CONTEXT_KEY]: {
39
+ service: "Timestream_20181101",
40
+ operation: "DeleteScheduledQuery",
41
+ },
37
42
  };
38
43
  const { requestHandler } = configuration;
39
44
  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_0_1 = require("../protocols/Aws_json1_0");
9
10
  class DescribeEndpointsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeEndpointsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Timestream_20181101",
38
+ operation: "DescribeEndpoints",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const models_0_1 = require("../models/models_0");
10
11
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
12
  class DescribeScheduledQueryCommand extends smithy_client_1.Command {
@@ -35,6 +36,10 @@ class DescribeScheduledQueryCommand extends smithy_client_1.Command {
35
36
  commandName,
36
37
  inputFilterSensitiveLog: (_) => _,
37
38
  outputFilterSensitiveLog: models_0_1.DescribeScheduledQueryResponseFilterSensitiveLog,
39
+ [types_1.SMITHY_CONTEXT_KEY]: {
40
+ service: "Timestream_20181101",
41
+ operation: "DescribeScheduledQuery",
42
+ },
38
43
  };
39
44
  const { requestHandler } = configuration;
40
45
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const models_0_1 = require("../models/models_0");
10
11
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
12
  class ExecuteScheduledQueryCommand extends smithy_client_1.Command {
@@ -35,6 +36,10 @@ class ExecuteScheduledQueryCommand extends smithy_client_1.Command {
35
36
  commandName,
36
37
  inputFilterSensitiveLog: models_0_1.ExecuteScheduledQueryRequestFilterSensitiveLog,
37
38
  outputFilterSensitiveLog: (_) => _,
39
+ [types_1.SMITHY_CONTEXT_KEY]: {
40
+ service: "Timestream_20181101",
41
+ operation: "ExecuteScheduledQuery",
42
+ },
38
43
  };
39
44
  const { requestHandler } = configuration;
40
45
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
11
  class ListScheduledQueriesCommand extends smithy_client_1.Command {
11
12
  static getEndpointParameterInstructions() {
@@ -34,6 +35,10 @@ class ListScheduledQueriesCommand extends smithy_client_1.Command {
34
35
  commandName,
35
36
  inputFilterSensitiveLog: (_) => _,
36
37
  outputFilterSensitiveLog: (_) => _,
38
+ [types_1.SMITHY_CONTEXT_KEY]: {
39
+ service: "Timestream_20181101",
40
+ operation: "ListScheduledQueries",
41
+ },
37
42
  };
38
43
  const { requestHandler } = configuration;
39
44
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
11
  class ListTagsForResourceCommand extends smithy_client_1.Command {
11
12
  static getEndpointParameterInstructions() {
@@ -34,6 +35,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
34
35
  commandName,
35
36
  inputFilterSensitiveLog: (_) => _,
36
37
  outputFilterSensitiveLog: (_) => _,
38
+ [types_1.SMITHY_CONTEXT_KEY]: {
39
+ service: "Timestream_20181101",
40
+ operation: "ListTagsForResource",
41
+ },
37
42
  };
38
43
  const { requestHandler } = configuration;
39
44
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const models_0_1 = require("../models/models_0");
10
11
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
12
  class PrepareQueryCommand extends smithy_client_1.Command {
@@ -35,6 +36,10 @@ class PrepareQueryCommand extends smithy_client_1.Command {
35
36
  commandName,
36
37
  inputFilterSensitiveLog: models_0_1.PrepareQueryRequestFilterSensitiveLog,
37
38
  outputFilterSensitiveLog: models_0_1.PrepareQueryResponseFilterSensitiveLog,
39
+ [types_1.SMITHY_CONTEXT_KEY]: {
40
+ service: "Timestream_20181101",
41
+ operation: "PrepareQuery",
42
+ },
38
43
  };
39
44
  const { requestHandler } = configuration;
40
45
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const models_0_1 = require("../models/models_0");
10
11
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
12
  class QueryCommand extends smithy_client_1.Command {
@@ -35,6 +36,10 @@ class QueryCommand extends smithy_client_1.Command {
35
36
  commandName,
36
37
  inputFilterSensitiveLog: models_0_1.QueryRequestFilterSensitiveLog,
37
38
  outputFilterSensitiveLog: (_) => _,
39
+ [types_1.SMITHY_CONTEXT_KEY]: {
40
+ service: "Timestream_20181101",
41
+ operation: "Query",
42
+ },
38
43
  };
39
44
  const { requestHandler } = configuration;
40
45
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
11
  class TagResourceCommand extends smithy_client_1.Command {
11
12
  static getEndpointParameterInstructions() {
@@ -34,6 +35,10 @@ class TagResourceCommand extends smithy_client_1.Command {
34
35
  commandName,
35
36
  inputFilterSensitiveLog: (_) => _,
36
37
  outputFilterSensitiveLog: (_) => _,
38
+ [types_1.SMITHY_CONTEXT_KEY]: {
39
+ service: "Timestream_20181101",
40
+ operation: "TagResource",
41
+ },
37
42
  };
38
43
  const { requestHandler } = configuration;
39
44
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
11
  class UntagResourceCommand extends smithy_client_1.Command {
11
12
  static getEndpointParameterInstructions() {
@@ -34,6 +35,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
34
35
  commandName,
35
36
  inputFilterSensitiveLog: (_) => _,
36
37
  outputFilterSensitiveLog: (_) => _,
38
+ [types_1.SMITHY_CONTEXT_KEY]: {
39
+ service: "Timestream_20181101",
40
+ operation: "UntagResource",
41
+ },
37
42
  };
38
43
  const { requestHandler } = configuration;
39
44
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
11
  class UpdateScheduledQueryCommand extends smithy_client_1.Command {
11
12
  static getEndpointParameterInstructions() {
@@ -34,6 +35,10 @@ class UpdateScheduledQueryCommand extends smithy_client_1.Command {
34
35
  commandName,
35
36
  inputFilterSensitiveLog: (_) => _,
36
37
  outputFilterSensitiveLog: (_) => _,
38
+ [types_1.SMITHY_CONTEXT_KEY]: {
39
+ service: "Timestream_20181101",
40
+ operation: "UpdateScheduledQuery",
41
+ },
37
42
  };
38
43
  const { requestHandler } = configuration;
39
44
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_CancelQueryCommand, se_CancelQueryCommand } from "../protocols/Aws_json1_0";
6
7
  export { $Command };
7
8
  export class CancelQueryCommand extends $Command {
@@ -31,6 +32,10 @@ export class CancelQueryCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "Timestream_20181101",
37
+ operation: "CancelQuery",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { CreateScheduledQueryRequestFilterSensitiveLog, } from "../models/models_0";
6
7
  import { de_CreateScheduledQueryCommand, se_CreateScheduledQueryCommand } from "../protocols/Aws_json1_0";
7
8
  export { $Command };
@@ -32,6 +33,10 @@ export class CreateScheduledQueryCommand extends $Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: CreateScheduledQueryRequestFilterSensitiveLog,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [SMITHY_CONTEXT_KEY]: {
37
+ service: "Timestream_20181101",
38
+ operation: "CreateScheduledQuery",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_DeleteScheduledQueryCommand, se_DeleteScheduledQueryCommand } from "../protocols/Aws_json1_0";
6
7
  export { $Command };
7
8
  export class DeleteScheduledQueryCommand extends $Command {
@@ -31,6 +32,10 @@ export class DeleteScheduledQueryCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "Timestream_20181101",
37
+ operation: "DeleteScheduledQuery",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeEndpointsCommand, se_DescribeEndpointsCommand } from "../protocols/Aws_json1_0";
5
6
  export { $Command };
6
7
  export class DescribeEndpointsCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeEndpointsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "Timestream_20181101",
35
+ operation: "DescribeEndpoints",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { DescribeScheduledQueryResponseFilterSensitiveLog, } from "../models/models_0";
6
7
  import { de_DescribeScheduledQueryCommand, se_DescribeScheduledQueryCommand } from "../protocols/Aws_json1_0";
7
8
  export { $Command };
@@ -32,6 +33,10 @@ export class DescribeScheduledQueryCommand extends $Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: DescribeScheduledQueryResponseFilterSensitiveLog,
36
+ [SMITHY_CONTEXT_KEY]: {
37
+ service: "Timestream_20181101",
38
+ operation: "DescribeScheduledQuery",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { ExecuteScheduledQueryRequestFilterSensitiveLog } from "../models/models_0";
6
7
  import { de_ExecuteScheduledQueryCommand, se_ExecuteScheduledQueryCommand } from "../protocols/Aws_json1_0";
7
8
  export { $Command };
@@ -32,6 +33,10 @@ export class ExecuteScheduledQueryCommand extends $Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: ExecuteScheduledQueryRequestFilterSensitiveLog,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [SMITHY_CONTEXT_KEY]: {
37
+ service: "Timestream_20181101",
38
+ operation: "ExecuteScheduledQuery",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_ListScheduledQueriesCommand, se_ListScheduledQueriesCommand } from "../protocols/Aws_json1_0";
6
7
  export { $Command };
7
8
  export class ListScheduledQueriesCommand extends $Command {
@@ -31,6 +32,10 @@ export class ListScheduledQueriesCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "Timestream_20181101",
37
+ operation: "ListScheduledQueries",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_0";
6
7
  export { $Command };
7
8
  export class ListTagsForResourceCommand extends $Command {
@@ -31,6 +32,10 @@ export class ListTagsForResourceCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "Timestream_20181101",
37
+ operation: "ListTagsForResource",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { PrepareQueryRequestFilterSensitiveLog, PrepareQueryResponseFilterSensitiveLog, } from "../models/models_0";
6
7
  import { de_PrepareQueryCommand, se_PrepareQueryCommand } from "../protocols/Aws_json1_0";
7
8
  export { $Command };
@@ -32,6 +33,10 @@ export class PrepareQueryCommand extends $Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: PrepareQueryRequestFilterSensitiveLog,
34
35
  outputFilterSensitiveLog: PrepareQueryResponseFilterSensitiveLog,
36
+ [SMITHY_CONTEXT_KEY]: {
37
+ service: "Timestream_20181101",
38
+ operation: "PrepareQuery",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { QueryRequestFilterSensitiveLog } from "../models/models_0";
6
7
  import { de_QueryCommand, se_QueryCommand } from "../protocols/Aws_json1_0";
7
8
  export { $Command };
@@ -32,6 +33,10 @@ export class QueryCommand extends $Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: QueryRequestFilterSensitiveLog,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [SMITHY_CONTEXT_KEY]: {
37
+ service: "Timestream_20181101",
38
+ operation: "Query",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0";
6
7
  export { $Command };
7
8
  export class TagResourceCommand extends $Command {
@@ -31,6 +32,10 @@ export class TagResourceCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "Timestream_20181101",
37
+ operation: "TagResource",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_0";
6
7
  export { $Command };
7
8
  export class UntagResourceCommand extends $Command {
@@ -31,6 +32,10 @@ export class UntagResourceCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "Timestream_20181101",
37
+ operation: "UntagResource",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_UpdateScheduledQueryCommand, se_UpdateScheduledQueryCommand } from "../protocols/Aws_json1_0";
6
7
  export { $Command };
7
8
  export class UpdateScheduledQueryCommand extends $Command {
@@ -31,6 +32,10 @@ export class UpdateScheduledQueryCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "Timestream_20181101",
37
+ operation: "UpdateScheduledQuery",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-timestream-query",
3
3
  "description": "AWS SDK for JavaScript Timestream Query Client for Node.js, Browser and React Native",
4
- "version": "3.417.0",
4
+ "version": "3.421.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,40 +21,40 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.414.0",
25
- "@aws-sdk/credential-provider-node": "3.414.0",
26
- "@aws-sdk/middleware-endpoint-discovery": "3.417.0",
27
- "@aws-sdk/middleware-host-header": "3.413.0",
28
- "@aws-sdk/middleware-logger": "3.413.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.413.0",
30
- "@aws-sdk/middleware-signing": "3.413.0",
31
- "@aws-sdk/middleware-user-agent": "3.413.0",
32
- "@aws-sdk/region-config-resolver": "3.413.0",
33
- "@aws-sdk/types": "3.413.0",
34
- "@aws-sdk/util-endpoints": "3.413.0",
35
- "@aws-sdk/util-user-agent-browser": "3.413.0",
36
- "@aws-sdk/util-user-agent-node": "3.413.0",
37
- "@smithy/config-resolver": "^2.0.8",
38
- "@smithy/fetch-http-handler": "^2.1.3",
39
- "@smithy/hash-node": "^2.0.7",
40
- "@smithy/invalid-dependency": "^2.0.7",
41
- "@smithy/middleware-content-length": "^2.0.9",
42
- "@smithy/middleware-endpoint": "^2.0.7",
43
- "@smithy/middleware-retry": "^2.0.10",
44
- "@smithy/middleware-serde": "^2.0.7",
45
- "@smithy/middleware-stack": "^2.0.0",
46
- "@smithy/node-config-provider": "^2.0.10",
47
- "@smithy/node-http-handler": "^2.1.3",
48
- "@smithy/protocol-http": "^3.0.3",
49
- "@smithy/smithy-client": "^2.1.4",
50
- "@smithy/types": "^2.3.1",
51
- "@smithy/url-parser": "^2.0.7",
24
+ "@aws-sdk/client-sts": "3.421.0",
25
+ "@aws-sdk/credential-provider-node": "3.421.0",
26
+ "@aws-sdk/middleware-endpoint-discovery": "3.418.0",
27
+ "@aws-sdk/middleware-host-header": "3.418.0",
28
+ "@aws-sdk/middleware-logger": "3.418.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.418.0",
30
+ "@aws-sdk/middleware-signing": "3.418.0",
31
+ "@aws-sdk/middleware-user-agent": "3.418.0",
32
+ "@aws-sdk/region-config-resolver": "3.418.0",
33
+ "@aws-sdk/types": "3.418.0",
34
+ "@aws-sdk/util-endpoints": "3.418.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.418.0",
36
+ "@aws-sdk/util-user-agent-node": "3.418.0",
37
+ "@smithy/config-resolver": "^2.0.10",
38
+ "@smithy/fetch-http-handler": "^2.1.5",
39
+ "@smithy/hash-node": "^2.0.9",
40
+ "@smithy/invalid-dependency": "^2.0.9",
41
+ "@smithy/middleware-content-length": "^2.0.11",
42
+ "@smithy/middleware-endpoint": "^2.0.9",
43
+ "@smithy/middleware-retry": "^2.0.12",
44
+ "@smithy/middleware-serde": "^2.0.9",
45
+ "@smithy/middleware-stack": "^2.0.2",
46
+ "@smithy/node-config-provider": "^2.0.12",
47
+ "@smithy/node-http-handler": "^2.1.5",
48
+ "@smithy/protocol-http": "^3.0.5",
49
+ "@smithy/smithy-client": "^2.1.6",
50
+ "@smithy/types": "^2.3.3",
51
+ "@smithy/url-parser": "^2.0.9",
52
52
  "@smithy/util-base64": "^2.0.0",
53
53
  "@smithy/util-body-length-browser": "^2.0.0",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.8",
56
- "@smithy/util-defaults-mode-node": "^2.0.10",
57
- "@smithy/util-retry": "^2.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.10",
56
+ "@smithy/util-defaults-mode-node": "^2.0.12",
57
+ "@smithy/util-retry": "^2.0.2",
58
58
  "@smithy/util-utf8": "^2.0.0",
59
59
  "tslib": "^2.5.0",
60
60
  "uuid": "^8.3.2"