mypy-boto3-timestream-write 1.35.0__py3-none-any.whl → 1.36.0__py3-none-any.whl
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.
Potentially problematic release.
This version of mypy-boto3-timestream-write might be problematic. Click here for more details.
- mypy_boto3_timestream_write/__init__.py +3 -0
- mypy_boto3_timestream_write/__init__.pyi +2 -0
- mypy_boto3_timestream_write/__main__.py +11 -8
- mypy_boto3_timestream_write/client.py +111 -119
- mypy_boto3_timestream_write/client.pyi +111 -119
- mypy_boto3_timestream_write/literals.py +31 -9
- mypy_boto3_timestream_write/literals.pyi +29 -9
- mypy_boto3_timestream_write/type_defs.py +479 -595
- mypy_boto3_timestream_write/type_defs.pyi +407 -595
- mypy_boto3_timestream_write/version.py +3 -1
- {mypy_boto3_timestream_write-1.35.0.dist-info → mypy_boto3_timestream_write-1.36.0.dist-info}/LICENSE +1 -1
- {mypy_boto3_timestream_write-1.35.0.dist-info → mypy_boto3_timestream_write-1.36.0.dist-info}/METADATA +93 -26
- mypy_boto3_timestream_write-1.36.0.dist-info/RECORD +16 -0
- {mypy_boto3_timestream_write-1.35.0.dist-info → mypy_boto3_timestream_write-1.36.0.dist-info}/WHEEL +1 -1
- mypy_boto3_timestream_write-1.35.0.dist-info/RECORD +0 -16
- {mypy_boto3_timestream_write-1.35.0.dist-info → mypy_boto3_timestream_write-1.36.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for timestream-write service type definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/type_defs/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -10,11 +10,15 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
data: BatchLoadProgressReportTypeDef = ...
|
|
12
12
|
```
|
|
13
|
+
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
13
15
|
"""
|
|
14
16
|
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
15
19
|
import sys
|
|
16
20
|
from datetime import datetime
|
|
17
|
-
from typing import
|
|
21
|
+
from typing import Union
|
|
18
22
|
|
|
19
23
|
from .literals import (
|
|
20
24
|
BatchLoadStatusType,
|
|
@@ -27,266 +31,223 @@ from .literals import (
|
|
|
27
31
|
TimeUnitType,
|
|
28
32
|
)
|
|
29
33
|
|
|
30
|
-
if sys.version_info >= (3,
|
|
31
|
-
from
|
|
32
|
-
|
|
33
|
-
from
|
|
34
|
-
if sys.version_info >= (3, 12):
|
|
35
|
-
from typing import NotRequired
|
|
34
|
+
if sys.version_info >= (3, 9):
|
|
35
|
+
from builtins import dict as Dict
|
|
36
|
+
from builtins import list as List
|
|
37
|
+
from collections.abc import Sequence
|
|
36
38
|
else:
|
|
37
|
-
from
|
|
39
|
+
from typing import Dict, List, Sequence
|
|
38
40
|
if sys.version_info >= (3, 12):
|
|
39
|
-
from typing import TypedDict
|
|
41
|
+
from typing import Literal, NotRequired, TypedDict
|
|
40
42
|
else:
|
|
41
|
-
from typing_extensions import TypedDict
|
|
43
|
+
from typing_extensions import Literal, NotRequired, TypedDict
|
|
44
|
+
|
|
42
45
|
|
|
43
46
|
__all__ = (
|
|
44
47
|
"BatchLoadProgressReportTypeDef",
|
|
48
|
+
"BatchLoadTaskDescriptionTypeDef",
|
|
45
49
|
"BatchLoadTaskTypeDef",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
+
"CreateBatchLoadTaskRequestRequestTypeDef",
|
|
51
|
+
"CreateBatchLoadTaskResponseTypeDef",
|
|
52
|
+
"CreateDatabaseRequestRequestTypeDef",
|
|
53
|
+
"CreateDatabaseResponseTypeDef",
|
|
54
|
+
"CreateTableRequestRequestTypeDef",
|
|
55
|
+
"CreateTableResponseTypeDef",
|
|
50
56
|
"CsvConfigurationTypeDef",
|
|
57
|
+
"DataModelConfigurationOutputTypeDef",
|
|
58
|
+
"DataModelConfigurationTypeDef",
|
|
59
|
+
"DataModelOutputTypeDef",
|
|
51
60
|
"DataModelS3ConfigurationTypeDef",
|
|
52
|
-
"
|
|
61
|
+
"DataModelTypeDef",
|
|
62
|
+
"DataModelUnionTypeDef",
|
|
63
|
+
"DataSourceConfigurationTypeDef",
|
|
53
64
|
"DataSourceS3ConfigurationTypeDef",
|
|
65
|
+
"DatabaseTypeDef",
|
|
54
66
|
"DeleteDatabaseRequestRequestTypeDef",
|
|
55
67
|
"DeleteTableRequestRequestTypeDef",
|
|
56
68
|
"DescribeBatchLoadTaskRequestRequestTypeDef",
|
|
69
|
+
"DescribeBatchLoadTaskResponseTypeDef",
|
|
57
70
|
"DescribeDatabaseRequestRequestTypeDef",
|
|
58
|
-
"
|
|
71
|
+
"DescribeDatabaseResponseTypeDef",
|
|
72
|
+
"DescribeEndpointsResponseTypeDef",
|
|
59
73
|
"DescribeTableRequestRequestTypeDef",
|
|
74
|
+
"DescribeTableResponseTypeDef",
|
|
75
|
+
"DimensionMappingTypeDef",
|
|
60
76
|
"DimensionTypeDef",
|
|
77
|
+
"EmptyResponseMetadataTypeDef",
|
|
78
|
+
"EndpointTypeDef",
|
|
61
79
|
"ListBatchLoadTasksRequestRequestTypeDef",
|
|
80
|
+
"ListBatchLoadTasksResponseTypeDef",
|
|
62
81
|
"ListDatabasesRequestRequestTypeDef",
|
|
82
|
+
"ListDatabasesResponseTypeDef",
|
|
63
83
|
"ListTablesRequestRequestTypeDef",
|
|
84
|
+
"ListTablesResponseTypeDef",
|
|
64
85
|
"ListTagsForResourceRequestRequestTypeDef",
|
|
65
|
-
"S3ConfigurationTypeDef",
|
|
66
|
-
"MeasureValueTypeDef",
|
|
67
|
-
"MultiMeasureAttributeMappingTypeDef",
|
|
68
|
-
"PartitionKeyTypeDef",
|
|
69
|
-
"RecordsIngestedTypeDef",
|
|
70
|
-
"ReportS3ConfigurationTypeDef",
|
|
71
|
-
"ResumeBatchLoadTaskRequestRequestTypeDef",
|
|
72
|
-
"UntagResourceRequestRequestTypeDef",
|
|
73
|
-
"UpdateDatabaseRequestRequestTypeDef",
|
|
74
|
-
"CreateBatchLoadTaskResponseTypeDef",
|
|
75
|
-
"EmptyResponseMetadataTypeDef",
|
|
76
|
-
"ListBatchLoadTasksResponseTypeDef",
|
|
77
|
-
"CreateDatabaseRequestRequestTypeDef",
|
|
78
86
|
"ListTagsForResourceResponseTypeDef",
|
|
79
|
-
"TagResourceRequestRequestTypeDef",
|
|
80
|
-
"CreateDatabaseResponseTypeDef",
|
|
81
|
-
"DescribeDatabaseResponseTypeDef",
|
|
82
|
-
"ListDatabasesResponseTypeDef",
|
|
83
|
-
"UpdateDatabaseResponseTypeDef",
|
|
84
|
-
"DataSourceConfigurationTypeDef",
|
|
85
|
-
"DescribeEndpointsResponseTypeDef",
|
|
86
87
|
"MagneticStoreRejectedDataLocationTypeDef",
|
|
87
|
-
"
|
|
88
|
+
"MagneticStoreWritePropertiesTypeDef",
|
|
89
|
+
"MeasureValueTypeDef",
|
|
88
90
|
"MixedMeasureMappingOutputTypeDef",
|
|
89
91
|
"MixedMeasureMappingTypeDef",
|
|
92
|
+
"MixedMeasureMappingUnionTypeDef",
|
|
93
|
+
"MultiMeasureAttributeMappingTypeDef",
|
|
90
94
|
"MultiMeasureMappingsOutputTypeDef",
|
|
91
95
|
"MultiMeasureMappingsTypeDef",
|
|
96
|
+
"MultiMeasureMappingsUnionTypeDef",
|
|
97
|
+
"PartitionKeyTypeDef",
|
|
98
|
+
"RecordTypeDef",
|
|
99
|
+
"RecordsIngestedTypeDef",
|
|
100
|
+
"ReportConfigurationTypeDef",
|
|
101
|
+
"ReportS3ConfigurationTypeDef",
|
|
102
|
+
"ResponseMetadataTypeDef",
|
|
103
|
+
"ResumeBatchLoadTaskRequestRequestTypeDef",
|
|
104
|
+
"RetentionPropertiesTypeDef",
|
|
105
|
+
"S3ConfigurationTypeDef",
|
|
92
106
|
"SchemaOutputTypeDef",
|
|
93
107
|
"SchemaTypeDef",
|
|
94
|
-
"WriteRecordsResponseTypeDef",
|
|
95
|
-
"ReportConfigurationTypeDef",
|
|
96
|
-
"MagneticStoreWritePropertiesTypeDef",
|
|
97
|
-
"WriteRecordsRequestRequestTypeDef",
|
|
98
|
-
"DataModelOutputTypeDef",
|
|
99
|
-
"DataModelTypeDef",
|
|
100
|
-
"SchemaUnionTypeDef",
|
|
101
|
-
"CreateTableRequestRequestTypeDef",
|
|
102
108
|
"TableTypeDef",
|
|
109
|
+
"TagResourceRequestRequestTypeDef",
|
|
110
|
+
"TagTypeDef",
|
|
111
|
+
"UntagResourceRequestRequestTypeDef",
|
|
112
|
+
"UpdateDatabaseRequestRequestTypeDef",
|
|
113
|
+
"UpdateDatabaseResponseTypeDef",
|
|
103
114
|
"UpdateTableRequestRequestTypeDef",
|
|
104
|
-
"DataModelConfigurationOutputTypeDef",
|
|
105
|
-
"DataModelConfigurationTypeDef",
|
|
106
|
-
"CreateTableResponseTypeDef",
|
|
107
|
-
"DescribeTableResponseTypeDef",
|
|
108
|
-
"ListTablesResponseTypeDef",
|
|
109
115
|
"UpdateTableResponseTypeDef",
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"DataModelConfigurationUnionTypeDef",
|
|
113
|
-
"DescribeBatchLoadTaskResponseTypeDef",
|
|
116
|
+
"WriteRecordsRequestRequestTypeDef",
|
|
117
|
+
"WriteRecordsResponseTypeDef",
|
|
114
118
|
)
|
|
115
119
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
)
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
)
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
)
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
"Name": str,
|
|
248
|
-
"Value": str,
|
|
249
|
-
"DimensionValueType": NotRequired[Literal["VARCHAR"]],
|
|
250
|
-
},
|
|
251
|
-
)
|
|
252
|
-
ListBatchLoadTasksRequestRequestTypeDef = TypedDict(
|
|
253
|
-
"ListBatchLoadTasksRequestRequestTypeDef",
|
|
254
|
-
{
|
|
255
|
-
"NextToken": NotRequired[str],
|
|
256
|
-
"MaxResults": NotRequired[int],
|
|
257
|
-
"TaskStatus": NotRequired[BatchLoadStatusType],
|
|
258
|
-
},
|
|
259
|
-
)
|
|
260
|
-
ListDatabasesRequestRequestTypeDef = TypedDict(
|
|
261
|
-
"ListDatabasesRequestRequestTypeDef",
|
|
262
|
-
{
|
|
263
|
-
"NextToken": NotRequired[str],
|
|
264
|
-
"MaxResults": NotRequired[int],
|
|
265
|
-
},
|
|
266
|
-
)
|
|
267
|
-
ListTablesRequestRequestTypeDef = TypedDict(
|
|
268
|
-
"ListTablesRequestRequestTypeDef",
|
|
269
|
-
{
|
|
270
|
-
"DatabaseName": NotRequired[str],
|
|
271
|
-
"NextToken": NotRequired[str],
|
|
272
|
-
"MaxResults": NotRequired[int],
|
|
273
|
-
},
|
|
274
|
-
)
|
|
275
|
-
ListTagsForResourceRequestRequestTypeDef = TypedDict(
|
|
276
|
-
"ListTagsForResourceRequestRequestTypeDef",
|
|
277
|
-
{
|
|
278
|
-
"ResourceARN": str,
|
|
279
|
-
},
|
|
280
|
-
)
|
|
281
|
-
S3ConfigurationTypeDef = TypedDict(
|
|
282
|
-
"S3ConfigurationTypeDef",
|
|
283
|
-
{
|
|
284
|
-
"BucketName": NotRequired[str],
|
|
285
|
-
"ObjectKeyPrefix": NotRequired[str],
|
|
286
|
-
"EncryptionOption": NotRequired[S3EncryptionOptionType],
|
|
287
|
-
"KmsKeyId": NotRequired[str],
|
|
288
|
-
},
|
|
289
|
-
)
|
|
120
|
+
|
|
121
|
+
class BatchLoadProgressReportTypeDef(TypedDict):
|
|
122
|
+
RecordsProcessed: NotRequired[int]
|
|
123
|
+
RecordsIngested: NotRequired[int]
|
|
124
|
+
ParseFailures: NotRequired[int]
|
|
125
|
+
RecordIngestionFailures: NotRequired[int]
|
|
126
|
+
FileFailures: NotRequired[int]
|
|
127
|
+
BytesMetered: NotRequired[int]
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
class BatchLoadTaskTypeDef(TypedDict):
|
|
131
|
+
TaskId: NotRequired[str]
|
|
132
|
+
TaskStatus: NotRequired[BatchLoadStatusType]
|
|
133
|
+
DatabaseName: NotRequired[str]
|
|
134
|
+
TableName: NotRequired[str]
|
|
135
|
+
CreationTime: NotRequired[datetime]
|
|
136
|
+
LastUpdatedTime: NotRequired[datetime]
|
|
137
|
+
ResumableUntil: NotRequired[datetime]
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
class ResponseMetadataTypeDef(TypedDict):
|
|
141
|
+
RequestId: str
|
|
142
|
+
HTTPStatusCode: int
|
|
143
|
+
HTTPHeaders: Dict[str, str]
|
|
144
|
+
RetryAttempts: int
|
|
145
|
+
HostId: NotRequired[str]
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
class TagTypeDef(TypedDict):
|
|
149
|
+
Key: str
|
|
150
|
+
Value: str
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
class DatabaseTypeDef(TypedDict):
|
|
154
|
+
Arn: NotRequired[str]
|
|
155
|
+
DatabaseName: NotRequired[str]
|
|
156
|
+
TableCount: NotRequired[int]
|
|
157
|
+
KmsKeyId: NotRequired[str]
|
|
158
|
+
CreationTime: NotRequired[datetime]
|
|
159
|
+
LastUpdatedTime: NotRequired[datetime]
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
class RetentionPropertiesTypeDef(TypedDict):
|
|
163
|
+
MemoryStoreRetentionPeriodInHours: int
|
|
164
|
+
MagneticStoreRetentionPeriodInDays: int
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
class CsvConfigurationTypeDef(TypedDict):
|
|
168
|
+
ColumnSeparator: NotRequired[str]
|
|
169
|
+
EscapeChar: NotRequired[str]
|
|
170
|
+
QuoteChar: NotRequired[str]
|
|
171
|
+
NullValue: NotRequired[str]
|
|
172
|
+
TrimWhiteSpace: NotRequired[bool]
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
class DataModelS3ConfigurationTypeDef(TypedDict):
|
|
176
|
+
BucketName: NotRequired[str]
|
|
177
|
+
ObjectKey: NotRequired[str]
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
class DimensionMappingTypeDef(TypedDict):
|
|
181
|
+
SourceColumn: NotRequired[str]
|
|
182
|
+
DestinationColumn: NotRequired[str]
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
class DataSourceS3ConfigurationTypeDef(TypedDict):
|
|
186
|
+
BucketName: str
|
|
187
|
+
ObjectKeyPrefix: NotRequired[str]
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
class DeleteDatabaseRequestRequestTypeDef(TypedDict):
|
|
191
|
+
DatabaseName: str
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
class DeleteTableRequestRequestTypeDef(TypedDict):
|
|
195
|
+
DatabaseName: str
|
|
196
|
+
TableName: str
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
class DescribeBatchLoadTaskRequestRequestTypeDef(TypedDict):
|
|
200
|
+
TaskId: str
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
class DescribeDatabaseRequestRequestTypeDef(TypedDict):
|
|
204
|
+
DatabaseName: str
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
class EndpointTypeDef(TypedDict):
|
|
208
|
+
Address: str
|
|
209
|
+
CachePeriodInMinutes: int
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
class DescribeTableRequestRequestTypeDef(TypedDict):
|
|
213
|
+
DatabaseName: str
|
|
214
|
+
TableName: str
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
class DimensionTypeDef(TypedDict):
|
|
218
|
+
Name: str
|
|
219
|
+
Value: str
|
|
220
|
+
DimensionValueType: NotRequired[Literal["VARCHAR"]]
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
class ListBatchLoadTasksRequestRequestTypeDef(TypedDict):
|
|
224
|
+
NextToken: NotRequired[str]
|
|
225
|
+
MaxResults: NotRequired[int]
|
|
226
|
+
TaskStatus: NotRequired[BatchLoadStatusType]
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
class ListDatabasesRequestRequestTypeDef(TypedDict):
|
|
230
|
+
NextToken: NotRequired[str]
|
|
231
|
+
MaxResults: NotRequired[int]
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
class ListTablesRequestRequestTypeDef(TypedDict):
|
|
235
|
+
DatabaseName: NotRequired[str]
|
|
236
|
+
NextToken: NotRequired[str]
|
|
237
|
+
MaxResults: NotRequired[int]
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
|
|
241
|
+
ResourceARN: str
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
class S3ConfigurationTypeDef(TypedDict):
|
|
245
|
+
BucketName: NotRequired[str]
|
|
246
|
+
ObjectKeyPrefix: NotRequired[str]
|
|
247
|
+
EncryptionOption: NotRequired[S3EncryptionOptionType]
|
|
248
|
+
KmsKeyId: NotRequired[str]
|
|
249
|
+
|
|
250
|
+
|
|
290
251
|
MeasureValueTypeDef = TypedDict(
|
|
291
252
|
"MeasureValueTypeDef",
|
|
292
253
|
{
|
|
@@ -295,14 +256,14 @@ MeasureValueTypeDef = TypedDict(
|
|
|
295
256
|
"Type": MeasureValueTypeType,
|
|
296
257
|
},
|
|
297
258
|
)
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
class MultiMeasureAttributeMappingTypeDef(TypedDict):
|
|
262
|
+
SourceColumn: str
|
|
263
|
+
TargetMultiMeasureAttributeName: NotRequired[str]
|
|
264
|
+
MeasureValueType: NotRequired[ScalarMeasureValueTypeType]
|
|
265
|
+
|
|
266
|
+
|
|
306
267
|
PartitionKeyTypeDef = TypedDict(
|
|
307
268
|
"PartitionKeyTypeDef",
|
|
308
269
|
{
|
|
@@ -311,362 +272,285 @@ PartitionKeyTypeDef = TypedDict(
|
|
|
311
272
|
"EnforcementInRecord": NotRequired[PartitionKeyEnforcementLevelType],
|
|
312
273
|
},
|
|
313
274
|
)
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
ReportS3ConfigurationTypeDef
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
)
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
)
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
)
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
"MultiMeasureMappingsOutputTypeDef",
|
|
479
|
-
{
|
|
480
|
-
"MultiMeasureAttributeMappings": List[MultiMeasureAttributeMappingTypeDef],
|
|
481
|
-
"TargetMultiMeasureName": NotRequired[str],
|
|
482
|
-
},
|
|
483
|
-
)
|
|
484
|
-
MultiMeasureMappingsTypeDef = TypedDict(
|
|
485
|
-
"MultiMeasureMappingsTypeDef",
|
|
486
|
-
{
|
|
487
|
-
"MultiMeasureAttributeMappings": Sequence[MultiMeasureAttributeMappingTypeDef],
|
|
488
|
-
"TargetMultiMeasureName": NotRequired[str],
|
|
489
|
-
},
|
|
490
|
-
)
|
|
491
|
-
SchemaOutputTypeDef = TypedDict(
|
|
492
|
-
"SchemaOutputTypeDef",
|
|
493
|
-
{
|
|
494
|
-
"CompositePartitionKey": NotRequired[List[PartitionKeyTypeDef]],
|
|
495
|
-
},
|
|
496
|
-
)
|
|
497
|
-
SchemaTypeDef = TypedDict(
|
|
498
|
-
"SchemaTypeDef",
|
|
499
|
-
{
|
|
500
|
-
"CompositePartitionKey": NotRequired[Sequence[PartitionKeyTypeDef]],
|
|
501
|
-
},
|
|
502
|
-
)
|
|
503
|
-
WriteRecordsResponseTypeDef = TypedDict(
|
|
504
|
-
"WriteRecordsResponseTypeDef",
|
|
505
|
-
{
|
|
506
|
-
"RecordsIngested": RecordsIngestedTypeDef,
|
|
507
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
508
|
-
},
|
|
509
|
-
)
|
|
510
|
-
ReportConfigurationTypeDef = TypedDict(
|
|
511
|
-
"ReportConfigurationTypeDef",
|
|
512
|
-
{
|
|
513
|
-
"ReportS3Configuration": NotRequired[ReportS3ConfigurationTypeDef],
|
|
514
|
-
},
|
|
515
|
-
)
|
|
516
|
-
MagneticStoreWritePropertiesTypeDef = TypedDict(
|
|
517
|
-
"MagneticStoreWritePropertiesTypeDef",
|
|
518
|
-
{
|
|
519
|
-
"EnableMagneticStoreWrites": bool,
|
|
520
|
-
"MagneticStoreRejectedDataLocation": NotRequired[MagneticStoreRejectedDataLocationTypeDef],
|
|
521
|
-
},
|
|
522
|
-
)
|
|
523
|
-
WriteRecordsRequestRequestTypeDef = TypedDict(
|
|
524
|
-
"WriteRecordsRequestRequestTypeDef",
|
|
525
|
-
{
|
|
526
|
-
"DatabaseName": str,
|
|
527
|
-
"TableName": str,
|
|
528
|
-
"Records": Sequence[RecordTypeDef],
|
|
529
|
-
"CommonAttributes": NotRequired[RecordTypeDef],
|
|
530
|
-
},
|
|
531
|
-
)
|
|
532
|
-
DataModelOutputTypeDef = TypedDict(
|
|
533
|
-
"DataModelOutputTypeDef",
|
|
534
|
-
{
|
|
535
|
-
"DimensionMappings": List[DimensionMappingTypeDef],
|
|
536
|
-
"TimeColumn": NotRequired[str],
|
|
537
|
-
"TimeUnit": NotRequired[TimeUnitType],
|
|
538
|
-
"MultiMeasureMappings": NotRequired[MultiMeasureMappingsOutputTypeDef],
|
|
539
|
-
"MixedMeasureMappings": NotRequired[List[MixedMeasureMappingOutputTypeDef]],
|
|
540
|
-
"MeasureNameColumn": NotRequired[str],
|
|
541
|
-
},
|
|
542
|
-
)
|
|
543
|
-
DataModelTypeDef = TypedDict(
|
|
544
|
-
"DataModelTypeDef",
|
|
545
|
-
{
|
|
546
|
-
"DimensionMappings": Sequence[DimensionMappingTypeDef],
|
|
547
|
-
"TimeColumn": NotRequired[str],
|
|
548
|
-
"TimeUnit": NotRequired[TimeUnitType],
|
|
549
|
-
"MultiMeasureMappings": NotRequired[MultiMeasureMappingsTypeDef],
|
|
550
|
-
"MixedMeasureMappings": NotRequired[Sequence[MixedMeasureMappingTypeDef]],
|
|
551
|
-
"MeasureNameColumn": NotRequired[str],
|
|
552
|
-
},
|
|
553
|
-
)
|
|
554
|
-
SchemaUnionTypeDef = Union[SchemaTypeDef, SchemaOutputTypeDef]
|
|
555
|
-
CreateTableRequestRequestTypeDef = TypedDict(
|
|
556
|
-
"CreateTableRequestRequestTypeDef",
|
|
557
|
-
{
|
|
558
|
-
"DatabaseName": str,
|
|
559
|
-
"TableName": str,
|
|
560
|
-
"RetentionProperties": NotRequired[RetentionPropertiesTypeDef],
|
|
561
|
-
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
562
|
-
"MagneticStoreWriteProperties": NotRequired[MagneticStoreWritePropertiesTypeDef],
|
|
563
|
-
"Schema": NotRequired[SchemaTypeDef],
|
|
564
|
-
},
|
|
565
|
-
)
|
|
566
|
-
TableTypeDef = TypedDict(
|
|
567
|
-
"TableTypeDef",
|
|
568
|
-
{
|
|
569
|
-
"Arn": NotRequired[str],
|
|
570
|
-
"TableName": NotRequired[str],
|
|
571
|
-
"DatabaseName": NotRequired[str],
|
|
572
|
-
"TableStatus": NotRequired[TableStatusType],
|
|
573
|
-
"RetentionProperties": NotRequired[RetentionPropertiesTypeDef],
|
|
574
|
-
"CreationTime": NotRequired[datetime],
|
|
575
|
-
"LastUpdatedTime": NotRequired[datetime],
|
|
576
|
-
"MagneticStoreWriteProperties": NotRequired[MagneticStoreWritePropertiesTypeDef],
|
|
577
|
-
"Schema": NotRequired[SchemaOutputTypeDef],
|
|
578
|
-
},
|
|
579
|
-
)
|
|
580
|
-
UpdateTableRequestRequestTypeDef = TypedDict(
|
|
581
|
-
"UpdateTableRequestRequestTypeDef",
|
|
582
|
-
{
|
|
583
|
-
"DatabaseName": str,
|
|
584
|
-
"TableName": str,
|
|
585
|
-
"RetentionProperties": NotRequired[RetentionPropertiesTypeDef],
|
|
586
|
-
"MagneticStoreWriteProperties": NotRequired[MagneticStoreWritePropertiesTypeDef],
|
|
587
|
-
"Schema": NotRequired[SchemaTypeDef],
|
|
588
|
-
},
|
|
589
|
-
)
|
|
590
|
-
DataModelConfigurationOutputTypeDef = TypedDict(
|
|
591
|
-
"DataModelConfigurationOutputTypeDef",
|
|
592
|
-
{
|
|
593
|
-
"DataModel": NotRequired[DataModelOutputTypeDef],
|
|
594
|
-
"DataModelS3Configuration": NotRequired[DataModelS3ConfigurationTypeDef],
|
|
595
|
-
},
|
|
596
|
-
)
|
|
597
|
-
DataModelConfigurationTypeDef = TypedDict(
|
|
598
|
-
"DataModelConfigurationTypeDef",
|
|
599
|
-
{
|
|
600
|
-
"DataModel": NotRequired[DataModelTypeDef],
|
|
601
|
-
"DataModelS3Configuration": NotRequired[DataModelS3ConfigurationTypeDef],
|
|
602
|
-
},
|
|
603
|
-
)
|
|
604
|
-
CreateTableResponseTypeDef = TypedDict(
|
|
605
|
-
"CreateTableResponseTypeDef",
|
|
606
|
-
{
|
|
607
|
-
"Table": TableTypeDef,
|
|
608
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
609
|
-
},
|
|
610
|
-
)
|
|
611
|
-
DescribeTableResponseTypeDef = TypedDict(
|
|
612
|
-
"DescribeTableResponseTypeDef",
|
|
613
|
-
{
|
|
614
|
-
"Table": TableTypeDef,
|
|
615
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
616
|
-
},
|
|
617
|
-
)
|
|
618
|
-
ListTablesResponseTypeDef = TypedDict(
|
|
619
|
-
"ListTablesResponseTypeDef",
|
|
620
|
-
{
|
|
621
|
-
"Tables": List[TableTypeDef],
|
|
622
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
623
|
-
"NextToken": NotRequired[str],
|
|
624
|
-
},
|
|
625
|
-
)
|
|
626
|
-
UpdateTableResponseTypeDef = TypedDict(
|
|
627
|
-
"UpdateTableResponseTypeDef",
|
|
628
|
-
{
|
|
629
|
-
"Table": TableTypeDef,
|
|
630
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
631
|
-
},
|
|
632
|
-
)
|
|
633
|
-
BatchLoadTaskDescriptionTypeDef = TypedDict(
|
|
634
|
-
"BatchLoadTaskDescriptionTypeDef",
|
|
635
|
-
{
|
|
636
|
-
"TaskId": NotRequired[str],
|
|
637
|
-
"ErrorMessage": NotRequired[str],
|
|
638
|
-
"DataSourceConfiguration": NotRequired[DataSourceConfigurationTypeDef],
|
|
639
|
-
"ProgressReport": NotRequired[BatchLoadProgressReportTypeDef],
|
|
640
|
-
"ReportConfiguration": NotRequired[ReportConfigurationTypeDef],
|
|
641
|
-
"DataModelConfiguration": NotRequired[DataModelConfigurationOutputTypeDef],
|
|
642
|
-
"TargetDatabaseName": NotRequired[str],
|
|
643
|
-
"TargetTableName": NotRequired[str],
|
|
644
|
-
"TaskStatus": NotRequired[BatchLoadStatusType],
|
|
645
|
-
"RecordVersion": NotRequired[int],
|
|
646
|
-
"CreationTime": NotRequired[datetime],
|
|
647
|
-
"LastUpdatedTime": NotRequired[datetime],
|
|
648
|
-
"ResumableUntil": NotRequired[datetime],
|
|
649
|
-
},
|
|
650
|
-
)
|
|
651
|
-
CreateBatchLoadTaskRequestRequestTypeDef = TypedDict(
|
|
652
|
-
"CreateBatchLoadTaskRequestRequestTypeDef",
|
|
653
|
-
{
|
|
654
|
-
"DataSourceConfiguration": DataSourceConfigurationTypeDef,
|
|
655
|
-
"ReportConfiguration": ReportConfigurationTypeDef,
|
|
656
|
-
"TargetDatabaseName": str,
|
|
657
|
-
"TargetTableName": str,
|
|
658
|
-
"ClientToken": NotRequired[str],
|
|
659
|
-
"DataModelConfiguration": NotRequired[DataModelConfigurationTypeDef],
|
|
660
|
-
"RecordVersion": NotRequired[int],
|
|
661
|
-
},
|
|
662
|
-
)
|
|
663
|
-
DataModelConfigurationUnionTypeDef = Union[
|
|
664
|
-
DataModelConfigurationTypeDef, DataModelConfigurationOutputTypeDef
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
class RecordsIngestedTypeDef(TypedDict):
|
|
278
|
+
Total: NotRequired[int]
|
|
279
|
+
MemoryStore: NotRequired[int]
|
|
280
|
+
MagneticStore: NotRequired[int]
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
class ReportS3ConfigurationTypeDef(TypedDict):
|
|
284
|
+
BucketName: str
|
|
285
|
+
ObjectKeyPrefix: NotRequired[str]
|
|
286
|
+
EncryptionOption: NotRequired[S3EncryptionOptionType]
|
|
287
|
+
KmsKeyId: NotRequired[str]
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
class ResumeBatchLoadTaskRequestRequestTypeDef(TypedDict):
|
|
291
|
+
TaskId: str
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
class UntagResourceRequestRequestTypeDef(TypedDict):
|
|
295
|
+
ResourceARN: str
|
|
296
|
+
TagKeys: Sequence[str]
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
class UpdateDatabaseRequestRequestTypeDef(TypedDict):
|
|
300
|
+
DatabaseName: str
|
|
301
|
+
KmsKeyId: str
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
class CreateBatchLoadTaskResponseTypeDef(TypedDict):
|
|
305
|
+
TaskId: str
|
|
306
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
class EmptyResponseMetadataTypeDef(TypedDict):
|
|
310
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
class ListBatchLoadTasksResponseTypeDef(TypedDict):
|
|
314
|
+
BatchLoadTasks: List[BatchLoadTaskTypeDef]
|
|
315
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
316
|
+
NextToken: NotRequired[str]
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
class CreateDatabaseRequestRequestTypeDef(TypedDict):
|
|
320
|
+
DatabaseName: str
|
|
321
|
+
KmsKeyId: NotRequired[str]
|
|
322
|
+
Tags: NotRequired[Sequence[TagTypeDef]]
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
class ListTagsForResourceResponseTypeDef(TypedDict):
|
|
326
|
+
Tags: List[TagTypeDef]
|
|
327
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
class TagResourceRequestRequestTypeDef(TypedDict):
|
|
331
|
+
ResourceARN: str
|
|
332
|
+
Tags: Sequence[TagTypeDef]
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
class CreateDatabaseResponseTypeDef(TypedDict):
|
|
336
|
+
Database: DatabaseTypeDef
|
|
337
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
class DescribeDatabaseResponseTypeDef(TypedDict):
|
|
341
|
+
Database: DatabaseTypeDef
|
|
342
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
class ListDatabasesResponseTypeDef(TypedDict):
|
|
346
|
+
Databases: List[DatabaseTypeDef]
|
|
347
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
348
|
+
NextToken: NotRequired[str]
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
class UpdateDatabaseResponseTypeDef(TypedDict):
|
|
352
|
+
Database: DatabaseTypeDef
|
|
353
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
class DataSourceConfigurationTypeDef(TypedDict):
|
|
357
|
+
DataSourceS3Configuration: DataSourceS3ConfigurationTypeDef
|
|
358
|
+
DataFormat: Literal["CSV"]
|
|
359
|
+
CsvConfiguration: NotRequired[CsvConfigurationTypeDef]
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
class DescribeEndpointsResponseTypeDef(TypedDict):
|
|
363
|
+
Endpoints: List[EndpointTypeDef]
|
|
364
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
class MagneticStoreRejectedDataLocationTypeDef(TypedDict):
|
|
368
|
+
S3Configuration: NotRequired[S3ConfigurationTypeDef]
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
class RecordTypeDef(TypedDict):
|
|
372
|
+
Dimensions: NotRequired[Sequence[DimensionTypeDef]]
|
|
373
|
+
MeasureName: NotRequired[str]
|
|
374
|
+
MeasureValue: NotRequired[str]
|
|
375
|
+
MeasureValueType: NotRequired[MeasureValueTypeType]
|
|
376
|
+
Time: NotRequired[str]
|
|
377
|
+
TimeUnit: NotRequired[TimeUnitType]
|
|
378
|
+
Version: NotRequired[int]
|
|
379
|
+
MeasureValues: NotRequired[Sequence[MeasureValueTypeDef]]
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
class MixedMeasureMappingOutputTypeDef(TypedDict):
|
|
383
|
+
MeasureValueType: MeasureValueTypeType
|
|
384
|
+
MeasureName: NotRequired[str]
|
|
385
|
+
SourceColumn: NotRequired[str]
|
|
386
|
+
TargetMeasureName: NotRequired[str]
|
|
387
|
+
MultiMeasureAttributeMappings: NotRequired[List[MultiMeasureAttributeMappingTypeDef]]
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
class MixedMeasureMappingTypeDef(TypedDict):
|
|
391
|
+
MeasureValueType: MeasureValueTypeType
|
|
392
|
+
MeasureName: NotRequired[str]
|
|
393
|
+
SourceColumn: NotRequired[str]
|
|
394
|
+
TargetMeasureName: NotRequired[str]
|
|
395
|
+
MultiMeasureAttributeMappings: NotRequired[Sequence[MultiMeasureAttributeMappingTypeDef]]
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
class MultiMeasureMappingsOutputTypeDef(TypedDict):
|
|
399
|
+
MultiMeasureAttributeMappings: List[MultiMeasureAttributeMappingTypeDef]
|
|
400
|
+
TargetMultiMeasureName: NotRequired[str]
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
class MultiMeasureMappingsTypeDef(TypedDict):
|
|
404
|
+
MultiMeasureAttributeMappings: Sequence[MultiMeasureAttributeMappingTypeDef]
|
|
405
|
+
TargetMultiMeasureName: NotRequired[str]
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
class SchemaOutputTypeDef(TypedDict):
|
|
409
|
+
CompositePartitionKey: NotRequired[List[PartitionKeyTypeDef]]
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
class SchemaTypeDef(TypedDict):
|
|
413
|
+
CompositePartitionKey: NotRequired[Sequence[PartitionKeyTypeDef]]
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
class WriteRecordsResponseTypeDef(TypedDict):
|
|
417
|
+
RecordsIngested: RecordsIngestedTypeDef
|
|
418
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
class ReportConfigurationTypeDef(TypedDict):
|
|
422
|
+
ReportS3Configuration: NotRequired[ReportS3ConfigurationTypeDef]
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
class MagneticStoreWritePropertiesTypeDef(TypedDict):
|
|
426
|
+
EnableMagneticStoreWrites: bool
|
|
427
|
+
MagneticStoreRejectedDataLocation: NotRequired[MagneticStoreRejectedDataLocationTypeDef]
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
class WriteRecordsRequestRequestTypeDef(TypedDict):
|
|
431
|
+
DatabaseName: str
|
|
432
|
+
TableName: str
|
|
433
|
+
Records: Sequence[RecordTypeDef]
|
|
434
|
+
CommonAttributes: NotRequired[RecordTypeDef]
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
MixedMeasureMappingUnionTypeDef = Union[
|
|
438
|
+
MixedMeasureMappingTypeDef, MixedMeasureMappingOutputTypeDef
|
|
665
439
|
]
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
class DataModelOutputTypeDef(TypedDict):
|
|
443
|
+
DimensionMappings: List[DimensionMappingTypeDef]
|
|
444
|
+
TimeColumn: NotRequired[str]
|
|
445
|
+
TimeUnit: NotRequired[TimeUnitType]
|
|
446
|
+
MultiMeasureMappings: NotRequired[MultiMeasureMappingsOutputTypeDef]
|
|
447
|
+
MixedMeasureMappings: NotRequired[List[MixedMeasureMappingOutputTypeDef]]
|
|
448
|
+
MeasureNameColumn: NotRequired[str]
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
MultiMeasureMappingsUnionTypeDef = Union[
|
|
452
|
+
MultiMeasureMappingsTypeDef, MultiMeasureMappingsOutputTypeDef
|
|
453
|
+
]
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
class CreateTableRequestRequestTypeDef(TypedDict):
|
|
457
|
+
DatabaseName: str
|
|
458
|
+
TableName: str
|
|
459
|
+
RetentionProperties: NotRequired[RetentionPropertiesTypeDef]
|
|
460
|
+
Tags: NotRequired[Sequence[TagTypeDef]]
|
|
461
|
+
MagneticStoreWriteProperties: NotRequired[MagneticStoreWritePropertiesTypeDef]
|
|
462
|
+
Schema: NotRequired[SchemaTypeDef]
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
class TableTypeDef(TypedDict):
|
|
466
|
+
Arn: NotRequired[str]
|
|
467
|
+
TableName: NotRequired[str]
|
|
468
|
+
DatabaseName: NotRequired[str]
|
|
469
|
+
TableStatus: NotRequired[TableStatusType]
|
|
470
|
+
RetentionProperties: NotRequired[RetentionPropertiesTypeDef]
|
|
471
|
+
CreationTime: NotRequired[datetime]
|
|
472
|
+
LastUpdatedTime: NotRequired[datetime]
|
|
473
|
+
MagneticStoreWriteProperties: NotRequired[MagneticStoreWritePropertiesTypeDef]
|
|
474
|
+
Schema: NotRequired[SchemaOutputTypeDef]
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
class UpdateTableRequestRequestTypeDef(TypedDict):
|
|
478
|
+
DatabaseName: str
|
|
479
|
+
TableName: str
|
|
480
|
+
RetentionProperties: NotRequired[RetentionPropertiesTypeDef]
|
|
481
|
+
MagneticStoreWriteProperties: NotRequired[MagneticStoreWritePropertiesTypeDef]
|
|
482
|
+
Schema: NotRequired[SchemaTypeDef]
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
class DataModelConfigurationOutputTypeDef(TypedDict):
|
|
486
|
+
DataModel: NotRequired[DataModelOutputTypeDef]
|
|
487
|
+
DataModelS3Configuration: NotRequired[DataModelS3ConfigurationTypeDef]
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
class DataModelTypeDef(TypedDict):
|
|
491
|
+
DimensionMappings: Sequence[DimensionMappingTypeDef]
|
|
492
|
+
TimeColumn: NotRequired[str]
|
|
493
|
+
TimeUnit: NotRequired[TimeUnitType]
|
|
494
|
+
MultiMeasureMappings: NotRequired[MultiMeasureMappingsUnionTypeDef]
|
|
495
|
+
MixedMeasureMappings: NotRequired[Sequence[MixedMeasureMappingUnionTypeDef]]
|
|
496
|
+
MeasureNameColumn: NotRequired[str]
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
class CreateTableResponseTypeDef(TypedDict):
|
|
500
|
+
Table: TableTypeDef
|
|
501
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
class DescribeTableResponseTypeDef(TypedDict):
|
|
505
|
+
Table: TableTypeDef
|
|
506
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
class ListTablesResponseTypeDef(TypedDict):
|
|
510
|
+
Tables: List[TableTypeDef]
|
|
511
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
512
|
+
NextToken: NotRequired[str]
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
class UpdateTableResponseTypeDef(TypedDict):
|
|
516
|
+
Table: TableTypeDef
|
|
517
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
class BatchLoadTaskDescriptionTypeDef(TypedDict):
|
|
521
|
+
TaskId: NotRequired[str]
|
|
522
|
+
ErrorMessage: NotRequired[str]
|
|
523
|
+
DataSourceConfiguration: NotRequired[DataSourceConfigurationTypeDef]
|
|
524
|
+
ProgressReport: NotRequired[BatchLoadProgressReportTypeDef]
|
|
525
|
+
ReportConfiguration: NotRequired[ReportConfigurationTypeDef]
|
|
526
|
+
DataModelConfiguration: NotRequired[DataModelConfigurationOutputTypeDef]
|
|
527
|
+
TargetDatabaseName: NotRequired[str]
|
|
528
|
+
TargetTableName: NotRequired[str]
|
|
529
|
+
TaskStatus: NotRequired[BatchLoadStatusType]
|
|
530
|
+
RecordVersion: NotRequired[int]
|
|
531
|
+
CreationTime: NotRequired[datetime]
|
|
532
|
+
LastUpdatedTime: NotRequired[datetime]
|
|
533
|
+
ResumableUntil: NotRequired[datetime]
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
DataModelUnionTypeDef = Union[DataModelTypeDef, DataModelOutputTypeDef]
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
class DescribeBatchLoadTaskResponseTypeDef(TypedDict):
|
|
540
|
+
BatchLoadTaskDescription: BatchLoadTaskDescriptionTypeDef
|
|
541
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
class DataModelConfigurationTypeDef(TypedDict):
|
|
545
|
+
DataModel: NotRequired[DataModelUnionTypeDef]
|
|
546
|
+
DataModelS3Configuration: NotRequired[DataModelS3ConfigurationTypeDef]
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
class CreateBatchLoadTaskRequestRequestTypeDef(TypedDict):
|
|
550
|
+
DataSourceConfiguration: DataSourceConfigurationTypeDef
|
|
551
|
+
ReportConfiguration: ReportConfigurationTypeDef
|
|
552
|
+
TargetDatabaseName: str
|
|
553
|
+
TargetTableName: str
|
|
554
|
+
ClientToken: NotRequired[str]
|
|
555
|
+
DataModelConfiguration: NotRequired[DataModelConfigurationTypeDef]
|
|
556
|
+
RecordVersion: NotRequired[int]
|