@aws-sdk/client-timestream-write 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/TimestreamWrite.js +0 -4
- package/dist-cjs/TimestreamWriteClient.js +0 -9
- package/dist-cjs/commands/CreateDatabaseCommand.js +0 -28
- package/dist-cjs/commands/CreateTableCommand.js +0 -32
- package/dist-cjs/commands/DeleteDatabaseCommand.js +0 -33
- package/dist-cjs/commands/DeleteTableCommand.js +0 -30
- package/dist-cjs/commands/DescribeDatabaseCommand.js +0 -27
- package/dist-cjs/commands/DescribeEndpointsCommand.js +0 -38
- package/dist-cjs/commands/DescribeTableCommand.js +0 -28
- package/dist-cjs/commands/ListDatabasesCommand.js +0 -27
- package/dist-cjs/commands/ListTablesCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -27
- package/dist-cjs/commands/TagResourceCommand.js +0 -29
- package/dist-cjs/commands/UntagResourceCommand.js +0 -27
- package/dist-cjs/commands/UpdateDatabaseCommand.js +0 -29
- package/dist-cjs/commands/UpdateTableCommand.js +0 -31
- package/dist-cjs/commands/WriteRecordsCommand.js +0 -38
- package/dist-cjs/commands/index.js +18 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -21
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -133
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListDatabasesPaginator.js +0 -11
- package/dist-cjs/pagination/ListTablesPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_json1_0.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/TimestreamWrite.js +0 -1
- package/dist-es/TimestreamWriteClient.js +0 -1
- package/dist-es/commands/CreateDatabaseCommand.js +0 -1
- package/dist-es/commands/CreateTableCommand.js +0 -1
- package/dist-es/commands/DeleteDatabaseCommand.js +0 -1
- package/dist-es/commands/DeleteTableCommand.js +0 -1
- package/dist-es/commands/DescribeDatabaseCommand.js +0 -1
- package/dist-es/commands/DescribeEndpointsCommand.js +0 -1
- package/dist-es/commands/DescribeTableCommand.js +0 -1
- package/dist-es/commands/ListDatabasesCommand.js +0 -1
- package/dist-es/commands/ListTablesCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateDatabaseCommand.js +0 -1
- package/dist-es/commands/UpdateTableCommand.js +0 -1
- package/dist-es/commands/WriteRecordsCommand.js +0 -1
- package/dist-es/commands/index.js +15 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -21
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListDatabasesPaginator.js +0 -1
- package/dist-es/pagination/ListTablesPaginator.js +0 -1
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_0.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/index.d.ts +4 -20
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/TimestreamWrite.d.ts +16 -123
- package/dist-types/ts3.4/TimestreamWriteClient.d.ts +25 -94
- package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DeleteDatabaseCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeDatabaseCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/WriteRecordsCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/index.d.ts +4 -20
- package/dist-types/ts3.4/models/models_0.d.ts +137 -581
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +34 -31
- package/dist-cjs/TimestreamWrite.js.map +0 -1
- package/dist-cjs/TimestreamWriteClient.js.map +0 -1
- package/dist-cjs/commands/CreateDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTableCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTableCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEndpointsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTableCommand.js.map +0 -1
- package/dist-cjs/commands/ListDatabasesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTablesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateTableCommand.js.map +0 -1
- package/dist-cjs/commands/WriteRecordsCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListDatabasesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTablesPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_0.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/TimestreamWrite.js.map +0 -1
- package/dist-es/TimestreamWriteClient.js.map +0 -1
- package/dist-es/commands/CreateDatabaseCommand.js.map +0 -1
- package/dist-es/commands/CreateTableCommand.js.map +0 -1
- package/dist-es/commands/DeleteDatabaseCommand.js.map +0 -1
- package/dist-es/commands/DeleteTableCommand.js.map +0 -1
- package/dist-es/commands/DescribeDatabaseCommand.js.map +0 -1
- package/dist-es/commands/DescribeEndpointsCommand.js.map +0 -1
- package/dist-es/commands/DescribeTableCommand.js.map +0 -1
- package/dist-es/commands/ListDatabasesCommand.js.map +0 -1
- package/dist-es/commands/ListTablesCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateDatabaseCommand.js.map +0 -1
- package/dist-es/commands/UpdateTableCommand.js.map +0 -1
- package/dist-es/commands/WriteRecordsCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListDatabasesPaginator.js.map +0 -1
- package/dist-es/pagination/ListTablesPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_0.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/TimestreamWrite.ts +0 -585
- package/src/TimestreamWriteClient.ts +0 -305
- package/src/commands/CreateDatabaseCommand.ts +0 -102
- package/src/commands/CreateTableCommand.ts +0 -106
- package/src/commands/DeleteDatabaseCommand.ts +0 -107
- package/src/commands/DeleteTableCommand.ts +0 -104
- package/src/commands/DescribeDatabaseCommand.ts +0 -101
- package/src/commands/DescribeEndpointsCommand.ts +0 -108
- package/src/commands/DescribeTableCommand.ts +0 -102
- package/src/commands/ListDatabasesCommand.ts +0 -101
- package/src/commands/ListTablesCommand.ts +0 -100
- package/src/commands/ListTagsForResourceCommand.ts +0 -101
- package/src/commands/TagResourceCommand.ts +0 -103
- package/src/commands/UntagResourceCommand.ts +0 -101
- package/src/commands/UpdateDatabaseCommand.ts +0 -103
- package/src/commands/UpdateTableCommand.ts +0 -105
- package/src/commands/WriteRecordsCommand.ts +0 -112
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -21
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1146
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListDatabasesPaginator.ts +0 -59
- package/src/pagination/ListTablesPaginator.ts +0 -55
- package/src/protocols/Aws_json1_0.ts +0 -2388
- package/src/runtimeConfig.browser.ts +0 -42
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -49
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -6,39 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
-
/**
|
|
10
|
-
* <p>
|
|
11
|
-
* Modifies the KMS key for an existing database. While updating the database,
|
|
12
|
-
* you must specify the database name and the identifier of the new KMS key to be used (<code>KmsKeyId</code>).
|
|
13
|
-
* If there are any concurrent <code>UpdateDatabase</code> requests, first writer wins.
|
|
14
|
-
* </p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { TimestreamWriteClient, UpdateDatabaseCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
19
|
-
* // const { TimestreamWriteClient, UpdateDatabaseCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
20
|
-
* const client = new TimestreamWriteClient(config);
|
|
21
|
-
* const command = new UpdateDatabaseCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link UpdateDatabaseCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link UpdateDatabaseCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
9
|
class UpdateDatabaseCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
10
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
11
|
super();
|
|
36
12
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
13
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
16
|
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
@@ -64,4 +36,3 @@ class UpdateDatabaseCommand extends smithy_client_1.Command {
|
|
|
64
36
|
}
|
|
65
37
|
}
|
|
66
38
|
exports.UpdateDatabaseCommand = UpdateDatabaseCommand;
|
|
67
|
-
//# sourceMappingURL=UpdateDatabaseCommand.js.map
|
|
@@ -6,41 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Modifies the retention duration of the memory store and magnetic store for your Timestream table.
|
|
11
|
-
* Note that the change in retention duration takes effect immediately.
|
|
12
|
-
* For example, if the retention period of the memory store was initially set to 2 hours and then changed to 24 hours,
|
|
13
|
-
* the memory store will be capable of holding 24 hours of data, but will
|
|
14
|
-
* be populated with 24 hours of data 22 hours after this change was made.
|
|
15
|
-
* Timestream does not retrieve data from the magnetic store to populate the memory store. </p>
|
|
16
|
-
* <p>Service quotas apply. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a> in the Timestream Developer Guide.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { TimestreamWriteClient, UpdateTableCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
21
|
-
* // const { TimestreamWriteClient, UpdateTableCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
22
|
-
* const client = new TimestreamWriteClient(config);
|
|
23
|
-
* const command = new UpdateTableCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link UpdateTableCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link UpdateTableCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
9
|
class UpdateTableCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
10
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
11
|
super();
|
|
38
12
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
13
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
16
|
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
@@ -66,4 +36,3 @@ class UpdateTableCommand extends smithy_client_1.Command {
|
|
|
66
36
|
}
|
|
67
37
|
}
|
|
68
38
|
exports.UpdateTableCommand = UpdateTableCommand;
|
|
69
|
-
//# sourceMappingURL=UpdateTableCommand.js.map
|
|
@@ -6,48 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
-
/**
|
|
10
|
-
* <p>The WriteRecords operation enables you to write your time series
|
|
11
|
-
* data into Timestream. You can specify a single data point or a batch
|
|
12
|
-
* of data points to be inserted into the system. Timestream offers you
|
|
13
|
-
* with a flexible schema that auto detects the column names and data types
|
|
14
|
-
* for your Timestream tables based on the dimension names and data types of
|
|
15
|
-
* the data points you specify when invoking writes into the database.
|
|
16
|
-
* Timestream support eventual consistency read semantics. This means that
|
|
17
|
-
* when you query data immediately after writing a batch of data into Timestream,
|
|
18
|
-
* the query results might not reflect the results of a recently completed write
|
|
19
|
-
* operation. The results may also include some stale data. If you repeat the
|
|
20
|
-
* query request after a short time, the results should return the latest data.
|
|
21
|
-
* Service quotas apply. For more information,
|
|
22
|
-
* see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a> in the Timestream Developer Guide.
|
|
23
|
-
* </p>
|
|
24
|
-
* @example
|
|
25
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
-
* ```javascript
|
|
27
|
-
* import { TimestreamWriteClient, WriteRecordsCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
28
|
-
* // const { TimestreamWriteClient, WriteRecordsCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
29
|
-
* const client = new TimestreamWriteClient(config);
|
|
30
|
-
* const command = new WriteRecordsCommand(input);
|
|
31
|
-
* const response = await client.send(command);
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @see {@link WriteRecordsCommandInput} for command's `input` shape.
|
|
35
|
-
* @see {@link WriteRecordsCommandOutput} for command's `response` shape.
|
|
36
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
9
|
class WriteRecordsCommand extends smithy_client_1.Command {
|
|
40
|
-
// Start section: command_properties
|
|
41
|
-
// End section: command_properties
|
|
42
10
|
constructor(input) {
|
|
43
|
-
// Start section: command_constructor
|
|
44
11
|
super();
|
|
45
12
|
this.input = input;
|
|
46
|
-
// End section: command_constructor
|
|
47
13
|
}
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
52
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
53
16
|
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
@@ -73,4 +36,3 @@ class WriteRecordsCommand extends smithy_client_1.Command {
|
|
|
73
36
|
}
|
|
74
37
|
}
|
|
75
38
|
exports.WriteRecordsCommand = WriteRecordsCommand;
|
|
76
|
-
//# sourceMappingURL=WriteRecordsCommand.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateDatabaseCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateTableCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./DeleteDatabaseCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./DeleteTableCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./DescribeDatabaseCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./DescribeEndpointsCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DescribeTableCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ListDatabasesCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListTablesCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./UpdateDatabaseCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./UpdateTableCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./WriteRecordsCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -35,7 +35,7 @@ const partitionHash = {
|
|
|
35
35
|
hostname: "ingest.timestream.{region}.amazonaws.com.cn",
|
|
36
36
|
},
|
|
37
37
|
"aws-iso": {
|
|
38
|
-
regions: ["us-iso-east-1"],
|
|
38
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
39
39
|
hostname: "ingest.timestream.{region}.c2s.ic.gov",
|
|
40
40
|
},
|
|
41
41
|
"aws-iso-b": {
|
|
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
|
|
|
54
54
|
partitionHash,
|
|
55
55
|
});
|
|
56
56
|
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
57
|
-
//# sourceMappingURL=endpoints.js.map
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,25 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./TimestreamWriteClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./TimestreamWrite"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./
|
|
10
|
-
tslib_1.__exportStar(require("./commands/DescribeDatabaseCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./commands/DescribeEndpointsCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./commands/DescribeTableCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./commands/ListDatabasesCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./pagination/ListDatabasesPaginator"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./commands/ListTablesCommand"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./pagination/ListTablesPaginator"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./commands/ListTagsForResourceCommand"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./commands/UpdateDatabaseCommand"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./commands/UpdateTableCommand"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./commands/WriteRecordsCommand"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
25
|
-
//# sourceMappingURL=index.js.map
|
|
5
|
+
tslib_1.__exportStar(require("./TimestreamWriteClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -3,117 +3,78 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.WriteRecordsRequest = exports.UpdateTableResponse = exports.UpdateTableRequest = exports.UpdateDatabaseResponse = exports.UpdateDatabaseRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.RejectedRecordsException = exports.RejectedRecord = exports._Record = exports.TimeUnit = exports.MeasureValueType = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListTablesResponse = exports.ListTablesRequest = exports.ListDatabasesResponse = exports.ListDatabasesRequest = exports.Dimension = exports.DimensionValueType = exports.DescribeTableResponse = exports.DescribeTableRequest = exports.DescribeEndpointsResponse = exports.Endpoint = exports.DescribeEndpointsRequest = exports.DescribeDatabaseResponse = exports.DescribeDatabaseRequest = exports.DeleteTableRequest = exports.DeleteDatabaseRequest = exports.ResourceNotFoundException = exports.CreateTableResponse = exports.Table = exports.TableStatus = exports.CreateTableRequest = exports.RetentionProperties = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InvalidEndpointException = exports.InternalServerException = exports.CreateDatabaseResponse = exports.Database = exports.CreateDatabaseRequest = exports.Tag = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
4
|
var AccessDeniedException;
|
|
5
5
|
(function (AccessDeniedException) {
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
10
7
|
...obj,
|
|
11
8
|
});
|
|
12
9
|
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
13
10
|
var ConflictException;
|
|
14
11
|
(function (ConflictException) {
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
12
|
ConflictException.filterSensitiveLog = (obj) => ({
|
|
19
13
|
...obj,
|
|
20
14
|
});
|
|
21
15
|
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
22
16
|
var Tag;
|
|
23
17
|
(function (Tag) {
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
*/
|
|
27
18
|
Tag.filterSensitiveLog = (obj) => ({
|
|
28
19
|
...obj,
|
|
29
20
|
});
|
|
30
21
|
})(Tag = exports.Tag || (exports.Tag = {}));
|
|
31
22
|
var CreateDatabaseRequest;
|
|
32
23
|
(function (CreateDatabaseRequest) {
|
|
33
|
-
/**
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
36
24
|
CreateDatabaseRequest.filterSensitiveLog = (obj) => ({
|
|
37
25
|
...obj,
|
|
38
26
|
});
|
|
39
27
|
})(CreateDatabaseRequest = exports.CreateDatabaseRequest || (exports.CreateDatabaseRequest = {}));
|
|
40
28
|
var Database;
|
|
41
29
|
(function (Database) {
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
30
|
Database.filterSensitiveLog = (obj) => ({
|
|
46
31
|
...obj,
|
|
47
32
|
});
|
|
48
33
|
})(Database = exports.Database || (exports.Database = {}));
|
|
49
34
|
var CreateDatabaseResponse;
|
|
50
35
|
(function (CreateDatabaseResponse) {
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
36
|
CreateDatabaseResponse.filterSensitiveLog = (obj) => ({
|
|
55
37
|
...obj,
|
|
56
38
|
});
|
|
57
39
|
})(CreateDatabaseResponse = exports.CreateDatabaseResponse || (exports.CreateDatabaseResponse = {}));
|
|
58
40
|
var InternalServerException;
|
|
59
41
|
(function (InternalServerException) {
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
42
|
InternalServerException.filterSensitiveLog = (obj) => ({
|
|
64
43
|
...obj,
|
|
65
44
|
});
|
|
66
45
|
})(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
|
|
67
46
|
var InvalidEndpointException;
|
|
68
47
|
(function (InvalidEndpointException) {
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
48
|
InvalidEndpointException.filterSensitiveLog = (obj) => ({
|
|
73
49
|
...obj,
|
|
74
50
|
});
|
|
75
51
|
})(InvalidEndpointException = exports.InvalidEndpointException || (exports.InvalidEndpointException = {}));
|
|
76
52
|
var ServiceQuotaExceededException;
|
|
77
53
|
(function (ServiceQuotaExceededException) {
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
54
|
ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
82
55
|
...obj,
|
|
83
56
|
});
|
|
84
57
|
})(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
|
|
85
58
|
var ThrottlingException;
|
|
86
59
|
(function (ThrottlingException) {
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
60
|
ThrottlingException.filterSensitiveLog = (obj) => ({
|
|
91
61
|
...obj,
|
|
92
62
|
});
|
|
93
63
|
})(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
|
|
94
64
|
var ValidationException;
|
|
95
65
|
(function (ValidationException) {
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
66
|
ValidationException.filterSensitiveLog = (obj) => ({
|
|
100
67
|
...obj,
|
|
101
68
|
});
|
|
102
69
|
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
103
70
|
var RetentionProperties;
|
|
104
71
|
(function (RetentionProperties) {
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
72
|
RetentionProperties.filterSensitiveLog = (obj) => ({
|
|
109
73
|
...obj,
|
|
110
74
|
});
|
|
111
75
|
})(RetentionProperties = exports.RetentionProperties || (exports.RetentionProperties = {}));
|
|
112
76
|
var CreateTableRequest;
|
|
113
77
|
(function (CreateTableRequest) {
|
|
114
|
-
/**
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
117
78
|
CreateTableRequest.filterSensitiveLog = (obj) => ({
|
|
118
79
|
...obj,
|
|
119
80
|
});
|
|
@@ -125,108 +86,72 @@ var TableStatus;
|
|
|
125
86
|
})(TableStatus = exports.TableStatus || (exports.TableStatus = {}));
|
|
126
87
|
var Table;
|
|
127
88
|
(function (Table) {
|
|
128
|
-
/**
|
|
129
|
-
* @internal
|
|
130
|
-
*/
|
|
131
89
|
Table.filterSensitiveLog = (obj) => ({
|
|
132
90
|
...obj,
|
|
133
91
|
});
|
|
134
92
|
})(Table = exports.Table || (exports.Table = {}));
|
|
135
93
|
var CreateTableResponse;
|
|
136
94
|
(function (CreateTableResponse) {
|
|
137
|
-
/**
|
|
138
|
-
* @internal
|
|
139
|
-
*/
|
|
140
95
|
CreateTableResponse.filterSensitiveLog = (obj) => ({
|
|
141
96
|
...obj,
|
|
142
97
|
});
|
|
143
98
|
})(CreateTableResponse = exports.CreateTableResponse || (exports.CreateTableResponse = {}));
|
|
144
99
|
var ResourceNotFoundException;
|
|
145
100
|
(function (ResourceNotFoundException) {
|
|
146
|
-
/**
|
|
147
|
-
* @internal
|
|
148
|
-
*/
|
|
149
101
|
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
150
102
|
...obj,
|
|
151
103
|
});
|
|
152
104
|
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
153
105
|
var DeleteDatabaseRequest;
|
|
154
106
|
(function (DeleteDatabaseRequest) {
|
|
155
|
-
/**
|
|
156
|
-
* @internal
|
|
157
|
-
*/
|
|
158
107
|
DeleteDatabaseRequest.filterSensitiveLog = (obj) => ({
|
|
159
108
|
...obj,
|
|
160
109
|
});
|
|
161
110
|
})(DeleteDatabaseRequest = exports.DeleteDatabaseRequest || (exports.DeleteDatabaseRequest = {}));
|
|
162
111
|
var DeleteTableRequest;
|
|
163
112
|
(function (DeleteTableRequest) {
|
|
164
|
-
/**
|
|
165
|
-
* @internal
|
|
166
|
-
*/
|
|
167
113
|
DeleteTableRequest.filterSensitiveLog = (obj) => ({
|
|
168
114
|
...obj,
|
|
169
115
|
});
|
|
170
116
|
})(DeleteTableRequest = exports.DeleteTableRequest || (exports.DeleteTableRequest = {}));
|
|
171
117
|
var DescribeDatabaseRequest;
|
|
172
118
|
(function (DescribeDatabaseRequest) {
|
|
173
|
-
/**
|
|
174
|
-
* @internal
|
|
175
|
-
*/
|
|
176
119
|
DescribeDatabaseRequest.filterSensitiveLog = (obj) => ({
|
|
177
120
|
...obj,
|
|
178
121
|
});
|
|
179
122
|
})(DescribeDatabaseRequest = exports.DescribeDatabaseRequest || (exports.DescribeDatabaseRequest = {}));
|
|
180
123
|
var DescribeDatabaseResponse;
|
|
181
124
|
(function (DescribeDatabaseResponse) {
|
|
182
|
-
/**
|
|
183
|
-
* @internal
|
|
184
|
-
*/
|
|
185
125
|
DescribeDatabaseResponse.filterSensitiveLog = (obj) => ({
|
|
186
126
|
...obj,
|
|
187
127
|
});
|
|
188
128
|
})(DescribeDatabaseResponse = exports.DescribeDatabaseResponse || (exports.DescribeDatabaseResponse = {}));
|
|
189
129
|
var DescribeEndpointsRequest;
|
|
190
130
|
(function (DescribeEndpointsRequest) {
|
|
191
|
-
/**
|
|
192
|
-
* @internal
|
|
193
|
-
*/
|
|
194
131
|
DescribeEndpointsRequest.filterSensitiveLog = (obj) => ({
|
|
195
132
|
...obj,
|
|
196
133
|
});
|
|
197
134
|
})(DescribeEndpointsRequest = exports.DescribeEndpointsRequest || (exports.DescribeEndpointsRequest = {}));
|
|
198
135
|
var Endpoint;
|
|
199
136
|
(function (Endpoint) {
|
|
200
|
-
/**
|
|
201
|
-
* @internal
|
|
202
|
-
*/
|
|
203
137
|
Endpoint.filterSensitiveLog = (obj) => ({
|
|
204
138
|
...obj,
|
|
205
139
|
});
|
|
206
140
|
})(Endpoint = exports.Endpoint || (exports.Endpoint = {}));
|
|
207
141
|
var DescribeEndpointsResponse;
|
|
208
142
|
(function (DescribeEndpointsResponse) {
|
|
209
|
-
/**
|
|
210
|
-
* @internal
|
|
211
|
-
*/
|
|
212
143
|
DescribeEndpointsResponse.filterSensitiveLog = (obj) => ({
|
|
213
144
|
...obj,
|
|
214
145
|
});
|
|
215
146
|
})(DescribeEndpointsResponse = exports.DescribeEndpointsResponse || (exports.DescribeEndpointsResponse = {}));
|
|
216
147
|
var DescribeTableRequest;
|
|
217
148
|
(function (DescribeTableRequest) {
|
|
218
|
-
/**
|
|
219
|
-
* @internal
|
|
220
|
-
*/
|
|
221
149
|
DescribeTableRequest.filterSensitiveLog = (obj) => ({
|
|
222
150
|
...obj,
|
|
223
151
|
});
|
|
224
152
|
})(DescribeTableRequest = exports.DescribeTableRequest || (exports.DescribeTableRequest = {}));
|
|
225
153
|
var DescribeTableResponse;
|
|
226
154
|
(function (DescribeTableResponse) {
|
|
227
|
-
/**
|
|
228
|
-
* @internal
|
|
229
|
-
*/
|
|
230
155
|
DescribeTableResponse.filterSensitiveLog = (obj) => ({
|
|
231
156
|
...obj,
|
|
232
157
|
});
|
|
@@ -237,63 +162,42 @@ var DimensionValueType;
|
|
|
237
162
|
})(DimensionValueType = exports.DimensionValueType || (exports.DimensionValueType = {}));
|
|
238
163
|
var Dimension;
|
|
239
164
|
(function (Dimension) {
|
|
240
|
-
/**
|
|
241
|
-
* @internal
|
|
242
|
-
*/
|
|
243
165
|
Dimension.filterSensitiveLog = (obj) => ({
|
|
244
166
|
...obj,
|
|
245
167
|
});
|
|
246
168
|
})(Dimension = exports.Dimension || (exports.Dimension = {}));
|
|
247
169
|
var ListDatabasesRequest;
|
|
248
170
|
(function (ListDatabasesRequest) {
|
|
249
|
-
/**
|
|
250
|
-
* @internal
|
|
251
|
-
*/
|
|
252
171
|
ListDatabasesRequest.filterSensitiveLog = (obj) => ({
|
|
253
172
|
...obj,
|
|
254
173
|
});
|
|
255
174
|
})(ListDatabasesRequest = exports.ListDatabasesRequest || (exports.ListDatabasesRequest = {}));
|
|
256
175
|
var ListDatabasesResponse;
|
|
257
176
|
(function (ListDatabasesResponse) {
|
|
258
|
-
/**
|
|
259
|
-
* @internal
|
|
260
|
-
*/
|
|
261
177
|
ListDatabasesResponse.filterSensitiveLog = (obj) => ({
|
|
262
178
|
...obj,
|
|
263
179
|
});
|
|
264
180
|
})(ListDatabasesResponse = exports.ListDatabasesResponse || (exports.ListDatabasesResponse = {}));
|
|
265
181
|
var ListTablesRequest;
|
|
266
182
|
(function (ListTablesRequest) {
|
|
267
|
-
/**
|
|
268
|
-
* @internal
|
|
269
|
-
*/
|
|
270
183
|
ListTablesRequest.filterSensitiveLog = (obj) => ({
|
|
271
184
|
...obj,
|
|
272
185
|
});
|
|
273
186
|
})(ListTablesRequest = exports.ListTablesRequest || (exports.ListTablesRequest = {}));
|
|
274
187
|
var ListTablesResponse;
|
|
275
188
|
(function (ListTablesResponse) {
|
|
276
|
-
/**
|
|
277
|
-
* @internal
|
|
278
|
-
*/
|
|
279
189
|
ListTablesResponse.filterSensitiveLog = (obj) => ({
|
|
280
190
|
...obj,
|
|
281
191
|
});
|
|
282
192
|
})(ListTablesResponse = exports.ListTablesResponse || (exports.ListTablesResponse = {}));
|
|
283
193
|
var ListTagsForResourceRequest;
|
|
284
194
|
(function (ListTagsForResourceRequest) {
|
|
285
|
-
/**
|
|
286
|
-
* @internal
|
|
287
|
-
*/
|
|
288
195
|
ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
|
|
289
196
|
...obj,
|
|
290
197
|
});
|
|
291
198
|
})(ListTagsForResourceRequest = exports.ListTagsForResourceRequest || (exports.ListTagsForResourceRequest = {}));
|
|
292
199
|
var ListTagsForResourceResponse;
|
|
293
200
|
(function (ListTagsForResourceResponse) {
|
|
294
|
-
/**
|
|
295
|
-
* @internal
|
|
296
|
-
*/
|
|
297
201
|
ListTagsForResourceResponse.filterSensitiveLog = (obj) => ({
|
|
298
202
|
...obj,
|
|
299
203
|
});
|
|
@@ -314,110 +218,73 @@ var TimeUnit;
|
|
|
314
218
|
})(TimeUnit = exports.TimeUnit || (exports.TimeUnit = {}));
|
|
315
219
|
var _Record;
|
|
316
220
|
(function (_Record) {
|
|
317
|
-
/**
|
|
318
|
-
* @internal
|
|
319
|
-
*/
|
|
320
221
|
_Record.filterSensitiveLog = (obj) => ({
|
|
321
222
|
...obj,
|
|
322
223
|
});
|
|
323
224
|
})(_Record = exports._Record || (exports._Record = {}));
|
|
324
225
|
var RejectedRecord;
|
|
325
226
|
(function (RejectedRecord) {
|
|
326
|
-
/**
|
|
327
|
-
* @internal
|
|
328
|
-
*/
|
|
329
227
|
RejectedRecord.filterSensitiveLog = (obj) => ({
|
|
330
228
|
...obj,
|
|
331
229
|
});
|
|
332
230
|
})(RejectedRecord = exports.RejectedRecord || (exports.RejectedRecord = {}));
|
|
333
231
|
var RejectedRecordsException;
|
|
334
232
|
(function (RejectedRecordsException) {
|
|
335
|
-
/**
|
|
336
|
-
* @internal
|
|
337
|
-
*/
|
|
338
233
|
RejectedRecordsException.filterSensitiveLog = (obj) => ({
|
|
339
234
|
...obj,
|
|
340
235
|
});
|
|
341
236
|
})(RejectedRecordsException = exports.RejectedRecordsException || (exports.RejectedRecordsException = {}));
|
|
342
237
|
var TagResourceRequest;
|
|
343
238
|
(function (TagResourceRequest) {
|
|
344
|
-
/**
|
|
345
|
-
* @internal
|
|
346
|
-
*/
|
|
347
239
|
TagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
348
240
|
...obj,
|
|
349
241
|
});
|
|
350
242
|
})(TagResourceRequest = exports.TagResourceRequest || (exports.TagResourceRequest = {}));
|
|
351
243
|
var TagResourceResponse;
|
|
352
244
|
(function (TagResourceResponse) {
|
|
353
|
-
/**
|
|
354
|
-
* @internal
|
|
355
|
-
*/
|
|
356
245
|
TagResourceResponse.filterSensitiveLog = (obj) => ({
|
|
357
246
|
...obj,
|
|
358
247
|
});
|
|
359
248
|
})(TagResourceResponse = exports.TagResourceResponse || (exports.TagResourceResponse = {}));
|
|
360
249
|
var UntagResourceRequest;
|
|
361
250
|
(function (UntagResourceRequest) {
|
|
362
|
-
/**
|
|
363
|
-
* @internal
|
|
364
|
-
*/
|
|
365
251
|
UntagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
366
252
|
...obj,
|
|
367
253
|
});
|
|
368
254
|
})(UntagResourceRequest = exports.UntagResourceRequest || (exports.UntagResourceRequest = {}));
|
|
369
255
|
var UntagResourceResponse;
|
|
370
256
|
(function (UntagResourceResponse) {
|
|
371
|
-
/**
|
|
372
|
-
* @internal
|
|
373
|
-
*/
|
|
374
257
|
UntagResourceResponse.filterSensitiveLog = (obj) => ({
|
|
375
258
|
...obj,
|
|
376
259
|
});
|
|
377
260
|
})(UntagResourceResponse = exports.UntagResourceResponse || (exports.UntagResourceResponse = {}));
|
|
378
261
|
var UpdateDatabaseRequest;
|
|
379
262
|
(function (UpdateDatabaseRequest) {
|
|
380
|
-
/**
|
|
381
|
-
* @internal
|
|
382
|
-
*/
|
|
383
263
|
UpdateDatabaseRequest.filterSensitiveLog = (obj) => ({
|
|
384
264
|
...obj,
|
|
385
265
|
});
|
|
386
266
|
})(UpdateDatabaseRequest = exports.UpdateDatabaseRequest || (exports.UpdateDatabaseRequest = {}));
|
|
387
267
|
var UpdateDatabaseResponse;
|
|
388
268
|
(function (UpdateDatabaseResponse) {
|
|
389
|
-
/**
|
|
390
|
-
* @internal
|
|
391
|
-
*/
|
|
392
269
|
UpdateDatabaseResponse.filterSensitiveLog = (obj) => ({
|
|
393
270
|
...obj,
|
|
394
271
|
});
|
|
395
272
|
})(UpdateDatabaseResponse = exports.UpdateDatabaseResponse || (exports.UpdateDatabaseResponse = {}));
|
|
396
273
|
var UpdateTableRequest;
|
|
397
274
|
(function (UpdateTableRequest) {
|
|
398
|
-
/**
|
|
399
|
-
* @internal
|
|
400
|
-
*/
|
|
401
275
|
UpdateTableRequest.filterSensitiveLog = (obj) => ({
|
|
402
276
|
...obj,
|
|
403
277
|
});
|
|
404
278
|
})(UpdateTableRequest = exports.UpdateTableRequest || (exports.UpdateTableRequest = {}));
|
|
405
279
|
var UpdateTableResponse;
|
|
406
280
|
(function (UpdateTableResponse) {
|
|
407
|
-
/**
|
|
408
|
-
* @internal
|
|
409
|
-
*/
|
|
410
281
|
UpdateTableResponse.filterSensitiveLog = (obj) => ({
|
|
411
282
|
...obj,
|
|
412
283
|
});
|
|
413
284
|
})(UpdateTableResponse = exports.UpdateTableResponse || (exports.UpdateTableResponse = {}));
|
|
414
285
|
var WriteRecordsRequest;
|
|
415
286
|
(function (WriteRecordsRequest) {
|
|
416
|
-
/**
|
|
417
|
-
* @internal
|
|
418
|
-
*/
|
|
419
287
|
WriteRecordsRequest.filterSensitiveLog = (obj) => ({
|
|
420
288
|
...obj,
|
|
421
289
|
});
|
|
422
290
|
})(WriteRecordsRequest = exports.WriteRecordsRequest || (exports.WriteRecordsRequest = {}));
|
|
423
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -4,22 +4,13 @@ exports.paginateListDatabases = void 0;
|
|
|
4
4
|
const ListDatabasesCommand_1 = require("../commands/ListDatabasesCommand");
|
|
5
5
|
const TimestreamWrite_1 = require("../TimestreamWrite");
|
|
6
6
|
const TimestreamWriteClient_1 = require("../TimestreamWriteClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListDatabasesCommand_1.ListDatabasesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listDatabases(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListDatabases(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListDatabases(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListDatabases = paginateListDatabases;
|
|
46
|
-
//# sourceMappingURL=ListDatabasesPaginator.js.map
|