@aws-sdk/client-timestream-query 3.183.0 → 3.185.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 (29) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_0.js +2 -2
  3. package/dist-es/TimestreamQuery.js +61 -54
  4. package/dist-es/TimestreamQueryClient.js +29 -23
  5. package/dist-es/commands/CancelQueryCommand.js +29 -22
  6. package/dist-es/commands/CreateScheduledQueryCommand.js +29 -22
  7. package/dist-es/commands/DeleteScheduledQueryCommand.js +30 -23
  8. package/dist-es/commands/DescribeEndpointsCommand.js +28 -21
  9. package/dist-es/commands/DescribeScheduledQueryCommand.js +29 -22
  10. package/dist-es/commands/ExecuteScheduledQueryCommand.js +30 -23
  11. package/dist-es/commands/ListScheduledQueriesCommand.js +29 -22
  12. package/dist-es/commands/ListTagsForResourceCommand.js +29 -22
  13. package/dist-es/commands/PrepareQueryCommand.js +29 -22
  14. package/dist-es/commands/QueryCommand.js +29 -22
  15. package/dist-es/commands/TagResourceCommand.js +29 -22
  16. package/dist-es/commands/UntagResourceCommand.js +29 -22
  17. package/dist-es/commands/UpdateScheduledQueryCommand.js +30 -23
  18. package/dist-es/endpoints.js +8 -8
  19. package/dist-es/models/TimestreamQueryServiceException.js +10 -5
  20. package/dist-es/models/models_0.js +162 -274
  21. package/dist-es/pagination/ListScheduledQueriesPaginator.js +68 -25
  22. package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
  23. package/dist-es/pagination/QueryPaginator.js +68 -25
  24. package/dist-es/protocols/Aws_json1_0.js +1374 -1108
  25. package/dist-es/runtimeConfig.browser.js +12 -27
  26. package/dist-es/runtimeConfig.js +12 -31
  27. package/dist-es/runtimeConfig.native.js +5 -8
  28. package/dist-es/runtimeConfig.shared.js +11 -8
  29. package/package.json +5 -5
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { DescribeScheduledQueryRequestFilterSensitiveLog, DescribeScheduledQueryResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_0DescribeScheduledQueryCommand, serializeAws_json1_0DescribeScheduledQueryCommand, } from "../protocols/Aws_json1_0";
6
- export class DescribeScheduledQueryCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var DescribeScheduledQueryCommand = (function (_super) {
8
+ __extends(DescribeScheduledQueryCommand, _super);
9
+ function DescribeScheduledQueryCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ DescribeScheduledQueryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamQueryClient";
17
- const commandName = "DescribeScheduledQueryCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamQueryClient";
20
+ var commandName = "DescribeScheduledQueryCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: DescribeScheduledQueryRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: DescribeScheduledQueryResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DescribeScheduledQueryCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0DescribeScheduledQueryCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ DescribeScheduledQueryCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0DescribeScheduledQueryCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return DescribeScheduledQueryCommand;
40
+ }($Command));
41
+ export { DescribeScheduledQueryCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { ExecuteScheduledQueryRequestFilterSensitiveLog } from "../models/models_0";
5
6
  import { deserializeAws_json1_0ExecuteScheduledQueryCommand, serializeAws_json1_0ExecuteScheduledQueryCommand, } from "../protocols/Aws_json1_0";
6
- export class ExecuteScheduledQueryCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var ExecuteScheduledQueryCommand = (function (_super) {
8
+ __extends(ExecuteScheduledQueryCommand, _super);
9
+ function ExecuteScheduledQueryCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ ExecuteScheduledQueryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamQueryClient";
17
- const commandName = "ExecuteScheduledQueryCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamQueryClient";
20
+ var commandName = "ExecuteScheduledQueryCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: ExecuteScheduledQueryRequestFilterSensitiveLog,
23
- outputFilterSensitiveLog: (output) => output,
26
+ outputFilterSensitiveLog: function (output) { return output; },
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ ExecuteScheduledQueryCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0ExecuteScheduledQueryCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ ExecuteScheduledQueryCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0ExecuteScheduledQueryCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return ExecuteScheduledQueryCommand;
40
+ }($Command));
41
+ export { ExecuteScheduledQueryCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { ListScheduledQueriesRequestFilterSensitiveLog, ListScheduledQueriesResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_0ListScheduledQueriesCommand, serializeAws_json1_0ListScheduledQueriesCommand, } from "../protocols/Aws_json1_0";
6
- export class ListScheduledQueriesCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var ListScheduledQueriesCommand = (function (_super) {
8
+ __extends(ListScheduledQueriesCommand, _super);
9
+ function ListScheduledQueriesCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ ListScheduledQueriesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamQueryClient";
17
- const commandName = "ListScheduledQueriesCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamQueryClient";
20
+ var commandName = "ListScheduledQueriesCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: ListScheduledQueriesRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: ListScheduledQueriesResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ ListScheduledQueriesCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0ListScheduledQueriesCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ ListScheduledQueriesCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0ListScheduledQueriesCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return ListScheduledQueriesCommand;
40
+ }($Command));
41
+ export { ListScheduledQueriesCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_0ListTagsForResourceCommand, serializeAws_json1_0ListTagsForResourceCommand, } from "../protocols/Aws_json1_0";
6
- export class ListTagsForResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var ListTagsForResourceCommand = (function (_super) {
8
+ __extends(ListTagsForResourceCommand, _super);
9
+ function ListTagsForResourceCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamQueryClient";
17
- const commandName = "ListTagsForResourceCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamQueryClient";
20
+ var commandName = "ListTagsForResourceCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0ListTagsForResourceCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0ListTagsForResourceCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return ListTagsForResourceCommand;
40
+ }($Command));
41
+ export { ListTagsForResourceCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { PrepareQueryRequestFilterSensitiveLog, PrepareQueryResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_0PrepareQueryCommand, serializeAws_json1_0PrepareQueryCommand, } from "../protocols/Aws_json1_0";
6
- export class PrepareQueryCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var PrepareQueryCommand = (function (_super) {
8
+ __extends(PrepareQueryCommand, _super);
9
+ function PrepareQueryCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ PrepareQueryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamQueryClient";
17
- const commandName = "PrepareQueryCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamQueryClient";
20
+ var commandName = "PrepareQueryCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: PrepareQueryRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: PrepareQueryResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ PrepareQueryCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0PrepareQueryCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ PrepareQueryCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0PrepareQueryCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return PrepareQueryCommand;
40
+ }($Command));
41
+ export { PrepareQueryCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { QueryRequestFilterSensitiveLog, QueryResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_0QueryCommand, serializeAws_json1_0QueryCommand } from "../protocols/Aws_json1_0";
6
- export class QueryCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var QueryCommand = (function (_super) {
8
+ __extends(QueryCommand, _super);
9
+ function QueryCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ QueryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamQueryClient";
17
- const commandName = "QueryCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamQueryClient";
20
+ var commandName = "QueryCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: QueryRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: QueryResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ QueryCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0QueryCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ QueryCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0QueryCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return QueryCommand;
40
+ }($Command));
41
+ export { QueryCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_0TagResourceCommand, serializeAws_json1_0TagResourceCommand, } from "../protocols/Aws_json1_0";
6
- export class TagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var TagResourceCommand = (function (_super) {
8
+ __extends(TagResourceCommand, _super);
9
+ function TagResourceCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamQueryClient";
17
- const commandName = "TagResourceCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamQueryClient";
20
+ var commandName = "TagResourceCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ TagResourceCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0TagResourceCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ TagResourceCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0TagResourceCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return TagResourceCommand;
40
+ }($Command));
41
+ export { TagResourceCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_0UntagResourceCommand, serializeAws_json1_0UntagResourceCommand, } from "../protocols/Aws_json1_0";
6
- export class UntagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var UntagResourceCommand = (function (_super) {
8
+ __extends(UntagResourceCommand, _super);
9
+ function UntagResourceCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamQueryClient";
17
- const commandName = "UntagResourceCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamQueryClient";
20
+ var commandName = "UntagResourceCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ UntagResourceCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0UntagResourceCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0UntagResourceCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return UntagResourceCommand;
40
+ }($Command));
41
+ export { UntagResourceCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { UpdateScheduledQueryRequestFilterSensitiveLog } from "../models/models_0";
5
6
  import { deserializeAws_json1_0UpdateScheduledQueryCommand, serializeAws_json1_0UpdateScheduledQueryCommand, } from "../protocols/Aws_json1_0";
6
- export class UpdateScheduledQueryCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var UpdateScheduledQueryCommand = (function (_super) {
8
+ __extends(UpdateScheduledQueryCommand, _super);
9
+ function UpdateScheduledQueryCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ UpdateScheduledQueryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamQueryClient";
17
- const commandName = "UpdateScheduledQueryCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamQueryClient";
20
+ var commandName = "UpdateScheduledQueryCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: UpdateScheduledQueryRequestFilterSensitiveLog,
23
- outputFilterSensitiveLog: (output) => output,
26
+ outputFilterSensitiveLog: function (output) { return output; },
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ UpdateScheduledQueryCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0UpdateScheduledQueryCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ UpdateScheduledQueryCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0UpdateScheduledQueryCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return UpdateScheduledQueryCommand;
40
+ }($Command));
41
+ export { UpdateScheduledQueryCommand };
@@ -1,6 +1,7 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {};
3
- const partitionHash = {
3
+ var regionHash = {};
4
+ var partitionHash = {
4
5
  aws: {
5
6
  regions: [
6
7
  "af-south-1",
@@ -120,9 +121,8 @@ const partitionHash = {
120
121
  ],
121
122
  },
122
123
  };
123
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
124
- ...options,
125
- signingService: "timestream",
126
- regionHash,
127
- partitionHash,
128
- });
124
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
125
+ return __generator(this, function (_a) {
126
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "timestream", regionHash: regionHash, partitionHash: partitionHash }))];
127
+ });
128
+ }); };
@@ -1,7 +1,12 @@
1
+ import { __extends } from "tslib";
1
2
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
- export class TimestreamQueryServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, TimestreamQueryServiceException.prototype);
3
+ var TimestreamQueryServiceException = (function (_super) {
4
+ __extends(TimestreamQueryServiceException, _super);
5
+ function TimestreamQueryServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, TimestreamQueryServiceException.prototype);
8
+ return _this;
6
9
  }
7
- }
10
+ return TimestreamQueryServiceException;
11
+ }(__ServiceException));
12
+ export { TimestreamQueryServiceException };