@aws-sdk/client-timestream-write 3.299.0 → 3.300.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-types/commands/CreateBatchLoadTaskCommand.d.ts +70 -0
- package/dist-types/commands/CreateDatabaseCommand.d.ts +10 -0
- package/dist-types/commands/CreateTableCommand.d.ts +25 -0
- package/dist-types/commands/DeleteDatabaseCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +4 -0
- package/dist-types/commands/DescribeBatchLoadTaskCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDatabaseCommand.d.ts +3 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +4 -0
- package/dist-types/commands/ListBatchLoadTasksCommand.d.ts +5 -0
- package/dist-types/commands/ListDatabasesCommand.d.ts +4 -0
- package/dist-types/commands/ListTablesCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ResumeBatchLoadTaskCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDatabaseCommand.d.ts +4 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +19 -0
- package/dist-types/commands/WriteRecordsCommand.d.ts +50 -0
- package/package.json +9 -9
|
@@ -34,6 +34,76 @@ export interface CreateBatchLoadTaskCommandOutput extends CreateBatchLoadTaskRes
|
|
|
34
34
|
* import { TimestreamWriteClient, CreateBatchLoadTaskCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
35
35
|
* // const { TimestreamWriteClient, CreateBatchLoadTaskCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
36
36
|
* const client = new TimestreamWriteClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* ClientToken: "STRING_VALUE",
|
|
39
|
+
* DataModelConfiguration: {
|
|
40
|
+
* DataModel: {
|
|
41
|
+
* TimeColumn: "STRING_VALUE",
|
|
42
|
+
* TimeUnit: "MILLISECONDS" || "SECONDS" || "MICROSECONDS" || "NANOSECONDS",
|
|
43
|
+
* DimensionMappings: [ // required
|
|
44
|
+
* {
|
|
45
|
+
* SourceColumn: "STRING_VALUE",
|
|
46
|
+
* DestinationColumn: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* MultiMeasureMappings: {
|
|
50
|
+
* TargetMultiMeasureName: "STRING_VALUE",
|
|
51
|
+
* MultiMeasureAttributeMappings: [ // required
|
|
52
|
+
* {
|
|
53
|
+
* SourceColumn: "STRING_VALUE", // required
|
|
54
|
+
* TargetMultiMeasureAttributeName: "STRING_VALUE",
|
|
55
|
+
* MeasureValueType: "DOUBLE" || "BIGINT" || "BOOLEAN" || "VARCHAR" || "TIMESTAMP",
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* MixedMeasureMappings: [
|
|
60
|
+
* {
|
|
61
|
+
* MeasureName: "STRING_VALUE",
|
|
62
|
+
* SourceColumn: "STRING_VALUE",
|
|
63
|
+
* TargetMeasureName: "STRING_VALUE",
|
|
64
|
+
* MeasureValueType: "DOUBLE" || "BIGINT" || "VARCHAR" || "BOOLEAN" || "TIMESTAMP" || "MULTI", // required
|
|
65
|
+
* MultiMeasureAttributeMappings: [
|
|
66
|
+
* {
|
|
67
|
+
* SourceColumn: "STRING_VALUE", // required
|
|
68
|
+
* TargetMultiMeasureAttributeName: "STRING_VALUE",
|
|
69
|
+
* MeasureValueType: "DOUBLE" || "BIGINT" || "BOOLEAN" || "VARCHAR" || "TIMESTAMP",
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* MeasureNameColumn: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* DataModelS3Configuration: {
|
|
77
|
+
* BucketName: "STRING_VALUE",
|
|
78
|
+
* ObjectKey: "STRING_VALUE",
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* DataSourceConfiguration: {
|
|
82
|
+
* DataSourceS3Configuration: {
|
|
83
|
+
* BucketName: "STRING_VALUE", // required
|
|
84
|
+
* ObjectKeyPrefix: "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* CsvConfiguration: {
|
|
87
|
+
* ColumnSeparator: "STRING_VALUE",
|
|
88
|
+
* EscapeChar: "STRING_VALUE",
|
|
89
|
+
* QuoteChar: "STRING_VALUE",
|
|
90
|
+
* NullValue: "STRING_VALUE",
|
|
91
|
+
* TrimWhiteSpace: true || false,
|
|
92
|
+
* },
|
|
93
|
+
* DataFormat: "CSV", // required
|
|
94
|
+
* },
|
|
95
|
+
* ReportConfiguration: {
|
|
96
|
+
* ReportS3Configuration: {
|
|
97
|
+
* BucketName: "STRING_VALUE", // required
|
|
98
|
+
* ObjectKeyPrefix: "STRING_VALUE",
|
|
99
|
+
* EncryptionOption: "SSE_S3" || "SSE_KMS",
|
|
100
|
+
* KmsKeyId: "STRING_VALUE",
|
|
101
|
+
* },
|
|
102
|
+
* },
|
|
103
|
+
* TargetDatabaseName: "STRING_VALUE", // required
|
|
104
|
+
* TargetTableName: "STRING_VALUE", // required
|
|
105
|
+
* RecordVersion: Number("long"),
|
|
106
|
+
* };
|
|
37
107
|
* const command = new CreateBatchLoadTaskCommand(input);
|
|
38
108
|
* const response = await client.send(command);
|
|
39
109
|
* ```
|
|
@@ -29,6 +29,16 @@ export interface CreateDatabaseCommandOutput extends CreateDatabaseResponse, __M
|
|
|
29
29
|
* import { TimestreamWriteClient, CreateDatabaseCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
30
30
|
* // const { TimestreamWriteClient, CreateDatabaseCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
31
31
|
* const client = new TimestreamWriteClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
34
|
+
* KmsKeyId: "STRING_VALUE",
|
|
35
|
+
* Tags: [
|
|
36
|
+
* {
|
|
37
|
+
* Key: "STRING_VALUE", // required
|
|
38
|
+
* Value: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
32
42
|
* const command = new CreateDatabaseCommand(input);
|
|
33
43
|
* const response = await client.send(command);
|
|
34
44
|
* ```
|
|
@@ -31,6 +31,31 @@ export interface CreateTableCommandOutput extends CreateTableResponse, __Metadat
|
|
|
31
31
|
* import { TimestreamWriteClient, CreateTableCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
32
32
|
* // const { TimestreamWriteClient, CreateTableCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
33
33
|
* const client = new TimestreamWriteClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
36
|
+
* TableName: "STRING_VALUE", // required
|
|
37
|
+
* RetentionProperties: {
|
|
38
|
+
* MemoryStoreRetentionPeriodInHours: Number("long"), // required
|
|
39
|
+
* MagneticStoreRetentionPeriodInDays: Number("long"), // required
|
|
40
|
+
* },
|
|
41
|
+
* Tags: [
|
|
42
|
+
* {
|
|
43
|
+
* Key: "STRING_VALUE", // required
|
|
44
|
+
* Value: "STRING_VALUE", // required
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* MagneticStoreWriteProperties: {
|
|
48
|
+
* EnableMagneticStoreWrites: true || false, // required
|
|
49
|
+
* MagneticStoreRejectedDataLocation: {
|
|
50
|
+
* S3Configuration: {
|
|
51
|
+
* BucketName: "STRING_VALUE",
|
|
52
|
+
* ObjectKeyPrefix: "STRING_VALUE",
|
|
53
|
+
* EncryptionOption: "SSE_S3" || "SSE_KMS",
|
|
54
|
+
* KmsKeyId: "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* };
|
|
34
59
|
* const command = new CreateTableCommand(input);
|
|
35
60
|
* const response = await client.send(command);
|
|
36
61
|
* ```
|
|
@@ -37,6 +37,9 @@ export interface DeleteDatabaseCommandOutput extends __MetadataBearer {
|
|
|
37
37
|
* import { TimestreamWriteClient, DeleteDatabaseCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
38
38
|
* // const { TimestreamWriteClient, DeleteDatabaseCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
39
39
|
* const client = new TimestreamWriteClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
40
43
|
* const command = new DeleteDatabaseCommand(input);
|
|
41
44
|
* const response = await client.send(command);
|
|
42
45
|
* ```
|
|
@@ -34,6 +34,10 @@ export interface DeleteTableCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* import { TimestreamWriteClient, DeleteTableCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
35
35
|
* // const { TimestreamWriteClient, DeleteTableCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
36
36
|
* const client = new TimestreamWriteClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
39
|
+
* TableName: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
37
41
|
* const command = new DeleteTableCommand(input);
|
|
38
42
|
* const response = await client.send(command);
|
|
39
43
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DescribeBatchLoadTaskCommandOutput extends DescribeBatchLoadTas
|
|
|
29
29
|
* import { TimestreamWriteClient, DescribeBatchLoadTaskCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
30
30
|
* // const { TimestreamWriteClient, DescribeBatchLoadTaskCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
31
31
|
* const client = new TimestreamWriteClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* TaskId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DescribeBatchLoadTaskCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DescribeDatabaseCommandOutput extends DescribeDatabaseResponse,
|
|
|
29
29
|
* import { TimestreamWriteClient, DescribeDatabaseCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
30
30
|
* // const { TimestreamWriteClient, DescribeDatabaseCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
31
31
|
* const client = new TimestreamWriteClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DescribeDatabaseCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -46,6 +46,7 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
|
|
|
46
46
|
* import { TimestreamWriteClient, DescribeEndpointsCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
47
47
|
* // const { TimestreamWriteClient, DescribeEndpointsCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
48
48
|
* const client = new TimestreamWriteClient(config);
|
|
49
|
+
* const input = {};
|
|
49
50
|
* const command = new DescribeEndpointsCommand(input);
|
|
50
51
|
* const response = await client.send(command);
|
|
51
52
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DescribeTableCommandOutput extends DescribeTableResponse, __Met
|
|
|
29
29
|
* import { TimestreamWriteClient, DescribeTableCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
30
30
|
* // const { TimestreamWriteClient, DescribeTableCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
31
31
|
* const client = new TimestreamWriteClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
34
|
+
* TableName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DescribeTableCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListBatchLoadTasksCommandOutput extends ListBatchLoadTasksRespo
|
|
|
28
28
|
* import { TimestreamWriteClient, ListBatchLoadTasksCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
29
29
|
* // const { TimestreamWriteClient, ListBatchLoadTasksCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
30
30
|
* const client = new TimestreamWriteClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* TaskStatus: "CREATED" || "IN_PROGRESS" || "FAILED" || "SUCCEEDED" || "PROGRESS_STOPPED" || "PENDING_RESUME",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListBatchLoadTasksCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __Met
|
|
|
28
28
|
* import { TimestreamWriteClient, ListDatabasesCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
29
29
|
* // const { TimestreamWriteClient, ListDatabasesCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
30
30
|
* const client = new TimestreamWriteClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* };
|
|
31
35
|
* const command = new ListDatabasesCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataB
|
|
|
28
28
|
* import { TimestreamWriteClient, ListTablesCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
29
29
|
* // const { TimestreamWriteClient, ListTablesCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
30
30
|
* const client = new TimestreamWriteClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* DatabaseName: "STRING_VALUE",
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListTablesCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { TimestreamWriteClient, ListTagsForResourceCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
27
27
|
* // const { TimestreamWriteClient, ListTagsForResourceCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
28
28
|
* const client = new TimestreamWriteClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface ResumeBatchLoadTaskCommandOutput extends ResumeBatchLoadTaskRes
|
|
|
27
27
|
* import { TimestreamWriteClient, ResumeBatchLoadTaskCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
28
28
|
* // const { TimestreamWriteClient, ResumeBatchLoadTaskCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
29
29
|
* const client = new TimestreamWriteClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* TaskId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new ResumeBatchLoadTaskCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
28
28
|
* import { TimestreamWriteClient, TagResourceCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
29
29
|
* // const { TimestreamWriteClient, TagResourceCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
30
30
|
* const client = new TimestreamWriteClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
33
|
+
* Tags: [ // required
|
|
34
|
+
* {
|
|
35
|
+
* Key: "STRING_VALUE", // required
|
|
36
|
+
* Value: "STRING_VALUE", // required
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
31
40
|
* const command = new TagResourceCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { TimestreamWriteClient, UntagResourceCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
27
27
|
* // const { TimestreamWriteClient, UntagResourceCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
28
28
|
* const client = new TimestreamWriteClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface UpdateDatabaseCommandOutput extends UpdateDatabaseResponse, __M
|
|
|
30
30
|
* import { TimestreamWriteClient, UpdateDatabaseCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
31
31
|
* // const { TimestreamWriteClient, UpdateDatabaseCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
32
32
|
* const client = new TimestreamWriteClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
35
|
+
* KmsKeyId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
33
37
|
* const command = new UpdateDatabaseCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -31,6 +31,25 @@ export interface UpdateTableCommandOutput extends UpdateTableResponse, __Metadat
|
|
|
31
31
|
* import { TimestreamWriteClient, UpdateTableCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
32
32
|
* // const { TimestreamWriteClient, UpdateTableCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
33
33
|
* const client = new TimestreamWriteClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
36
|
+
* TableName: "STRING_VALUE", // required
|
|
37
|
+
* RetentionProperties: {
|
|
38
|
+
* MemoryStoreRetentionPeriodInHours: Number("long"), // required
|
|
39
|
+
* MagneticStoreRetentionPeriodInDays: Number("long"), // required
|
|
40
|
+
* },
|
|
41
|
+
* MagneticStoreWriteProperties: {
|
|
42
|
+
* EnableMagneticStoreWrites: true || false, // required
|
|
43
|
+
* MagneticStoreRejectedDataLocation: {
|
|
44
|
+
* S3Configuration: {
|
|
45
|
+
* BucketName: "STRING_VALUE",
|
|
46
|
+
* ObjectKeyPrefix: "STRING_VALUE",
|
|
47
|
+
* EncryptionOption: "SSE_S3" || "SSE_KMS",
|
|
48
|
+
* KmsKeyId: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* };
|
|
34
53
|
* const command = new UpdateTableCommand(input);
|
|
35
54
|
* const response = await client.send(command);
|
|
36
55
|
* ```
|
|
@@ -64,6 +64,56 @@ export interface WriteRecordsCommandOutput extends WriteRecordsResponse, __Metad
|
|
|
64
64
|
* import { TimestreamWriteClient, WriteRecordsCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
65
65
|
* // const { TimestreamWriteClient, WriteRecordsCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
66
66
|
* const client = new TimestreamWriteClient(config);
|
|
67
|
+
* const input = {
|
|
68
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
69
|
+
* TableName: "STRING_VALUE", // required
|
|
70
|
+
* CommonAttributes: {
|
|
71
|
+
* Dimensions: [
|
|
72
|
+
* {
|
|
73
|
+
* Name: "STRING_VALUE", // required
|
|
74
|
+
* Value: "STRING_VALUE", // required
|
|
75
|
+
* DimensionValueType: "VARCHAR",
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* MeasureName: "STRING_VALUE",
|
|
79
|
+
* MeasureValue: "STRING_VALUE",
|
|
80
|
+
* MeasureValueType: "DOUBLE" || "BIGINT" || "VARCHAR" || "BOOLEAN" || "TIMESTAMP" || "MULTI",
|
|
81
|
+
* Time: "STRING_VALUE",
|
|
82
|
+
* TimeUnit: "MILLISECONDS" || "SECONDS" || "MICROSECONDS" || "NANOSECONDS",
|
|
83
|
+
* Version: Number("long"),
|
|
84
|
+
* MeasureValues: [
|
|
85
|
+
* {
|
|
86
|
+
* Name: "STRING_VALUE", // required
|
|
87
|
+
* Value: "STRING_VALUE", // required
|
|
88
|
+
* Type: "DOUBLE" || "BIGINT" || "VARCHAR" || "BOOLEAN" || "TIMESTAMP" || "MULTI", // required
|
|
89
|
+
* },
|
|
90
|
+
* ],
|
|
91
|
+
* },
|
|
92
|
+
* Records: [ // required
|
|
93
|
+
* {
|
|
94
|
+
* Dimensions: [
|
|
95
|
+
* {
|
|
96
|
+
* Name: "STRING_VALUE", // required
|
|
97
|
+
* Value: "STRING_VALUE", // required
|
|
98
|
+
* DimensionValueType: "VARCHAR",
|
|
99
|
+
* },
|
|
100
|
+
* ],
|
|
101
|
+
* MeasureName: "STRING_VALUE",
|
|
102
|
+
* MeasureValue: "STRING_VALUE",
|
|
103
|
+
* MeasureValueType: "DOUBLE" || "BIGINT" || "VARCHAR" || "BOOLEAN" || "TIMESTAMP" || "MULTI",
|
|
104
|
+
* Time: "STRING_VALUE",
|
|
105
|
+
* TimeUnit: "MILLISECONDS" || "SECONDS" || "MICROSECONDS" || "NANOSECONDS",
|
|
106
|
+
* Version: Number("long"),
|
|
107
|
+
* MeasureValues: [
|
|
108
|
+
* {
|
|
109
|
+
* Name: "STRING_VALUE", // required
|
|
110
|
+
* Value: "STRING_VALUE", // required
|
|
111
|
+
* Type: "DOUBLE" || "BIGINT" || "VARCHAR" || "BOOLEAN" || "TIMESTAMP" || "MULTI", // required
|
|
112
|
+
* },
|
|
113
|
+
* ],
|
|
114
|
+
* },
|
|
115
|
+
* ],
|
|
116
|
+
* };
|
|
67
117
|
* const command = new WriteRecordsCommand(input);
|
|
68
118
|
* const response = await client.send(command);
|
|
69
119
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-timestream-write",
|
|
3
3
|
"description": "AWS SDK for JavaScript Timestream Write Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,24 +21,24 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
31
|
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
32
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.300.0",
|
|
33
33
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
35
35
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
36
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
37
37
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
38
38
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
39
39
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
40
40
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
42
42
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
43
43
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
44
44
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
52
52
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-retry": "3.296.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
56
56
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
57
57
|
"tslib": "^2.5.0",
|
|
58
58
|
"uuid": "^8.3.2"
|