types-boto3-timestream-influxdb 1.35.71__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 types-boto3-timestream-influxdb might be problematic. Click here for more details.
- types_boto3_timestream_influxdb/__init__.py +36 -0
- types_boto3_timestream_influxdb/__init__.pyi +35 -0
- types_boto3_timestream_influxdb/__main__.py +42 -0
- types_boto3_timestream_influxdb/client.py +249 -0
- types_boto3_timestream_influxdb/client.pyi +245 -0
- types_boto3_timestream_influxdb/literals.py +482 -0
- types_boto3_timestream_influxdb/literals.pyi +480 -0
- types_boto3_timestream_influxdb/paginator.py +85 -0
- types_boto3_timestream_influxdb/paginator.pyi +78 -0
- types_boto3_timestream_influxdb/py.typed +0 -0
- types_boto3_timestream_influxdb/type_defs.py +388 -0
- types_boto3_timestream_influxdb/type_defs.pyi +359 -0
- types_boto3_timestream_influxdb/version.py +7 -0
- types_boto3_timestream_influxdb-1.35.71.dist-info/LICENSE +21 -0
- types_boto3_timestream_influxdb-1.35.71.dist-info/METADATA +437 -0
- types_boto3_timestream_influxdb-1.35.71.dist-info/RECORD +18 -0
- types_boto3_timestream_influxdb-1.35.71.dist-info/WHEEL +5 -0
- types_boto3_timestream_influxdb-1.35.71.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for timestream-influxdb service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_timestream_influxdb import (
|
|
9
|
+
Client,
|
|
10
|
+
ListDbInstancesPaginator,
|
|
11
|
+
ListDbParameterGroupsPaginator,
|
|
12
|
+
TimestreamInfluxDBClient,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
session = Session()
|
|
16
|
+
client: TimestreamInfluxDBClient = session.client("timestream-influxdb")
|
|
17
|
+
|
|
18
|
+
list_db_instances_paginator: ListDbInstancesPaginator = client.get_paginator("list_db_instances")
|
|
19
|
+
list_db_parameter_groups_paginator: ListDbParameterGroupsPaginator = client.get_paginator("list_db_parameter_groups")
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Copyright 2024 Vlad Emelianov
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
from .client import TimestreamInfluxDBClient
|
|
26
|
+
from .paginator import ListDbInstancesPaginator, ListDbParameterGroupsPaginator
|
|
27
|
+
|
|
28
|
+
Client = TimestreamInfluxDBClient
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
__all__ = (
|
|
32
|
+
"Client",
|
|
33
|
+
"ListDbInstancesPaginator",
|
|
34
|
+
"ListDbParameterGroupsPaginator",
|
|
35
|
+
"TimestreamInfluxDBClient",
|
|
36
|
+
)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for timestream-influxdb service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_timestream_influxdb import (
|
|
9
|
+
Client,
|
|
10
|
+
ListDbInstancesPaginator,
|
|
11
|
+
ListDbParameterGroupsPaginator,
|
|
12
|
+
TimestreamInfluxDBClient,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
session = Session()
|
|
16
|
+
client: TimestreamInfluxDBClient = session.client("timestream-influxdb")
|
|
17
|
+
|
|
18
|
+
list_db_instances_paginator: ListDbInstancesPaginator = client.get_paginator("list_db_instances")
|
|
19
|
+
list_db_parameter_groups_paginator: ListDbParameterGroupsPaginator = client.get_paginator("list_db_parameter_groups")
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Copyright 2024 Vlad Emelianov
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
from .client import TimestreamInfluxDBClient
|
|
26
|
+
from .paginator import ListDbInstancesPaginator, ListDbParameterGroupsPaginator
|
|
27
|
+
|
|
28
|
+
Client = TimestreamInfluxDBClient
|
|
29
|
+
|
|
30
|
+
__all__ = (
|
|
31
|
+
"Client",
|
|
32
|
+
"ListDbInstancesPaginator",
|
|
33
|
+
"ListDbParameterGroupsPaginator",
|
|
34
|
+
"TimestreamInfluxDBClient",
|
|
35
|
+
)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main CLI entrypoint.
|
|
3
|
+
|
|
4
|
+
Copyright 2024 Vlad Emelianov
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def print_info() -> None:
|
|
11
|
+
"""
|
|
12
|
+
Print package info to stdout.
|
|
13
|
+
"""
|
|
14
|
+
print(
|
|
15
|
+
"Type annotations for boto3 TimestreamInfluxDB 1.35.71\n"
|
|
16
|
+
"Version: 1.35.71\n"
|
|
17
|
+
"Builder version: 8.4.1\n"
|
|
18
|
+
"Docs: https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb//\n"
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb.html#timestreaminfluxdb\n"
|
|
20
|
+
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def print_version() -> None:
|
|
26
|
+
"""
|
|
27
|
+
Print package version to stdout.
|
|
28
|
+
"""
|
|
29
|
+
print("1.35.71")
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def main() -> None:
|
|
33
|
+
"""
|
|
34
|
+
Main CLI entrypoint.
|
|
35
|
+
"""
|
|
36
|
+
if "--version" in sys.argv:
|
|
37
|
+
return print_version()
|
|
38
|
+
print_info()
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
if __name__ == "__main__":
|
|
42
|
+
main()
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for timestream-influxdb service client.
|
|
3
|
+
|
|
4
|
+
[Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
from types_boto3_timestream_influxdb.client import TimestreamInfluxDBClient
|
|
11
|
+
|
|
12
|
+
session = Session()
|
|
13
|
+
client: TimestreamInfluxDBClient = session.client("timestream-influxdb")
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Copyright 2024 Vlad Emelianov
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
import sys
|
|
20
|
+
from typing import Any, Dict, Mapping, Type, overload
|
|
21
|
+
|
|
22
|
+
from botocore.client import BaseClient, ClientMeta
|
|
23
|
+
|
|
24
|
+
from .paginator import ListDbInstancesPaginator, ListDbParameterGroupsPaginator
|
|
25
|
+
from .type_defs import (
|
|
26
|
+
CreateDbInstanceInputRequestTypeDef,
|
|
27
|
+
CreateDbInstanceOutputTypeDef,
|
|
28
|
+
CreateDbParameterGroupInputRequestTypeDef,
|
|
29
|
+
CreateDbParameterGroupOutputTypeDef,
|
|
30
|
+
DeleteDbInstanceInputRequestTypeDef,
|
|
31
|
+
DeleteDbInstanceOutputTypeDef,
|
|
32
|
+
EmptyResponseMetadataTypeDef,
|
|
33
|
+
GetDbInstanceInputRequestTypeDef,
|
|
34
|
+
GetDbInstanceOutputTypeDef,
|
|
35
|
+
GetDbParameterGroupInputRequestTypeDef,
|
|
36
|
+
GetDbParameterGroupOutputTypeDef,
|
|
37
|
+
ListDbInstancesInputRequestTypeDef,
|
|
38
|
+
ListDbInstancesOutputTypeDef,
|
|
39
|
+
ListDbParameterGroupsInputRequestTypeDef,
|
|
40
|
+
ListDbParameterGroupsOutputTypeDef,
|
|
41
|
+
ListTagsForResourceRequestRequestTypeDef,
|
|
42
|
+
ListTagsForResourceResponseTypeDef,
|
|
43
|
+
TagResourceRequestRequestTypeDef,
|
|
44
|
+
UntagResourceRequestRequestTypeDef,
|
|
45
|
+
UpdateDbInstanceInputRequestTypeDef,
|
|
46
|
+
UpdateDbInstanceOutputTypeDef,
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
if sys.version_info >= (3, 12):
|
|
50
|
+
from typing import Literal, Unpack
|
|
51
|
+
else:
|
|
52
|
+
from typing_extensions import Literal, Unpack
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
__all__ = ("TimestreamInfluxDBClient",)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class BotocoreClientError(Exception):
|
|
59
|
+
MSG_TEMPLATE: str
|
|
60
|
+
|
|
61
|
+
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
62
|
+
self.response: Dict[str, Any]
|
|
63
|
+
self.operation_name: str
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class Exceptions:
|
|
67
|
+
AccessDeniedException: Type[BotocoreClientError]
|
|
68
|
+
ClientError: Type[BotocoreClientError]
|
|
69
|
+
ConflictException: Type[BotocoreClientError]
|
|
70
|
+
InternalServerException: Type[BotocoreClientError]
|
|
71
|
+
ResourceNotFoundException: Type[BotocoreClientError]
|
|
72
|
+
ServiceQuotaExceededException: Type[BotocoreClientError]
|
|
73
|
+
ThrottlingException: Type[BotocoreClientError]
|
|
74
|
+
ValidationException: Type[BotocoreClientError]
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
class TimestreamInfluxDBClient(BaseClient):
|
|
78
|
+
"""
|
|
79
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb.html#TimestreamInfluxDB.Client)
|
|
80
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/)
|
|
81
|
+
"""
|
|
82
|
+
|
|
83
|
+
meta: ClientMeta
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def exceptions(self) -> Exceptions:
|
|
87
|
+
"""
|
|
88
|
+
TimestreamInfluxDBClient exceptions.
|
|
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/#exceptions)
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
95
|
+
"""
|
|
96
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/can_paginate.html)
|
|
97
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#can_paginate)
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
def generate_presigned_url(
|
|
101
|
+
self,
|
|
102
|
+
ClientMethod: str,
|
|
103
|
+
Params: Mapping[str, Any] = ...,
|
|
104
|
+
ExpiresIn: int = 3600,
|
|
105
|
+
HttpMethod: str = ...,
|
|
106
|
+
) -> str:
|
|
107
|
+
"""
|
|
108
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/generate_presigned_url.html)
|
|
109
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#generate_presigned_url)
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
def close(self) -> None:
|
|
113
|
+
"""
|
|
114
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/close.html)
|
|
115
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#close)
|
|
116
|
+
"""
|
|
117
|
+
|
|
118
|
+
def create_db_instance(
|
|
119
|
+
self, **kwargs: Unpack[CreateDbInstanceInputRequestTypeDef]
|
|
120
|
+
) -> CreateDbInstanceOutputTypeDef:
|
|
121
|
+
"""
|
|
122
|
+
Creates a new Timestream for InfluxDB DB instance.
|
|
123
|
+
|
|
124
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/create_db_instance.html)
|
|
125
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#create_db_instance)
|
|
126
|
+
"""
|
|
127
|
+
|
|
128
|
+
def create_db_parameter_group(
|
|
129
|
+
self, **kwargs: Unpack[CreateDbParameterGroupInputRequestTypeDef]
|
|
130
|
+
) -> CreateDbParameterGroupOutputTypeDef:
|
|
131
|
+
"""
|
|
132
|
+
Creates a new Timestream for InfluxDB DB parameter group to associate with DB
|
|
133
|
+
instances.
|
|
134
|
+
|
|
135
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/create_db_parameter_group.html)
|
|
136
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#create_db_parameter_group)
|
|
137
|
+
"""
|
|
138
|
+
|
|
139
|
+
def delete_db_instance(
|
|
140
|
+
self, **kwargs: Unpack[DeleteDbInstanceInputRequestTypeDef]
|
|
141
|
+
) -> DeleteDbInstanceOutputTypeDef:
|
|
142
|
+
"""
|
|
143
|
+
Deletes a Timestream for InfluxDB DB instance.
|
|
144
|
+
|
|
145
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/delete_db_instance.html)
|
|
146
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#delete_db_instance)
|
|
147
|
+
"""
|
|
148
|
+
|
|
149
|
+
def get_db_instance(
|
|
150
|
+
self, **kwargs: Unpack[GetDbInstanceInputRequestTypeDef]
|
|
151
|
+
) -> GetDbInstanceOutputTypeDef:
|
|
152
|
+
"""
|
|
153
|
+
Returns a Timestream for InfluxDB DB instance.
|
|
154
|
+
|
|
155
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_db_instance.html)
|
|
156
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_db_instance)
|
|
157
|
+
"""
|
|
158
|
+
|
|
159
|
+
def get_db_parameter_group(
|
|
160
|
+
self, **kwargs: Unpack[GetDbParameterGroupInputRequestTypeDef]
|
|
161
|
+
) -> GetDbParameterGroupOutputTypeDef:
|
|
162
|
+
"""
|
|
163
|
+
Returns a Timestream for InfluxDB DB parameter group.
|
|
164
|
+
|
|
165
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_db_parameter_group.html)
|
|
166
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_db_parameter_group)
|
|
167
|
+
"""
|
|
168
|
+
|
|
169
|
+
def list_db_instances(
|
|
170
|
+
self, **kwargs: Unpack[ListDbInstancesInputRequestTypeDef]
|
|
171
|
+
) -> ListDbInstancesOutputTypeDef:
|
|
172
|
+
"""
|
|
173
|
+
Returns a list of Timestream for InfluxDB DB instances.
|
|
174
|
+
|
|
175
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/list_db_instances.html)
|
|
176
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#list_db_instances)
|
|
177
|
+
"""
|
|
178
|
+
|
|
179
|
+
def list_db_parameter_groups(
|
|
180
|
+
self, **kwargs: Unpack[ListDbParameterGroupsInputRequestTypeDef]
|
|
181
|
+
) -> ListDbParameterGroupsOutputTypeDef:
|
|
182
|
+
"""
|
|
183
|
+
Returns a list of Timestream for InfluxDB DB parameter groups.
|
|
184
|
+
|
|
185
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/list_db_parameter_groups.html)
|
|
186
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#list_db_parameter_groups)
|
|
187
|
+
"""
|
|
188
|
+
|
|
189
|
+
def list_tags_for_resource(
|
|
190
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
|
|
191
|
+
) -> ListTagsForResourceResponseTypeDef:
|
|
192
|
+
"""
|
|
193
|
+
A list of tags applied to the resource.
|
|
194
|
+
|
|
195
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/list_tags_for_resource.html)
|
|
196
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#list_tags_for_resource)
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
def tag_resource(
|
|
200
|
+
self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]
|
|
201
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
202
|
+
"""
|
|
203
|
+
Tags are composed of a Key/Value pairs.
|
|
204
|
+
|
|
205
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/tag_resource.html)
|
|
206
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#tag_resource)
|
|
207
|
+
"""
|
|
208
|
+
|
|
209
|
+
def untag_resource(
|
|
210
|
+
self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
|
|
211
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
212
|
+
"""
|
|
213
|
+
Removes the tag from the specified resource.
|
|
214
|
+
|
|
215
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/untag_resource.html)
|
|
216
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#untag_resource)
|
|
217
|
+
"""
|
|
218
|
+
|
|
219
|
+
def update_db_instance(
|
|
220
|
+
self, **kwargs: Unpack[UpdateDbInstanceInputRequestTypeDef]
|
|
221
|
+
) -> UpdateDbInstanceOutputTypeDef:
|
|
222
|
+
"""
|
|
223
|
+
Updates a Timestream for InfluxDB DB instance.
|
|
224
|
+
|
|
225
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/update_db_instance.html)
|
|
226
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#update_db_instance)
|
|
227
|
+
"""
|
|
228
|
+
|
|
229
|
+
@overload
|
|
230
|
+
def get_paginator(
|
|
231
|
+
self, operation_name: Literal["list_db_instances"]
|
|
232
|
+
) -> ListDbInstancesPaginator:
|
|
233
|
+
"""
|
|
234
|
+
Create a paginator for an operation.
|
|
235
|
+
|
|
236
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_paginator.html)
|
|
237
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_paginator)
|
|
238
|
+
"""
|
|
239
|
+
|
|
240
|
+
@overload
|
|
241
|
+
def get_paginator(
|
|
242
|
+
self, operation_name: Literal["list_db_parameter_groups"]
|
|
243
|
+
) -> ListDbParameterGroupsPaginator:
|
|
244
|
+
"""
|
|
245
|
+
Create a paginator for an operation.
|
|
246
|
+
|
|
247
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_paginator.html)
|
|
248
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_paginator)
|
|
249
|
+
"""
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for timestream-influxdb service client.
|
|
3
|
+
|
|
4
|
+
[Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
from types_boto3_timestream_influxdb.client import TimestreamInfluxDBClient
|
|
11
|
+
|
|
12
|
+
session = Session()
|
|
13
|
+
client: TimestreamInfluxDBClient = session.client("timestream-influxdb")
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Copyright 2024 Vlad Emelianov
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
import sys
|
|
20
|
+
from typing import Any, Dict, Mapping, Type, overload
|
|
21
|
+
|
|
22
|
+
from botocore.client import BaseClient, ClientMeta
|
|
23
|
+
|
|
24
|
+
from .paginator import ListDbInstancesPaginator, ListDbParameterGroupsPaginator
|
|
25
|
+
from .type_defs import (
|
|
26
|
+
CreateDbInstanceInputRequestTypeDef,
|
|
27
|
+
CreateDbInstanceOutputTypeDef,
|
|
28
|
+
CreateDbParameterGroupInputRequestTypeDef,
|
|
29
|
+
CreateDbParameterGroupOutputTypeDef,
|
|
30
|
+
DeleteDbInstanceInputRequestTypeDef,
|
|
31
|
+
DeleteDbInstanceOutputTypeDef,
|
|
32
|
+
EmptyResponseMetadataTypeDef,
|
|
33
|
+
GetDbInstanceInputRequestTypeDef,
|
|
34
|
+
GetDbInstanceOutputTypeDef,
|
|
35
|
+
GetDbParameterGroupInputRequestTypeDef,
|
|
36
|
+
GetDbParameterGroupOutputTypeDef,
|
|
37
|
+
ListDbInstancesInputRequestTypeDef,
|
|
38
|
+
ListDbInstancesOutputTypeDef,
|
|
39
|
+
ListDbParameterGroupsInputRequestTypeDef,
|
|
40
|
+
ListDbParameterGroupsOutputTypeDef,
|
|
41
|
+
ListTagsForResourceRequestRequestTypeDef,
|
|
42
|
+
ListTagsForResourceResponseTypeDef,
|
|
43
|
+
TagResourceRequestRequestTypeDef,
|
|
44
|
+
UntagResourceRequestRequestTypeDef,
|
|
45
|
+
UpdateDbInstanceInputRequestTypeDef,
|
|
46
|
+
UpdateDbInstanceOutputTypeDef,
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
if sys.version_info >= (3, 12):
|
|
50
|
+
from typing import Literal, Unpack
|
|
51
|
+
else:
|
|
52
|
+
from typing_extensions import Literal, Unpack
|
|
53
|
+
|
|
54
|
+
__all__ = ("TimestreamInfluxDBClient",)
|
|
55
|
+
|
|
56
|
+
class BotocoreClientError(Exception):
|
|
57
|
+
MSG_TEMPLATE: str
|
|
58
|
+
|
|
59
|
+
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
60
|
+
self.response: Dict[str, Any]
|
|
61
|
+
self.operation_name: str
|
|
62
|
+
|
|
63
|
+
class Exceptions:
|
|
64
|
+
AccessDeniedException: Type[BotocoreClientError]
|
|
65
|
+
ClientError: Type[BotocoreClientError]
|
|
66
|
+
ConflictException: Type[BotocoreClientError]
|
|
67
|
+
InternalServerException: Type[BotocoreClientError]
|
|
68
|
+
ResourceNotFoundException: Type[BotocoreClientError]
|
|
69
|
+
ServiceQuotaExceededException: Type[BotocoreClientError]
|
|
70
|
+
ThrottlingException: Type[BotocoreClientError]
|
|
71
|
+
ValidationException: Type[BotocoreClientError]
|
|
72
|
+
|
|
73
|
+
class TimestreamInfluxDBClient(BaseClient):
|
|
74
|
+
"""
|
|
75
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb.html#TimestreamInfluxDB.Client)
|
|
76
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/)
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
meta: ClientMeta
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def exceptions(self) -> Exceptions:
|
|
83
|
+
"""
|
|
84
|
+
TimestreamInfluxDBClient exceptions.
|
|
85
|
+
|
|
86
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb.html#TimestreamInfluxDB.Client)
|
|
87
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#exceptions)
|
|
88
|
+
"""
|
|
89
|
+
|
|
90
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
91
|
+
"""
|
|
92
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/can_paginate.html)
|
|
93
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#can_paginate)
|
|
94
|
+
"""
|
|
95
|
+
|
|
96
|
+
def generate_presigned_url(
|
|
97
|
+
self,
|
|
98
|
+
ClientMethod: str,
|
|
99
|
+
Params: Mapping[str, Any] = ...,
|
|
100
|
+
ExpiresIn: int = 3600,
|
|
101
|
+
HttpMethod: str = ...,
|
|
102
|
+
) -> str:
|
|
103
|
+
"""
|
|
104
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/generate_presigned_url.html)
|
|
105
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#generate_presigned_url)
|
|
106
|
+
"""
|
|
107
|
+
|
|
108
|
+
def close(self) -> None:
|
|
109
|
+
"""
|
|
110
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/close.html)
|
|
111
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#close)
|
|
112
|
+
"""
|
|
113
|
+
|
|
114
|
+
def create_db_instance(
|
|
115
|
+
self, **kwargs: Unpack[CreateDbInstanceInputRequestTypeDef]
|
|
116
|
+
) -> CreateDbInstanceOutputTypeDef:
|
|
117
|
+
"""
|
|
118
|
+
Creates a new Timestream for InfluxDB DB instance.
|
|
119
|
+
|
|
120
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/create_db_instance.html)
|
|
121
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#create_db_instance)
|
|
122
|
+
"""
|
|
123
|
+
|
|
124
|
+
def create_db_parameter_group(
|
|
125
|
+
self, **kwargs: Unpack[CreateDbParameterGroupInputRequestTypeDef]
|
|
126
|
+
) -> CreateDbParameterGroupOutputTypeDef:
|
|
127
|
+
"""
|
|
128
|
+
Creates a new Timestream for InfluxDB DB parameter group to associate with DB
|
|
129
|
+
instances.
|
|
130
|
+
|
|
131
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/create_db_parameter_group.html)
|
|
132
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#create_db_parameter_group)
|
|
133
|
+
"""
|
|
134
|
+
|
|
135
|
+
def delete_db_instance(
|
|
136
|
+
self, **kwargs: Unpack[DeleteDbInstanceInputRequestTypeDef]
|
|
137
|
+
) -> DeleteDbInstanceOutputTypeDef:
|
|
138
|
+
"""
|
|
139
|
+
Deletes a Timestream for InfluxDB DB instance.
|
|
140
|
+
|
|
141
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/delete_db_instance.html)
|
|
142
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#delete_db_instance)
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
def get_db_instance(
|
|
146
|
+
self, **kwargs: Unpack[GetDbInstanceInputRequestTypeDef]
|
|
147
|
+
) -> GetDbInstanceOutputTypeDef:
|
|
148
|
+
"""
|
|
149
|
+
Returns a Timestream for InfluxDB DB instance.
|
|
150
|
+
|
|
151
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_db_instance.html)
|
|
152
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_db_instance)
|
|
153
|
+
"""
|
|
154
|
+
|
|
155
|
+
def get_db_parameter_group(
|
|
156
|
+
self, **kwargs: Unpack[GetDbParameterGroupInputRequestTypeDef]
|
|
157
|
+
) -> GetDbParameterGroupOutputTypeDef:
|
|
158
|
+
"""
|
|
159
|
+
Returns a Timestream for InfluxDB DB parameter group.
|
|
160
|
+
|
|
161
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_db_parameter_group.html)
|
|
162
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_db_parameter_group)
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
def list_db_instances(
|
|
166
|
+
self, **kwargs: Unpack[ListDbInstancesInputRequestTypeDef]
|
|
167
|
+
) -> ListDbInstancesOutputTypeDef:
|
|
168
|
+
"""
|
|
169
|
+
Returns a list of Timestream for InfluxDB DB instances.
|
|
170
|
+
|
|
171
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/list_db_instances.html)
|
|
172
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#list_db_instances)
|
|
173
|
+
"""
|
|
174
|
+
|
|
175
|
+
def list_db_parameter_groups(
|
|
176
|
+
self, **kwargs: Unpack[ListDbParameterGroupsInputRequestTypeDef]
|
|
177
|
+
) -> ListDbParameterGroupsOutputTypeDef:
|
|
178
|
+
"""
|
|
179
|
+
Returns a list of Timestream for InfluxDB DB parameter groups.
|
|
180
|
+
|
|
181
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/list_db_parameter_groups.html)
|
|
182
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#list_db_parameter_groups)
|
|
183
|
+
"""
|
|
184
|
+
|
|
185
|
+
def list_tags_for_resource(
|
|
186
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
|
|
187
|
+
) -> ListTagsForResourceResponseTypeDef:
|
|
188
|
+
"""
|
|
189
|
+
A list of tags applied to the resource.
|
|
190
|
+
|
|
191
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/list_tags_for_resource.html)
|
|
192
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#list_tags_for_resource)
|
|
193
|
+
"""
|
|
194
|
+
|
|
195
|
+
def tag_resource(
|
|
196
|
+
self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]
|
|
197
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
198
|
+
"""
|
|
199
|
+
Tags are composed of a Key/Value pairs.
|
|
200
|
+
|
|
201
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/tag_resource.html)
|
|
202
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#tag_resource)
|
|
203
|
+
"""
|
|
204
|
+
|
|
205
|
+
def untag_resource(
|
|
206
|
+
self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
|
|
207
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
208
|
+
"""
|
|
209
|
+
Removes the tag from the specified resource.
|
|
210
|
+
|
|
211
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/untag_resource.html)
|
|
212
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#untag_resource)
|
|
213
|
+
"""
|
|
214
|
+
|
|
215
|
+
def update_db_instance(
|
|
216
|
+
self, **kwargs: Unpack[UpdateDbInstanceInputRequestTypeDef]
|
|
217
|
+
) -> UpdateDbInstanceOutputTypeDef:
|
|
218
|
+
"""
|
|
219
|
+
Updates a Timestream for InfluxDB DB instance.
|
|
220
|
+
|
|
221
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/update_db_instance.html)
|
|
222
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#update_db_instance)
|
|
223
|
+
"""
|
|
224
|
+
|
|
225
|
+
@overload
|
|
226
|
+
def get_paginator(
|
|
227
|
+
self, operation_name: Literal["list_db_instances"]
|
|
228
|
+
) -> ListDbInstancesPaginator:
|
|
229
|
+
"""
|
|
230
|
+
Create a paginator for an operation.
|
|
231
|
+
|
|
232
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_paginator.html)
|
|
233
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_paginator)
|
|
234
|
+
"""
|
|
235
|
+
|
|
236
|
+
@overload
|
|
237
|
+
def get_paginator(
|
|
238
|
+
self, operation_name: Literal["list_db_parameter_groups"]
|
|
239
|
+
) -> ListDbParameterGroupsPaginator:
|
|
240
|
+
"""
|
|
241
|
+
Create a paginator for an operation.
|
|
242
|
+
|
|
243
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-influxdb/client/get_paginator.html)
|
|
244
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_timestream_influxdb/client/#get_paginator)
|
|
245
|
+
"""
|