@aws-sdk/client-timestream-query 3.927.0 → 3.929.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.
- package/dist-cjs/index.js +766 -824
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/TimestreamQueryClient.js +2 -0
- package/dist-es/commands/CancelQueryCommand.js +2 -6
- package/dist-es/commands/CreateScheduledQueryCommand.js +2 -7
- package/dist-es/commands/DeleteScheduledQueryCommand.js +2 -6
- package/dist-es/commands/DescribeAccountSettingsCommand.js +2 -6
- package/dist-es/commands/DescribeEndpointsCommand.js +3 -9
- package/dist-es/commands/DescribeScheduledQueryCommand.js +2 -7
- package/dist-es/commands/ExecuteScheduledQueryCommand.js +2 -7
- package/dist-es/commands/ListScheduledQueriesCommand.js +2 -6
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -6
- package/dist-es/commands/PrepareQueryCommand.js +2 -7
- package/dist-es/commands/QueryCommand.js +2 -7
- package/dist-es/commands/TagResourceCommand.js +2 -6
- package/dist-es/commands/UntagResourceCommand.js +2 -6
- package/dist-es/commands/UpdateAccountSettingsCommand.js +2 -6
- package/dist-es/commands/UpdateScheduledQueryCommand.js +2 -6
- package/dist-es/models/models_0.js +0 -31
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +715 -0
- package/dist-types/TimestreamQueryClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -28
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +115 -0
- package/dist-types/ts3.4/TimestreamQueryClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -19
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +121 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_0.js +0 -693
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -137
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -185
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ??
|
|
30
|
+
new protocols_1.AwsJson1_0Protocol({
|
|
31
|
+
defaultNamespace: "com.amazonaws.timestreamquery",
|
|
32
|
+
serviceTarget: "Timestream_20181101",
|
|
33
|
+
awsQueryCompatible: false,
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "Timestream Query",
|
|
29
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -5,6 +5,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
5
5
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
7
7
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
8
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
9
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
10
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
11
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -33,6 +34,7 @@ export class TimestreamQueryClient extends __Client {
|
|
|
33
34
|
});
|
|
34
35
|
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
35
36
|
this.config = _config_9;
|
|
37
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
36
38
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
37
39
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
38
40
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { CancelQuery } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class CancelQueryCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
10
9
|
.ep(commonParams)
|
|
11
10
|
.m(function (Command, cs, config, o) {
|
|
12
11
|
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
12
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
13
|
getEndpointDiscoveryPlugin(config, {
|
|
16
14
|
clientStack: cs,
|
|
@@ -21,8 +19,6 @@ export class CancelQueryCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "CancelQuery", {})
|
|
23
21
|
.n("TimestreamQueryClient", "CancelQueryCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_CancelQueryCommand)
|
|
26
|
-
.de(de_CancelQueryCommand)
|
|
22
|
+
.sc(CancelQuery)
|
|
27
23
|
.build() {
|
|
28
24
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
7
|
-
import { de_CreateScheduledQueryCommand, se_CreateScheduledQueryCommand } from "../protocols/Aws_json1_0";
|
|
5
|
+
import { CreateScheduledQuery } from "../schemas/schemas_0";
|
|
8
6
|
export { $Command };
|
|
9
7
|
export class CreateScheduledQueryCommand extends $Command
|
|
10
8
|
.classBuilder()
|
|
11
9
|
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
12
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
13
|
getEndpointDiscoveryPlugin(config, {
|
|
17
14
|
clientStack: cs,
|
|
@@ -22,8 +19,6 @@ export class CreateScheduledQueryCommand extends $Command
|
|
|
22
19
|
})
|
|
23
20
|
.s("Timestream_20181101", "CreateScheduledQuery", {})
|
|
24
21
|
.n("TimestreamQueryClient", "CreateScheduledQueryCommand")
|
|
25
|
-
.
|
|
26
|
-
.ser(se_CreateScheduledQueryCommand)
|
|
27
|
-
.de(de_CreateScheduledQueryCommand)
|
|
22
|
+
.sc(CreateScheduledQuery)
|
|
28
23
|
.build() {
|
|
29
24
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { DeleteScheduledQuery } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class DeleteScheduledQueryCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
10
9
|
.ep(commonParams)
|
|
11
10
|
.m(function (Command, cs, config, o) {
|
|
12
11
|
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
12
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
13
|
getEndpointDiscoveryPlugin(config, {
|
|
16
14
|
clientStack: cs,
|
|
@@ -21,8 +19,6 @@ export class DeleteScheduledQueryCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "DeleteScheduledQuery", {})
|
|
23
21
|
.n("TimestreamQueryClient", "DeleteScheduledQueryCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_DeleteScheduledQueryCommand)
|
|
26
|
-
.de(de_DeleteScheduledQueryCommand)
|
|
22
|
+
.sc(DeleteScheduledQuery)
|
|
27
23
|
.build() {
|
|
28
24
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { DescribeAccountSettings } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class DescribeAccountSettingsCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
10
9
|
.ep(commonParams)
|
|
11
10
|
.m(function (Command, cs, config, o) {
|
|
12
11
|
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
12
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
13
|
getEndpointDiscoveryPlugin(config, {
|
|
16
14
|
clientStack: cs,
|
|
@@ -21,8 +19,6 @@ export class DescribeAccountSettingsCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "DescribeAccountSettings", {})
|
|
23
21
|
.n("TimestreamQueryClient", "DescribeAccountSettingsCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_DescribeAccountSettingsCommand)
|
|
26
|
-
.de(de_DescribeAccountSettingsCommand)
|
|
22
|
+
.sc(DescribeAccountSettings)
|
|
27
23
|
.build() {
|
|
28
24
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeEndpoints } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeEndpointsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Timestream_20181101", "DescribeEndpoints", {})
|
|
17
13
|
.n("TimestreamQueryClient", "DescribeEndpointsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeEndpointsCommand)
|
|
20
|
-
.de(de_DescribeEndpointsCommand)
|
|
14
|
+
.sc(DescribeEndpoints)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
7
|
-
import { de_DescribeScheduledQueryCommand, se_DescribeScheduledQueryCommand } from "../protocols/Aws_json1_0";
|
|
5
|
+
import { DescribeScheduledQuery } from "../schemas/schemas_0";
|
|
8
6
|
export { $Command };
|
|
9
7
|
export class DescribeScheduledQueryCommand extends $Command
|
|
10
8
|
.classBuilder()
|
|
11
9
|
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
12
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
13
|
getEndpointDiscoveryPlugin(config, {
|
|
17
14
|
clientStack: cs,
|
|
@@ -22,8 +19,6 @@ export class DescribeScheduledQueryCommand extends $Command
|
|
|
22
19
|
})
|
|
23
20
|
.s("Timestream_20181101", "DescribeScheduledQuery", {})
|
|
24
21
|
.n("TimestreamQueryClient", "DescribeScheduledQueryCommand")
|
|
25
|
-
.
|
|
26
|
-
.ser(se_DescribeScheduledQueryCommand)
|
|
27
|
-
.de(de_DescribeScheduledQueryCommand)
|
|
22
|
+
.sc(DescribeScheduledQuery)
|
|
28
23
|
.build() {
|
|
29
24
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
7
|
-
import { de_ExecuteScheduledQueryCommand, se_ExecuteScheduledQueryCommand } from "../protocols/Aws_json1_0";
|
|
5
|
+
import { ExecuteScheduledQuery } from "../schemas/schemas_0";
|
|
8
6
|
export { $Command };
|
|
9
7
|
export class ExecuteScheduledQueryCommand extends $Command
|
|
10
8
|
.classBuilder()
|
|
11
9
|
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
12
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
13
|
getEndpointDiscoveryPlugin(config, {
|
|
17
14
|
clientStack: cs,
|
|
@@ -22,8 +19,6 @@ export class ExecuteScheduledQueryCommand extends $Command
|
|
|
22
19
|
})
|
|
23
20
|
.s("Timestream_20181101", "ExecuteScheduledQuery", {})
|
|
24
21
|
.n("TimestreamQueryClient", "ExecuteScheduledQueryCommand")
|
|
25
|
-
.
|
|
26
|
-
.ser(se_ExecuteScheduledQueryCommand)
|
|
27
|
-
.de(de_ExecuteScheduledQueryCommand)
|
|
22
|
+
.sc(ExecuteScheduledQuery)
|
|
28
23
|
.build() {
|
|
29
24
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { ListScheduledQueries } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ListScheduledQueriesCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
10
9
|
.ep(commonParams)
|
|
11
10
|
.m(function (Command, cs, config, o) {
|
|
12
11
|
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
12
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
13
|
getEndpointDiscoveryPlugin(config, {
|
|
16
14
|
clientStack: cs,
|
|
@@ -21,8 +19,6 @@ export class ListScheduledQueriesCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "ListScheduledQueries", {})
|
|
23
21
|
.n("TimestreamQueryClient", "ListScheduledQueriesCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_ListScheduledQueriesCommand)
|
|
26
|
-
.de(de_ListScheduledQueriesCommand)
|
|
22
|
+
.sc(ListScheduledQueries)
|
|
27
23
|
.build() {
|
|
28
24
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ListTagsForResourceCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
10
9
|
.ep(commonParams)
|
|
11
10
|
.m(function (Command, cs, config, o) {
|
|
12
11
|
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
12
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
13
|
getEndpointDiscoveryPlugin(config, {
|
|
16
14
|
clientStack: cs,
|
|
@@ -21,8 +19,6 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "ListTagsForResource", {})
|
|
23
21
|
.n("TimestreamQueryClient", "ListTagsForResourceCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_ListTagsForResourceCommand)
|
|
26
|
-
.de(de_ListTagsForResourceCommand)
|
|
22
|
+
.sc(ListTagsForResource)
|
|
27
23
|
.build() {
|
|
28
24
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
7
|
-
import { de_PrepareQueryCommand, se_PrepareQueryCommand } from "../protocols/Aws_json1_0";
|
|
5
|
+
import { PrepareQuery } from "../schemas/schemas_0";
|
|
8
6
|
export { $Command };
|
|
9
7
|
export class PrepareQueryCommand extends $Command
|
|
10
8
|
.classBuilder()
|
|
11
9
|
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
12
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
13
|
getEndpointDiscoveryPlugin(config, {
|
|
17
14
|
clientStack: cs,
|
|
@@ -22,8 +19,6 @@ export class PrepareQueryCommand extends $Command
|
|
|
22
19
|
})
|
|
23
20
|
.s("Timestream_20181101", "PrepareQuery", {})
|
|
24
21
|
.n("TimestreamQueryClient", "PrepareQueryCommand")
|
|
25
|
-
.
|
|
26
|
-
.ser(se_PrepareQueryCommand)
|
|
27
|
-
.de(de_PrepareQueryCommand)
|
|
22
|
+
.sc(PrepareQuery)
|
|
28
23
|
.build() {
|
|
29
24
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
7
|
-
import { de_QueryCommand, se_QueryCommand } from "../protocols/Aws_json1_0";
|
|
5
|
+
import { Query } from "../schemas/schemas_0";
|
|
8
6
|
export { $Command };
|
|
9
7
|
export class QueryCommand extends $Command
|
|
10
8
|
.classBuilder()
|
|
11
9
|
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
12
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
13
|
getEndpointDiscoveryPlugin(config, {
|
|
17
14
|
clientStack: cs,
|
|
@@ -22,8 +19,6 @@ export class QueryCommand extends $Command
|
|
|
22
19
|
})
|
|
23
20
|
.s("Timestream_20181101", "Query", {})
|
|
24
21
|
.n("TimestreamQueryClient", "QueryCommand")
|
|
25
|
-
.
|
|
26
|
-
.ser(se_QueryCommand)
|
|
27
|
-
.de(de_QueryCommand)
|
|
22
|
+
.sc(Query)
|
|
28
23
|
.build() {
|
|
29
24
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class TagResourceCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
10
9
|
.ep(commonParams)
|
|
11
10
|
.m(function (Command, cs, config, o) {
|
|
12
11
|
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
12
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
13
|
getEndpointDiscoveryPlugin(config, {
|
|
16
14
|
clientStack: cs,
|
|
@@ -21,8 +19,6 @@ export class TagResourceCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "TagResource", {})
|
|
23
21
|
.n("TimestreamQueryClient", "TagResourceCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_TagResourceCommand)
|
|
26
|
-
.de(de_TagResourceCommand)
|
|
22
|
+
.sc(TagResource)
|
|
27
23
|
.build() {
|
|
28
24
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class UntagResourceCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
10
9
|
.ep(commonParams)
|
|
11
10
|
.m(function (Command, cs, config, o) {
|
|
12
11
|
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
12
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
13
|
getEndpointDiscoveryPlugin(config, {
|
|
16
14
|
clientStack: cs,
|
|
@@ -21,8 +19,6 @@ export class UntagResourceCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "UntagResource", {})
|
|
23
21
|
.n("TimestreamQueryClient", "UntagResourceCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_UntagResourceCommand)
|
|
26
|
-
.de(de_UntagResourceCommand)
|
|
22
|
+
.sc(UntagResource)
|
|
27
23
|
.build() {
|
|
28
24
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { UpdateAccountSettings } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class UpdateAccountSettingsCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
10
9
|
.ep(commonParams)
|
|
11
10
|
.m(function (Command, cs, config, o) {
|
|
12
11
|
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
12
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
13
|
getEndpointDiscoveryPlugin(config, {
|
|
16
14
|
clientStack: cs,
|
|
@@ -21,8 +19,6 @@ export class UpdateAccountSettingsCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "UpdateAccountSettings", {})
|
|
23
21
|
.n("TimestreamQueryClient", "UpdateAccountSettingsCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_UpdateAccountSettingsCommand)
|
|
26
|
-
.de(de_UpdateAccountSettingsCommand)
|
|
22
|
+
.sc(UpdateAccountSettings)
|
|
27
23
|
.build() {
|
|
28
24
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { UpdateScheduledQuery } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class UpdateScheduledQueryCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
10
9
|
.ep(commonParams)
|
|
11
10
|
.m(function (Command, cs, config, o) {
|
|
12
11
|
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
12
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
13
|
getEndpointDiscoveryPlugin(config, {
|
|
16
14
|
clientStack: cs,
|
|
@@ -21,8 +19,6 @@ export class UpdateScheduledQueryCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "UpdateScheduledQuery", {})
|
|
23
21
|
.n("TimestreamQueryClient", "UpdateScheduledQueryCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_UpdateScheduledQueryCommand)
|
|
26
|
-
.de(de_UpdateScheduledQueryCommand)
|
|
22
|
+
.sc(UpdateScheduledQuery)
|
|
27
23
|
.build() {
|
|
28
24
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { TimestreamQueryServiceException as __BaseException } from "./TimestreamQueryServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -193,33 +192,3 @@ export const QueryInsightsMode = {
|
|
|
193
192
|
DISABLED: "DISABLED",
|
|
194
193
|
ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL",
|
|
195
194
|
};
|
|
196
|
-
export const CreateScheduledQueryRequestFilterSensitiveLog = (obj) => ({
|
|
197
|
-
...obj,
|
|
198
|
-
...(obj.QueryString && { QueryString: SENSITIVE_STRING }),
|
|
199
|
-
...(obj.ClientToken && { ClientToken: SENSITIVE_STRING }),
|
|
200
|
-
});
|
|
201
|
-
export const ScheduledQueryDescriptionFilterSensitiveLog = (obj) => ({
|
|
202
|
-
...obj,
|
|
203
|
-
...(obj.QueryString && { QueryString: SENSITIVE_STRING }),
|
|
204
|
-
});
|
|
205
|
-
export const DescribeScheduledQueryResponseFilterSensitiveLog = (obj) => ({
|
|
206
|
-
...obj,
|
|
207
|
-
...(obj.ScheduledQuery && { ScheduledQuery: ScheduledQueryDescriptionFilterSensitiveLog(obj.ScheduledQuery) }),
|
|
208
|
-
});
|
|
209
|
-
export const ExecuteScheduledQueryRequestFilterSensitiveLog = (obj) => ({
|
|
210
|
-
...obj,
|
|
211
|
-
...(obj.ClientToken && { ClientToken: SENSITIVE_STRING }),
|
|
212
|
-
});
|
|
213
|
-
export const PrepareQueryRequestFilterSensitiveLog = (obj) => ({
|
|
214
|
-
...obj,
|
|
215
|
-
...(obj.QueryString && { QueryString: SENSITIVE_STRING }),
|
|
216
|
-
});
|
|
217
|
-
export const QueryRequestFilterSensitiveLog = (obj) => ({
|
|
218
|
-
...obj,
|
|
219
|
-
...(obj.QueryString && { QueryString: SENSITIVE_STRING }),
|
|
220
|
-
...(obj.ClientToken && { ClientToken: SENSITIVE_STRING }),
|
|
221
|
-
});
|
|
222
|
-
export const PrepareQueryResponseFilterSensitiveLog = (obj) => ({
|
|
223
|
-
...obj,
|
|
224
|
-
...(obj.QueryString && { QueryString: SENSITIVE_STRING }),
|
|
225
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_0Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.timestreamquery",
|
|
29
|
+
serviceTarget: "Timestream_20181101",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "Timestream Query",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|