types-boto3-timestream-influxdb 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.
@@ -0,0 +1,336 @@
1
+ """
2
+ Type annotations for timestream-influxdb service Client.
3
+
4
+ [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/)
5
+
6
+ Copyright 2025 Vlad Emelianov
7
+
8
+ Usage::
9
+
10
+ ```python
11
+ from boto3.session import Session
12
+ from types_boto3_timestream_influxdb.client import TimestreamInfluxDBClient
13
+
14
+ session = Session()
15
+ client: TimestreamInfluxDBClient = session.client("timestream-influxdb")
16
+ ```
17
+ """
18
+
19
+ from __future__ import annotations
20
+
21
+ import sys
22
+ from collections.abc import Mapping
23
+ from typing import Any, overload
24
+
25
+ from botocore.client import BaseClient, ClientMeta
26
+ from botocore.errorfactory import BaseClientExceptions
27
+ from botocore.exceptions import ClientError as BotocoreClientError
28
+
29
+ from .paginator import (
30
+ ListDbClustersPaginator,
31
+ ListDbInstancesForClusterPaginator,
32
+ ListDbInstancesPaginator,
33
+ ListDbParameterGroupsPaginator,
34
+ )
35
+ from .type_defs import (
36
+ CreateDbClusterInputTypeDef,
37
+ CreateDbClusterOutputTypeDef,
38
+ CreateDbInstanceInputTypeDef,
39
+ CreateDbInstanceOutputTypeDef,
40
+ CreateDbParameterGroupInputTypeDef,
41
+ CreateDbParameterGroupOutputTypeDef,
42
+ DeleteDbClusterInputTypeDef,
43
+ DeleteDbClusterOutputTypeDef,
44
+ DeleteDbInstanceInputTypeDef,
45
+ DeleteDbInstanceOutputTypeDef,
46
+ EmptyResponseMetadataTypeDef,
47
+ GetDbClusterInputTypeDef,
48
+ GetDbClusterOutputTypeDef,
49
+ GetDbInstanceInputTypeDef,
50
+ GetDbInstanceOutputTypeDef,
51
+ GetDbParameterGroupInputTypeDef,
52
+ GetDbParameterGroupOutputTypeDef,
53
+ ListDbClustersInputTypeDef,
54
+ ListDbClustersOutputTypeDef,
55
+ ListDbInstancesForClusterInputTypeDef,
56
+ ListDbInstancesForClusterOutputTypeDef,
57
+ ListDbInstancesInputTypeDef,
58
+ ListDbInstancesOutputTypeDef,
59
+ ListDbParameterGroupsInputTypeDef,
60
+ ListDbParameterGroupsOutputTypeDef,
61
+ ListTagsForResourceRequestTypeDef,
62
+ ListTagsForResourceResponseTypeDef,
63
+ TagResourceRequestTypeDef,
64
+ UntagResourceRequestTypeDef,
65
+ UpdateDbClusterInputTypeDef,
66
+ UpdateDbClusterOutputTypeDef,
67
+ UpdateDbInstanceInputTypeDef,
68
+ UpdateDbInstanceOutputTypeDef,
69
+ )
70
+
71
+ if sys.version_info >= (3, 12):
72
+ from typing import Literal, Unpack
73
+ else:
74
+ from typing_extensions import Literal, Unpack
75
+
76
+ __all__ = ("TimestreamInfluxDBClient",)
77
+
78
+ class Exceptions(BaseClientExceptions):
79
+ AccessDeniedException: type[BotocoreClientError]
80
+ ClientError: type[BotocoreClientError]
81
+ ConflictException: type[BotocoreClientError]
82
+ InternalServerException: type[BotocoreClientError]
83
+ ResourceNotFoundException: type[BotocoreClientError]
84
+ ServiceQuotaExceededException: type[BotocoreClientError]
85
+ ThrottlingException: type[BotocoreClientError]
86
+ ValidationException: type[BotocoreClientError]
87
+
88
+ class TimestreamInfluxDBClient(BaseClient):
89
+ """
90
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb.html#TimestreamInfluxDB.Client)
91
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/)
92
+ """
93
+
94
+ meta: ClientMeta
95
+
96
+ @property
97
+ def exceptions(self) -> Exceptions:
98
+ """
99
+ TimestreamInfluxDBClient exceptions.
100
+
101
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb.html#TimestreamInfluxDB.Client)
102
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#exceptions)
103
+ """
104
+
105
+ def can_paginate(self, operation_name: str) -> bool:
106
+ """
107
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/can_paginate.html)
108
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#can_paginate)
109
+ """
110
+
111
+ def generate_presigned_url(
112
+ self,
113
+ ClientMethod: str,
114
+ Params: Mapping[str, Any] = ...,
115
+ ExpiresIn: int = 3600,
116
+ HttpMethod: str = ...,
117
+ ) -> str:
118
+ """
119
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/generate_presigned_url.html)
120
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#generate_presigned_url)
121
+ """
122
+
123
+ def create_db_cluster(
124
+ self, **kwargs: Unpack[CreateDbClusterInputTypeDef]
125
+ ) -> CreateDbClusterOutputTypeDef:
126
+ """
127
+ Creates a new Timestream for InfluxDB cluster.
128
+
129
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/create_db_cluster.html)
130
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#create_db_cluster)
131
+ """
132
+
133
+ def create_db_instance(
134
+ self, **kwargs: Unpack[CreateDbInstanceInputTypeDef]
135
+ ) -> CreateDbInstanceOutputTypeDef:
136
+ """
137
+ Creates a new Timestream for InfluxDB DB instance.
138
+
139
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/create_db_instance.html)
140
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#create_db_instance)
141
+ """
142
+
143
+ def create_db_parameter_group(
144
+ self, **kwargs: Unpack[CreateDbParameterGroupInputTypeDef]
145
+ ) -> CreateDbParameterGroupOutputTypeDef:
146
+ """
147
+ Creates a new Timestream for InfluxDB DB parameter group to associate with DB
148
+ instances.
149
+
150
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/create_db_parameter_group.html)
151
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#create_db_parameter_group)
152
+ """
153
+
154
+ def delete_db_cluster(
155
+ self, **kwargs: Unpack[DeleteDbClusterInputTypeDef]
156
+ ) -> DeleteDbClusterOutputTypeDef:
157
+ """
158
+ Deletes a Timestream for InfluxDB cluster.
159
+
160
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/delete_db_cluster.html)
161
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#delete_db_cluster)
162
+ """
163
+
164
+ def delete_db_instance(
165
+ self, **kwargs: Unpack[DeleteDbInstanceInputTypeDef]
166
+ ) -> DeleteDbInstanceOutputTypeDef:
167
+ """
168
+ Deletes a Timestream for InfluxDB DB instance.
169
+
170
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/delete_db_instance.html)
171
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#delete_db_instance)
172
+ """
173
+
174
+ def get_db_cluster(
175
+ self, **kwargs: Unpack[GetDbClusterInputTypeDef]
176
+ ) -> GetDbClusterOutputTypeDef:
177
+ """
178
+ Retrieves information about a Timestream for InfluxDB cluster.
179
+
180
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_db_cluster.html)
181
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_db_cluster)
182
+ """
183
+
184
+ def get_db_instance(
185
+ self, **kwargs: Unpack[GetDbInstanceInputTypeDef]
186
+ ) -> GetDbInstanceOutputTypeDef:
187
+ """
188
+ Returns a Timestream for InfluxDB DB instance.
189
+
190
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_db_instance.html)
191
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_db_instance)
192
+ """
193
+
194
+ def get_db_parameter_group(
195
+ self, **kwargs: Unpack[GetDbParameterGroupInputTypeDef]
196
+ ) -> GetDbParameterGroupOutputTypeDef:
197
+ """
198
+ Returns a Timestream for InfluxDB DB parameter group.
199
+
200
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_db_parameter_group.html)
201
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_db_parameter_group)
202
+ """
203
+
204
+ def list_db_clusters(
205
+ self, **kwargs: Unpack[ListDbClustersInputTypeDef]
206
+ ) -> ListDbClustersOutputTypeDef:
207
+ """
208
+ Returns a list of Timestream for InfluxDB DB clusters.
209
+
210
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/list_db_clusters.html)
211
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#list_db_clusters)
212
+ """
213
+
214
+ def list_db_instances(
215
+ self, **kwargs: Unpack[ListDbInstancesInputTypeDef]
216
+ ) -> ListDbInstancesOutputTypeDef:
217
+ """
218
+ Returns a list of Timestream for InfluxDB DB instances.
219
+
220
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/list_db_instances.html)
221
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#list_db_instances)
222
+ """
223
+
224
+ def list_db_instances_for_cluster(
225
+ self, **kwargs: Unpack[ListDbInstancesForClusterInputTypeDef]
226
+ ) -> ListDbInstancesForClusterOutputTypeDef:
227
+ """
228
+ Returns a list of Timestream for InfluxDB clusters.
229
+
230
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/list_db_instances_for_cluster.html)
231
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#list_db_instances_for_cluster)
232
+ """
233
+
234
+ def list_db_parameter_groups(
235
+ self, **kwargs: Unpack[ListDbParameterGroupsInputTypeDef]
236
+ ) -> ListDbParameterGroupsOutputTypeDef:
237
+ """
238
+ Returns a list of Timestream for InfluxDB DB parameter groups.
239
+
240
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/list_db_parameter_groups.html)
241
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#list_db_parameter_groups)
242
+ """
243
+
244
+ def list_tags_for_resource(
245
+ self, **kwargs: Unpack[ListTagsForResourceRequestTypeDef]
246
+ ) -> ListTagsForResourceResponseTypeDef:
247
+ """
248
+ A list of tags applied to the resource.
249
+
250
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/list_tags_for_resource.html)
251
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#list_tags_for_resource)
252
+ """
253
+
254
+ def tag_resource(
255
+ self, **kwargs: Unpack[TagResourceRequestTypeDef]
256
+ ) -> EmptyResponseMetadataTypeDef:
257
+ """
258
+ Tags are composed of a Key/Value pairs.
259
+
260
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/tag_resource.html)
261
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#tag_resource)
262
+ """
263
+
264
+ def untag_resource(
265
+ self, **kwargs: Unpack[UntagResourceRequestTypeDef]
266
+ ) -> EmptyResponseMetadataTypeDef:
267
+ """
268
+ Removes the tag from the specified resource.
269
+
270
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/untag_resource.html)
271
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#untag_resource)
272
+ """
273
+
274
+ def update_db_cluster(
275
+ self, **kwargs: Unpack[UpdateDbClusterInputTypeDef]
276
+ ) -> UpdateDbClusterOutputTypeDef:
277
+ """
278
+ Updates a Timestream for InfluxDB cluster.
279
+
280
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/update_db_cluster.html)
281
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#update_db_cluster)
282
+ """
283
+
284
+ def update_db_instance(
285
+ self, **kwargs: Unpack[UpdateDbInstanceInputTypeDef]
286
+ ) -> UpdateDbInstanceOutputTypeDef:
287
+ """
288
+ Updates a Timestream for InfluxDB DB instance.
289
+
290
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/update_db_instance.html)
291
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#update_db_instance)
292
+ """
293
+
294
+ @overload # type: ignore[override]
295
+ def get_paginator( # type: ignore[override]
296
+ self, operation_name: Literal["list_db_clusters"]
297
+ ) -> ListDbClustersPaginator:
298
+ """
299
+ Create a paginator for an operation.
300
+
301
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_paginator.html)
302
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_paginator)
303
+ """
304
+
305
+ @overload # type: ignore[override]
306
+ def get_paginator( # type: ignore[override]
307
+ self, operation_name: Literal["list_db_instances_for_cluster"]
308
+ ) -> ListDbInstancesForClusterPaginator:
309
+ """
310
+ Create a paginator for an operation.
311
+
312
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_paginator.html)
313
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_paginator)
314
+ """
315
+
316
+ @overload # type: ignore[override]
317
+ def get_paginator( # type: ignore[override]
318
+ self, operation_name: Literal["list_db_instances"]
319
+ ) -> ListDbInstancesPaginator:
320
+ """
321
+ Create a paginator for an operation.
322
+
323
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_paginator.html)
324
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_paginator)
325
+ """
326
+
327
+ @overload # type: ignore[override]
328
+ def get_paginator( # type: ignore[override]
329
+ self, operation_name: Literal["list_db_parameter_groups"]
330
+ ) -> ListDbParameterGroupsPaginator:
331
+ """
332
+ Create a paginator for an operation.
333
+
334
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_paginator.html)
335
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_paginator)
336
+ """