mypy-boto3-timestream-write 1.28.16__py3-none-any.whl → 1.28.36__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/__main__.py +3 -3
- mypy_boto3_timestream_write/client.py +5 -5
- mypy_boto3_timestream_write/client.pyi +5 -5
- mypy_boto3_timestream_write/literals.py +1 -1
- mypy_boto3_timestream_write/literals.pyi +1 -1
- mypy_boto3_timestream_write/type_defs.py +149 -449
- mypy_boto3_timestream_write/type_defs.pyi +149 -413
- mypy_boto3_timestream_write/version.py +1 -1
- {mypy_boto3_timestream_write-1.28.16.dist-info → mypy_boto3_timestream_write-1.28.36.dist-info}/METADATA +13 -93
- mypy_boto3_timestream_write-1.28.36.dist-info/RECORD +16 -0
- {mypy_boto3_timestream_write-1.28.16.dist-info → mypy_boto3_timestream_write-1.28.36.dist-info}/WHEEL +1 -1
- mypy_boto3_timestream_write-1.28.16.dist-info/RECORD +0 -16
- {mypy_boto3_timestream_write-1.28.16.dist-info → mypy_boto3_timestream_write-1.28.36.dist-info}/LICENSE +0 -0
- {mypy_boto3_timestream_write-1.28.16.dist-info → mypy_boto3_timestream_write-1.28.36.dist-info}/top_level.txt +0 -0
|
@@ -13,7 +13,7 @@ Usage::
|
|
|
13
13
|
"""
|
|
14
14
|
import sys
|
|
15
15
|
from datetime import datetime
|
|
16
|
-
from typing import Dict, List, Sequence
|
|
16
|
+
from typing import Dict, List, Sequence
|
|
17
17
|
|
|
18
18
|
from .literals import (
|
|
19
19
|
BatchLoadStatusType,
|
|
@@ -26,11 +26,15 @@ from .literals import (
|
|
|
26
26
|
TimeUnitType,
|
|
27
27
|
)
|
|
28
28
|
|
|
29
|
-
if sys.version_info >= (3,
|
|
29
|
+
if sys.version_info >= (3, 12):
|
|
30
30
|
from typing import Literal
|
|
31
31
|
else:
|
|
32
32
|
from typing_extensions import Literal
|
|
33
|
-
if sys.version_info >= (3,
|
|
33
|
+
if sys.version_info >= (3, 12):
|
|
34
|
+
from typing import NotRequired
|
|
35
|
+
else:
|
|
36
|
+
from typing_extensions import NotRequired
|
|
37
|
+
if sys.version_info >= (3, 12):
|
|
34
38
|
from typing import TypedDict
|
|
35
39
|
else:
|
|
36
40
|
from typing_extensions import TypedDict
|
|
@@ -81,23 +85,17 @@ __all__ = (
|
|
|
81
85
|
"DescribeEndpointsResponseTypeDef",
|
|
82
86
|
"MagneticStoreRejectedDataLocationTypeDef",
|
|
83
87
|
"RecordTypeDef",
|
|
84
|
-
"MixedMeasureMappingOutputTypeDef",
|
|
85
88
|
"MixedMeasureMappingTypeDef",
|
|
86
|
-
"MultiMeasureMappingsOutputTypeDef",
|
|
87
89
|
"MultiMeasureMappingsTypeDef",
|
|
88
|
-
"SchemaOutputTypeDef",
|
|
89
90
|
"SchemaTypeDef",
|
|
90
91
|
"WriteRecordsResponseTypeDef",
|
|
91
92
|
"ReportConfigurationTypeDef",
|
|
92
93
|
"MagneticStoreWritePropertiesTypeDef",
|
|
93
94
|
"WriteRecordsRequestRequestTypeDef",
|
|
94
|
-
"DataModelOutputTypeDef",
|
|
95
95
|
"DataModelTypeDef",
|
|
96
|
-
"SchemaUnionTypeDef",
|
|
97
96
|
"CreateTableRequestRequestTypeDef",
|
|
98
97
|
"TableTypeDef",
|
|
99
98
|
"UpdateTableRequestRequestTypeDef",
|
|
100
|
-
"DataModelConfigurationOutputTypeDef",
|
|
101
99
|
"DataModelConfigurationTypeDef",
|
|
102
100
|
"CreateTableResponseTypeDef",
|
|
103
101
|
"DescribeTableResponseTypeDef",
|
|
@@ -105,35 +103,32 @@ __all__ = (
|
|
|
105
103
|
"UpdateTableResponseTypeDef",
|
|
106
104
|
"BatchLoadTaskDescriptionTypeDef",
|
|
107
105
|
"CreateBatchLoadTaskRequestRequestTypeDef",
|
|
108
|
-
"DataModelConfigurationUnionTypeDef",
|
|
109
106
|
"DescribeBatchLoadTaskResponseTypeDef",
|
|
110
107
|
)
|
|
111
108
|
|
|
112
109
|
BatchLoadProgressReportTypeDef = TypedDict(
|
|
113
110
|
"BatchLoadProgressReportTypeDef",
|
|
114
111
|
{
|
|
115
|
-
"RecordsProcessed": int,
|
|
116
|
-
"RecordsIngested": int,
|
|
117
|
-
"ParseFailures": int,
|
|
118
|
-
"RecordIngestionFailures": int,
|
|
119
|
-
"FileFailures": int,
|
|
120
|
-
"BytesMetered": int,
|
|
112
|
+
"RecordsProcessed": NotRequired[int],
|
|
113
|
+
"RecordsIngested": NotRequired[int],
|
|
114
|
+
"ParseFailures": NotRequired[int],
|
|
115
|
+
"RecordIngestionFailures": NotRequired[int],
|
|
116
|
+
"FileFailures": NotRequired[int],
|
|
117
|
+
"BytesMetered": NotRequired[int],
|
|
121
118
|
},
|
|
122
|
-
total=False,
|
|
123
119
|
)
|
|
124
120
|
|
|
125
121
|
BatchLoadTaskTypeDef = TypedDict(
|
|
126
122
|
"BatchLoadTaskTypeDef",
|
|
127
123
|
{
|
|
128
|
-
"TaskId": str,
|
|
129
|
-
"TaskStatus": BatchLoadStatusType,
|
|
130
|
-
"DatabaseName": str,
|
|
131
|
-
"TableName": str,
|
|
132
|
-
"CreationTime": datetime,
|
|
133
|
-
"LastUpdatedTime": datetime,
|
|
134
|
-
"ResumableUntil": datetime,
|
|
124
|
+
"TaskId": NotRequired[str],
|
|
125
|
+
"TaskStatus": NotRequired[BatchLoadStatusType],
|
|
126
|
+
"DatabaseName": NotRequired[str],
|
|
127
|
+
"TableName": NotRequired[str],
|
|
128
|
+
"CreationTime": NotRequired[datetime],
|
|
129
|
+
"LastUpdatedTime": NotRequired[datetime],
|
|
130
|
+
"ResumableUntil": NotRequired[datetime],
|
|
135
131
|
},
|
|
136
|
-
total=False,
|
|
137
132
|
)
|
|
138
133
|
|
|
139
134
|
ResponseMetadataTypeDef = TypedDict(
|
|
@@ -158,14 +153,13 @@ TagTypeDef = TypedDict(
|
|
|
158
153
|
DatabaseTypeDef = TypedDict(
|
|
159
154
|
"DatabaseTypeDef",
|
|
160
155
|
{
|
|
161
|
-
"Arn": str,
|
|
162
|
-
"DatabaseName": str,
|
|
163
|
-
"TableCount": int,
|
|
164
|
-
"KmsKeyId": str,
|
|
165
|
-
"CreationTime": datetime,
|
|
166
|
-
"LastUpdatedTime": datetime,
|
|
156
|
+
"Arn": NotRequired[str],
|
|
157
|
+
"DatabaseName": NotRequired[str],
|
|
158
|
+
"TableCount": NotRequired[int],
|
|
159
|
+
"KmsKeyId": NotRequired[str],
|
|
160
|
+
"CreationTime": NotRequired[datetime],
|
|
161
|
+
"LastUpdatedTime": NotRequired[datetime],
|
|
167
162
|
},
|
|
168
|
-
total=False,
|
|
169
163
|
)
|
|
170
164
|
|
|
171
165
|
RetentionPropertiesTypeDef = TypedDict(
|
|
@@ -179,53 +173,37 @@ RetentionPropertiesTypeDef = TypedDict(
|
|
|
179
173
|
CsvConfigurationTypeDef = TypedDict(
|
|
180
174
|
"CsvConfigurationTypeDef",
|
|
181
175
|
{
|
|
182
|
-
"ColumnSeparator": str,
|
|
183
|
-
"EscapeChar": str,
|
|
184
|
-
"QuoteChar": str,
|
|
185
|
-
"NullValue": str,
|
|
186
|
-
"TrimWhiteSpace": bool,
|
|
176
|
+
"ColumnSeparator": NotRequired[str],
|
|
177
|
+
"EscapeChar": NotRequired[str],
|
|
178
|
+
"QuoteChar": NotRequired[str],
|
|
179
|
+
"NullValue": NotRequired[str],
|
|
180
|
+
"TrimWhiteSpace": NotRequired[bool],
|
|
187
181
|
},
|
|
188
|
-
total=False,
|
|
189
182
|
)
|
|
190
183
|
|
|
191
184
|
DataModelS3ConfigurationTypeDef = TypedDict(
|
|
192
185
|
"DataModelS3ConfigurationTypeDef",
|
|
193
186
|
{
|
|
194
|
-
"BucketName": str,
|
|
195
|
-
"ObjectKey": str,
|
|
187
|
+
"BucketName": NotRequired[str],
|
|
188
|
+
"ObjectKey": NotRequired[str],
|
|
196
189
|
},
|
|
197
|
-
total=False,
|
|
198
190
|
)
|
|
199
191
|
|
|
200
192
|
DimensionMappingTypeDef = TypedDict(
|
|
201
193
|
"DimensionMappingTypeDef",
|
|
202
194
|
{
|
|
203
|
-
"SourceColumn": str,
|
|
204
|
-
"DestinationColumn": str,
|
|
195
|
+
"SourceColumn": NotRequired[str],
|
|
196
|
+
"DestinationColumn": NotRequired[str],
|
|
205
197
|
},
|
|
206
|
-
total=False,
|
|
207
198
|
)
|
|
208
199
|
|
|
209
|
-
|
|
210
|
-
"
|
|
200
|
+
DataSourceS3ConfigurationTypeDef = TypedDict(
|
|
201
|
+
"DataSourceS3ConfigurationTypeDef",
|
|
211
202
|
{
|
|
212
203
|
"BucketName": str,
|
|
204
|
+
"ObjectKeyPrefix": NotRequired[str],
|
|
213
205
|
},
|
|
214
206
|
)
|
|
215
|
-
_OptionalDataSourceS3ConfigurationTypeDef = TypedDict(
|
|
216
|
-
"_OptionalDataSourceS3ConfigurationTypeDef",
|
|
217
|
-
{
|
|
218
|
-
"ObjectKeyPrefix": str,
|
|
219
|
-
},
|
|
220
|
-
total=False,
|
|
221
|
-
)
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
class DataSourceS3ConfigurationTypeDef(
|
|
225
|
-
_RequiredDataSourceS3ConfigurationTypeDef, _OptionalDataSourceS3ConfigurationTypeDef
|
|
226
|
-
):
|
|
227
|
-
pass
|
|
228
|
-
|
|
229
207
|
|
|
230
208
|
DeleteDatabaseRequestRequestTypeDef = TypedDict(
|
|
231
209
|
"DeleteDatabaseRequestRequestTypeDef",
|
|
@@ -272,53 +250,39 @@ DescribeTableRequestRequestTypeDef = TypedDict(
|
|
|
272
250
|
},
|
|
273
251
|
)
|
|
274
252
|
|
|
275
|
-
|
|
276
|
-
"
|
|
253
|
+
DimensionTypeDef = TypedDict(
|
|
254
|
+
"DimensionTypeDef",
|
|
277
255
|
{
|
|
278
256
|
"Name": str,
|
|
279
257
|
"Value": str,
|
|
258
|
+
"DimensionValueType": NotRequired[Literal["VARCHAR"]],
|
|
280
259
|
},
|
|
281
260
|
)
|
|
282
|
-
_OptionalDimensionTypeDef = TypedDict(
|
|
283
|
-
"_OptionalDimensionTypeDef",
|
|
284
|
-
{
|
|
285
|
-
"DimensionValueType": Literal["VARCHAR"],
|
|
286
|
-
},
|
|
287
|
-
total=False,
|
|
288
|
-
)
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
class DimensionTypeDef(_RequiredDimensionTypeDef, _OptionalDimensionTypeDef):
|
|
292
|
-
pass
|
|
293
|
-
|
|
294
261
|
|
|
295
262
|
ListBatchLoadTasksRequestRequestTypeDef = TypedDict(
|
|
296
263
|
"ListBatchLoadTasksRequestRequestTypeDef",
|
|
297
264
|
{
|
|
298
|
-
"NextToken": str,
|
|
299
|
-
"MaxResults": int,
|
|
300
|
-
"TaskStatus": BatchLoadStatusType,
|
|
265
|
+
"NextToken": NotRequired[str],
|
|
266
|
+
"MaxResults": NotRequired[int],
|
|
267
|
+
"TaskStatus": NotRequired[BatchLoadStatusType],
|
|
301
268
|
},
|
|
302
|
-
total=False,
|
|
303
269
|
)
|
|
304
270
|
|
|
305
271
|
ListDatabasesRequestRequestTypeDef = TypedDict(
|
|
306
272
|
"ListDatabasesRequestRequestTypeDef",
|
|
307
273
|
{
|
|
308
|
-
"NextToken": str,
|
|
309
|
-
"MaxResults": int,
|
|
274
|
+
"NextToken": NotRequired[str],
|
|
275
|
+
"MaxResults": NotRequired[int],
|
|
310
276
|
},
|
|
311
|
-
total=False,
|
|
312
277
|
)
|
|
313
278
|
|
|
314
279
|
ListTablesRequestRequestTypeDef = TypedDict(
|
|
315
280
|
"ListTablesRequestRequestTypeDef",
|
|
316
281
|
{
|
|
317
|
-
"DatabaseName": str,
|
|
318
|
-
"NextToken": str,
|
|
319
|
-
"MaxResults": int,
|
|
282
|
+
"DatabaseName": NotRequired[str],
|
|
283
|
+
"NextToken": NotRequired[str],
|
|
284
|
+
"MaxResults": NotRequired[int],
|
|
320
285
|
},
|
|
321
|
-
total=False,
|
|
322
286
|
)
|
|
323
287
|
|
|
324
288
|
ListTagsForResourceRequestRequestTypeDef = TypedDict(
|
|
@@ -331,12 +295,11 @@ ListTagsForResourceRequestRequestTypeDef = TypedDict(
|
|
|
331
295
|
S3ConfigurationTypeDef = TypedDict(
|
|
332
296
|
"S3ConfigurationTypeDef",
|
|
333
297
|
{
|
|
334
|
-
"BucketName": str,
|
|
335
|
-
"ObjectKeyPrefix": str,
|
|
336
|
-
"EncryptionOption": S3EncryptionOptionType,
|
|
337
|
-
"KmsKeyId": str,
|
|
298
|
+
"BucketName": NotRequired[str],
|
|
299
|
+
"ObjectKeyPrefix": NotRequired[str],
|
|
300
|
+
"EncryptionOption": NotRequired[S3EncryptionOptionType],
|
|
301
|
+
"KmsKeyId": NotRequired[str],
|
|
338
302
|
},
|
|
339
|
-
total=False,
|
|
340
303
|
)
|
|
341
304
|
|
|
342
305
|
MeasureValueTypeDef = TypedDict(
|
|
@@ -348,80 +311,42 @@ MeasureValueTypeDef = TypedDict(
|
|
|
348
311
|
},
|
|
349
312
|
)
|
|
350
313
|
|
|
351
|
-
|
|
352
|
-
"
|
|
314
|
+
MultiMeasureAttributeMappingTypeDef = TypedDict(
|
|
315
|
+
"MultiMeasureAttributeMappingTypeDef",
|
|
353
316
|
{
|
|
354
317
|
"SourceColumn": str,
|
|
318
|
+
"TargetMultiMeasureAttributeName": NotRequired[str],
|
|
319
|
+
"MeasureValueType": NotRequired[ScalarMeasureValueTypeType],
|
|
355
320
|
},
|
|
356
321
|
)
|
|
357
|
-
_OptionalMultiMeasureAttributeMappingTypeDef = TypedDict(
|
|
358
|
-
"_OptionalMultiMeasureAttributeMappingTypeDef",
|
|
359
|
-
{
|
|
360
|
-
"TargetMultiMeasureAttributeName": str,
|
|
361
|
-
"MeasureValueType": ScalarMeasureValueTypeType,
|
|
362
|
-
},
|
|
363
|
-
total=False,
|
|
364
|
-
)
|
|
365
|
-
|
|
366
322
|
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
):
|
|
370
|
-
pass
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
_RequiredPartitionKeyTypeDef = TypedDict(
|
|
374
|
-
"_RequiredPartitionKeyTypeDef",
|
|
323
|
+
PartitionKeyTypeDef = TypedDict(
|
|
324
|
+
"PartitionKeyTypeDef",
|
|
375
325
|
{
|
|
376
326
|
"Type": PartitionKeyTypeType,
|
|
327
|
+
"Name": NotRequired[str],
|
|
328
|
+
"EnforcementInRecord": NotRequired[PartitionKeyEnforcementLevelType],
|
|
377
329
|
},
|
|
378
330
|
)
|
|
379
|
-
_OptionalPartitionKeyTypeDef = TypedDict(
|
|
380
|
-
"_OptionalPartitionKeyTypeDef",
|
|
381
|
-
{
|
|
382
|
-
"Name": str,
|
|
383
|
-
"EnforcementInRecord": PartitionKeyEnforcementLevelType,
|
|
384
|
-
},
|
|
385
|
-
total=False,
|
|
386
|
-
)
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
class PartitionKeyTypeDef(_RequiredPartitionKeyTypeDef, _OptionalPartitionKeyTypeDef):
|
|
390
|
-
pass
|
|
391
|
-
|
|
392
331
|
|
|
393
332
|
RecordsIngestedTypeDef = TypedDict(
|
|
394
333
|
"RecordsIngestedTypeDef",
|
|
395
334
|
{
|
|
396
|
-
"Total": int,
|
|
397
|
-
"MemoryStore": int,
|
|
398
|
-
"MagneticStore": int,
|
|
335
|
+
"Total": NotRequired[int],
|
|
336
|
+
"MemoryStore": NotRequired[int],
|
|
337
|
+
"MagneticStore": NotRequired[int],
|
|
399
338
|
},
|
|
400
|
-
total=False,
|
|
401
339
|
)
|
|
402
340
|
|
|
403
|
-
|
|
404
|
-
"
|
|
341
|
+
ReportS3ConfigurationTypeDef = TypedDict(
|
|
342
|
+
"ReportS3ConfigurationTypeDef",
|
|
405
343
|
{
|
|
406
344
|
"BucketName": str,
|
|
345
|
+
"ObjectKeyPrefix": NotRequired[str],
|
|
346
|
+
"EncryptionOption": NotRequired[S3EncryptionOptionType],
|
|
347
|
+
"KmsKeyId": NotRequired[str],
|
|
407
348
|
},
|
|
408
349
|
)
|
|
409
|
-
_OptionalReportS3ConfigurationTypeDef = TypedDict(
|
|
410
|
-
"_OptionalReportS3ConfigurationTypeDef",
|
|
411
|
-
{
|
|
412
|
-
"ObjectKeyPrefix": str,
|
|
413
|
-
"EncryptionOption": S3EncryptionOptionType,
|
|
414
|
-
"KmsKeyId": str,
|
|
415
|
-
},
|
|
416
|
-
total=False,
|
|
417
|
-
)
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
class ReportS3ConfigurationTypeDef(
|
|
421
|
-
_RequiredReportS3ConfigurationTypeDef, _OptionalReportS3ConfigurationTypeDef
|
|
422
|
-
):
|
|
423
|
-
pass
|
|
424
|
-
|
|
425
350
|
|
|
426
351
|
ResumeBatchLoadTaskRequestRequestTypeDef = TypedDict(
|
|
427
352
|
"ResumeBatchLoadTaskRequestRequestTypeDef",
|
|
@@ -470,27 +395,14 @@ ListBatchLoadTasksResponseTypeDef = TypedDict(
|
|
|
470
395
|
},
|
|
471
396
|
)
|
|
472
397
|
|
|
473
|
-
|
|
474
|
-
"
|
|
398
|
+
CreateDatabaseRequestRequestTypeDef = TypedDict(
|
|
399
|
+
"CreateDatabaseRequestRequestTypeDef",
|
|
475
400
|
{
|
|
476
401
|
"DatabaseName": str,
|
|
402
|
+
"KmsKeyId": NotRequired[str],
|
|
403
|
+
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
477
404
|
},
|
|
478
405
|
)
|
|
479
|
-
_OptionalCreateDatabaseRequestRequestTypeDef = TypedDict(
|
|
480
|
-
"_OptionalCreateDatabaseRequestRequestTypeDef",
|
|
481
|
-
{
|
|
482
|
-
"KmsKeyId": str,
|
|
483
|
-
"Tags": Sequence[TagTypeDef],
|
|
484
|
-
},
|
|
485
|
-
total=False,
|
|
486
|
-
)
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
class CreateDatabaseRequestRequestTypeDef(
|
|
490
|
-
_RequiredCreateDatabaseRequestRequestTypeDef, _OptionalCreateDatabaseRequestRequestTypeDef
|
|
491
|
-
):
|
|
492
|
-
pass
|
|
493
|
-
|
|
494
406
|
|
|
495
407
|
ListTagsForResourceResponseTypeDef = TypedDict(
|
|
496
408
|
"ListTagsForResourceResponseTypeDef",
|
|
@@ -541,27 +453,14 @@ UpdateDatabaseResponseTypeDef = TypedDict(
|
|
|
541
453
|
},
|
|
542
454
|
)
|
|
543
455
|
|
|
544
|
-
|
|
545
|
-
"
|
|
456
|
+
DataSourceConfigurationTypeDef = TypedDict(
|
|
457
|
+
"DataSourceConfigurationTypeDef",
|
|
546
458
|
{
|
|
547
459
|
"DataSourceS3Configuration": DataSourceS3ConfigurationTypeDef,
|
|
548
460
|
"DataFormat": Literal["CSV"],
|
|
461
|
+
"CsvConfiguration": NotRequired[CsvConfigurationTypeDef],
|
|
549
462
|
},
|
|
550
463
|
)
|
|
551
|
-
_OptionalDataSourceConfigurationTypeDef = TypedDict(
|
|
552
|
-
"_OptionalDataSourceConfigurationTypeDef",
|
|
553
|
-
{
|
|
554
|
-
"CsvConfiguration": CsvConfigurationTypeDef,
|
|
555
|
-
},
|
|
556
|
-
total=False,
|
|
557
|
-
)
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
class DataSourceConfigurationTypeDef(
|
|
561
|
-
_RequiredDataSourceConfigurationTypeDef, _OptionalDataSourceConfigurationTypeDef
|
|
562
|
-
):
|
|
563
|
-
pass
|
|
564
|
-
|
|
565
464
|
|
|
566
465
|
DescribeEndpointsResponseTypeDef = TypedDict(
|
|
567
466
|
"DescribeEndpointsResponseTypeDef",
|
|
@@ -574,130 +473,48 @@ DescribeEndpointsResponseTypeDef = TypedDict(
|
|
|
574
473
|
MagneticStoreRejectedDataLocationTypeDef = TypedDict(
|
|
575
474
|
"MagneticStoreRejectedDataLocationTypeDef",
|
|
576
475
|
{
|
|
577
|
-
"S3Configuration": S3ConfigurationTypeDef,
|
|
476
|
+
"S3Configuration": NotRequired[S3ConfigurationTypeDef],
|
|
578
477
|
},
|
|
579
|
-
total=False,
|
|
580
478
|
)
|
|
581
479
|
|
|
582
480
|
RecordTypeDef = TypedDict(
|
|
583
481
|
"RecordTypeDef",
|
|
584
482
|
{
|
|
585
|
-
"Dimensions": Sequence[DimensionTypeDef],
|
|
586
|
-
"MeasureName": str,
|
|
587
|
-
"MeasureValue": str,
|
|
588
|
-
"MeasureValueType": MeasureValueTypeType,
|
|
589
|
-
"Time": str,
|
|
590
|
-
"TimeUnit": TimeUnitType,
|
|
591
|
-
"Version": int,
|
|
592
|
-
"MeasureValues": Sequence[MeasureValueTypeDef],
|
|
593
|
-
},
|
|
594
|
-
total=False,
|
|
595
|
-
)
|
|
596
|
-
|
|
597
|
-
_RequiredMixedMeasureMappingOutputTypeDef = TypedDict(
|
|
598
|
-
"_RequiredMixedMeasureMappingOutputTypeDef",
|
|
599
|
-
{
|
|
600
|
-
"MeasureValueType": MeasureValueTypeType,
|
|
601
|
-
},
|
|
602
|
-
)
|
|
603
|
-
_OptionalMixedMeasureMappingOutputTypeDef = TypedDict(
|
|
604
|
-
"_OptionalMixedMeasureMappingOutputTypeDef",
|
|
605
|
-
{
|
|
606
|
-
"MeasureName": str,
|
|
607
|
-
"SourceColumn": str,
|
|
608
|
-
"TargetMeasureName": str,
|
|
609
|
-
"MultiMeasureAttributeMappings": List[MultiMeasureAttributeMappingTypeDef],
|
|
483
|
+
"Dimensions": NotRequired[Sequence[DimensionTypeDef]],
|
|
484
|
+
"MeasureName": NotRequired[str],
|
|
485
|
+
"MeasureValue": NotRequired[str],
|
|
486
|
+
"MeasureValueType": NotRequired[MeasureValueTypeType],
|
|
487
|
+
"Time": NotRequired[str],
|
|
488
|
+
"TimeUnit": NotRequired[TimeUnitType],
|
|
489
|
+
"Version": NotRequired[int],
|
|
490
|
+
"MeasureValues": NotRequired[Sequence[MeasureValueTypeDef]],
|
|
610
491
|
},
|
|
611
|
-
total=False,
|
|
612
492
|
)
|
|
613
493
|
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
_RequiredMixedMeasureMappingOutputTypeDef, _OptionalMixedMeasureMappingOutputTypeDef
|
|
617
|
-
):
|
|
618
|
-
pass
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
_RequiredMixedMeasureMappingTypeDef = TypedDict(
|
|
622
|
-
"_RequiredMixedMeasureMappingTypeDef",
|
|
494
|
+
MixedMeasureMappingTypeDef = TypedDict(
|
|
495
|
+
"MixedMeasureMappingTypeDef",
|
|
623
496
|
{
|
|
624
497
|
"MeasureValueType": MeasureValueTypeType,
|
|
498
|
+
"MeasureName": NotRequired[str],
|
|
499
|
+
"SourceColumn": NotRequired[str],
|
|
500
|
+
"TargetMeasureName": NotRequired[str],
|
|
501
|
+
"MultiMeasureAttributeMappings": NotRequired[Sequence[MultiMeasureAttributeMappingTypeDef]],
|
|
625
502
|
},
|
|
626
503
|
)
|
|
627
|
-
_OptionalMixedMeasureMappingTypeDef = TypedDict(
|
|
628
|
-
"_OptionalMixedMeasureMappingTypeDef",
|
|
629
|
-
{
|
|
630
|
-
"MeasureName": str,
|
|
631
|
-
"SourceColumn": str,
|
|
632
|
-
"TargetMeasureName": str,
|
|
633
|
-
"MultiMeasureAttributeMappings": Sequence[MultiMeasureAttributeMappingTypeDef],
|
|
634
|
-
},
|
|
635
|
-
total=False,
|
|
636
|
-
)
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
class MixedMeasureMappingTypeDef(
|
|
640
|
-
_RequiredMixedMeasureMappingTypeDef, _OptionalMixedMeasureMappingTypeDef
|
|
641
|
-
):
|
|
642
|
-
pass
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
_RequiredMultiMeasureMappingsOutputTypeDef = TypedDict(
|
|
646
|
-
"_RequiredMultiMeasureMappingsOutputTypeDef",
|
|
647
|
-
{
|
|
648
|
-
"MultiMeasureAttributeMappings": List[MultiMeasureAttributeMappingTypeDef],
|
|
649
|
-
},
|
|
650
|
-
)
|
|
651
|
-
_OptionalMultiMeasureMappingsOutputTypeDef = TypedDict(
|
|
652
|
-
"_OptionalMultiMeasureMappingsOutputTypeDef",
|
|
653
|
-
{
|
|
654
|
-
"TargetMultiMeasureName": str,
|
|
655
|
-
},
|
|
656
|
-
total=False,
|
|
657
|
-
)
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
class MultiMeasureMappingsOutputTypeDef(
|
|
661
|
-
_RequiredMultiMeasureMappingsOutputTypeDef, _OptionalMultiMeasureMappingsOutputTypeDef
|
|
662
|
-
):
|
|
663
|
-
pass
|
|
664
504
|
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
"_RequiredMultiMeasureMappingsTypeDef",
|
|
505
|
+
MultiMeasureMappingsTypeDef = TypedDict(
|
|
506
|
+
"MultiMeasureMappingsTypeDef",
|
|
668
507
|
{
|
|
669
508
|
"MultiMeasureAttributeMappings": Sequence[MultiMeasureAttributeMappingTypeDef],
|
|
509
|
+
"TargetMultiMeasureName": NotRequired[str],
|
|
670
510
|
},
|
|
671
511
|
)
|
|
672
|
-
_OptionalMultiMeasureMappingsTypeDef = TypedDict(
|
|
673
|
-
"_OptionalMultiMeasureMappingsTypeDef",
|
|
674
|
-
{
|
|
675
|
-
"TargetMultiMeasureName": str,
|
|
676
|
-
},
|
|
677
|
-
total=False,
|
|
678
|
-
)
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
class MultiMeasureMappingsTypeDef(
|
|
682
|
-
_RequiredMultiMeasureMappingsTypeDef, _OptionalMultiMeasureMappingsTypeDef
|
|
683
|
-
):
|
|
684
|
-
pass
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
SchemaOutputTypeDef = TypedDict(
|
|
688
|
-
"SchemaOutputTypeDef",
|
|
689
|
-
{
|
|
690
|
-
"CompositePartitionKey": List[PartitionKeyTypeDef],
|
|
691
|
-
},
|
|
692
|
-
total=False,
|
|
693
|
-
)
|
|
694
512
|
|
|
695
513
|
SchemaTypeDef = TypedDict(
|
|
696
514
|
"SchemaTypeDef",
|
|
697
515
|
{
|
|
698
|
-
"CompositePartitionKey": Sequence[PartitionKeyTypeDef],
|
|
516
|
+
"CompositePartitionKey": NotRequired[Sequence[PartitionKeyTypeDef]],
|
|
699
517
|
},
|
|
700
|
-
total=False,
|
|
701
518
|
)
|
|
702
519
|
|
|
703
520
|
WriteRecordsResponseTypeDef = TypedDict(
|
|
@@ -711,183 +528,84 @@ WriteRecordsResponseTypeDef = TypedDict(
|
|
|
711
528
|
ReportConfigurationTypeDef = TypedDict(
|
|
712
529
|
"ReportConfigurationTypeDef",
|
|
713
530
|
{
|
|
714
|
-
"ReportS3Configuration": ReportS3ConfigurationTypeDef,
|
|
531
|
+
"ReportS3Configuration": NotRequired[ReportS3ConfigurationTypeDef],
|
|
715
532
|
},
|
|
716
|
-
total=False,
|
|
717
533
|
)
|
|
718
534
|
|
|
719
|
-
|
|
720
|
-
"
|
|
535
|
+
MagneticStoreWritePropertiesTypeDef = TypedDict(
|
|
536
|
+
"MagneticStoreWritePropertiesTypeDef",
|
|
721
537
|
{
|
|
722
538
|
"EnableMagneticStoreWrites": bool,
|
|
539
|
+
"MagneticStoreRejectedDataLocation": NotRequired[MagneticStoreRejectedDataLocationTypeDef],
|
|
723
540
|
},
|
|
724
541
|
)
|
|
725
|
-
_OptionalMagneticStoreWritePropertiesTypeDef = TypedDict(
|
|
726
|
-
"_OptionalMagneticStoreWritePropertiesTypeDef",
|
|
727
|
-
{
|
|
728
|
-
"MagneticStoreRejectedDataLocation": MagneticStoreRejectedDataLocationTypeDef,
|
|
729
|
-
},
|
|
730
|
-
total=False,
|
|
731
|
-
)
|
|
732
|
-
|
|
733
542
|
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
):
|
|
737
|
-
pass
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
_RequiredWriteRecordsRequestRequestTypeDef = TypedDict(
|
|
741
|
-
"_RequiredWriteRecordsRequestRequestTypeDef",
|
|
543
|
+
WriteRecordsRequestRequestTypeDef = TypedDict(
|
|
544
|
+
"WriteRecordsRequestRequestTypeDef",
|
|
742
545
|
{
|
|
743
546
|
"DatabaseName": str,
|
|
744
547
|
"TableName": str,
|
|
745
548
|
"Records": Sequence[RecordTypeDef],
|
|
549
|
+
"CommonAttributes": NotRequired[RecordTypeDef],
|
|
746
550
|
},
|
|
747
551
|
)
|
|
748
|
-
_OptionalWriteRecordsRequestRequestTypeDef = TypedDict(
|
|
749
|
-
"_OptionalWriteRecordsRequestRequestTypeDef",
|
|
750
|
-
{
|
|
751
|
-
"CommonAttributes": RecordTypeDef,
|
|
752
|
-
},
|
|
753
|
-
total=False,
|
|
754
|
-
)
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
class WriteRecordsRequestRequestTypeDef(
|
|
758
|
-
_RequiredWriteRecordsRequestRequestTypeDef, _OptionalWriteRecordsRequestRequestTypeDef
|
|
759
|
-
):
|
|
760
|
-
pass
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
_RequiredDataModelOutputTypeDef = TypedDict(
|
|
764
|
-
"_RequiredDataModelOutputTypeDef",
|
|
765
|
-
{
|
|
766
|
-
"DimensionMappings": List[DimensionMappingTypeDef],
|
|
767
|
-
},
|
|
768
|
-
)
|
|
769
|
-
_OptionalDataModelOutputTypeDef = TypedDict(
|
|
770
|
-
"_OptionalDataModelOutputTypeDef",
|
|
771
|
-
{
|
|
772
|
-
"TimeColumn": str,
|
|
773
|
-
"TimeUnit": TimeUnitType,
|
|
774
|
-
"MultiMeasureMappings": MultiMeasureMappingsOutputTypeDef,
|
|
775
|
-
"MixedMeasureMappings": List[MixedMeasureMappingOutputTypeDef],
|
|
776
|
-
"MeasureNameColumn": str,
|
|
777
|
-
},
|
|
778
|
-
total=False,
|
|
779
|
-
)
|
|
780
552
|
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
pass
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
_RequiredDataModelTypeDef = TypedDict(
|
|
787
|
-
"_RequiredDataModelTypeDef",
|
|
553
|
+
DataModelTypeDef = TypedDict(
|
|
554
|
+
"DataModelTypeDef",
|
|
788
555
|
{
|
|
789
556
|
"DimensionMappings": Sequence[DimensionMappingTypeDef],
|
|
557
|
+
"TimeColumn": NotRequired[str],
|
|
558
|
+
"TimeUnit": NotRequired[TimeUnitType],
|
|
559
|
+
"MultiMeasureMappings": NotRequired[MultiMeasureMappingsTypeDef],
|
|
560
|
+
"MixedMeasureMappings": NotRequired[Sequence[MixedMeasureMappingTypeDef]],
|
|
561
|
+
"MeasureNameColumn": NotRequired[str],
|
|
790
562
|
},
|
|
791
563
|
)
|
|
792
|
-
_OptionalDataModelTypeDef = TypedDict(
|
|
793
|
-
"_OptionalDataModelTypeDef",
|
|
794
|
-
{
|
|
795
|
-
"TimeColumn": str,
|
|
796
|
-
"TimeUnit": TimeUnitType,
|
|
797
|
-
"MultiMeasureMappings": MultiMeasureMappingsTypeDef,
|
|
798
|
-
"MixedMeasureMappings": Sequence[MixedMeasureMappingTypeDef],
|
|
799
|
-
"MeasureNameColumn": str,
|
|
800
|
-
},
|
|
801
|
-
total=False,
|
|
802
|
-
)
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
class DataModelTypeDef(_RequiredDataModelTypeDef, _OptionalDataModelTypeDef):
|
|
806
|
-
pass
|
|
807
564
|
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
_RequiredCreateTableRequestRequestTypeDef = TypedDict(
|
|
811
|
-
"_RequiredCreateTableRequestRequestTypeDef",
|
|
565
|
+
CreateTableRequestRequestTypeDef = TypedDict(
|
|
566
|
+
"CreateTableRequestRequestTypeDef",
|
|
812
567
|
{
|
|
813
568
|
"DatabaseName": str,
|
|
814
569
|
"TableName": str,
|
|
570
|
+
"RetentionProperties": NotRequired[RetentionPropertiesTypeDef],
|
|
571
|
+
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
572
|
+
"MagneticStoreWriteProperties": NotRequired[MagneticStoreWritePropertiesTypeDef],
|
|
573
|
+
"Schema": NotRequired[SchemaTypeDef],
|
|
815
574
|
},
|
|
816
575
|
)
|
|
817
|
-
_OptionalCreateTableRequestRequestTypeDef = TypedDict(
|
|
818
|
-
"_OptionalCreateTableRequestRequestTypeDef",
|
|
819
|
-
{
|
|
820
|
-
"RetentionProperties": RetentionPropertiesTypeDef,
|
|
821
|
-
"Tags": Sequence[TagTypeDef],
|
|
822
|
-
"MagneticStoreWriteProperties": MagneticStoreWritePropertiesTypeDef,
|
|
823
|
-
"Schema": SchemaTypeDef,
|
|
824
|
-
},
|
|
825
|
-
total=False,
|
|
826
|
-
)
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
class CreateTableRequestRequestTypeDef(
|
|
830
|
-
_RequiredCreateTableRequestRequestTypeDef, _OptionalCreateTableRequestRequestTypeDef
|
|
831
|
-
):
|
|
832
|
-
pass
|
|
833
|
-
|
|
834
576
|
|
|
835
577
|
TableTypeDef = TypedDict(
|
|
836
578
|
"TableTypeDef",
|
|
837
579
|
{
|
|
838
|
-
"Arn": str,
|
|
839
|
-
"TableName": str,
|
|
840
|
-
"DatabaseName": str,
|
|
841
|
-
"TableStatus": TableStatusType,
|
|
842
|
-
"RetentionProperties": RetentionPropertiesTypeDef,
|
|
843
|
-
"CreationTime": datetime,
|
|
844
|
-
"LastUpdatedTime": datetime,
|
|
845
|
-
"MagneticStoreWriteProperties": MagneticStoreWritePropertiesTypeDef,
|
|
846
|
-
"Schema":
|
|
580
|
+
"Arn": NotRequired[str],
|
|
581
|
+
"TableName": NotRequired[str],
|
|
582
|
+
"DatabaseName": NotRequired[str],
|
|
583
|
+
"TableStatus": NotRequired[TableStatusType],
|
|
584
|
+
"RetentionProperties": NotRequired[RetentionPropertiesTypeDef],
|
|
585
|
+
"CreationTime": NotRequired[datetime],
|
|
586
|
+
"LastUpdatedTime": NotRequired[datetime],
|
|
587
|
+
"MagneticStoreWriteProperties": NotRequired[MagneticStoreWritePropertiesTypeDef],
|
|
588
|
+
"Schema": NotRequired[SchemaTypeDef],
|
|
847
589
|
},
|
|
848
|
-
total=False,
|
|
849
590
|
)
|
|
850
591
|
|
|
851
|
-
|
|
852
|
-
"
|
|
592
|
+
UpdateTableRequestRequestTypeDef = TypedDict(
|
|
593
|
+
"UpdateTableRequestRequestTypeDef",
|
|
853
594
|
{
|
|
854
595
|
"DatabaseName": str,
|
|
855
596
|
"TableName": str,
|
|
597
|
+
"RetentionProperties": NotRequired[RetentionPropertiesTypeDef],
|
|
598
|
+
"MagneticStoreWriteProperties": NotRequired[MagneticStoreWritePropertiesTypeDef],
|
|
599
|
+
"Schema": NotRequired[SchemaTypeDef],
|
|
856
600
|
},
|
|
857
601
|
)
|
|
858
|
-
_OptionalUpdateTableRequestRequestTypeDef = TypedDict(
|
|
859
|
-
"_OptionalUpdateTableRequestRequestTypeDef",
|
|
860
|
-
{
|
|
861
|
-
"RetentionProperties": RetentionPropertiesTypeDef,
|
|
862
|
-
"MagneticStoreWriteProperties": MagneticStoreWritePropertiesTypeDef,
|
|
863
|
-
"Schema": SchemaTypeDef,
|
|
864
|
-
},
|
|
865
|
-
total=False,
|
|
866
|
-
)
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
class UpdateTableRequestRequestTypeDef(
|
|
870
|
-
_RequiredUpdateTableRequestRequestTypeDef, _OptionalUpdateTableRequestRequestTypeDef
|
|
871
|
-
):
|
|
872
|
-
pass
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
DataModelConfigurationOutputTypeDef = TypedDict(
|
|
876
|
-
"DataModelConfigurationOutputTypeDef",
|
|
877
|
-
{
|
|
878
|
-
"DataModel": DataModelOutputTypeDef,
|
|
879
|
-
"DataModelS3Configuration": DataModelS3ConfigurationTypeDef,
|
|
880
|
-
},
|
|
881
|
-
total=False,
|
|
882
|
-
)
|
|
883
602
|
|
|
884
603
|
DataModelConfigurationTypeDef = TypedDict(
|
|
885
604
|
"DataModelConfigurationTypeDef",
|
|
886
605
|
{
|
|
887
|
-
"DataModel": DataModelTypeDef,
|
|
888
|
-
"DataModelS3Configuration": DataModelS3ConfigurationTypeDef,
|
|
606
|
+
"DataModel": NotRequired[DataModelTypeDef],
|
|
607
|
+
"DataModelS3Configuration": NotRequired[DataModelS3ConfigurationTypeDef],
|
|
889
608
|
},
|
|
890
|
-
total=False,
|
|
891
609
|
)
|
|
892
610
|
|
|
893
611
|
CreateTableResponseTypeDef = TypedDict(
|
|
@@ -926,53 +644,35 @@ UpdateTableResponseTypeDef = TypedDict(
|
|
|
926
644
|
BatchLoadTaskDescriptionTypeDef = TypedDict(
|
|
927
645
|
"BatchLoadTaskDescriptionTypeDef",
|
|
928
646
|
{
|
|
929
|
-
"TaskId": str,
|
|
930
|
-
"ErrorMessage": str,
|
|
931
|
-
"DataSourceConfiguration": DataSourceConfigurationTypeDef,
|
|
932
|
-
"ProgressReport": BatchLoadProgressReportTypeDef,
|
|
933
|
-
"ReportConfiguration": ReportConfigurationTypeDef,
|
|
934
|
-
"DataModelConfiguration":
|
|
935
|
-
"TargetDatabaseName": str,
|
|
936
|
-
"TargetTableName": str,
|
|
937
|
-
"TaskStatus": BatchLoadStatusType,
|
|
938
|
-
"RecordVersion": int,
|
|
939
|
-
"CreationTime": datetime,
|
|
940
|
-
"LastUpdatedTime": datetime,
|
|
941
|
-
"ResumableUntil": datetime,
|
|
647
|
+
"TaskId": NotRequired[str],
|
|
648
|
+
"ErrorMessage": NotRequired[str],
|
|
649
|
+
"DataSourceConfiguration": NotRequired[DataSourceConfigurationTypeDef],
|
|
650
|
+
"ProgressReport": NotRequired[BatchLoadProgressReportTypeDef],
|
|
651
|
+
"ReportConfiguration": NotRequired[ReportConfigurationTypeDef],
|
|
652
|
+
"DataModelConfiguration": NotRequired[DataModelConfigurationTypeDef],
|
|
653
|
+
"TargetDatabaseName": NotRequired[str],
|
|
654
|
+
"TargetTableName": NotRequired[str],
|
|
655
|
+
"TaskStatus": NotRequired[BatchLoadStatusType],
|
|
656
|
+
"RecordVersion": NotRequired[int],
|
|
657
|
+
"CreationTime": NotRequired[datetime],
|
|
658
|
+
"LastUpdatedTime": NotRequired[datetime],
|
|
659
|
+
"ResumableUntil": NotRequired[datetime],
|
|
942
660
|
},
|
|
943
|
-
total=False,
|
|
944
661
|
)
|
|
945
662
|
|
|
946
|
-
|
|
947
|
-
"
|
|
663
|
+
CreateBatchLoadTaskRequestRequestTypeDef = TypedDict(
|
|
664
|
+
"CreateBatchLoadTaskRequestRequestTypeDef",
|
|
948
665
|
{
|
|
949
666
|
"DataSourceConfiguration": DataSourceConfigurationTypeDef,
|
|
950
667
|
"ReportConfiguration": ReportConfigurationTypeDef,
|
|
951
668
|
"TargetDatabaseName": str,
|
|
952
669
|
"TargetTableName": str,
|
|
670
|
+
"ClientToken": NotRequired[str],
|
|
671
|
+
"DataModelConfiguration": NotRequired[DataModelConfigurationTypeDef],
|
|
672
|
+
"RecordVersion": NotRequired[int],
|
|
953
673
|
},
|
|
954
674
|
)
|
|
955
|
-
_OptionalCreateBatchLoadTaskRequestRequestTypeDef = TypedDict(
|
|
956
|
-
"_OptionalCreateBatchLoadTaskRequestRequestTypeDef",
|
|
957
|
-
{
|
|
958
|
-
"ClientToken": str,
|
|
959
|
-
"DataModelConfiguration": DataModelConfigurationTypeDef,
|
|
960
|
-
"RecordVersion": int,
|
|
961
|
-
},
|
|
962
|
-
total=False,
|
|
963
|
-
)
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
class CreateBatchLoadTaskRequestRequestTypeDef(
|
|
967
|
-
_RequiredCreateBatchLoadTaskRequestRequestTypeDef,
|
|
968
|
-
_OptionalCreateBatchLoadTaskRequestRequestTypeDef,
|
|
969
|
-
):
|
|
970
|
-
pass
|
|
971
|
-
|
|
972
675
|
|
|
973
|
-
DataModelConfigurationUnionTypeDef = Union[
|
|
974
|
-
DataModelConfigurationTypeDef, DataModelConfigurationOutputTypeDef
|
|
975
|
-
]
|
|
976
676
|
DescribeBatchLoadTaskResponseTypeDef = TypedDict(
|
|
977
677
|
"DescribeBatchLoadTaskResponseTypeDef",
|
|
978
678
|
{
|