@aws-sdk/client-timestream-write 3.478.0 → 3.481.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/commands/CreateBatchLoadTaskCommand.js +19 -42
- package/dist-cjs/commands/CreateDatabaseCommand.js +19 -42
- package/dist-cjs/commands/CreateTableCommand.js +19 -42
- package/dist-cjs/commands/DeleteDatabaseCommand.js +19 -42
- package/dist-cjs/commands/DeleteTableCommand.js +19 -42
- package/dist-cjs/commands/DescribeBatchLoadTaskCommand.js +19 -42
- package/dist-cjs/commands/DescribeDatabaseCommand.js +19 -42
- package/dist-cjs/commands/DescribeEndpointsCommand.js +18 -41
- package/dist-cjs/commands/DescribeTableCommand.js +19 -42
- package/dist-cjs/commands/ListBatchLoadTasksCommand.js +19 -42
- package/dist-cjs/commands/ListDatabasesCommand.js +19 -42
- package/dist-cjs/commands/ListTablesCommand.js +19 -42
- package/dist-cjs/commands/ListTagsForResourceCommand.js +19 -42
- package/dist-cjs/commands/ResumeBatchLoadTaskCommand.js +19 -42
- package/dist-cjs/commands/TagResourceCommand.js +19 -42
- package/dist-cjs/commands/UntagResourceCommand.js +19 -42
- package/dist-cjs/commands/UpdateDatabaseCommand.js +19 -42
- package/dist-cjs/commands/UpdateTableCommand.js +19 -42
- package/dist-cjs/commands/WriteRecordsCommand.js +19 -42
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/CreateBatchLoadTaskCommand.js +19 -42
- package/dist-es/commands/CreateDatabaseCommand.js +19 -42
- package/dist-es/commands/CreateTableCommand.js +19 -42
- package/dist-es/commands/DeleteDatabaseCommand.js +19 -42
- package/dist-es/commands/DeleteTableCommand.js +19 -42
- package/dist-es/commands/DescribeBatchLoadTaskCommand.js +19 -42
- package/dist-es/commands/DescribeDatabaseCommand.js +19 -42
- package/dist-es/commands/DescribeEndpointsCommand.js +18 -41
- package/dist-es/commands/DescribeTableCommand.js +19 -42
- package/dist-es/commands/ListBatchLoadTasksCommand.js +19 -42
- package/dist-es/commands/ListDatabasesCommand.js +19 -42
- package/dist-es/commands/ListTablesCommand.js +19 -42
- package/dist-es/commands/ListTagsForResourceCommand.js +19 -42
- package/dist-es/commands/ResumeBatchLoadTaskCommand.js +19 -42
- package/dist-es/commands/TagResourceCommand.js +19 -42
- package/dist-es/commands/UntagResourceCommand.js +19 -42
- package/dist-es/commands/UpdateDatabaseCommand.js +19 -42
- package/dist-es/commands/UpdateTableCommand.js +19 -42
- package/dist-es/commands/WriteRecordsCommand.js +19 -42
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/CreateBatchLoadTaskCommand.d.ts +6 -21
- package/dist-types/commands/CreateDatabaseCommand.d.ts +6 -21
- package/dist-types/commands/CreateTableCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDatabaseCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTableCommand.d.ts +6 -21
- package/dist-types/commands/DescribeBatchLoadTaskCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDatabaseCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTableCommand.d.ts +6 -21
- package/dist-types/commands/ListBatchLoadTasksCommand.d.ts +6 -21
- package/dist-types/commands/ListDatabasesCommand.d.ts +6 -21
- package/dist-types/commands/ListTablesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ResumeBatchLoadTaskCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDatabaseCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTableCommand.d.ts +6 -21
- package/dist-types/commands/WriteRecordsCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateBatchLoadTaskCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDatabaseCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeBatchLoadTaskCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDatabaseCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListBatchLoadTasksCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ResumeBatchLoadTaskCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/WriteRecordsCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -6,48 +6,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
-
const
|
|
9
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
10
10
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
-
class WriteRecordsCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const { logger } = configuration;
|
|
30
|
-
const clientName = "TimestreamWriteClient";
|
|
31
|
-
const commandName = "WriteRecordsCommand";
|
|
32
|
-
const handlerExecutionContext = {
|
|
33
|
-
logger,
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: (_) => _,
|
|
37
|
-
outputFilterSensitiveLog: (_) => _,
|
|
38
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "Timestream_20181101",
|
|
40
|
-
operation: "WriteRecords",
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
const { requestHandler } = configuration;
|
|
44
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
-
}
|
|
46
|
-
serialize(input, context) {
|
|
47
|
-
return (0, Aws_json1_0_1.se_WriteRecordsCommand)(input, context);
|
|
48
|
-
}
|
|
49
|
-
deserialize(output, context) {
|
|
50
|
-
return (0, Aws_json1_0_1.de_WriteRecordsCommand)(output, context);
|
|
51
|
-
}
|
|
11
|
+
class WriteRecordsCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
(0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("Timestream_20181101", "WriteRecords", {})
|
|
24
|
+
.n("TimestreamWriteClient", "WriteRecordsCommand")
|
|
25
|
+
.f(void 0, void 0)
|
|
26
|
+
.ser(Aws_json1_0_1.se_WriteRecordsCommand)
|
|
27
|
+
.de(Aws_json1_0_1.de_WriteRecordsCommand)
|
|
28
|
+
.build() {
|
|
52
29
|
}
|
|
53
30
|
exports.WriteRecordsCommand = WriteRecordsCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -2,49 +2,26 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { CreateBatchLoadTaskRequestFilterSensitiveLog, } from "../models/models_0";
|
|
7
7
|
import { de_CreateBatchLoadTaskCommand, se_CreateBatchLoadTaskCommand } from "../protocols/Aws_json1_0";
|
|
8
8
|
export { $Command };
|
|
9
|
-
export class CreateBatchLoadTaskCommand extends $Command
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "TimestreamWriteClient";
|
|
29
|
-
const commandName = "CreateBatchLoadTaskCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: CreateBatchLoadTaskRequestFilterSensitiveLog,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Timestream_20181101",
|
|
38
|
-
operation: "CreateBatchLoadTask",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return se_CreateBatchLoadTaskCommand(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return de_CreateBatchLoadTaskCommand(output, context);
|
|
49
|
-
}
|
|
9
|
+
export class CreateBatchLoadTaskCommand extends $Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep({
|
|
12
|
+
...commonParams,
|
|
13
|
+
})
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Timestream_20181101", "CreateBatchLoadTask", {})
|
|
22
|
+
.n("TimestreamWriteClient", "CreateBatchLoadTaskCommand")
|
|
23
|
+
.f(CreateBatchLoadTaskRequestFilterSensitiveLog, void 0)
|
|
24
|
+
.ser(se_CreateBatchLoadTaskCommand)
|
|
25
|
+
.de(de_CreateBatchLoadTaskCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
@@ -2,48 +2,25 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { de_CreateDatabaseCommand, se_CreateDatabaseCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateDatabaseCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "TimestreamWriteClient";
|
|
28
|
-
const commandName = "CreateDatabaseCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "Timestream_20181101",
|
|
37
|
-
operation: "CreateDatabase",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_CreateDatabaseCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_CreateDatabaseCommand(output, context);
|
|
48
|
-
}
|
|
8
|
+
export class CreateDatabaseCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("Timestream_20181101", "CreateDatabase", {})
|
|
21
|
+
.n("TimestreamWriteClient", "CreateDatabaseCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_CreateDatabaseCommand)
|
|
24
|
+
.de(de_CreateDatabaseCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -2,48 +2,25 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { de_CreateTableCommand, se_CreateTableCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateTableCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "TimestreamWriteClient";
|
|
28
|
-
const commandName = "CreateTableCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "Timestream_20181101",
|
|
37
|
-
operation: "CreateTable",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_CreateTableCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_CreateTableCommand(output, context);
|
|
48
|
-
}
|
|
8
|
+
export class CreateTableCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("Timestream_20181101", "CreateTable", {})
|
|
21
|
+
.n("TimestreamWriteClient", "CreateTableCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_CreateTableCommand)
|
|
24
|
+
.de(de_CreateTableCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -2,48 +2,25 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { de_DeleteDatabaseCommand, se_DeleteDatabaseCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class DeleteDatabaseCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "TimestreamWriteClient";
|
|
28
|
-
const commandName = "DeleteDatabaseCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "Timestream_20181101",
|
|
37
|
-
operation: "DeleteDatabase",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_DeleteDatabaseCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_DeleteDatabaseCommand(output, context);
|
|
48
|
-
}
|
|
8
|
+
export class DeleteDatabaseCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("Timestream_20181101", "DeleteDatabase", {})
|
|
21
|
+
.n("TimestreamWriteClient", "DeleteDatabaseCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_DeleteDatabaseCommand)
|
|
24
|
+
.de(de_DeleteDatabaseCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -2,48 +2,25 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { de_DeleteTableCommand, se_DeleteTableCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class DeleteTableCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "TimestreamWriteClient";
|
|
28
|
-
const commandName = "DeleteTableCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "Timestream_20181101",
|
|
37
|
-
operation: "DeleteTable",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_DeleteTableCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_DeleteTableCommand(output, context);
|
|
48
|
-
}
|
|
8
|
+
export class DeleteTableCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("Timestream_20181101", "DeleteTable", {})
|
|
21
|
+
.n("TimestreamWriteClient", "DeleteTableCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_DeleteTableCommand)
|
|
24
|
+
.de(de_DeleteTableCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -2,48 +2,25 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { de_DescribeBatchLoadTaskCommand, se_DescribeBatchLoadTaskCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class DescribeBatchLoadTaskCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "TimestreamWriteClient";
|
|
28
|
-
const commandName = "DescribeBatchLoadTaskCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "Timestream_20181101",
|
|
37
|
-
operation: "DescribeBatchLoadTask",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_DescribeBatchLoadTaskCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_DescribeBatchLoadTaskCommand(output, context);
|
|
48
|
-
}
|
|
8
|
+
export class DescribeBatchLoadTaskCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("Timestream_20181101", "DescribeBatchLoadTask", {})
|
|
21
|
+
.n("TimestreamWriteClient", "DescribeBatchLoadTaskCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_DescribeBatchLoadTaskCommand)
|
|
24
|
+
.de(de_DescribeBatchLoadTaskCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -2,48 +2,25 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { de_DescribeDatabaseCommand, se_DescribeDatabaseCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class DescribeDatabaseCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "TimestreamWriteClient";
|
|
28
|
-
const commandName = "DescribeDatabaseCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "Timestream_20181101",
|
|
37
|
-
operation: "DescribeDatabase",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_DescribeDatabaseCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_DescribeDatabaseCommand(output, context);
|
|
48
|
-
}
|
|
8
|
+
export class DescribeDatabaseCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("Timestream_20181101", "DescribeDatabase", {})
|
|
21
|
+
.n("TimestreamWriteClient", "DescribeDatabaseCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_DescribeDatabaseCommand)
|
|
24
|
+
.de(de_DescribeDatabaseCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeEndpointsCommand, se_DescribeEndpointsCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeEndpointsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TimestreamWriteClient";
|
|
26
|
-
const commandName = "DescribeEndpointsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Timestream_20181101",
|
|
35
|
-
operation: "DescribeEndpoints",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeEndpointsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeEndpointsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeEndpointsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Timestream_20181101", "DescribeEndpoints", {})
|
|
19
|
+
.n("TimestreamWriteClient", "DescribeEndpointsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeEndpointsCommand)
|
|
22
|
+
.de(de_DescribeEndpointsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|