@aws-sdk/client-timestream-write 3.926.0 → 3.928.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 +690 -771
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/TimestreamWriteClient.js +2 -0
- package/dist-es/commands/CreateBatchLoadTaskCommand.js +2 -7
- package/dist-es/commands/CreateDatabaseCommand.js +2 -6
- package/dist-es/commands/CreateTableCommand.js +2 -6
- package/dist-es/commands/DeleteDatabaseCommand.js +2 -6
- package/dist-es/commands/DeleteTableCommand.js +2 -6
- package/dist-es/commands/DescribeBatchLoadTaskCommand.js +2 -6
- package/dist-es/commands/DescribeDatabaseCommand.js +2 -6
- package/dist-es/commands/DescribeEndpointsCommand.js +3 -9
- package/dist-es/commands/DescribeTableCommand.js +2 -6
- package/dist-es/commands/ListBatchLoadTasksCommand.js +2 -6
- package/dist-es/commands/ListDatabasesCommand.js +2 -6
- package/dist-es/commands/ListTablesCommand.js +2 -6
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -6
- package/dist-es/commands/ResumeBatchLoadTaskCommand.js +2 -6
- package/dist-es/commands/TagResourceCommand.js +2 -6
- package/dist-es/commands/UntagResourceCommand.js +2 -6
- package/dist-es/commands/UpdateDatabaseCommand.js +2 -6
- package/dist-es/commands/UpdateTableCommand.js +2 -6
- package/dist-es/commands/WriteRecordsCommand.js +2 -6
- package/dist-es/models/models_0.js +0 -5
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +634 -0
- package/dist-types/TimestreamWriteClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -4
- 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 +112 -0
- package/dist-types/ts3.4/TimestreamWriteClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -3
- 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 +118 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_0.js +0 -656
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -173
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -233
|
@@ -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.timestreamwrite",
|
|
32
|
+
serviceTarget: "Timestream_20181101",
|
|
33
|
+
awsQueryCompatible: false,
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "Timestream Write",
|
|
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 TimestreamWriteClient 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,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_CreateBatchLoadTaskCommand, se_CreateBatchLoadTaskCommand } from "../protocols/Aws_json1_0";
|
|
5
|
+
import { CreateBatchLoadTask } from "../schemas/schemas_0";
|
|
8
6
|
export { $Command };
|
|
9
7
|
export class CreateBatchLoadTaskCommand 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 CreateBatchLoadTaskCommand extends $Command
|
|
|
22
19
|
})
|
|
23
20
|
.s("Timestream_20181101", "CreateBatchLoadTask", {})
|
|
24
21
|
.n("TimestreamWriteClient", "CreateBatchLoadTaskCommand")
|
|
25
|
-
.
|
|
26
|
-
.ser(se_CreateBatchLoadTaskCommand)
|
|
27
|
-
.de(de_CreateBatchLoadTaskCommand)
|
|
22
|
+
.sc(CreateBatchLoadTask)
|
|
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 { CreateDatabase } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class CreateDatabaseCommand 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 CreateDatabaseCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "CreateDatabase", {})
|
|
23
21
|
.n("TimestreamWriteClient", "CreateDatabaseCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_CreateDatabaseCommand)
|
|
26
|
-
.de(de_CreateDatabaseCommand)
|
|
22
|
+
.sc(CreateDatabase)
|
|
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 { CreateTable } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class CreateTableCommand 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 CreateTableCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "CreateTable", {})
|
|
23
21
|
.n("TimestreamWriteClient", "CreateTableCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_CreateTableCommand)
|
|
26
|
-
.de(de_CreateTableCommand)
|
|
22
|
+
.sc(CreateTable)
|
|
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 { DeleteDatabase } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class DeleteDatabaseCommand 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 DeleteDatabaseCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "DeleteDatabase", {})
|
|
23
21
|
.n("TimestreamWriteClient", "DeleteDatabaseCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_DeleteDatabaseCommand)
|
|
26
|
-
.de(de_DeleteDatabaseCommand)
|
|
22
|
+
.sc(DeleteDatabase)
|
|
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 { DeleteTable } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class DeleteTableCommand 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 DeleteTableCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "DeleteTable", {})
|
|
23
21
|
.n("TimestreamWriteClient", "DeleteTableCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_DeleteTableCommand)
|
|
26
|
-
.de(de_DeleteTableCommand)
|
|
22
|
+
.sc(DeleteTable)
|
|
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 { DescribeBatchLoadTask } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class DescribeBatchLoadTaskCommand 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 DescribeBatchLoadTaskCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "DescribeBatchLoadTask", {})
|
|
23
21
|
.n("TimestreamWriteClient", "DescribeBatchLoadTaskCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_DescribeBatchLoadTaskCommand)
|
|
26
|
-
.de(de_DescribeBatchLoadTaskCommand)
|
|
22
|
+
.sc(DescribeBatchLoadTask)
|
|
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 { DescribeDatabase } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class DescribeDatabaseCommand 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 DescribeDatabaseCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "DescribeDatabase", {})
|
|
23
21
|
.n("TimestreamWriteClient", "DescribeDatabaseCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_DescribeDatabaseCommand)
|
|
26
|
-
.de(de_DescribeDatabaseCommand)
|
|
22
|
+
.sc(DescribeDatabase)
|
|
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("TimestreamWriteClient", "DescribeEndpointsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeEndpointsCommand)
|
|
20
|
-
.de(de_DescribeEndpointsCommand)
|
|
14
|
+
.sc(DescribeEndpoints)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -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 { DescribeTable } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class DescribeTableCommand 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 DescribeTableCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "DescribeTable", {})
|
|
23
21
|
.n("TimestreamWriteClient", "DescribeTableCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_DescribeTableCommand)
|
|
26
|
-
.de(de_DescribeTableCommand)
|
|
22
|
+
.sc(DescribeTable)
|
|
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 { ListBatchLoadTasks } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ListBatchLoadTasksCommand 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 ListBatchLoadTasksCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "ListBatchLoadTasks", {})
|
|
23
21
|
.n("TimestreamWriteClient", "ListBatchLoadTasksCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_ListBatchLoadTasksCommand)
|
|
26
|
-
.de(de_ListBatchLoadTasksCommand)
|
|
22
|
+
.sc(ListBatchLoadTasks)
|
|
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 { ListDatabases } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ListDatabasesCommand 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 ListDatabasesCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "ListDatabases", {})
|
|
23
21
|
.n("TimestreamWriteClient", "ListDatabasesCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_ListDatabasesCommand)
|
|
26
|
-
.de(de_ListDatabasesCommand)
|
|
22
|
+
.sc(ListDatabases)
|
|
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 { ListTables } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ListTablesCommand 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 ListTablesCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "ListTables", {})
|
|
23
21
|
.n("TimestreamWriteClient", "ListTablesCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_ListTablesCommand)
|
|
26
|
-
.de(de_ListTablesCommand)
|
|
22
|
+
.sc(ListTables)
|
|
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("TimestreamWriteClient", "ListTagsForResourceCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_ListTagsForResourceCommand)
|
|
26
|
-
.de(de_ListTagsForResourceCommand)
|
|
22
|
+
.sc(ListTagsForResource)
|
|
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 { ResumeBatchLoadTask } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ResumeBatchLoadTaskCommand 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 ResumeBatchLoadTaskCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "ResumeBatchLoadTask", {})
|
|
23
21
|
.n("TimestreamWriteClient", "ResumeBatchLoadTaskCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_ResumeBatchLoadTaskCommand)
|
|
26
|
-
.de(de_ResumeBatchLoadTaskCommand)
|
|
22
|
+
.sc(ResumeBatchLoadTask)
|
|
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 { 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("TimestreamWriteClient", "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("TimestreamWriteClient", "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 { UpdateDatabase } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class UpdateDatabaseCommand 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 UpdateDatabaseCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "UpdateDatabase", {})
|
|
23
21
|
.n("TimestreamWriteClient", "UpdateDatabaseCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_UpdateDatabaseCommand)
|
|
26
|
-
.de(de_UpdateDatabaseCommand)
|
|
22
|
+
.sc(UpdateDatabase)
|
|
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 { UpdateTable } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class UpdateTableCommand 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 UpdateTableCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "UpdateTable", {})
|
|
23
21
|
.n("TimestreamWriteClient", "UpdateTableCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_UpdateTableCommand)
|
|
26
|
-
.de(de_UpdateTableCommand)
|
|
22
|
+
.sc(UpdateTable)
|
|
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 { WriteRecords } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class WriteRecordsCommand 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 WriteRecordsCommand extends $Command
|
|
|
21
19
|
})
|
|
22
20
|
.s("Timestream_20181101", "WriteRecords", {})
|
|
23
21
|
.n("TimestreamWriteClient", "WriteRecordsCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_WriteRecordsCommand)
|
|
26
|
-
.de(de_WriteRecordsCommand)
|
|
22
|
+
.sc(WriteRecords)
|
|
27
23
|
.build() {
|
|
28
24
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { TimestreamWriteServiceException as __BaseException } from "./TimestreamWriteServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -180,7 +179,3 @@ export class RejectedRecordsException extends __BaseException {
|
|
|
180
179
|
this.RejectedRecords = opts.RejectedRecords;
|
|
181
180
|
}
|
|
182
181
|
}
|
|
183
|
-
export const CreateBatchLoadTaskRequestFilterSensitiveLog = (obj) => ({
|
|
184
|
-
...obj,
|
|
185
|
-
...(obj.ClientToken && { ClientToken: SENSITIVE_STRING }),
|
|
186
|
-
});
|
|
@@ -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.timestreamwrite",
|
|
29
|
+
serviceTarget: "Timestream_20181101",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "Timestream Write",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|