@aws-sdk/client-timestream-write 3.321.1 → 3.326.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 +6 -0
- package/dist-types/commands/CreateDatabaseCommand.d.ts +13 -0
- package/dist-types/commands/CreateTableCommand.d.ts +28 -0
- package/dist-types/commands/DeleteDatabaseCommand.d.ts +4 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +4 -0
- package/dist-types/commands/DescribeBatchLoadTaskCommand.d.ts +88 -0
- package/dist-types/commands/DescribeDatabaseCommand.d.ts +13 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +28 -0
- package/dist-types/commands/ListBatchLoadTasksCommand.d.ts +17 -0
- package/dist-types/commands/ListDatabasesCommand.d.ts +16 -0
- package/dist-types/commands/ListTablesCommand.d.ts +31 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/dist-types/commands/ResumeBatchLoadTaskCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDatabaseCommand.d.ts +13 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +28 -0
- package/dist-types/commands/WriteRecordsCommand.d.ts +10 -0
- package/package.json +17 -17
|
@@ -106,6 +106,10 @@ export interface CreateBatchLoadTaskCommandOutput extends CreateBatchLoadTaskRes
|
|
|
106
106
|
* };
|
|
107
107
|
* const command = new CreateBatchLoadTaskCommand(input);
|
|
108
108
|
* const response = await client.send(command);
|
|
109
|
+
* // { // CreateBatchLoadTaskResponse
|
|
110
|
+
* // TaskId: "STRING_VALUE", // required
|
|
111
|
+
* // };
|
|
112
|
+
*
|
|
109
113
|
* ```
|
|
110
114
|
*
|
|
111
115
|
* @param CreateBatchLoadTaskCommandInput - {@link CreateBatchLoadTaskCommandInput}
|
|
@@ -143,6 +147,8 @@ export interface CreateBatchLoadTaskCommandOutput extends CreateBatchLoadTaskRes
|
|
|
143
147
|
* @throws {@link ValidationException} (client fault)
|
|
144
148
|
* <p> An invalid or malformed request.</p>
|
|
145
149
|
*
|
|
150
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
151
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
146
152
|
*
|
|
147
153
|
*/
|
|
148
154
|
export declare class CreateBatchLoadTaskCommand extends $Command<CreateBatchLoadTaskCommandInput, CreateBatchLoadTaskCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -41,6 +41,17 @@ export interface CreateDatabaseCommandOutput extends CreateDatabaseResponse, __M
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new CreateDatabaseCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // { // CreateDatabaseResponse
|
|
45
|
+
* // Database: { // Database
|
|
46
|
+
* // Arn: "STRING_VALUE",
|
|
47
|
+
* // DatabaseName: "STRING_VALUE",
|
|
48
|
+
* // TableCount: Number("long"),
|
|
49
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
50
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
51
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // },
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
44
55
|
* ```
|
|
45
56
|
*
|
|
46
57
|
* @param CreateDatabaseCommandInput - {@link CreateDatabaseCommandInput}
|
|
@@ -74,6 +85,8 @@ export interface CreateDatabaseCommandOutput extends CreateDatabaseResponse, __M
|
|
|
74
85
|
* @throws {@link ValidationException} (client fault)
|
|
75
86
|
* <p> An invalid or malformed request.</p>
|
|
76
87
|
*
|
|
88
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
77
90
|
*
|
|
78
91
|
*/
|
|
79
92
|
export declare class CreateDatabaseCommand extends $Command<CreateDatabaseCommandInput, CreateDatabaseCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -58,6 +58,32 @@ export interface CreateTableCommandOutput extends CreateTableResponse, __Metadat
|
|
|
58
58
|
* };
|
|
59
59
|
* const command = new CreateTableCommand(input);
|
|
60
60
|
* const response = await client.send(command);
|
|
61
|
+
* // { // CreateTableResponse
|
|
62
|
+
* // Table: { // Table
|
|
63
|
+
* // Arn: "STRING_VALUE",
|
|
64
|
+
* // TableName: "STRING_VALUE",
|
|
65
|
+
* // DatabaseName: "STRING_VALUE",
|
|
66
|
+
* // TableStatus: "ACTIVE" || "DELETING" || "RESTORING",
|
|
67
|
+
* // RetentionProperties: { // RetentionProperties
|
|
68
|
+
* // MemoryStoreRetentionPeriodInHours: Number("long"), // required
|
|
69
|
+
* // MagneticStoreRetentionPeriodInDays: Number("long"), // required
|
|
70
|
+
* // },
|
|
71
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
72
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
73
|
+
* // MagneticStoreWriteProperties: { // MagneticStoreWriteProperties
|
|
74
|
+
* // EnableMagneticStoreWrites: true || false, // required
|
|
75
|
+
* // MagneticStoreRejectedDataLocation: { // MagneticStoreRejectedDataLocation
|
|
76
|
+
* // S3Configuration: { // S3Configuration
|
|
77
|
+
* // BucketName: "STRING_VALUE",
|
|
78
|
+
* // ObjectKeyPrefix: "STRING_VALUE",
|
|
79
|
+
* // EncryptionOption: "SSE_S3" || "SSE_KMS",
|
|
80
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // };
|
|
86
|
+
*
|
|
61
87
|
* ```
|
|
62
88
|
*
|
|
63
89
|
* @param CreateTableCommandInput - {@link CreateTableCommandInput}
|
|
@@ -95,6 +121,8 @@ export interface CreateTableCommandOutput extends CreateTableResponse, __Metadat
|
|
|
95
121
|
* @throws {@link ValidationException} (client fault)
|
|
96
122
|
* <p> An invalid or malformed request.</p>
|
|
97
123
|
*
|
|
124
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
125
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
98
126
|
*
|
|
99
127
|
*/
|
|
100
128
|
export declare class CreateTableCommand extends $Command<CreateTableCommandInput, CreateTableCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -42,6 +42,8 @@ export interface DeleteDatabaseCommandOutput extends __MetadataBearer {
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new DeleteDatabaseCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
45
47
|
* ```
|
|
46
48
|
*
|
|
47
49
|
* @param DeleteDatabaseCommandInput - {@link DeleteDatabaseCommandInput}
|
|
@@ -72,6 +74,8 @@ export interface DeleteDatabaseCommandOutput extends __MetadataBearer {
|
|
|
72
74
|
* @throws {@link ValidationException} (client fault)
|
|
73
75
|
* <p> An invalid or malformed request.</p>
|
|
74
76
|
*
|
|
77
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
75
79
|
*
|
|
76
80
|
*/
|
|
77
81
|
export declare class DeleteDatabaseCommand extends $Command<DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -40,6 +40,8 @@ export interface DeleteTableCommandOutput extends __MetadataBearer {
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new DeleteTableCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
43
45
|
* ```
|
|
44
46
|
*
|
|
45
47
|
* @param DeleteTableCommandInput - {@link DeleteTableCommandInput}
|
|
@@ -70,6 +72,8 @@ export interface DeleteTableCommandOutput extends __MetadataBearer {
|
|
|
70
72
|
* @throws {@link ValidationException} (client fault)
|
|
71
73
|
* <p> An invalid or malformed request.</p>
|
|
72
74
|
*
|
|
75
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
73
77
|
*
|
|
74
78
|
*/
|
|
75
79
|
export declare class DeleteTableCommand extends $Command<DeleteTableCommandInput, DeleteTableCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -34,6 +34,92 @@ export interface DescribeBatchLoadTaskCommandOutput extends DescribeBatchLoadTas
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DescribeBatchLoadTaskCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // DescribeBatchLoadTaskResponse
|
|
38
|
+
* // BatchLoadTaskDescription: { // BatchLoadTaskDescription
|
|
39
|
+
* // TaskId: "STRING_VALUE",
|
|
40
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
41
|
+
* // DataSourceConfiguration: { // DataSourceConfiguration
|
|
42
|
+
* // DataSourceS3Configuration: { // DataSourceS3Configuration
|
|
43
|
+
* // BucketName: "STRING_VALUE", // required
|
|
44
|
+
* // ObjectKeyPrefix: "STRING_VALUE",
|
|
45
|
+
* // },
|
|
46
|
+
* // CsvConfiguration: { // CsvConfiguration
|
|
47
|
+
* // ColumnSeparator: "STRING_VALUE",
|
|
48
|
+
* // EscapeChar: "STRING_VALUE",
|
|
49
|
+
* // QuoteChar: "STRING_VALUE",
|
|
50
|
+
* // NullValue: "STRING_VALUE",
|
|
51
|
+
* // TrimWhiteSpace: true || false,
|
|
52
|
+
* // },
|
|
53
|
+
* // DataFormat: "CSV", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // ProgressReport: { // BatchLoadProgressReport
|
|
56
|
+
* // RecordsProcessed: Number("long"),
|
|
57
|
+
* // RecordsIngested: Number("long"),
|
|
58
|
+
* // ParseFailures: Number("long"),
|
|
59
|
+
* // RecordIngestionFailures: Number("long"),
|
|
60
|
+
* // FileFailures: Number("long"),
|
|
61
|
+
* // BytesMetered: Number("long"),
|
|
62
|
+
* // },
|
|
63
|
+
* // ReportConfiguration: { // ReportConfiguration
|
|
64
|
+
* // ReportS3Configuration: { // ReportS3Configuration
|
|
65
|
+
* // BucketName: "STRING_VALUE", // required
|
|
66
|
+
* // ObjectKeyPrefix: "STRING_VALUE",
|
|
67
|
+
* // EncryptionOption: "SSE_S3" || "SSE_KMS",
|
|
68
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // DataModelConfiguration: { // DataModelConfiguration
|
|
72
|
+
* // DataModel: { // DataModel
|
|
73
|
+
* // TimeColumn: "STRING_VALUE",
|
|
74
|
+
* // TimeUnit: "MILLISECONDS" || "SECONDS" || "MICROSECONDS" || "NANOSECONDS",
|
|
75
|
+
* // DimensionMappings: [ // DimensionMappings // required
|
|
76
|
+
* // { // DimensionMapping
|
|
77
|
+
* // SourceColumn: "STRING_VALUE",
|
|
78
|
+
* // DestinationColumn: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // MultiMeasureMappings: { // MultiMeasureMappings
|
|
82
|
+
* // TargetMultiMeasureName: "STRING_VALUE",
|
|
83
|
+
* // MultiMeasureAttributeMappings: [ // MultiMeasureAttributeMappingList // required
|
|
84
|
+
* // { // MultiMeasureAttributeMapping
|
|
85
|
+
* // SourceColumn: "STRING_VALUE", // required
|
|
86
|
+
* // TargetMultiMeasureAttributeName: "STRING_VALUE",
|
|
87
|
+
* // MeasureValueType: "DOUBLE" || "BIGINT" || "BOOLEAN" || "VARCHAR" || "TIMESTAMP",
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // },
|
|
91
|
+
* // MixedMeasureMappings: [ // MixedMeasureMappingList
|
|
92
|
+
* // { // MixedMeasureMapping
|
|
93
|
+
* // MeasureName: "STRING_VALUE",
|
|
94
|
+
* // SourceColumn: "STRING_VALUE",
|
|
95
|
+
* // TargetMeasureName: "STRING_VALUE",
|
|
96
|
+
* // MeasureValueType: "DOUBLE" || "BIGINT" || "VARCHAR" || "BOOLEAN" || "TIMESTAMP" || "MULTI", // required
|
|
97
|
+
* // MultiMeasureAttributeMappings: [
|
|
98
|
+
* // {
|
|
99
|
+
* // SourceColumn: "STRING_VALUE", // required
|
|
100
|
+
* // TargetMultiMeasureAttributeName: "STRING_VALUE",
|
|
101
|
+
* // MeasureValueType: "DOUBLE" || "BIGINT" || "BOOLEAN" || "VARCHAR" || "TIMESTAMP",
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // MeasureNameColumn: "STRING_VALUE",
|
|
107
|
+
* // },
|
|
108
|
+
* // DataModelS3Configuration: { // DataModelS3Configuration
|
|
109
|
+
* // BucketName: "STRING_VALUE",
|
|
110
|
+
* // ObjectKey: "STRING_VALUE",
|
|
111
|
+
* // },
|
|
112
|
+
* // },
|
|
113
|
+
* // TargetDatabaseName: "STRING_VALUE",
|
|
114
|
+
* // TargetTableName: "STRING_VALUE",
|
|
115
|
+
* // TaskStatus: "CREATED" || "IN_PROGRESS" || "FAILED" || "SUCCEEDED" || "PROGRESS_STOPPED" || "PENDING_RESUME",
|
|
116
|
+
* // RecordVersion: Number("long"),
|
|
117
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
118
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
119
|
+
* // ResumableUntil: new Date("TIMESTAMP"),
|
|
120
|
+
* // },
|
|
121
|
+
* // };
|
|
122
|
+
*
|
|
37
123
|
* ```
|
|
38
124
|
*
|
|
39
125
|
* @param DescribeBatchLoadTaskCommandInput - {@link DescribeBatchLoadTaskCommandInput}
|
|
@@ -61,6 +147,8 @@ export interface DescribeBatchLoadTaskCommandOutput extends DescribeBatchLoadTas
|
|
|
61
147
|
* <p> Too many requests were made by a user and they exceeded the service quotas. The request
|
|
62
148
|
* was throttled.</p>
|
|
63
149
|
*
|
|
150
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
151
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
64
152
|
*
|
|
65
153
|
*/
|
|
66
154
|
export declare class DescribeBatchLoadTaskCommand extends $Command<DescribeBatchLoadTaskCommandInput, DescribeBatchLoadTaskCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -34,6 +34,17 @@ export interface DescribeDatabaseCommandOutput extends DescribeDatabaseResponse,
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DescribeDatabaseCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // DescribeDatabaseResponse
|
|
38
|
+
* // Database: { // Database
|
|
39
|
+
* // Arn: "STRING_VALUE",
|
|
40
|
+
* // DatabaseName: "STRING_VALUE",
|
|
41
|
+
* // TableCount: Number("long"),
|
|
42
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
43
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
44
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
45
|
+
* // },
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
37
48
|
* ```
|
|
38
49
|
*
|
|
39
50
|
* @param DescribeDatabaseCommandInput - {@link DescribeDatabaseCommandInput}
|
|
@@ -64,6 +75,8 @@ export interface DescribeDatabaseCommandOutput extends DescribeDatabaseResponse,
|
|
|
64
75
|
* @throws {@link ValidationException} (client fault)
|
|
65
76
|
* <p> An invalid or malformed request.</p>
|
|
66
77
|
*
|
|
78
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
67
80
|
*
|
|
68
81
|
*/
|
|
69
82
|
export declare class DescribeDatabaseCommand extends $Command<DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -49,6 +49,15 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
|
|
|
49
49
|
* const input = {};
|
|
50
50
|
* const command = new DescribeEndpointsCommand(input);
|
|
51
51
|
* const response = await client.send(command);
|
|
52
|
+
* // { // DescribeEndpointsResponse
|
|
53
|
+
* // Endpoints: [ // Endpoints // required
|
|
54
|
+
* // { // Endpoint
|
|
55
|
+
* // Address: "STRING_VALUE", // required
|
|
56
|
+
* // CachePeriodInMinutes: Number("long"), // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
52
61
|
* ```
|
|
53
62
|
*
|
|
54
63
|
* @param DescribeEndpointsCommandInput - {@link DescribeEndpointsCommandInput}
|
|
@@ -69,6 +78,8 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
|
|
|
69
78
|
* @throws {@link ValidationException} (client fault)
|
|
70
79
|
* <p> An invalid or malformed request.</p>
|
|
71
80
|
*
|
|
81
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
72
83
|
*
|
|
73
84
|
*/
|
|
74
85
|
export declare class DescribeEndpointsCommand extends $Command<DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -35,6 +35,32 @@ export interface DescribeTableCommandOutput extends DescribeTableResponse, __Met
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DescribeTableCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // DescribeTableResponse
|
|
39
|
+
* // Table: { // Table
|
|
40
|
+
* // Arn: "STRING_VALUE",
|
|
41
|
+
* // TableName: "STRING_VALUE",
|
|
42
|
+
* // DatabaseName: "STRING_VALUE",
|
|
43
|
+
* // TableStatus: "ACTIVE" || "DELETING" || "RESTORING",
|
|
44
|
+
* // RetentionProperties: { // RetentionProperties
|
|
45
|
+
* // MemoryStoreRetentionPeriodInHours: Number("long"), // required
|
|
46
|
+
* // MagneticStoreRetentionPeriodInDays: Number("long"), // required
|
|
47
|
+
* // },
|
|
48
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
49
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
50
|
+
* // MagneticStoreWriteProperties: { // MagneticStoreWriteProperties
|
|
51
|
+
* // EnableMagneticStoreWrites: true || false, // required
|
|
52
|
+
* // MagneticStoreRejectedDataLocation: { // MagneticStoreRejectedDataLocation
|
|
53
|
+
* // S3Configuration: { // S3Configuration
|
|
54
|
+
* // BucketName: "STRING_VALUE",
|
|
55
|
+
* // ObjectKeyPrefix: "STRING_VALUE",
|
|
56
|
+
* // EncryptionOption: "SSE_S3" || "SSE_KMS",
|
|
57
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
38
64
|
* ```
|
|
39
65
|
*
|
|
40
66
|
* @param DescribeTableCommandInput - {@link DescribeTableCommandInput}
|
|
@@ -65,6 +91,8 @@ export interface DescribeTableCommandOutput extends DescribeTableResponse, __Met
|
|
|
65
91
|
* @throws {@link ValidationException} (client fault)
|
|
66
92
|
* <p> An invalid or malformed request.</p>
|
|
67
93
|
*
|
|
94
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
68
96
|
*
|
|
69
97
|
*/
|
|
70
98
|
export declare class DescribeTableCommand extends $Command<DescribeTableCommandInput, DescribeTableCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -35,6 +35,21 @@ export interface ListBatchLoadTasksCommandOutput extends ListBatchLoadTasksRespo
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new ListBatchLoadTasksCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // ListBatchLoadTasksResponse
|
|
39
|
+
* // NextToken: "STRING_VALUE",
|
|
40
|
+
* // BatchLoadTasks: [ // BatchLoadTaskList
|
|
41
|
+
* // { // BatchLoadTask
|
|
42
|
+
* // TaskId: "STRING_VALUE",
|
|
43
|
+
* // TaskStatus: "CREATED" || "IN_PROGRESS" || "FAILED" || "SUCCEEDED" || "PROGRESS_STOPPED" || "PENDING_RESUME",
|
|
44
|
+
* // DatabaseName: "STRING_VALUE",
|
|
45
|
+
* // TableName: "STRING_VALUE",
|
|
46
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
48
|
+
* // ResumableUntil: new Date("TIMESTAMP"),
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
38
53
|
* ```
|
|
39
54
|
*
|
|
40
55
|
* @param ListBatchLoadTasksCommandInput - {@link ListBatchLoadTasksCommandInput}
|
|
@@ -61,6 +76,8 @@ export interface ListBatchLoadTasksCommandOutput extends ListBatchLoadTasksRespo
|
|
|
61
76
|
* @throws {@link ValidationException} (client fault)
|
|
62
77
|
* <p> An invalid or malformed request.</p>
|
|
63
78
|
*
|
|
79
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
64
81
|
*
|
|
65
82
|
*/
|
|
66
83
|
export declare class ListBatchLoadTasksCommand extends $Command<ListBatchLoadTasksCommandInput, ListBatchLoadTasksCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -34,6 +34,20 @@ export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __Met
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListDatabasesCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // ListDatabasesResponse
|
|
38
|
+
* // Databases: [ // DatabaseList
|
|
39
|
+
* // { // Database
|
|
40
|
+
* // Arn: "STRING_VALUE",
|
|
41
|
+
* // DatabaseName: "STRING_VALUE",
|
|
42
|
+
* // TableCount: Number("long"),
|
|
43
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
44
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
45
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // NextToken: "STRING_VALUE",
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
37
51
|
* ```
|
|
38
52
|
*
|
|
39
53
|
* @param ListDatabasesCommandInput - {@link ListDatabasesCommandInput}
|
|
@@ -60,6 +74,8 @@ export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __Met
|
|
|
60
74
|
* @throws {@link ValidationException} (client fault)
|
|
61
75
|
* <p> An invalid or malformed request.</p>
|
|
62
76
|
*
|
|
77
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
63
79
|
*
|
|
64
80
|
*/
|
|
65
81
|
export declare class ListDatabasesCommand extends $Command<ListDatabasesCommandInput, ListDatabasesCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -35,6 +35,35 @@ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataB
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new ListTablesCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // ListTablesResponse
|
|
39
|
+
* // Tables: [ // TableList
|
|
40
|
+
* // { // Table
|
|
41
|
+
* // Arn: "STRING_VALUE",
|
|
42
|
+
* // TableName: "STRING_VALUE",
|
|
43
|
+
* // DatabaseName: "STRING_VALUE",
|
|
44
|
+
* // TableStatus: "ACTIVE" || "DELETING" || "RESTORING",
|
|
45
|
+
* // RetentionProperties: { // RetentionProperties
|
|
46
|
+
* // MemoryStoreRetentionPeriodInHours: Number("long"), // required
|
|
47
|
+
* // MagneticStoreRetentionPeriodInDays: Number("long"), // required
|
|
48
|
+
* // },
|
|
49
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
50
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
51
|
+
* // MagneticStoreWriteProperties: { // MagneticStoreWriteProperties
|
|
52
|
+
* // EnableMagneticStoreWrites: true || false, // required
|
|
53
|
+
* // MagneticStoreRejectedDataLocation: { // MagneticStoreRejectedDataLocation
|
|
54
|
+
* // S3Configuration: { // S3Configuration
|
|
55
|
+
* // BucketName: "STRING_VALUE",
|
|
56
|
+
* // ObjectKeyPrefix: "STRING_VALUE",
|
|
57
|
+
* // EncryptionOption: "SSE_S3" || "SSE_KMS",
|
|
58
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // NextToken: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
38
67
|
* ```
|
|
39
68
|
*
|
|
40
69
|
* @param ListTablesCommandInput - {@link ListTablesCommandInput}
|
|
@@ -65,6 +94,8 @@ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataB
|
|
|
65
94
|
* @throws {@link ValidationException} (client fault)
|
|
66
95
|
* <p> An invalid or malformed request.</p>
|
|
67
96
|
*
|
|
97
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
68
99
|
*
|
|
69
100
|
*/
|
|
70
101
|
export declare class ListTablesCommand extends $Command<ListTablesCommandInput, ListTablesCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -31,6 +31,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // ListTagsForResourceResponse
|
|
35
|
+
* // Tags: [ // TagList
|
|
36
|
+
* // { // Tag
|
|
37
|
+
* // Key: "STRING_VALUE", // required
|
|
38
|
+
* // Value: "STRING_VALUE", // required
|
|
39
|
+
* // },
|
|
40
|
+
* // ],
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
34
43
|
* ```
|
|
35
44
|
*
|
|
36
45
|
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
@@ -53,6 +62,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
53
62
|
* @throws {@link ValidationException} (client fault)
|
|
54
63
|
* <p> An invalid or malformed request.</p>
|
|
55
64
|
*
|
|
65
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
56
67
|
*
|
|
57
68
|
*/
|
|
58
69
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -32,6 +32,8 @@ export interface ResumeBatchLoadTaskCommandOutput extends ResumeBatchLoadTaskRes
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ResumeBatchLoadTaskCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // {};
|
|
36
|
+
*
|
|
35
37
|
* ```
|
|
36
38
|
*
|
|
37
39
|
* @param ResumeBatchLoadTaskCommandInput - {@link ResumeBatchLoadTaskCommandInput}
|
|
@@ -62,6 +64,8 @@ export interface ResumeBatchLoadTaskCommandOutput extends ResumeBatchLoadTaskRes
|
|
|
62
64
|
* @throws {@link ValidationException} (client fault)
|
|
63
65
|
* <p> An invalid or malformed request.</p>
|
|
64
66
|
*
|
|
67
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
65
69
|
*
|
|
66
70
|
*/
|
|
67
71
|
export declare class ResumeBatchLoadTaskCommand extends $Command<ResumeBatchLoadTaskCommandInput, ResumeBatchLoadTaskCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -39,6 +39,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new TagResourceCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
42
44
|
* ```
|
|
43
45
|
*
|
|
44
46
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -64,6 +66,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
64
66
|
* @throws {@link ValidationException} (client fault)
|
|
65
67
|
* <p> An invalid or malformed request.</p>
|
|
66
68
|
*
|
|
69
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
67
71
|
*
|
|
68
72
|
*/
|
|
69
73
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UntagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -59,6 +61,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
59
61
|
* @throws {@link ValidationException} (client fault)
|
|
60
62
|
* <p> An invalid or malformed request.</p>
|
|
61
63
|
*
|
|
64
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
62
66
|
*
|
|
63
67
|
*/
|
|
64
68
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -36,6 +36,17 @@ export interface UpdateDatabaseCommandOutput extends UpdateDatabaseResponse, __M
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new UpdateDatabaseCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // UpdateDatabaseResponse
|
|
40
|
+
* // Database: { // Database
|
|
41
|
+
* // Arn: "STRING_VALUE",
|
|
42
|
+
* // DatabaseName: "STRING_VALUE",
|
|
43
|
+
* // TableCount: Number("long"),
|
|
44
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
45
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
46
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // },
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
39
50
|
* ```
|
|
40
51
|
*
|
|
41
52
|
* @param UpdateDatabaseCommandInput - {@link UpdateDatabaseCommandInput}
|
|
@@ -69,6 +80,8 @@ export interface UpdateDatabaseCommandOutput extends UpdateDatabaseResponse, __M
|
|
|
69
80
|
* @throws {@link ValidationException} (client fault)
|
|
70
81
|
* <p> An invalid or malformed request.</p>
|
|
71
82
|
*
|
|
83
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
72
85
|
*
|
|
73
86
|
*/
|
|
74
87
|
export declare class UpdateDatabaseCommand extends $Command<UpdateDatabaseCommandInput, UpdateDatabaseCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -52,6 +52,32 @@ export interface UpdateTableCommandOutput extends UpdateTableResponse, __Metadat
|
|
|
52
52
|
* };
|
|
53
53
|
* const command = new UpdateTableCommand(input);
|
|
54
54
|
* const response = await client.send(command);
|
|
55
|
+
* // { // UpdateTableResponse
|
|
56
|
+
* // Table: { // Table
|
|
57
|
+
* // Arn: "STRING_VALUE",
|
|
58
|
+
* // TableName: "STRING_VALUE",
|
|
59
|
+
* // DatabaseName: "STRING_VALUE",
|
|
60
|
+
* // TableStatus: "ACTIVE" || "DELETING" || "RESTORING",
|
|
61
|
+
* // RetentionProperties: { // RetentionProperties
|
|
62
|
+
* // MemoryStoreRetentionPeriodInHours: Number("long"), // required
|
|
63
|
+
* // MagneticStoreRetentionPeriodInDays: Number("long"), // required
|
|
64
|
+
* // },
|
|
65
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
66
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
67
|
+
* // MagneticStoreWriteProperties: { // MagneticStoreWriteProperties
|
|
68
|
+
* // EnableMagneticStoreWrites: true || false, // required
|
|
69
|
+
* // MagneticStoreRejectedDataLocation: { // MagneticStoreRejectedDataLocation
|
|
70
|
+
* // S3Configuration: { // S3Configuration
|
|
71
|
+
* // BucketName: "STRING_VALUE",
|
|
72
|
+
* // ObjectKeyPrefix: "STRING_VALUE",
|
|
73
|
+
* // EncryptionOption: "SSE_S3" || "SSE_KMS",
|
|
74
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // };
|
|
80
|
+
*
|
|
55
81
|
* ```
|
|
56
82
|
*
|
|
57
83
|
* @param UpdateTableCommandInput - {@link UpdateTableCommandInput}
|
|
@@ -82,6 +108,8 @@ export interface UpdateTableCommandOutput extends UpdateTableResponse, __Metadat
|
|
|
82
108
|
* @throws {@link ValidationException} (client fault)
|
|
83
109
|
* <p> An invalid or malformed request.</p>
|
|
84
110
|
*
|
|
111
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
112
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
85
113
|
*
|
|
86
114
|
*/
|
|
87
115
|
export declare class UpdateTableCommand extends $Command<UpdateTableCommandInput, UpdateTableCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
@@ -116,6 +116,14 @@ export interface WriteRecordsCommandOutput extends WriteRecordsResponse, __Metad
|
|
|
116
116
|
* };
|
|
117
117
|
* const command = new WriteRecordsCommand(input);
|
|
118
118
|
* const response = await client.send(command);
|
|
119
|
+
* // { // WriteRecordsResponse
|
|
120
|
+
* // RecordsIngested: { // RecordsIngested
|
|
121
|
+
* // Total: Number("int"),
|
|
122
|
+
* // MemoryStore: Number("int"),
|
|
123
|
+
* // MagneticStore: Number("int"),
|
|
124
|
+
* // },
|
|
125
|
+
* // };
|
|
126
|
+
*
|
|
119
127
|
* ```
|
|
120
128
|
*
|
|
121
129
|
* @param WriteRecordsCommandInput - {@link WriteRecordsCommandInput}
|
|
@@ -178,6 +186,8 @@ export interface WriteRecordsCommandOutput extends WriteRecordsResponse, __Metad
|
|
|
178
186
|
* @throws {@link ValidationException} (client fault)
|
|
179
187
|
* <p> An invalid or malformed request.</p>
|
|
180
188
|
*
|
|
189
|
+
* @throws {@link TimestreamWriteServiceException}
|
|
190
|
+
* <p>Base exception class for all service exceptions from TimestreamWrite service.</p>
|
|
181
191
|
*
|
|
182
192
|
*/
|
|
183
193
|
export declare class WriteRecordsCommand extends $Command<WriteRecordsCommandInput, WriteRecordsCommandOutput, TimestreamWriteClientResolvedConfig> {
|
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.326.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,34 +21,34 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
33
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
34
|
-
"@aws-sdk/middleware-logger": "3.
|
|
35
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
36
|
-
"@aws-sdk/middleware-retry": "3.
|
|
37
|
-
"@aws-sdk/middleware-serde": "3.
|
|
38
|
-
"@aws-sdk/middleware-signing": "3.
|
|
39
|
-
"@aws-sdk/middleware-stack": "3.
|
|
40
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
32
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.326.0",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
34
|
+
"@aws-sdk/middleware-logger": "3.325.0",
|
|
35
|
+
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
36
|
+
"@aws-sdk/middleware-retry": "3.325.0",
|
|
37
|
+
"@aws-sdk/middleware-serde": "3.325.0",
|
|
38
|
+
"@aws-sdk/middleware-signing": "3.325.0",
|
|
39
|
+
"@aws-sdk/middleware-stack": "3.325.0",
|
|
40
|
+
"@aws-sdk/middleware-user-agent": "3.325.0",
|
|
41
41
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
42
42
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
43
43
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
44
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
+
"@aws-sdk/smithy-client": "3.325.0",
|
|
45
45
|
"@aws-sdk/types": "3.310.0",
|
|
46
46
|
"@aws-sdk/url-parser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-base64": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
51
|
+
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
52
52
|
"@aws-sdk/util-endpoints": "3.319.0",
|
|
53
53
|
"@aws-sdk/util-retry": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|