@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
|
@@ -1,575 +1,341 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
* <p>You are not authorized to perform this action.</p>
|
|
4
|
-
*/
|
|
2
|
+
|
|
5
3
|
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
6
4
|
name: "AccessDeniedException";
|
|
7
5
|
$fault: "client";
|
|
8
6
|
Message: string | undefined;
|
|
9
7
|
}
|
|
10
8
|
export declare namespace AccessDeniedException {
|
|
11
|
-
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
9
|
+
|
|
14
10
|
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
11
|
}
|
|
16
|
-
|
|
17
|
-
* <p>Timestream was unable to process this request because it contains resource that already exists.</p>
|
|
18
|
-
*/
|
|
12
|
+
|
|
19
13
|
export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
20
14
|
name: "ConflictException";
|
|
21
15
|
$fault: "client";
|
|
22
16
|
Message: string | undefined;
|
|
23
17
|
}
|
|
24
18
|
export declare namespace ConflictException {
|
|
25
|
-
|
|
26
|
-
* @internal
|
|
27
|
-
*/
|
|
19
|
+
|
|
28
20
|
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
29
21
|
}
|
|
30
|
-
|
|
31
|
-
* <p>
|
|
32
|
-
* A tag is a label that you assign to a Timestream database and/or table. Each tag consists
|
|
33
|
-
* of a key and an optional value, both of which you define. Tags enable you to
|
|
34
|
-
* categorize databases and/or tables, for example, by purpose, owner, or environment.
|
|
35
|
-
* </p>
|
|
36
|
-
*/
|
|
22
|
+
|
|
37
23
|
export interface Tag {
|
|
38
|
-
|
|
39
|
-
* <p>
|
|
40
|
-
* The key of the tag. Tag keys are case sensitive.
|
|
41
|
-
* </p>
|
|
42
|
-
*/
|
|
24
|
+
|
|
43
25
|
Key: string | undefined;
|
|
44
|
-
|
|
45
|
-
* <p>
|
|
46
|
-
* The value of the tag. Tag values are case-sensitive and can be null.
|
|
47
|
-
* </p>
|
|
48
|
-
*/
|
|
26
|
+
|
|
49
27
|
Value: string | undefined;
|
|
50
28
|
}
|
|
51
29
|
export declare namespace Tag {
|
|
52
|
-
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
30
|
+
|
|
55
31
|
const filterSensitiveLog: (obj: Tag) => any;
|
|
56
32
|
}
|
|
57
33
|
export interface CreateDatabaseRequest {
|
|
58
|
-
|
|
59
|
-
* <p>The name of the Timestream database.</p>
|
|
60
|
-
*/
|
|
34
|
+
|
|
61
35
|
DatabaseName: string | undefined;
|
|
62
|
-
|
|
63
|
-
* <p>The KMS key for the database. If the KMS key is not specified, the database will be encrypted with a Timestream
|
|
64
|
-
* managed KMS key located in your account. Refer to <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">AWS managed KMS keys</a> for more info.</p>
|
|
65
|
-
*/
|
|
36
|
+
|
|
66
37
|
KmsKeyId?: string;
|
|
67
|
-
|
|
68
|
-
* <p>
|
|
69
|
-
* A list of key-value pairs to label the table.
|
|
70
|
-
* </p>
|
|
71
|
-
*/
|
|
38
|
+
|
|
72
39
|
Tags?: Tag[];
|
|
73
40
|
}
|
|
74
41
|
export declare namespace CreateDatabaseRequest {
|
|
75
|
-
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
42
|
+
|
|
78
43
|
const filterSensitiveLog: (obj: CreateDatabaseRequest) => any;
|
|
79
44
|
}
|
|
80
|
-
|
|
81
|
-
* <p>A top level container for a table. Databases and tables are the
|
|
82
|
-
* fundamental management concepts in Amazon Timestream. All tables in a
|
|
83
|
-
* database are encrypted with the same KMS key.</p>
|
|
84
|
-
*/
|
|
45
|
+
|
|
85
46
|
export interface Database {
|
|
86
|
-
|
|
87
|
-
* <p>The Amazon Resource Name that uniquely identifies this database.</p>
|
|
88
|
-
*/
|
|
47
|
+
|
|
89
48
|
Arn?: string;
|
|
90
|
-
|
|
91
|
-
* <p>The name of the Timestream database.</p>
|
|
92
|
-
*/
|
|
49
|
+
|
|
93
50
|
DatabaseName?: string;
|
|
94
|
-
|
|
95
|
-
* <p>The total number of tables found within a Timestream database. </p>
|
|
96
|
-
*/
|
|
51
|
+
|
|
97
52
|
TableCount?: number;
|
|
98
|
-
|
|
99
|
-
* <p>The identifier of the KMS key used to encrypt the data stored in the database.</p>
|
|
100
|
-
*/
|
|
53
|
+
|
|
101
54
|
KmsKeyId?: string;
|
|
102
|
-
|
|
103
|
-
* <p>The time when the database was created, calculated from the Unix epoch time.</p>
|
|
104
|
-
*/
|
|
55
|
+
|
|
105
56
|
CreationTime?: Date;
|
|
106
|
-
|
|
107
|
-
* <p>
|
|
108
|
-
* The last time that this database was updated.
|
|
109
|
-
* </p>
|
|
110
|
-
*/
|
|
57
|
+
|
|
111
58
|
LastUpdatedTime?: Date;
|
|
112
59
|
}
|
|
113
60
|
export declare namespace Database {
|
|
114
|
-
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
61
|
+
|
|
117
62
|
const filterSensitiveLog: (obj: Database) => any;
|
|
118
63
|
}
|
|
119
64
|
export interface CreateDatabaseResponse {
|
|
120
|
-
|
|
121
|
-
* <p>The newly created Timestream database.</p>
|
|
122
|
-
*/
|
|
65
|
+
|
|
123
66
|
Database?: Database;
|
|
124
67
|
}
|
|
125
68
|
export declare namespace CreateDatabaseResponse {
|
|
126
|
-
|
|
127
|
-
* @internal
|
|
128
|
-
*/
|
|
69
|
+
|
|
129
70
|
const filterSensitiveLog: (obj: CreateDatabaseResponse) => any;
|
|
130
71
|
}
|
|
131
|
-
|
|
132
|
-
* <p> Timestream was unable to fully process this request because of an internal server error.</p>
|
|
133
|
-
*/
|
|
72
|
+
|
|
134
73
|
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
135
74
|
name: "InternalServerException";
|
|
136
75
|
$fault: "server";
|
|
137
76
|
Message: string | undefined;
|
|
138
77
|
}
|
|
139
78
|
export declare namespace InternalServerException {
|
|
140
|
-
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
79
|
+
|
|
143
80
|
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
144
81
|
}
|
|
145
|
-
|
|
146
|
-
* <p>The requested endpoint was invalid.</p>
|
|
147
|
-
*/
|
|
82
|
+
|
|
148
83
|
export interface InvalidEndpointException extends __SmithyException, $MetadataBearer {
|
|
149
84
|
name: "InvalidEndpointException";
|
|
150
85
|
$fault: "client";
|
|
151
86
|
Message?: string;
|
|
152
87
|
}
|
|
153
88
|
export declare namespace InvalidEndpointException {
|
|
154
|
-
|
|
155
|
-
* @internal
|
|
156
|
-
*/
|
|
89
|
+
|
|
157
90
|
const filterSensitiveLog: (obj: InvalidEndpointException) => any;
|
|
158
91
|
}
|
|
159
|
-
|
|
160
|
-
* <p> Instance quota of resource exceeded for this account.</p>
|
|
161
|
-
*/
|
|
92
|
+
|
|
162
93
|
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
163
94
|
name: "ServiceQuotaExceededException";
|
|
164
95
|
$fault: "client";
|
|
165
96
|
Message?: string;
|
|
166
97
|
}
|
|
167
98
|
export declare namespace ServiceQuotaExceededException {
|
|
168
|
-
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
99
|
+
|
|
171
100
|
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
172
101
|
}
|
|
173
|
-
|
|
174
|
-
* <p> Too many requests were made by a user exceeding service quotas. The request was throttled.</p>
|
|
175
|
-
*/
|
|
102
|
+
|
|
176
103
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
177
104
|
name: "ThrottlingException";
|
|
178
105
|
$fault: "client";
|
|
179
106
|
Message: string | undefined;
|
|
180
107
|
}
|
|
181
108
|
export declare namespace ThrottlingException {
|
|
182
|
-
|
|
183
|
-
* @internal
|
|
184
|
-
*/
|
|
109
|
+
|
|
185
110
|
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
186
111
|
}
|
|
187
|
-
|
|
188
|
-
* <p> Invalid or malformed request.</p>
|
|
189
|
-
*/
|
|
112
|
+
|
|
190
113
|
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
191
114
|
name: "ValidationException";
|
|
192
115
|
$fault: "client";
|
|
193
116
|
Message: string | undefined;
|
|
194
117
|
}
|
|
195
118
|
export declare namespace ValidationException {
|
|
196
|
-
|
|
197
|
-
* @internal
|
|
198
|
-
*/
|
|
119
|
+
|
|
199
120
|
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
200
121
|
}
|
|
201
|
-
|
|
202
|
-
* <p>Retention properties contain the duration for which your time series data must be stored in the magnetic store and the memory store.
|
|
203
|
-
* </p>
|
|
204
|
-
*/
|
|
122
|
+
|
|
205
123
|
export interface RetentionProperties {
|
|
206
|
-
|
|
207
|
-
* <p>The duration for which data must be stored in the memory store. </p>
|
|
208
|
-
*/
|
|
124
|
+
|
|
209
125
|
MemoryStoreRetentionPeriodInHours: number | undefined;
|
|
210
|
-
|
|
211
|
-
* <p>The duration for which data must be stored in the magnetic store. </p>
|
|
212
|
-
*/
|
|
126
|
+
|
|
213
127
|
MagneticStoreRetentionPeriodInDays: number | undefined;
|
|
214
128
|
}
|
|
215
129
|
export declare namespace RetentionProperties {
|
|
216
|
-
|
|
217
|
-
* @internal
|
|
218
|
-
*/
|
|
130
|
+
|
|
219
131
|
const filterSensitiveLog: (obj: RetentionProperties) => any;
|
|
220
132
|
}
|
|
221
133
|
export interface CreateTableRequest {
|
|
222
|
-
|
|
223
|
-
* <p>The name of the Timestream database.</p>
|
|
224
|
-
*/
|
|
134
|
+
|
|
225
135
|
DatabaseName: string | undefined;
|
|
226
|
-
|
|
227
|
-
* <p>The name of the Timestream table.</p>
|
|
228
|
-
*/
|
|
136
|
+
|
|
229
137
|
TableName: string | undefined;
|
|
230
|
-
|
|
231
|
-
* <p>The duration for which your time series data must be stored in the memory store and the magnetic store.</p>
|
|
232
|
-
*/
|
|
138
|
+
|
|
233
139
|
RetentionProperties?: RetentionProperties;
|
|
234
|
-
|
|
235
|
-
* <p>
|
|
236
|
-
* A list of key-value pairs to label the table.
|
|
237
|
-
* </p>
|
|
238
|
-
*/
|
|
140
|
+
|
|
239
141
|
Tags?: Tag[];
|
|
240
142
|
}
|
|
241
143
|
export declare namespace CreateTableRequest {
|
|
242
|
-
|
|
243
|
-
* @internal
|
|
244
|
-
*/
|
|
144
|
+
|
|
245
145
|
const filterSensitiveLog: (obj: CreateTableRequest) => any;
|
|
246
146
|
}
|
|
247
147
|
export declare enum TableStatus {
|
|
248
148
|
ACTIVE = "ACTIVE",
|
|
249
149
|
DELETING = "DELETING"
|
|
250
150
|
}
|
|
251
|
-
|
|
252
|
-
* <p>Table represents a database table in Timestream. Tables contain one or more related time series. You can modify the retention duration of the memory store and the magnetic store for a table.
|
|
253
|
-
* </p>
|
|
254
|
-
*/
|
|
151
|
+
|
|
255
152
|
export interface Table {
|
|
256
|
-
|
|
257
|
-
* <p>The Amazon Resource Name that uniquely identifies this table.</p>
|
|
258
|
-
*/
|
|
153
|
+
|
|
259
154
|
Arn?: string;
|
|
260
|
-
|
|
261
|
-
* <p>The name of the Timestream table.</p>
|
|
262
|
-
*/
|
|
155
|
+
|
|
263
156
|
TableName?: string;
|
|
264
|
-
|
|
265
|
-
* <p>The name of the Timestream database that contains this table.</p>
|
|
266
|
-
*/
|
|
157
|
+
|
|
267
158
|
DatabaseName?: string;
|
|
268
|
-
|
|
269
|
-
* <p>The current state of the table:</p>
|
|
270
|
-
* <ul>
|
|
271
|
-
* <li>
|
|
272
|
-
* <p>
|
|
273
|
-
* <code>DELETING</code> - The table is being deleted.</p>
|
|
274
|
-
* </li>
|
|
275
|
-
* <li>
|
|
276
|
-
* <p>
|
|
277
|
-
* <code>ACTIVE</code> - The table is ready for use.</p>
|
|
278
|
-
* </li>
|
|
279
|
-
* </ul>
|
|
280
|
-
*/
|
|
159
|
+
|
|
281
160
|
TableStatus?: TableStatus | string;
|
|
282
|
-
|
|
283
|
-
* <p>The retention duration for the memory store and magnetic store.</p>
|
|
284
|
-
*/
|
|
161
|
+
|
|
285
162
|
RetentionProperties?: RetentionProperties;
|
|
286
|
-
|
|
287
|
-
* <p>The time when the Timestream table was created. </p>
|
|
288
|
-
*/
|
|
163
|
+
|
|
289
164
|
CreationTime?: Date;
|
|
290
|
-
|
|
291
|
-
* <p>The time when the Timestream table was last updated.</p>
|
|
292
|
-
*/
|
|
165
|
+
|
|
293
166
|
LastUpdatedTime?: Date;
|
|
294
167
|
}
|
|
295
168
|
export declare namespace Table {
|
|
296
|
-
|
|
297
|
-
* @internal
|
|
298
|
-
*/
|
|
169
|
+
|
|
299
170
|
const filterSensitiveLog: (obj: Table) => any;
|
|
300
171
|
}
|
|
301
172
|
export interface CreateTableResponse {
|
|
302
|
-
|
|
303
|
-
* <p>The newly created Timestream table.</p>
|
|
304
|
-
*/
|
|
173
|
+
|
|
305
174
|
Table?: Table;
|
|
306
175
|
}
|
|
307
176
|
export declare namespace CreateTableResponse {
|
|
308
|
-
|
|
309
|
-
* @internal
|
|
310
|
-
*/
|
|
177
|
+
|
|
311
178
|
const filterSensitiveLog: (obj: CreateTableResponse) => any;
|
|
312
179
|
}
|
|
313
|
-
|
|
314
|
-
* <p>The operation tried to access a nonexistent resource. The resource might not be specified correctly, or its status might not be ACTIVE.</p>
|
|
315
|
-
*/
|
|
180
|
+
|
|
316
181
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
317
182
|
name: "ResourceNotFoundException";
|
|
318
183
|
$fault: "client";
|
|
319
184
|
Message?: string;
|
|
320
185
|
}
|
|
321
186
|
export declare namespace ResourceNotFoundException {
|
|
322
|
-
|
|
323
|
-
* @internal
|
|
324
|
-
*/
|
|
187
|
+
|
|
325
188
|
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
326
189
|
}
|
|
327
190
|
export interface DeleteDatabaseRequest {
|
|
328
|
-
|
|
329
|
-
* <p>The name of the Timestream database to be deleted.</p>
|
|
330
|
-
*/
|
|
191
|
+
|
|
331
192
|
DatabaseName: string | undefined;
|
|
332
193
|
}
|
|
333
194
|
export declare namespace DeleteDatabaseRequest {
|
|
334
|
-
|
|
335
|
-
* @internal
|
|
336
|
-
*/
|
|
195
|
+
|
|
337
196
|
const filterSensitiveLog: (obj: DeleteDatabaseRequest) => any;
|
|
338
197
|
}
|
|
339
198
|
export interface DeleteTableRequest {
|
|
340
|
-
|
|
341
|
-
* <p>The name of the database where the Timestream database is to be deleted.</p>
|
|
342
|
-
*/
|
|
199
|
+
|
|
343
200
|
DatabaseName: string | undefined;
|
|
344
|
-
|
|
345
|
-
* <p>The name of the Timestream table to be deleted.</p>
|
|
346
|
-
*/
|
|
201
|
+
|
|
347
202
|
TableName: string | undefined;
|
|
348
203
|
}
|
|
349
204
|
export declare namespace DeleteTableRequest {
|
|
350
|
-
|
|
351
|
-
* @internal
|
|
352
|
-
*/
|
|
205
|
+
|
|
353
206
|
const filterSensitiveLog: (obj: DeleteTableRequest) => any;
|
|
354
207
|
}
|
|
355
208
|
export interface DescribeDatabaseRequest {
|
|
356
|
-
|
|
357
|
-
* <p>The name of the Timestream database.</p>
|
|
358
|
-
*/
|
|
209
|
+
|
|
359
210
|
DatabaseName: string | undefined;
|
|
360
211
|
}
|
|
361
212
|
export declare namespace DescribeDatabaseRequest {
|
|
362
|
-
|
|
363
|
-
* @internal
|
|
364
|
-
*/
|
|
213
|
+
|
|
365
214
|
const filterSensitiveLog: (obj: DescribeDatabaseRequest) => any;
|
|
366
215
|
}
|
|
367
216
|
export interface DescribeDatabaseResponse {
|
|
368
|
-
|
|
369
|
-
* <p>The name of the Timestream table.</p>
|
|
370
|
-
*/
|
|
217
|
+
|
|
371
218
|
Database?: Database;
|
|
372
219
|
}
|
|
373
220
|
export declare namespace DescribeDatabaseResponse {
|
|
374
|
-
|
|
375
|
-
* @internal
|
|
376
|
-
*/
|
|
221
|
+
|
|
377
222
|
const filterSensitiveLog: (obj: DescribeDatabaseResponse) => any;
|
|
378
223
|
}
|
|
379
224
|
export interface DescribeEndpointsRequest {
|
|
380
225
|
}
|
|
381
226
|
export declare namespace DescribeEndpointsRequest {
|
|
382
|
-
|
|
383
|
-
* @internal
|
|
384
|
-
*/
|
|
227
|
+
|
|
385
228
|
const filterSensitiveLog: (obj: DescribeEndpointsRequest) => any;
|
|
386
229
|
}
|
|
387
|
-
|
|
388
|
-
* <p>Represents an available endpoint against which to make API calls agaisnt, as well as the TTL for that endpoint.</p>
|
|
389
|
-
*/
|
|
230
|
+
|
|
390
231
|
export interface Endpoint {
|
|
391
|
-
|
|
392
|
-
* <p>An endpoint address.</p>
|
|
393
|
-
*/
|
|
232
|
+
|
|
394
233
|
Address: string | undefined;
|
|
395
|
-
|
|
396
|
-
* <p>The TTL for the endpoint, in minutes.</p>
|
|
397
|
-
*/
|
|
234
|
+
|
|
398
235
|
CachePeriodInMinutes: number | undefined;
|
|
399
236
|
}
|
|
400
237
|
export declare namespace Endpoint {
|
|
401
|
-
|
|
402
|
-
* @internal
|
|
403
|
-
*/
|
|
238
|
+
|
|
404
239
|
const filterSensitiveLog: (obj: Endpoint) => any;
|
|
405
240
|
}
|
|
406
241
|
export interface DescribeEndpointsResponse {
|
|
407
|
-
|
|
408
|
-
* <p>An <code>Endpoints</code> object is returned when a <code>DescribeEndpoints</code> request is made.</p>
|
|
409
|
-
*/
|
|
242
|
+
|
|
410
243
|
Endpoints: Endpoint[] | undefined;
|
|
411
244
|
}
|
|
412
245
|
export declare namespace DescribeEndpointsResponse {
|
|
413
|
-
|
|
414
|
-
* @internal
|
|
415
|
-
*/
|
|
246
|
+
|
|
416
247
|
const filterSensitiveLog: (obj: DescribeEndpointsResponse) => any;
|
|
417
248
|
}
|
|
418
249
|
export interface DescribeTableRequest {
|
|
419
|
-
|
|
420
|
-
* <p>The name of the Timestream database.</p>
|
|
421
|
-
*/
|
|
250
|
+
|
|
422
251
|
DatabaseName: string | undefined;
|
|
423
|
-
|
|
424
|
-
* <p>The name of the Timestream table.</p>
|
|
425
|
-
*/
|
|
252
|
+
|
|
426
253
|
TableName: string | undefined;
|
|
427
254
|
}
|
|
428
255
|
export declare namespace DescribeTableRequest {
|
|
429
|
-
|
|
430
|
-
* @internal
|
|
431
|
-
*/
|
|
256
|
+
|
|
432
257
|
const filterSensitiveLog: (obj: DescribeTableRequest) => any;
|
|
433
258
|
}
|
|
434
259
|
export interface DescribeTableResponse {
|
|
435
|
-
|
|
436
|
-
* <p>The Timestream table.</p>
|
|
437
|
-
*/
|
|
260
|
+
|
|
438
261
|
Table?: Table;
|
|
439
262
|
}
|
|
440
263
|
export declare namespace DescribeTableResponse {
|
|
441
|
-
|
|
442
|
-
* @internal
|
|
443
|
-
*/
|
|
264
|
+
|
|
444
265
|
const filterSensitiveLog: (obj: DescribeTableResponse) => any;
|
|
445
266
|
}
|
|
446
267
|
export declare enum DimensionValueType {
|
|
447
268
|
VARCHAR = "VARCHAR"
|
|
448
269
|
}
|
|
449
|
-
|
|
450
|
-
* <p>Dimension represents the meta data attributes of the time series. For example, the name and availability zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions. </p>
|
|
451
|
-
*/
|
|
270
|
+
|
|
452
271
|
export interface Dimension {
|
|
453
|
-
|
|
454
|
-
* <p>
|
|
455
|
-
* Dimension represents the meta data attributes of the time series.
|
|
456
|
-
* For example, the name and availability zone of an EC2 instance or
|
|
457
|
-
* the name of the manufacturer of a wind turbine are dimensions.
|
|
458
|
-
*
|
|
459
|
-
* </p>
|
|
460
|
-
* <p>For constraints on Dimension names,
|
|
461
|
-
* see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.naming">Naming Constraints</a>.</p>
|
|
462
|
-
*/
|
|
272
|
+
|
|
463
273
|
Name: string | undefined;
|
|
464
|
-
|
|
465
|
-
* <p>The value of the dimension.</p>
|
|
466
|
-
*/
|
|
274
|
+
|
|
467
275
|
Value: string | undefined;
|
|
468
|
-
|
|
469
|
-
* <p>The data type of the dimension for the time series data point.</p>
|
|
470
|
-
*/
|
|
276
|
+
|
|
471
277
|
DimensionValueType?: DimensionValueType | string;
|
|
472
278
|
}
|
|
473
279
|
export declare namespace Dimension {
|
|
474
|
-
|
|
475
|
-
* @internal
|
|
476
|
-
*/
|
|
280
|
+
|
|
477
281
|
const filterSensitiveLog: (obj: Dimension) => any;
|
|
478
282
|
}
|
|
479
283
|
export interface ListDatabasesRequest {
|
|
480
|
-
|
|
481
|
-
* <p>The pagination token. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.</p>
|
|
482
|
-
*/
|
|
284
|
+
|
|
483
285
|
NextToken?: string;
|
|
484
|
-
|
|
485
|
-
* <p>The total number of items to return in the output. If the total number of items available is more than the value specified, a NextToken is provided in the output. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.</p>
|
|
486
|
-
*/
|
|
286
|
+
|
|
487
287
|
MaxResults?: number;
|
|
488
288
|
}
|
|
489
289
|
export declare namespace ListDatabasesRequest {
|
|
490
|
-
|
|
491
|
-
* @internal
|
|
492
|
-
*/
|
|
290
|
+
|
|
493
291
|
const filterSensitiveLog: (obj: ListDatabasesRequest) => any;
|
|
494
292
|
}
|
|
495
293
|
export interface ListDatabasesResponse {
|
|
496
|
-
|
|
497
|
-
* <p>A list of database names.</p>
|
|
498
|
-
*/
|
|
294
|
+
|
|
499
295
|
Databases?: Database[];
|
|
500
|
-
|
|
501
|
-
* <p>The pagination token. This parameter is returned when the response is truncated.</p>
|
|
502
|
-
*/
|
|
296
|
+
|
|
503
297
|
NextToken?: string;
|
|
504
298
|
}
|
|
505
299
|
export declare namespace ListDatabasesResponse {
|
|
506
|
-
|
|
507
|
-
* @internal
|
|
508
|
-
*/
|
|
300
|
+
|
|
509
301
|
const filterSensitiveLog: (obj: ListDatabasesResponse) => any;
|
|
510
302
|
}
|
|
511
303
|
export interface ListTablesRequest {
|
|
512
|
-
|
|
513
|
-
* <p>The name of the Timestream database.</p>
|
|
514
|
-
*/
|
|
304
|
+
|
|
515
305
|
DatabaseName?: string;
|
|
516
|
-
|
|
517
|
-
* <p>The pagination token. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.</p>
|
|
518
|
-
*/
|
|
306
|
+
|
|
519
307
|
NextToken?: string;
|
|
520
|
-
|
|
521
|
-
* <p>The total number of items to return in the output. If the total number of items available is more than the value specified, a NextToken is provided in the output. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.</p>
|
|
522
|
-
*/
|
|
308
|
+
|
|
523
309
|
MaxResults?: number;
|
|
524
310
|
}
|
|
525
311
|
export declare namespace ListTablesRequest {
|
|
526
|
-
|
|
527
|
-
* @internal
|
|
528
|
-
*/
|
|
312
|
+
|
|
529
313
|
const filterSensitiveLog: (obj: ListTablesRequest) => any;
|
|
530
314
|
}
|
|
531
315
|
export interface ListTablesResponse {
|
|
532
|
-
|
|
533
|
-
* <p>A list of tables.</p>
|
|
534
|
-
*/
|
|
316
|
+
|
|
535
317
|
Tables?: Table[];
|
|
536
|
-
|
|
537
|
-
* <p>A token to specify where to start paginating. This is the NextToken from a previously truncated response.</p>
|
|
538
|
-
*/
|
|
318
|
+
|
|
539
319
|
NextToken?: string;
|
|
540
320
|
}
|
|
541
321
|
export declare namespace ListTablesResponse {
|
|
542
|
-
|
|
543
|
-
* @internal
|
|
544
|
-
*/
|
|
322
|
+
|
|
545
323
|
const filterSensitiveLog: (obj: ListTablesResponse) => any;
|
|
546
324
|
}
|
|
547
325
|
export interface ListTagsForResourceRequest {
|
|
548
|
-
|
|
549
|
-
* <p>
|
|
550
|
-
* The Timestream resource with tags to be listed. This value is an Amazon Resource Name (ARN).
|
|
551
|
-
* </p>
|
|
552
|
-
*/
|
|
326
|
+
|
|
553
327
|
ResourceARN: string | undefined;
|
|
554
328
|
}
|
|
555
329
|
export declare namespace ListTagsForResourceRequest {
|
|
556
|
-
|
|
557
|
-
* @internal
|
|
558
|
-
*/
|
|
330
|
+
|
|
559
331
|
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
560
332
|
}
|
|
561
333
|
export interface ListTagsForResourceResponse {
|
|
562
|
-
|
|
563
|
-
* <p>
|
|
564
|
-
* The tags currently associated with the Timestream resource.
|
|
565
|
-
* </p>
|
|
566
|
-
*/
|
|
334
|
+
|
|
567
335
|
Tags?: Tag[];
|
|
568
336
|
}
|
|
569
337
|
export declare namespace ListTagsForResourceResponse {
|
|
570
|
-
|
|
571
|
-
* @internal
|
|
572
|
-
*/
|
|
338
|
+
|
|
573
339
|
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
574
340
|
}
|
|
575
341
|
export declare enum MeasureValueType {
|
|
@@ -584,157 +350,41 @@ export declare enum TimeUnit {
|
|
|
584
350
|
NANOSECONDS = "NANOSECONDS",
|
|
585
351
|
SECONDS = "SECONDS"
|
|
586
352
|
}
|
|
587
|
-
|
|
588
|
-
* <p>Record represents a time series data point being written into
|
|
589
|
-
* Timestream. Each record contains an array of dimensions. Dimensions
|
|
590
|
-
* represent the meta data attributes of a time series data point such as
|
|
591
|
-
* the instance name or availability zone of an EC2 instance. A record also
|
|
592
|
-
* contains the measure name which is the name of the measure being collected
|
|
593
|
-
* for example the CPU utilization of an EC2 instance. A record also contains
|
|
594
|
-
* the measure value and the value type which is the data type of the measure value.
|
|
595
|
-
* In addition, the record contains the timestamp when the measure was collected that
|
|
596
|
-
* the timestamp unit which represents the granularity of the timestamp.
|
|
597
|
-
* </p>
|
|
598
|
-
*/
|
|
353
|
+
|
|
599
354
|
export interface _Record {
|
|
600
|
-
|
|
601
|
-
* <p>Contains the list of dimensions for time series data points.</p>
|
|
602
|
-
*/
|
|
355
|
+
|
|
603
356
|
Dimensions?: Dimension[];
|
|
604
|
-
|
|
605
|
-
* <p>Measure represents the data attribute of the time series. For example, the CPU utilization of an EC2 instance or the RPM of a wind turbine are measures. </p>
|
|
606
|
-
*/
|
|
357
|
+
|
|
607
358
|
MeasureName?: string;
|
|
608
|
-
|
|
609
|
-
* <p>
|
|
610
|
-
* Contains the measure value for the time series data point.
|
|
611
|
-
* </p>
|
|
612
|
-
*/
|
|
359
|
+
|
|
613
360
|
MeasureValue?: string;
|
|
614
|
-
|
|
615
|
-
* <p>
|
|
616
|
-
* Contains the data type of the measure value for the time series data point.
|
|
617
|
-
* </p>
|
|
618
|
-
*/
|
|
361
|
+
|
|
619
362
|
MeasureValueType?: MeasureValueType | string;
|
|
620
|
-
|
|
621
|
-
* <p>
|
|
622
|
-
* Contains the time at which the measure value for the data point was collected.
|
|
623
|
-
* The time value plus the unit provides the time elapsed since the epoch.
|
|
624
|
-
* For example, if the time value is <code>12345</code> and the unit is <code>ms</code>,
|
|
625
|
-
* then <code>12345 ms</code> have elapsed since the epoch.
|
|
626
|
-
* </p>
|
|
627
|
-
*/
|
|
363
|
+
|
|
628
364
|
Time?: string;
|
|
629
|
-
|
|
630
|
-
* <p>
|
|
631
|
-
* The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds or other supported values.
|
|
632
|
-
* </p>
|
|
633
|
-
*/
|
|
365
|
+
|
|
634
366
|
TimeUnit?: TimeUnit | string;
|
|
635
|
-
|
|
636
|
-
* <p>64-bit attribute used for record updates.
|
|
637
|
-
* Write requests for duplicate data with a higher version number will update the existing measure value and version.
|
|
638
|
-
* In cases where the measure value is the same, <code>Version</code> will still be updated . Default value is to 1.</p>
|
|
639
|
-
*/
|
|
367
|
+
|
|
640
368
|
Version?: number;
|
|
641
369
|
}
|
|
642
370
|
export declare namespace _Record {
|
|
643
|
-
|
|
644
|
-
* @internal
|
|
645
|
-
*/
|
|
371
|
+
|
|
646
372
|
const filterSensitiveLog: (obj: _Record) => any;
|
|
647
373
|
}
|
|
648
|
-
|
|
649
|
-
* <p>
|
|
650
|
-
* Records that were not successfully inserted into Timestream due to data validation issues
|
|
651
|
-
* that must be resolved prior to reinserting time series data into the system.
|
|
652
|
-
* </p>
|
|
653
|
-
*/
|
|
374
|
+
|
|
654
375
|
export interface RejectedRecord {
|
|
655
|
-
|
|
656
|
-
* <p>
|
|
657
|
-
* The index of the record in the input request for WriteRecords. Indexes begin with 0.
|
|
658
|
-
* </p>
|
|
659
|
-
*/
|
|
376
|
+
|
|
660
377
|
RecordIndex?: number;
|
|
661
|
-
|
|
662
|
-
* <p>
|
|
663
|
-
* The reason why a record was not successfully inserted into Timestream. Possible causes of failure include:
|
|
664
|
-
* </p>
|
|
665
|
-
* <ul>
|
|
666
|
-
* <li>
|
|
667
|
-
* <p>
|
|
668
|
-
* Records with duplicate data where there are multiple records with the same dimensions,
|
|
669
|
-
* timestamps, and measure names but different measure values.
|
|
670
|
-
* </p>
|
|
671
|
-
* </li>
|
|
672
|
-
* <li>
|
|
673
|
-
* <p>
|
|
674
|
-
* Records with timestamps that lie outside the retention duration of the memory store
|
|
675
|
-
* </p>
|
|
676
|
-
* <note>
|
|
677
|
-
* <p>When the retention window is updated, you will receive a <code>RejectedRecords</code> exception
|
|
678
|
-
* if you immediately try to ingest data within the new window.
|
|
679
|
-
* To avoid a <code>RejectedRecords</code> exception,
|
|
680
|
-
* wait until the duration of the new window to ingest new data.
|
|
681
|
-
* For further information,
|
|
682
|
-
* see
|
|
683
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/best-practices.html#configuration">
|
|
684
|
-
* Best Practices for Configuring Timestream</a>
|
|
685
|
-
* and
|
|
686
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/storage.html">the explanation of how storage works in Timestream</a>.</p>
|
|
687
|
-
* </note>
|
|
688
|
-
* </li>
|
|
689
|
-
* <li>
|
|
690
|
-
* <p>
|
|
691
|
-
* Records with dimensions or measures that exceed the Timestream defined limits.
|
|
692
|
-
* </p>
|
|
693
|
-
* </li>
|
|
694
|
-
* </ul>
|
|
695
|
-
* <p>
|
|
696
|
-
* 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.
|
|
697
|
-
* </p>
|
|
698
|
-
*/
|
|
378
|
+
|
|
699
379
|
Reason?: string;
|
|
700
|
-
|
|
701
|
-
* <p>The existing version of the record.
|
|
702
|
-
* This value is populated in scenarios where an identical record exists with a higher version than the version in the write request.</p>
|
|
703
|
-
*/
|
|
380
|
+
|
|
704
381
|
ExistingVersion?: number;
|
|
705
382
|
}
|
|
706
383
|
export declare namespace RejectedRecord {
|
|
707
|
-
|
|
708
|
-
* @internal
|
|
709
|
-
*/
|
|
384
|
+
|
|
710
385
|
const filterSensitiveLog: (obj: RejectedRecord) => any;
|
|
711
386
|
}
|
|
712
|
-
|
|
713
|
-
* <p>
|
|
714
|
-
* WriteRecords would throw this exception in the following cases:
|
|
715
|
-
* </p>
|
|
716
|
-
* <ul>
|
|
717
|
-
* <li>
|
|
718
|
-
* <p>
|
|
719
|
-
* Records with duplicate data where there are multiple records with the same dimensions,
|
|
720
|
-
* timestamps, and measure names but different measure values.
|
|
721
|
-
* </p>
|
|
722
|
-
* </li>
|
|
723
|
-
* <li>
|
|
724
|
-
* <p>
|
|
725
|
-
* Records with timestamps that lie outside the retention duration of the memory store
|
|
726
|
-
* </p>
|
|
727
|
-
* </li>
|
|
728
|
-
* <li>
|
|
729
|
-
* <p>
|
|
730
|
-
* Records with dimensions or measures that exceed the Timestream defined limits.
|
|
731
|
-
* </p>
|
|
732
|
-
* </li>
|
|
733
|
-
* </ul>
|
|
734
|
-
* <p>
|
|
735
|
-
* 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.
|
|
736
|
-
* </p>
|
|
737
|
-
*/
|
|
387
|
+
|
|
738
388
|
export interface RejectedRecordsException extends __SmithyException, $MetadataBearer {
|
|
739
389
|
name: "RejectedRecordsException";
|
|
740
390
|
$fault: "client";
|
|
@@ -742,184 +392,90 @@ export interface RejectedRecordsException extends __SmithyException, $MetadataBe
|
|
|
742
392
|
RejectedRecords?: RejectedRecord[];
|
|
743
393
|
}
|
|
744
394
|
export declare namespace RejectedRecordsException {
|
|
745
|
-
|
|
746
|
-
* @internal
|
|
747
|
-
*/
|
|
395
|
+
|
|
748
396
|
const filterSensitiveLog: (obj: RejectedRecordsException) => any;
|
|
749
397
|
}
|
|
750
398
|
export interface TagResourceRequest {
|
|
751
|
-
|
|
752
|
-
* <p>
|
|
753
|
-
* Identifies the Timestream resource to which tags should be added. This value is an
|
|
754
|
-
* Amazon Resource Name (ARN).
|
|
755
|
-
* </p>
|
|
756
|
-
*/
|
|
399
|
+
|
|
757
400
|
ResourceARN: string | undefined;
|
|
758
|
-
|
|
759
|
-
* <p>
|
|
760
|
-
* The tags to be assigned to the Timestream resource.
|
|
761
|
-
* </p>
|
|
762
|
-
*/
|
|
401
|
+
|
|
763
402
|
Tags: Tag[] | undefined;
|
|
764
403
|
}
|
|
765
404
|
export declare namespace TagResourceRequest {
|
|
766
|
-
|
|
767
|
-
* @internal
|
|
768
|
-
*/
|
|
405
|
+
|
|
769
406
|
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
770
407
|
}
|
|
771
408
|
export interface TagResourceResponse {
|
|
772
409
|
}
|
|
773
410
|
export declare namespace TagResourceResponse {
|
|
774
|
-
|
|
775
|
-
* @internal
|
|
776
|
-
*/
|
|
411
|
+
|
|
777
412
|
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
778
413
|
}
|
|
779
414
|
export interface UntagResourceRequest {
|
|
780
|
-
|
|
781
|
-
* <p>
|
|
782
|
-
* The Timestream resource that the tags will be removed from. This value
|
|
783
|
-
* is an Amazon Resource Name (ARN).
|
|
784
|
-
* </p>
|
|
785
|
-
*/
|
|
415
|
+
|
|
786
416
|
ResourceARN: string | undefined;
|
|
787
|
-
|
|
788
|
-
* <p>
|
|
789
|
-
* A list of tags keys. Existing tags of the resource whose keys are members of this
|
|
790
|
-
* list will be removed from the Timestream resource.
|
|
791
|
-
* </p>
|
|
792
|
-
*/
|
|
417
|
+
|
|
793
418
|
TagKeys: string[] | undefined;
|
|
794
419
|
}
|
|
795
420
|
export declare namespace UntagResourceRequest {
|
|
796
|
-
|
|
797
|
-
* @internal
|
|
798
|
-
*/
|
|
421
|
+
|
|
799
422
|
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
800
423
|
}
|
|
801
424
|
export interface UntagResourceResponse {
|
|
802
425
|
}
|
|
803
426
|
export declare namespace UntagResourceResponse {
|
|
804
|
-
|
|
805
|
-
* @internal
|
|
806
|
-
*/
|
|
427
|
+
|
|
807
428
|
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
808
429
|
}
|
|
809
430
|
export interface UpdateDatabaseRequest {
|
|
810
|
-
|
|
811
|
-
* <p>
|
|
812
|
-
* The name of the database.
|
|
813
|
-
* </p>
|
|
814
|
-
*/
|
|
431
|
+
|
|
815
432
|
DatabaseName: string | undefined;
|
|
816
|
-
|
|
817
|
-
* <p>
|
|
818
|
-
* The identifier of the new KMS key (<code>KmsKeyId</code>) to be used to encrypt the data stored in the database.
|
|
819
|
-
* If the <code>KmsKeyId</code> currently registered with the database is the same as the <code>KmsKeyId</code> in the
|
|
820
|
-
* request, there will not be any update.
|
|
821
|
-
* </p>
|
|
822
|
-
* <p>You can specify the <code>KmsKeyId</code> using any of the following:</p>
|
|
823
|
-
* <ul>
|
|
824
|
-
* <li>
|
|
825
|
-
* <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>
|
|
826
|
-
* </p>
|
|
827
|
-
* </li>
|
|
828
|
-
* <li>
|
|
829
|
-
* <p>Key ARN: <code>arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>
|
|
830
|
-
* </p>
|
|
831
|
-
* </li>
|
|
832
|
-
* <li>
|
|
833
|
-
* <p>Alias name: <code>alias/ExampleAlias</code>
|
|
834
|
-
* </p>
|
|
835
|
-
* </li>
|
|
836
|
-
* <li>
|
|
837
|
-
* <p>Alias ARN: <code>arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias</code>
|
|
838
|
-
* </p>
|
|
839
|
-
* </li>
|
|
840
|
-
* </ul>
|
|
841
|
-
*/
|
|
433
|
+
|
|
842
434
|
KmsKeyId: string | undefined;
|
|
843
435
|
}
|
|
844
436
|
export declare namespace UpdateDatabaseRequest {
|
|
845
|
-
|
|
846
|
-
* @internal
|
|
847
|
-
*/
|
|
437
|
+
|
|
848
438
|
const filterSensitiveLog: (obj: UpdateDatabaseRequest) => any;
|
|
849
439
|
}
|
|
850
440
|
export interface UpdateDatabaseResponse {
|
|
851
|
-
|
|
852
|
-
* <p>A top level container for a table. Databases and tables are the
|
|
853
|
-
* fundamental management concepts in Amazon Timestream. All tables in a
|
|
854
|
-
* database are encrypted with the same KMS key.</p>
|
|
855
|
-
*/
|
|
441
|
+
|
|
856
442
|
Database?: Database;
|
|
857
443
|
}
|
|
858
444
|
export declare namespace UpdateDatabaseResponse {
|
|
859
|
-
|
|
860
|
-
* @internal
|
|
861
|
-
*/
|
|
445
|
+
|
|
862
446
|
const filterSensitiveLog: (obj: UpdateDatabaseResponse) => any;
|
|
863
447
|
}
|
|
864
448
|
export interface UpdateTableRequest {
|
|
865
|
-
|
|
866
|
-
* <p>The name of the Timestream database.</p>
|
|
867
|
-
*/
|
|
449
|
+
|
|
868
450
|
DatabaseName: string | undefined;
|
|
869
|
-
|
|
870
|
-
* <p>The name of the Timesream table.</p>
|
|
871
|
-
*/
|
|
451
|
+
|
|
872
452
|
TableName: string | undefined;
|
|
873
|
-
|
|
874
|
-
* <p>The retention duration of the memory store and the magnetic store.</p>
|
|
875
|
-
*/
|
|
453
|
+
|
|
876
454
|
RetentionProperties: RetentionProperties | undefined;
|
|
877
455
|
}
|
|
878
456
|
export declare namespace UpdateTableRequest {
|
|
879
|
-
|
|
880
|
-
* @internal
|
|
881
|
-
*/
|
|
457
|
+
|
|
882
458
|
const filterSensitiveLog: (obj: UpdateTableRequest) => any;
|
|
883
459
|
}
|
|
884
460
|
export interface UpdateTableResponse {
|
|
885
|
-
|
|
886
|
-
* <p>The updated Timestream table.</p>
|
|
887
|
-
*/
|
|
461
|
+
|
|
888
462
|
Table?: Table;
|
|
889
463
|
}
|
|
890
464
|
export declare namespace UpdateTableResponse {
|
|
891
|
-
|
|
892
|
-
* @internal
|
|
893
|
-
*/
|
|
465
|
+
|
|
894
466
|
const filterSensitiveLog: (obj: UpdateTableResponse) => any;
|
|
895
467
|
}
|
|
896
468
|
export interface WriteRecordsRequest {
|
|
897
|
-
|
|
898
|
-
* <p>The name of the Timestream database.</p>
|
|
899
|
-
*/
|
|
469
|
+
|
|
900
470
|
DatabaseName: string | undefined;
|
|
901
|
-
|
|
902
|
-
* <p>The name of the Timesream table.</p>
|
|
903
|
-
*/
|
|
471
|
+
|
|
904
472
|
TableName: string | undefined;
|
|
905
|
-
|
|
906
|
-
* <p>A record containing the common measure and dimension attributes
|
|
907
|
-
* shared across all the records in the request. The measure and dimension
|
|
908
|
-
* attributes specified in here will be merged with the measure and dimension
|
|
909
|
-
* attributes in the records object when the data is written into Timestream.
|
|
910
|
-
* </p>
|
|
911
|
-
*/
|
|
473
|
+
|
|
912
474
|
CommonAttributes?: _Record;
|
|
913
|
-
|
|
914
|
-
* <p>An array of records containing the unique dimension and measure
|
|
915
|
-
* attributes for each time series data point.
|
|
916
|
-
* </p>
|
|
917
|
-
*/
|
|
475
|
+
|
|
918
476
|
Records: _Record[] | undefined;
|
|
919
477
|
}
|
|
920
478
|
export declare namespace WriteRecordsRequest {
|
|
921
|
-
|
|
922
|
-
* @internal
|
|
923
|
-
*/
|
|
479
|
+
|
|
924
480
|
const filterSensitiveLog: (obj: WriteRecordsRequest) => any;
|
|
925
481
|
}
|