mypy-boto3-timestream-write 1.19.9__py3-none-any.whl → 1.41.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.
- mypy_boto3_timestream_write/__init__.py +8 -5
- mypy_boto3_timestream_write/__init__.pyi +8 -5
- mypy_boto3_timestream_write/__main__.py +13 -9
- mypy_boto3_timestream_write/client.py +175 -115
- mypy_boto3_timestream_write/client.pyi +193 -114
- mypy_boto3_timestream_write/literals.py +185 -27
- mypy_boto3_timestream_write/literals.pyi +185 -27
- mypy_boto3_timestream_write/type_defs.py +457 -309
- mypy_boto3_timestream_write/type_defs.pyi +423 -338
- mypy_boto3_timestream_write/version.py +4 -1
- mypy_boto3_timestream_write-1.41.0.dist-info/METADATA +452 -0
- mypy_boto3_timestream_write-1.41.0.dist-info/RECORD +16 -0
- {mypy_boto3_timestream_write-1.19.9.dist-info → mypy_boto3_timestream_write-1.41.0.dist-info}/WHEEL +1 -1
- mypy_boto3_timestream_write-1.41.0.dist-info/licenses/LICENSE +21 -0
- mypy_boto3_timestream_write-1.19.9.dist-info/METADATA +0 -268
- mypy_boto3_timestream_write-1.19.9.dist-info/RECORD +0 -15
- {mypy_boto3_timestream_write-1.19.9.dist-info → mypy_boto3_timestream_write-1.41.0.dist-info}/top_level.txt +0 -0
|
@@ -1,389 +1,474 @@
|
|
|
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
|
+
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
5
7
|
|
|
6
8
|
Usage::
|
|
7
9
|
|
|
8
10
|
```python
|
|
9
|
-
from mypy_boto3_timestream_write.type_defs import
|
|
11
|
+
from mypy_boto3_timestream_write.type_defs import BatchLoadProgressReportTypeDef
|
|
10
12
|
|
|
11
|
-
data:
|
|
13
|
+
data: BatchLoadProgressReportTypeDef = ...
|
|
12
14
|
```
|
|
13
15
|
"""
|
|
16
|
+
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
14
19
|
import sys
|
|
20
|
+
from collections.abc import Sequence
|
|
15
21
|
from datetime import datetime
|
|
16
|
-
from typing import
|
|
22
|
+
from typing import Union
|
|
17
23
|
|
|
18
|
-
from .literals import
|
|
24
|
+
from .literals import (
|
|
25
|
+
BatchLoadStatusType,
|
|
26
|
+
MeasureValueTypeType,
|
|
27
|
+
PartitionKeyEnforcementLevelType,
|
|
28
|
+
PartitionKeyTypeType,
|
|
29
|
+
S3EncryptionOptionType,
|
|
30
|
+
ScalarMeasureValueTypeType,
|
|
31
|
+
TableStatusType,
|
|
32
|
+
TimeUnitType,
|
|
33
|
+
)
|
|
19
34
|
|
|
20
|
-
if sys.version_info >= (3,
|
|
21
|
-
from typing import Literal
|
|
22
|
-
else:
|
|
23
|
-
from typing_extensions import Literal
|
|
24
|
-
if sys.version_info >= (3, 9):
|
|
25
|
-
from typing import TypedDict
|
|
35
|
+
if sys.version_info >= (3, 12):
|
|
36
|
+
from typing import Literal, NotRequired, TypedDict
|
|
26
37
|
else:
|
|
27
|
-
from typing_extensions import TypedDict
|
|
38
|
+
from typing_extensions import Literal, NotRequired, TypedDict
|
|
28
39
|
|
|
29
40
|
__all__ = (
|
|
30
|
-
"
|
|
41
|
+
"BatchLoadProgressReportTypeDef",
|
|
42
|
+
"BatchLoadTaskDescriptionTypeDef",
|
|
43
|
+
"BatchLoadTaskTypeDef",
|
|
44
|
+
"CreateBatchLoadTaskRequestTypeDef",
|
|
45
|
+
"CreateBatchLoadTaskResponseTypeDef",
|
|
46
|
+
"CreateDatabaseRequestTypeDef",
|
|
31
47
|
"CreateDatabaseResponseTypeDef",
|
|
32
|
-
"
|
|
48
|
+
"CreateTableRequestTypeDef",
|
|
33
49
|
"CreateTableResponseTypeDef",
|
|
50
|
+
"CsvConfigurationTypeDef",
|
|
51
|
+
"DataModelConfigurationOutputTypeDef",
|
|
52
|
+
"DataModelConfigurationTypeDef",
|
|
53
|
+
"DataModelConfigurationUnionTypeDef",
|
|
54
|
+
"DataModelOutputTypeDef",
|
|
55
|
+
"DataModelS3ConfigurationTypeDef",
|
|
56
|
+
"DataModelTypeDef",
|
|
57
|
+
"DataSourceConfigurationTypeDef",
|
|
58
|
+
"DataSourceS3ConfigurationTypeDef",
|
|
34
59
|
"DatabaseTypeDef",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
60
|
+
"DeleteDatabaseRequestTypeDef",
|
|
61
|
+
"DeleteTableRequestTypeDef",
|
|
62
|
+
"DescribeBatchLoadTaskRequestTypeDef",
|
|
63
|
+
"DescribeBatchLoadTaskResponseTypeDef",
|
|
64
|
+
"DescribeDatabaseRequestTypeDef",
|
|
38
65
|
"DescribeDatabaseResponseTypeDef",
|
|
39
66
|
"DescribeEndpointsResponseTypeDef",
|
|
40
|
-
"
|
|
67
|
+
"DescribeTableRequestTypeDef",
|
|
41
68
|
"DescribeTableResponseTypeDef",
|
|
69
|
+
"DimensionMappingTypeDef",
|
|
42
70
|
"DimensionTypeDef",
|
|
71
|
+
"EmptyResponseMetadataTypeDef",
|
|
43
72
|
"EndpointTypeDef",
|
|
44
|
-
"
|
|
73
|
+
"ListBatchLoadTasksRequestTypeDef",
|
|
74
|
+
"ListBatchLoadTasksResponseTypeDef",
|
|
75
|
+
"ListDatabasesRequestTypeDef",
|
|
45
76
|
"ListDatabasesResponseTypeDef",
|
|
46
|
-
"
|
|
77
|
+
"ListTablesRequestTypeDef",
|
|
47
78
|
"ListTablesResponseTypeDef",
|
|
48
|
-
"
|
|
79
|
+
"ListTagsForResourceRequestTypeDef",
|
|
49
80
|
"ListTagsForResourceResponseTypeDef",
|
|
81
|
+
"MagneticStoreRejectedDataLocationTypeDef",
|
|
82
|
+
"MagneticStoreWritePropertiesTypeDef",
|
|
83
|
+
"MeasureValueTypeDef",
|
|
84
|
+
"MixedMeasureMappingOutputTypeDef",
|
|
85
|
+
"MixedMeasureMappingTypeDef",
|
|
86
|
+
"MultiMeasureAttributeMappingTypeDef",
|
|
87
|
+
"MultiMeasureMappingsOutputTypeDef",
|
|
88
|
+
"MultiMeasureMappingsTypeDef",
|
|
89
|
+
"PartitionKeyTypeDef",
|
|
50
90
|
"RecordTypeDef",
|
|
91
|
+
"RecordsIngestedTypeDef",
|
|
92
|
+
"ReportConfigurationTypeDef",
|
|
93
|
+
"ReportS3ConfigurationTypeDef",
|
|
51
94
|
"ResponseMetadataTypeDef",
|
|
95
|
+
"ResumeBatchLoadTaskRequestTypeDef",
|
|
52
96
|
"RetentionPropertiesTypeDef",
|
|
97
|
+
"S3ConfigurationTypeDef",
|
|
98
|
+
"SchemaOutputTypeDef",
|
|
99
|
+
"SchemaTypeDef",
|
|
100
|
+
"SchemaUnionTypeDef",
|
|
53
101
|
"TableTypeDef",
|
|
54
|
-
"
|
|
102
|
+
"TagResourceRequestTypeDef",
|
|
55
103
|
"TagTypeDef",
|
|
56
|
-
"
|
|
57
|
-
"
|
|
104
|
+
"UntagResourceRequestTypeDef",
|
|
105
|
+
"UpdateDatabaseRequestTypeDef",
|
|
58
106
|
"UpdateDatabaseResponseTypeDef",
|
|
59
|
-
"
|
|
107
|
+
"UpdateTableRequestTypeDef",
|
|
60
108
|
"UpdateTableResponseTypeDef",
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
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
|
-
"DatabaseName": str,
|
|
176
|
-
"TableName": str,
|
|
177
|
-
},
|
|
178
|
-
)
|
|
179
|
-
|
|
180
|
-
DescribeTableResponseTypeDef = TypedDict(
|
|
181
|
-
"DescribeTableResponseTypeDef",
|
|
182
|
-
{
|
|
183
|
-
"Table": "TableTypeDef",
|
|
184
|
-
"ResponseMetadata": "ResponseMetadataTypeDef",
|
|
185
|
-
},
|
|
186
|
-
)
|
|
187
|
-
|
|
188
|
-
_RequiredDimensionTypeDef = TypedDict(
|
|
189
|
-
"_RequiredDimensionTypeDef",
|
|
109
|
+
"WriteRecordsRequestTypeDef",
|
|
110
|
+
"WriteRecordsResponseTypeDef",
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
class BatchLoadProgressReportTypeDef(TypedDict):
|
|
114
|
+
RecordsProcessed: NotRequired[int]
|
|
115
|
+
RecordsIngested: NotRequired[int]
|
|
116
|
+
ParseFailures: NotRequired[int]
|
|
117
|
+
RecordIngestionFailures: NotRequired[int]
|
|
118
|
+
FileFailures: NotRequired[int]
|
|
119
|
+
BytesMetered: NotRequired[int]
|
|
120
|
+
|
|
121
|
+
class BatchLoadTaskTypeDef(TypedDict):
|
|
122
|
+
TaskId: NotRequired[str]
|
|
123
|
+
TaskStatus: NotRequired[BatchLoadStatusType]
|
|
124
|
+
DatabaseName: NotRequired[str]
|
|
125
|
+
TableName: NotRequired[str]
|
|
126
|
+
CreationTime: NotRequired[datetime]
|
|
127
|
+
LastUpdatedTime: NotRequired[datetime]
|
|
128
|
+
ResumableUntil: NotRequired[datetime]
|
|
129
|
+
|
|
130
|
+
class ResponseMetadataTypeDef(TypedDict):
|
|
131
|
+
RequestId: str
|
|
132
|
+
HTTPStatusCode: int
|
|
133
|
+
HTTPHeaders: dict[str, str]
|
|
134
|
+
RetryAttempts: int
|
|
135
|
+
HostId: NotRequired[str]
|
|
136
|
+
|
|
137
|
+
class TagTypeDef(TypedDict):
|
|
138
|
+
Key: str
|
|
139
|
+
Value: str
|
|
140
|
+
|
|
141
|
+
class DatabaseTypeDef(TypedDict):
|
|
142
|
+
Arn: NotRequired[str]
|
|
143
|
+
DatabaseName: NotRequired[str]
|
|
144
|
+
TableCount: NotRequired[int]
|
|
145
|
+
KmsKeyId: NotRequired[str]
|
|
146
|
+
CreationTime: NotRequired[datetime]
|
|
147
|
+
LastUpdatedTime: NotRequired[datetime]
|
|
148
|
+
|
|
149
|
+
class RetentionPropertiesTypeDef(TypedDict):
|
|
150
|
+
MemoryStoreRetentionPeriodInHours: int
|
|
151
|
+
MagneticStoreRetentionPeriodInDays: int
|
|
152
|
+
|
|
153
|
+
class CsvConfigurationTypeDef(TypedDict):
|
|
154
|
+
ColumnSeparator: NotRequired[str]
|
|
155
|
+
EscapeChar: NotRequired[str]
|
|
156
|
+
QuoteChar: NotRequired[str]
|
|
157
|
+
NullValue: NotRequired[str]
|
|
158
|
+
TrimWhiteSpace: NotRequired[bool]
|
|
159
|
+
|
|
160
|
+
class DataModelS3ConfigurationTypeDef(TypedDict):
|
|
161
|
+
BucketName: NotRequired[str]
|
|
162
|
+
ObjectKey: NotRequired[str]
|
|
163
|
+
|
|
164
|
+
class DimensionMappingTypeDef(TypedDict):
|
|
165
|
+
SourceColumn: NotRequired[str]
|
|
166
|
+
DestinationColumn: NotRequired[str]
|
|
167
|
+
|
|
168
|
+
class DataSourceS3ConfigurationTypeDef(TypedDict):
|
|
169
|
+
BucketName: str
|
|
170
|
+
ObjectKeyPrefix: NotRequired[str]
|
|
171
|
+
|
|
172
|
+
class DeleteDatabaseRequestTypeDef(TypedDict):
|
|
173
|
+
DatabaseName: str
|
|
174
|
+
|
|
175
|
+
class DeleteTableRequestTypeDef(TypedDict):
|
|
176
|
+
DatabaseName: str
|
|
177
|
+
TableName: str
|
|
178
|
+
|
|
179
|
+
class DescribeBatchLoadTaskRequestTypeDef(TypedDict):
|
|
180
|
+
TaskId: str
|
|
181
|
+
|
|
182
|
+
class DescribeDatabaseRequestTypeDef(TypedDict):
|
|
183
|
+
DatabaseName: str
|
|
184
|
+
|
|
185
|
+
class EndpointTypeDef(TypedDict):
|
|
186
|
+
Address: str
|
|
187
|
+
CachePeriodInMinutes: int
|
|
188
|
+
|
|
189
|
+
class DescribeTableRequestTypeDef(TypedDict):
|
|
190
|
+
DatabaseName: str
|
|
191
|
+
TableName: str
|
|
192
|
+
|
|
193
|
+
class DimensionTypeDef(TypedDict):
|
|
194
|
+
Name: str
|
|
195
|
+
Value: str
|
|
196
|
+
DimensionValueType: NotRequired[Literal["VARCHAR"]]
|
|
197
|
+
|
|
198
|
+
class ListBatchLoadTasksRequestTypeDef(TypedDict):
|
|
199
|
+
NextToken: NotRequired[str]
|
|
200
|
+
MaxResults: NotRequired[int]
|
|
201
|
+
TaskStatus: NotRequired[BatchLoadStatusType]
|
|
202
|
+
|
|
203
|
+
class ListDatabasesRequestTypeDef(TypedDict):
|
|
204
|
+
NextToken: NotRequired[str]
|
|
205
|
+
MaxResults: NotRequired[int]
|
|
206
|
+
|
|
207
|
+
class ListTablesRequestTypeDef(TypedDict):
|
|
208
|
+
DatabaseName: NotRequired[str]
|
|
209
|
+
NextToken: NotRequired[str]
|
|
210
|
+
MaxResults: NotRequired[int]
|
|
211
|
+
|
|
212
|
+
class ListTagsForResourceRequestTypeDef(TypedDict):
|
|
213
|
+
ResourceARN: str
|
|
214
|
+
|
|
215
|
+
class S3ConfigurationTypeDef(TypedDict):
|
|
216
|
+
BucketName: NotRequired[str]
|
|
217
|
+
ObjectKeyPrefix: NotRequired[str]
|
|
218
|
+
EncryptionOption: NotRequired[S3EncryptionOptionType]
|
|
219
|
+
KmsKeyId: NotRequired[str]
|
|
220
|
+
|
|
221
|
+
MeasureValueTypeDef = TypedDict(
|
|
222
|
+
"MeasureValueTypeDef",
|
|
190
223
|
{
|
|
191
224
|
"Name": str,
|
|
192
225
|
"Value": str,
|
|
193
|
-
|
|
194
|
-
)
|
|
195
|
-
_OptionalDimensionTypeDef = TypedDict(
|
|
196
|
-
"_OptionalDimensionTypeDef",
|
|
197
|
-
{
|
|
198
|
-
"DimensionValueType": Literal["VARCHAR"],
|
|
199
|
-
},
|
|
200
|
-
total=False,
|
|
201
|
-
)
|
|
202
|
-
|
|
203
|
-
class DimensionTypeDef(_RequiredDimensionTypeDef, _OptionalDimensionTypeDef):
|
|
204
|
-
pass
|
|
205
|
-
|
|
206
|
-
EndpointTypeDef = TypedDict(
|
|
207
|
-
"EndpointTypeDef",
|
|
208
|
-
{
|
|
209
|
-
"Address": str,
|
|
210
|
-
"CachePeriodInMinutes": int,
|
|
226
|
+
"Type": MeasureValueTypeType,
|
|
211
227
|
},
|
|
212
228
|
)
|
|
213
229
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
"MaxResults": int,
|
|
219
|
-
},
|
|
220
|
-
total=False,
|
|
221
|
-
)
|
|
230
|
+
class MultiMeasureAttributeMappingTypeDef(TypedDict):
|
|
231
|
+
SourceColumn: str
|
|
232
|
+
TargetMultiMeasureAttributeName: NotRequired[str]
|
|
233
|
+
MeasureValueType: NotRequired[ScalarMeasureValueTypeType]
|
|
222
234
|
|
|
223
|
-
|
|
224
|
-
"
|
|
235
|
+
PartitionKeyTypeDef = TypedDict(
|
|
236
|
+
"PartitionKeyTypeDef",
|
|
225
237
|
{
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
},
|
|
230
|
-
)
|
|
238
|
+
"Type": PartitionKeyTypeType,
|
|
239
|
+
"Name": NotRequired[str],
|
|
240
|
+
"EnforcementInRecord": NotRequired[PartitionKeyEnforcementLevelType],
|
|
241
|
+
},
|
|
242
|
+
)
|
|
231
243
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
"NextToken": str,
|
|
237
|
-
"MaxResults": int,
|
|
238
|
-
},
|
|
239
|
-
total=False,
|
|
240
|
-
)
|
|
244
|
+
class RecordsIngestedTypeDef(TypedDict):
|
|
245
|
+
Total: NotRequired[int]
|
|
246
|
+
MemoryStore: NotRequired[int]
|
|
247
|
+
MagneticStore: NotRequired[int]
|
|
241
248
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
"ResponseMetadata": "ResponseMetadataTypeDef",
|
|
248
|
-
},
|
|
249
|
-
)
|
|
249
|
+
class ReportS3ConfigurationTypeDef(TypedDict):
|
|
250
|
+
BucketName: str
|
|
251
|
+
ObjectKeyPrefix: NotRequired[str]
|
|
252
|
+
EncryptionOption: NotRequired[S3EncryptionOptionType]
|
|
253
|
+
KmsKeyId: NotRequired[str]
|
|
250
254
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
{
|
|
254
|
-
"ResourceARN": str,
|
|
255
|
-
},
|
|
256
|
-
)
|
|
255
|
+
class ResumeBatchLoadTaskRequestTypeDef(TypedDict):
|
|
256
|
+
TaskId: str
|
|
257
257
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
"Tags": List["TagTypeDef"],
|
|
262
|
-
"ResponseMetadata": "ResponseMetadataTypeDef",
|
|
263
|
-
},
|
|
264
|
-
)
|
|
265
|
-
|
|
266
|
-
RecordTypeDef = TypedDict(
|
|
267
|
-
"RecordTypeDef",
|
|
268
|
-
{
|
|
269
|
-
"Dimensions": Sequence["DimensionTypeDef"],
|
|
270
|
-
"MeasureName": str,
|
|
271
|
-
"MeasureValue": str,
|
|
272
|
-
"MeasureValueType": MeasureValueTypeType,
|
|
273
|
-
"Time": str,
|
|
274
|
-
"TimeUnit": TimeUnitType,
|
|
275
|
-
"Version": int,
|
|
276
|
-
},
|
|
277
|
-
total=False,
|
|
278
|
-
)
|
|
258
|
+
class UntagResourceRequestTypeDef(TypedDict):
|
|
259
|
+
ResourceARN: str
|
|
260
|
+
TagKeys: Sequence[str]
|
|
279
261
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
"RequestId": str,
|
|
284
|
-
"HostId": str,
|
|
285
|
-
"HTTPStatusCode": int,
|
|
286
|
-
"HTTPHeaders": Dict[str, Any],
|
|
287
|
-
"RetryAttempts": int,
|
|
288
|
-
},
|
|
289
|
-
)
|
|
262
|
+
class UpdateDatabaseRequestTypeDef(TypedDict):
|
|
263
|
+
DatabaseName: str
|
|
264
|
+
KmsKeyId: str
|
|
290
265
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
"MemoryStoreRetentionPeriodInHours": int,
|
|
295
|
-
"MagneticStoreRetentionPeriodInDays": int,
|
|
296
|
-
},
|
|
297
|
-
)
|
|
298
|
-
|
|
299
|
-
TableTypeDef = TypedDict(
|
|
300
|
-
"TableTypeDef",
|
|
301
|
-
{
|
|
302
|
-
"Arn": str,
|
|
303
|
-
"TableName": str,
|
|
304
|
-
"DatabaseName": str,
|
|
305
|
-
"TableStatus": TableStatusType,
|
|
306
|
-
"RetentionProperties": "RetentionPropertiesTypeDef",
|
|
307
|
-
"CreationTime": datetime,
|
|
308
|
-
"LastUpdatedTime": datetime,
|
|
309
|
-
},
|
|
310
|
-
total=False,
|
|
311
|
-
)
|
|
266
|
+
class CreateBatchLoadTaskResponseTypeDef(TypedDict):
|
|
267
|
+
TaskId: str
|
|
268
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
312
269
|
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
{
|
|
316
|
-
"ResourceARN": str,
|
|
317
|
-
"Tags": Sequence["TagTypeDef"],
|
|
318
|
-
},
|
|
319
|
-
)
|
|
320
|
-
|
|
321
|
-
TagTypeDef = TypedDict(
|
|
322
|
-
"TagTypeDef",
|
|
323
|
-
{
|
|
324
|
-
"Key": str,
|
|
325
|
-
"Value": str,
|
|
326
|
-
},
|
|
327
|
-
)
|
|
328
|
-
|
|
329
|
-
UntagResourceRequestRequestTypeDef = TypedDict(
|
|
330
|
-
"UntagResourceRequestRequestTypeDef",
|
|
331
|
-
{
|
|
332
|
-
"ResourceARN": str,
|
|
333
|
-
"TagKeys": Sequence[str],
|
|
334
|
-
},
|
|
335
|
-
)
|
|
336
|
-
|
|
337
|
-
UpdateDatabaseRequestRequestTypeDef = TypedDict(
|
|
338
|
-
"UpdateDatabaseRequestRequestTypeDef",
|
|
339
|
-
{
|
|
340
|
-
"DatabaseName": str,
|
|
341
|
-
"KmsKeyId": str,
|
|
342
|
-
},
|
|
343
|
-
)
|
|
344
|
-
|
|
345
|
-
UpdateDatabaseResponseTypeDef = TypedDict(
|
|
346
|
-
"UpdateDatabaseResponseTypeDef",
|
|
347
|
-
{
|
|
348
|
-
"Database": "DatabaseTypeDef",
|
|
349
|
-
"ResponseMetadata": "ResponseMetadataTypeDef",
|
|
350
|
-
},
|
|
351
|
-
)
|
|
352
|
-
|
|
353
|
-
UpdateTableRequestRequestTypeDef = TypedDict(
|
|
354
|
-
"UpdateTableRequestRequestTypeDef",
|
|
355
|
-
{
|
|
356
|
-
"DatabaseName": str,
|
|
357
|
-
"TableName": str,
|
|
358
|
-
"RetentionProperties": "RetentionPropertiesTypeDef",
|
|
359
|
-
},
|
|
360
|
-
)
|
|
361
|
-
|
|
362
|
-
UpdateTableResponseTypeDef = TypedDict(
|
|
363
|
-
"UpdateTableResponseTypeDef",
|
|
364
|
-
{
|
|
365
|
-
"Table": "TableTypeDef",
|
|
366
|
-
"ResponseMetadata": "ResponseMetadataTypeDef",
|
|
367
|
-
},
|
|
368
|
-
)
|
|
369
|
-
|
|
370
|
-
_RequiredWriteRecordsRequestRequestTypeDef = TypedDict(
|
|
371
|
-
"_RequiredWriteRecordsRequestRequestTypeDef",
|
|
372
|
-
{
|
|
373
|
-
"DatabaseName": str,
|
|
374
|
-
"TableName": str,
|
|
375
|
-
"Records": Sequence["RecordTypeDef"],
|
|
376
|
-
},
|
|
377
|
-
)
|
|
378
|
-
_OptionalWriteRecordsRequestRequestTypeDef = TypedDict(
|
|
379
|
-
"_OptionalWriteRecordsRequestRequestTypeDef",
|
|
380
|
-
{
|
|
381
|
-
"CommonAttributes": "RecordTypeDef",
|
|
382
|
-
},
|
|
383
|
-
total=False,
|
|
384
|
-
)
|
|
270
|
+
class EmptyResponseMetadataTypeDef(TypedDict):
|
|
271
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
385
272
|
|
|
386
|
-
class
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
273
|
+
class ListBatchLoadTasksResponseTypeDef(TypedDict):
|
|
274
|
+
BatchLoadTasks: list[BatchLoadTaskTypeDef]
|
|
275
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
276
|
+
NextToken: NotRequired[str]
|
|
277
|
+
|
|
278
|
+
class CreateDatabaseRequestTypeDef(TypedDict):
|
|
279
|
+
DatabaseName: str
|
|
280
|
+
KmsKeyId: NotRequired[str]
|
|
281
|
+
Tags: NotRequired[Sequence[TagTypeDef]]
|
|
282
|
+
|
|
283
|
+
class ListTagsForResourceResponseTypeDef(TypedDict):
|
|
284
|
+
Tags: list[TagTypeDef]
|
|
285
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
286
|
+
|
|
287
|
+
class TagResourceRequestTypeDef(TypedDict):
|
|
288
|
+
ResourceARN: str
|
|
289
|
+
Tags: Sequence[TagTypeDef]
|
|
290
|
+
|
|
291
|
+
class CreateDatabaseResponseTypeDef(TypedDict):
|
|
292
|
+
Database: DatabaseTypeDef
|
|
293
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
294
|
+
|
|
295
|
+
class DescribeDatabaseResponseTypeDef(TypedDict):
|
|
296
|
+
Database: DatabaseTypeDef
|
|
297
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
298
|
+
|
|
299
|
+
class ListDatabasesResponseTypeDef(TypedDict):
|
|
300
|
+
Databases: list[DatabaseTypeDef]
|
|
301
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
302
|
+
NextToken: NotRequired[str]
|
|
303
|
+
|
|
304
|
+
class UpdateDatabaseResponseTypeDef(TypedDict):
|
|
305
|
+
Database: DatabaseTypeDef
|
|
306
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
307
|
+
|
|
308
|
+
class DataSourceConfigurationTypeDef(TypedDict):
|
|
309
|
+
DataSourceS3Configuration: DataSourceS3ConfigurationTypeDef
|
|
310
|
+
DataFormat: Literal["CSV"]
|
|
311
|
+
CsvConfiguration: NotRequired[CsvConfigurationTypeDef]
|
|
312
|
+
|
|
313
|
+
class DescribeEndpointsResponseTypeDef(TypedDict):
|
|
314
|
+
Endpoints: list[EndpointTypeDef]
|
|
315
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
316
|
+
|
|
317
|
+
class MagneticStoreRejectedDataLocationTypeDef(TypedDict):
|
|
318
|
+
S3Configuration: NotRequired[S3ConfigurationTypeDef]
|
|
319
|
+
|
|
320
|
+
class RecordTypeDef(TypedDict):
|
|
321
|
+
Dimensions: NotRequired[Sequence[DimensionTypeDef]]
|
|
322
|
+
MeasureName: NotRequired[str]
|
|
323
|
+
MeasureValue: NotRequired[str]
|
|
324
|
+
MeasureValueType: NotRequired[MeasureValueTypeType]
|
|
325
|
+
Time: NotRequired[str]
|
|
326
|
+
TimeUnit: NotRequired[TimeUnitType]
|
|
327
|
+
Version: NotRequired[int]
|
|
328
|
+
MeasureValues: NotRequired[Sequence[MeasureValueTypeDef]]
|
|
329
|
+
|
|
330
|
+
class MixedMeasureMappingOutputTypeDef(TypedDict):
|
|
331
|
+
MeasureValueType: MeasureValueTypeType
|
|
332
|
+
MeasureName: NotRequired[str]
|
|
333
|
+
SourceColumn: NotRequired[str]
|
|
334
|
+
TargetMeasureName: NotRequired[str]
|
|
335
|
+
MultiMeasureAttributeMappings: NotRequired[list[MultiMeasureAttributeMappingTypeDef]]
|
|
336
|
+
|
|
337
|
+
class MixedMeasureMappingTypeDef(TypedDict):
|
|
338
|
+
MeasureValueType: MeasureValueTypeType
|
|
339
|
+
MeasureName: NotRequired[str]
|
|
340
|
+
SourceColumn: NotRequired[str]
|
|
341
|
+
TargetMeasureName: NotRequired[str]
|
|
342
|
+
MultiMeasureAttributeMappings: NotRequired[Sequence[MultiMeasureAttributeMappingTypeDef]]
|
|
343
|
+
|
|
344
|
+
class MultiMeasureMappingsOutputTypeDef(TypedDict):
|
|
345
|
+
MultiMeasureAttributeMappings: list[MultiMeasureAttributeMappingTypeDef]
|
|
346
|
+
TargetMultiMeasureName: NotRequired[str]
|
|
347
|
+
|
|
348
|
+
class MultiMeasureMappingsTypeDef(TypedDict):
|
|
349
|
+
MultiMeasureAttributeMappings: Sequence[MultiMeasureAttributeMappingTypeDef]
|
|
350
|
+
TargetMultiMeasureName: NotRequired[str]
|
|
351
|
+
|
|
352
|
+
class SchemaOutputTypeDef(TypedDict):
|
|
353
|
+
CompositePartitionKey: NotRequired[list[PartitionKeyTypeDef]]
|
|
354
|
+
|
|
355
|
+
class SchemaTypeDef(TypedDict):
|
|
356
|
+
CompositePartitionKey: NotRequired[Sequence[PartitionKeyTypeDef]]
|
|
357
|
+
|
|
358
|
+
class WriteRecordsResponseTypeDef(TypedDict):
|
|
359
|
+
RecordsIngested: RecordsIngestedTypeDef
|
|
360
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
361
|
+
|
|
362
|
+
class ReportConfigurationTypeDef(TypedDict):
|
|
363
|
+
ReportS3Configuration: NotRequired[ReportS3ConfigurationTypeDef]
|
|
364
|
+
|
|
365
|
+
class MagneticStoreWritePropertiesTypeDef(TypedDict):
|
|
366
|
+
EnableMagneticStoreWrites: bool
|
|
367
|
+
MagneticStoreRejectedDataLocation: NotRequired[MagneticStoreRejectedDataLocationTypeDef]
|
|
368
|
+
|
|
369
|
+
class WriteRecordsRequestTypeDef(TypedDict):
|
|
370
|
+
DatabaseName: str
|
|
371
|
+
TableName: str
|
|
372
|
+
Records: Sequence[RecordTypeDef]
|
|
373
|
+
CommonAttributes: NotRequired[RecordTypeDef]
|
|
374
|
+
|
|
375
|
+
class DataModelOutputTypeDef(TypedDict):
|
|
376
|
+
DimensionMappings: list[DimensionMappingTypeDef]
|
|
377
|
+
TimeColumn: NotRequired[str]
|
|
378
|
+
TimeUnit: NotRequired[TimeUnitType]
|
|
379
|
+
MultiMeasureMappings: NotRequired[MultiMeasureMappingsOutputTypeDef]
|
|
380
|
+
MixedMeasureMappings: NotRequired[list[MixedMeasureMappingOutputTypeDef]]
|
|
381
|
+
MeasureNameColumn: NotRequired[str]
|
|
382
|
+
|
|
383
|
+
class DataModelTypeDef(TypedDict):
|
|
384
|
+
DimensionMappings: Sequence[DimensionMappingTypeDef]
|
|
385
|
+
TimeColumn: NotRequired[str]
|
|
386
|
+
TimeUnit: NotRequired[TimeUnitType]
|
|
387
|
+
MultiMeasureMappings: NotRequired[MultiMeasureMappingsTypeDef]
|
|
388
|
+
MixedMeasureMappings: NotRequired[Sequence[MixedMeasureMappingTypeDef]]
|
|
389
|
+
MeasureNameColumn: NotRequired[str]
|
|
390
|
+
|
|
391
|
+
SchemaUnionTypeDef = Union[SchemaTypeDef, SchemaOutputTypeDef]
|
|
392
|
+
|
|
393
|
+
class TableTypeDef(TypedDict):
|
|
394
|
+
Arn: NotRequired[str]
|
|
395
|
+
TableName: NotRequired[str]
|
|
396
|
+
DatabaseName: NotRequired[str]
|
|
397
|
+
TableStatus: NotRequired[TableStatusType]
|
|
398
|
+
RetentionProperties: NotRequired[RetentionPropertiesTypeDef]
|
|
399
|
+
CreationTime: NotRequired[datetime]
|
|
400
|
+
LastUpdatedTime: NotRequired[datetime]
|
|
401
|
+
MagneticStoreWriteProperties: NotRequired[MagneticStoreWritePropertiesTypeDef]
|
|
402
|
+
Schema: NotRequired[SchemaOutputTypeDef]
|
|
403
|
+
|
|
404
|
+
class DataModelConfigurationOutputTypeDef(TypedDict):
|
|
405
|
+
DataModel: NotRequired[DataModelOutputTypeDef]
|
|
406
|
+
DataModelS3Configuration: NotRequired[DataModelS3ConfigurationTypeDef]
|
|
407
|
+
|
|
408
|
+
class DataModelConfigurationTypeDef(TypedDict):
|
|
409
|
+
DataModel: NotRequired[DataModelTypeDef]
|
|
410
|
+
DataModelS3Configuration: NotRequired[DataModelS3ConfigurationTypeDef]
|
|
411
|
+
|
|
412
|
+
class CreateTableRequestTypeDef(TypedDict):
|
|
413
|
+
DatabaseName: str
|
|
414
|
+
TableName: str
|
|
415
|
+
RetentionProperties: NotRequired[RetentionPropertiesTypeDef]
|
|
416
|
+
Tags: NotRequired[Sequence[TagTypeDef]]
|
|
417
|
+
MagneticStoreWriteProperties: NotRequired[MagneticStoreWritePropertiesTypeDef]
|
|
418
|
+
Schema: NotRequired[SchemaUnionTypeDef]
|
|
419
|
+
|
|
420
|
+
class UpdateTableRequestTypeDef(TypedDict):
|
|
421
|
+
DatabaseName: str
|
|
422
|
+
TableName: str
|
|
423
|
+
RetentionProperties: NotRequired[RetentionPropertiesTypeDef]
|
|
424
|
+
MagneticStoreWriteProperties: NotRequired[MagneticStoreWritePropertiesTypeDef]
|
|
425
|
+
Schema: NotRequired[SchemaUnionTypeDef]
|
|
426
|
+
|
|
427
|
+
class CreateTableResponseTypeDef(TypedDict):
|
|
428
|
+
Table: TableTypeDef
|
|
429
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
430
|
+
|
|
431
|
+
class DescribeTableResponseTypeDef(TypedDict):
|
|
432
|
+
Table: TableTypeDef
|
|
433
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
434
|
+
|
|
435
|
+
class ListTablesResponseTypeDef(TypedDict):
|
|
436
|
+
Tables: list[TableTypeDef]
|
|
437
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
438
|
+
NextToken: NotRequired[str]
|
|
439
|
+
|
|
440
|
+
class UpdateTableResponseTypeDef(TypedDict):
|
|
441
|
+
Table: TableTypeDef
|
|
442
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
443
|
+
|
|
444
|
+
class BatchLoadTaskDescriptionTypeDef(TypedDict):
|
|
445
|
+
TaskId: NotRequired[str]
|
|
446
|
+
ErrorMessage: NotRequired[str]
|
|
447
|
+
DataSourceConfiguration: NotRequired[DataSourceConfigurationTypeDef]
|
|
448
|
+
ProgressReport: NotRequired[BatchLoadProgressReportTypeDef]
|
|
449
|
+
ReportConfiguration: NotRequired[ReportConfigurationTypeDef]
|
|
450
|
+
DataModelConfiguration: NotRequired[DataModelConfigurationOutputTypeDef]
|
|
451
|
+
TargetDatabaseName: NotRequired[str]
|
|
452
|
+
TargetTableName: NotRequired[str]
|
|
453
|
+
TaskStatus: NotRequired[BatchLoadStatusType]
|
|
454
|
+
RecordVersion: NotRequired[int]
|
|
455
|
+
CreationTime: NotRequired[datetime]
|
|
456
|
+
LastUpdatedTime: NotRequired[datetime]
|
|
457
|
+
ResumableUntil: NotRequired[datetime]
|
|
458
|
+
|
|
459
|
+
DataModelConfigurationUnionTypeDef = Union[
|
|
460
|
+
DataModelConfigurationTypeDef, DataModelConfigurationOutputTypeDef
|
|
461
|
+
]
|
|
462
|
+
|
|
463
|
+
class DescribeBatchLoadTaskResponseTypeDef(TypedDict):
|
|
464
|
+
BatchLoadTaskDescription: BatchLoadTaskDescriptionTypeDef
|
|
465
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
466
|
+
|
|
467
|
+
class CreateBatchLoadTaskRequestTypeDef(TypedDict):
|
|
468
|
+
DataSourceConfiguration: DataSourceConfigurationTypeDef
|
|
469
|
+
ReportConfiguration: ReportConfigurationTypeDef
|
|
470
|
+
TargetDatabaseName: str
|
|
471
|
+
TargetTableName: str
|
|
472
|
+
ClientToken: NotRequired[str]
|
|
473
|
+
DataModelConfiguration: NotRequired[DataModelConfigurationUnionTypeDef]
|
|
474
|
+
RecordVersion: NotRequired[int]
|