types-aiobotocore-elementalinference 3.2.1__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.
- types_aiobotocore_elementalinference/__init__.py +38 -0
- types_aiobotocore_elementalinference/__init__.pyi +37 -0
- types_aiobotocore_elementalinference/__main__.py +43 -0
- types_aiobotocore_elementalinference/client.py +246 -0
- types_aiobotocore_elementalinference/client.pyi +243 -0
- types_aiobotocore_elementalinference/literals.py +465 -0
- types_aiobotocore_elementalinference/literals.pyi +463 -0
- types_aiobotocore_elementalinference/paginator.py +62 -0
- types_aiobotocore_elementalinference/paginator.pyi +58 -0
- types_aiobotocore_elementalinference/py.typed +0 -0
- types_aiobotocore_elementalinference/type_defs.py +305 -0
- types_aiobotocore_elementalinference/type_defs.pyi +278 -0
- types_aiobotocore_elementalinference/version.py +7 -0
- types_aiobotocore_elementalinference/waiter.py +55 -0
- types_aiobotocore_elementalinference/waiter.pyi +52 -0
- types_aiobotocore_elementalinference-3.2.1.dist-info/METADATA +491 -0
- types_aiobotocore_elementalinference-3.2.1.dist-info/RECORD +20 -0
- types_aiobotocore_elementalinference-3.2.1.dist-info/WHEEL +5 -0
- types_aiobotocore_elementalinference-3.2.1.dist-info/licenses/LICENSE +21 -0
- types_aiobotocore_elementalinference-3.2.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for elementalinference service.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/)
|
|
5
|
+
|
|
6
|
+
Copyright 2026 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from aiobotocore.session import get_session
|
|
12
|
+
from types_aiobotocore_elementalinference import (
|
|
13
|
+
Client,
|
|
14
|
+
ElementalInferenceClient,
|
|
15
|
+
FeedDeletedWaiter,
|
|
16
|
+
ListFeedsPaginator,
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
session = get_session()
|
|
20
|
+
async with session.create_client("elementalinference") as client:
|
|
21
|
+
client: ElementalInferenceClient
|
|
22
|
+
...
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
feed_deleted_waiter: FeedDeletedWaiter = client.get_waiter("feed_deleted")
|
|
26
|
+
|
|
27
|
+
list_feeds_paginator: ListFeedsPaginator = client.get_paginator("list_feeds")
|
|
28
|
+
```
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
from .client import ElementalInferenceClient
|
|
32
|
+
from .paginator import ListFeedsPaginator
|
|
33
|
+
from .waiter import FeedDeletedWaiter
|
|
34
|
+
|
|
35
|
+
Client = ElementalInferenceClient
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
__all__ = ("Client", "ElementalInferenceClient", "FeedDeletedWaiter", "ListFeedsPaginator")
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for elementalinference service.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/)
|
|
5
|
+
|
|
6
|
+
Copyright 2026 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from aiobotocore.session import get_session
|
|
12
|
+
from types_aiobotocore_elementalinference import (
|
|
13
|
+
Client,
|
|
14
|
+
ElementalInferenceClient,
|
|
15
|
+
FeedDeletedWaiter,
|
|
16
|
+
ListFeedsPaginator,
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
session = get_session()
|
|
20
|
+
async with session.create_client("elementalinference") as client:
|
|
21
|
+
client: ElementalInferenceClient
|
|
22
|
+
...
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
feed_deleted_waiter: FeedDeletedWaiter = client.get_waiter("feed_deleted")
|
|
26
|
+
|
|
27
|
+
list_feeds_paginator: ListFeedsPaginator = client.get_paginator("list_feeds")
|
|
28
|
+
```
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
from .client import ElementalInferenceClient
|
|
32
|
+
from .paginator import ListFeedsPaginator
|
|
33
|
+
from .waiter import FeedDeletedWaiter
|
|
34
|
+
|
|
35
|
+
Client = ElementalInferenceClient
|
|
36
|
+
|
|
37
|
+
__all__ = ("Client", "ElementalInferenceClient", "FeedDeletedWaiter", "ListFeedsPaginator")
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main CLI entrypoint.
|
|
3
|
+
|
|
4
|
+
Copyright 2026 Vlad Emelianov
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def print_info() -> None:
|
|
11
|
+
"""
|
|
12
|
+
Print package info to stdout.
|
|
13
|
+
"""
|
|
14
|
+
sys.stdout.write(
|
|
15
|
+
"Type annotations for aiobotocore ElementalInference 3.2.1\n"
|
|
16
|
+
"Version: 3.2.1\n"
|
|
17
|
+
"Builder version: 8.12.0\n"
|
|
18
|
+
"Docs: https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference//\n"
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference.html#elementalinference\n"
|
|
20
|
+
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def print_version() -> None:
|
|
26
|
+
"""
|
|
27
|
+
Print package version to stdout.
|
|
28
|
+
"""
|
|
29
|
+
sys.stdout.write("3.2.1\n")
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def main() -> None:
|
|
33
|
+
"""
|
|
34
|
+
Main CLI entrypoint.
|
|
35
|
+
"""
|
|
36
|
+
if "--version" in sys.argv:
|
|
37
|
+
print_version()
|
|
38
|
+
return
|
|
39
|
+
print_info()
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
if __name__ == "__main__":
|
|
43
|
+
main()
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for elementalinference service Client.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/)
|
|
5
|
+
|
|
6
|
+
Copyright 2026 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from aiobotocore.session import get_session
|
|
12
|
+
from types_aiobotocore_elementalinference.client import ElementalInferenceClient
|
|
13
|
+
|
|
14
|
+
session = get_session()
|
|
15
|
+
async with session.create_client("elementalinference") as client:
|
|
16
|
+
client: ElementalInferenceClient
|
|
17
|
+
```
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from __future__ import annotations
|
|
21
|
+
|
|
22
|
+
import sys
|
|
23
|
+
from collections.abc import Mapping
|
|
24
|
+
from types import TracebackType
|
|
25
|
+
from typing import Any
|
|
26
|
+
|
|
27
|
+
from aiobotocore.client import AioBaseClient
|
|
28
|
+
from botocore.client import ClientMeta
|
|
29
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
30
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
31
|
+
|
|
32
|
+
from .paginator import ListFeedsPaginator
|
|
33
|
+
from .type_defs import (
|
|
34
|
+
AssociateFeedRequestTypeDef,
|
|
35
|
+
AssociateFeedResponseTypeDef,
|
|
36
|
+
CreateFeedRequestTypeDef,
|
|
37
|
+
CreateFeedResponseTypeDef,
|
|
38
|
+
DeleteFeedRequestTypeDef,
|
|
39
|
+
DeleteFeedResponseTypeDef,
|
|
40
|
+
DisassociateFeedRequestTypeDef,
|
|
41
|
+
DisassociateFeedResponseTypeDef,
|
|
42
|
+
EmptyResponseMetadataTypeDef,
|
|
43
|
+
GetFeedRequestTypeDef,
|
|
44
|
+
GetFeedResponseTypeDef,
|
|
45
|
+
ListFeedsRequestTypeDef,
|
|
46
|
+
ListFeedsResponseTypeDef,
|
|
47
|
+
ListTagsForResourceRequestTypeDef,
|
|
48
|
+
ListTagsForResourceResponseTypeDef,
|
|
49
|
+
TagResourceRequestTypeDef,
|
|
50
|
+
UntagResourceRequestTypeDef,
|
|
51
|
+
UpdateFeedRequestTypeDef,
|
|
52
|
+
UpdateFeedResponseTypeDef,
|
|
53
|
+
)
|
|
54
|
+
from .waiter import FeedDeletedWaiter
|
|
55
|
+
|
|
56
|
+
if sys.version_info >= (3, 12):
|
|
57
|
+
from typing import Literal, Self, Unpack
|
|
58
|
+
else:
|
|
59
|
+
from typing_extensions import Literal, Self, Unpack
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
__all__ = ("ElementalInferenceClient",)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
class Exceptions(BaseClientExceptions):
|
|
66
|
+
AccessDeniedException: type[BotocoreClientError]
|
|
67
|
+
ClientError: type[BotocoreClientError]
|
|
68
|
+
ConflictException: type[BotocoreClientError]
|
|
69
|
+
InternalServerErrorException: type[BotocoreClientError]
|
|
70
|
+
ResourceNotFoundException: type[BotocoreClientError]
|
|
71
|
+
ServiceQuotaExceededException: type[BotocoreClientError]
|
|
72
|
+
TooManyRequestException: type[BotocoreClientError]
|
|
73
|
+
ValidationException: type[BotocoreClientError]
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
class ElementalInferenceClient(AioBaseClient):
|
|
77
|
+
"""
|
|
78
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference.html#ElementalInference.Client)
|
|
79
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/)
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
meta: ClientMeta
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def exceptions(self) -> Exceptions:
|
|
86
|
+
"""
|
|
87
|
+
ElementalInferenceClient exceptions.
|
|
88
|
+
|
|
89
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference.html#ElementalInference.Client)
|
|
90
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#exceptions)
|
|
91
|
+
"""
|
|
92
|
+
|
|
93
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
94
|
+
"""
|
|
95
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/can_paginate.html)
|
|
96
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#can_paginate)
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
async def generate_presigned_url(
|
|
100
|
+
self,
|
|
101
|
+
ClientMethod: str,
|
|
102
|
+
Params: Mapping[str, Any] = ...,
|
|
103
|
+
ExpiresIn: int = 3600,
|
|
104
|
+
HttpMethod: str = ...,
|
|
105
|
+
) -> str:
|
|
106
|
+
"""
|
|
107
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/generate_presigned_url.html)
|
|
108
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#generate_presigned_url)
|
|
109
|
+
"""
|
|
110
|
+
|
|
111
|
+
async def associate_feed(
|
|
112
|
+
self, **kwargs: Unpack[AssociateFeedRequestTypeDef]
|
|
113
|
+
) -> AssociateFeedResponseTypeDef:
|
|
114
|
+
"""
|
|
115
|
+
Associates a resource with the feed.
|
|
116
|
+
|
|
117
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/associate_feed.html)
|
|
118
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#associate_feed)
|
|
119
|
+
"""
|
|
120
|
+
|
|
121
|
+
async def create_feed(
|
|
122
|
+
self, **kwargs: Unpack[CreateFeedRequestTypeDef]
|
|
123
|
+
) -> CreateFeedResponseTypeDef:
|
|
124
|
+
"""
|
|
125
|
+
Creates a feed.
|
|
126
|
+
|
|
127
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/create_feed.html)
|
|
128
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#create_feed)
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
async def delete_feed(
|
|
132
|
+
self, **kwargs: Unpack[DeleteFeedRequestTypeDef]
|
|
133
|
+
) -> DeleteFeedResponseTypeDef:
|
|
134
|
+
"""
|
|
135
|
+
Deletes the specified feed.
|
|
136
|
+
|
|
137
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/delete_feed.html)
|
|
138
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#delete_feed)
|
|
139
|
+
"""
|
|
140
|
+
|
|
141
|
+
async def disassociate_feed(
|
|
142
|
+
self, **kwargs: Unpack[DisassociateFeedRequestTypeDef]
|
|
143
|
+
) -> DisassociateFeedResponseTypeDef:
|
|
144
|
+
"""
|
|
145
|
+
Releases the resource (for example, an MediaLive channel) that is associated
|
|
146
|
+
with this feed.
|
|
147
|
+
|
|
148
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/disassociate_feed.html)
|
|
149
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#disassociate_feed)
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
async def get_feed(self, **kwargs: Unpack[GetFeedRequestTypeDef]) -> GetFeedResponseTypeDef:
|
|
153
|
+
"""
|
|
154
|
+
Retrieves information about the specified feed.
|
|
155
|
+
|
|
156
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/get_feed.html)
|
|
157
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#get_feed)
|
|
158
|
+
"""
|
|
159
|
+
|
|
160
|
+
async def list_feeds(
|
|
161
|
+
self, **kwargs: Unpack[ListFeedsRequestTypeDef]
|
|
162
|
+
) -> ListFeedsResponseTypeDef:
|
|
163
|
+
"""
|
|
164
|
+
Displays a list of feeds that belong to this AWS account.
|
|
165
|
+
|
|
166
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/list_feeds.html)
|
|
167
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#list_feeds)
|
|
168
|
+
"""
|
|
169
|
+
|
|
170
|
+
async def list_tags_for_resource(
|
|
171
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestTypeDef]
|
|
172
|
+
) -> ListTagsForResourceResponseTypeDef:
|
|
173
|
+
"""
|
|
174
|
+
List all tags that are on an Elemental Inference resource in the current region.
|
|
175
|
+
|
|
176
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/list_tags_for_resource.html)
|
|
177
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#list_tags_for_resource)
|
|
178
|
+
"""
|
|
179
|
+
|
|
180
|
+
async def tag_resource(
|
|
181
|
+
self, **kwargs: Unpack[TagResourceRequestTypeDef]
|
|
182
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
183
|
+
"""
|
|
184
|
+
Associates the specified tags to the resource identified by the specified
|
|
185
|
+
resourceArn in the current region.
|
|
186
|
+
|
|
187
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/tag_resource.html)
|
|
188
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#tag_resource)
|
|
189
|
+
"""
|
|
190
|
+
|
|
191
|
+
async def untag_resource(
|
|
192
|
+
self, **kwargs: Unpack[UntagResourceRequestTypeDef]
|
|
193
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
194
|
+
"""
|
|
195
|
+
Deletes specified tags from the specified resource in the current region.
|
|
196
|
+
|
|
197
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/untag_resource.html)
|
|
198
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#untag_resource)
|
|
199
|
+
"""
|
|
200
|
+
|
|
201
|
+
async def update_feed(
|
|
202
|
+
self, **kwargs: Unpack[UpdateFeedRequestTypeDef]
|
|
203
|
+
) -> UpdateFeedResponseTypeDef:
|
|
204
|
+
"""
|
|
205
|
+
Updates the name and/or outputs in a feed.
|
|
206
|
+
|
|
207
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/update_feed.html)
|
|
208
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#update_feed)
|
|
209
|
+
"""
|
|
210
|
+
|
|
211
|
+
def get_paginator( # type: ignore[override]
|
|
212
|
+
self, operation_name: Literal["list_feeds"]
|
|
213
|
+
) -> ListFeedsPaginator:
|
|
214
|
+
"""
|
|
215
|
+
Create a paginator for an operation.
|
|
216
|
+
|
|
217
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/get_paginator.html)
|
|
218
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#get_paginator)
|
|
219
|
+
"""
|
|
220
|
+
|
|
221
|
+
def get_waiter( # type: ignore[override]
|
|
222
|
+
self, waiter_name: Literal["feed_deleted"]
|
|
223
|
+
) -> FeedDeletedWaiter:
|
|
224
|
+
"""
|
|
225
|
+
Returns an object that can wait for some condition.
|
|
226
|
+
|
|
227
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/get_waiter.html)
|
|
228
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#get_waiter)
|
|
229
|
+
"""
|
|
230
|
+
|
|
231
|
+
async def __aenter__(self) -> Self:
|
|
232
|
+
"""
|
|
233
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference.html#ElementalInference.Client)
|
|
234
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/)
|
|
235
|
+
"""
|
|
236
|
+
|
|
237
|
+
async def __aexit__(
|
|
238
|
+
self,
|
|
239
|
+
exc_type: type[BaseException] | None,
|
|
240
|
+
exc_val: BaseException | None,
|
|
241
|
+
exc_tb: TracebackType | None,
|
|
242
|
+
) -> None:
|
|
243
|
+
"""
|
|
244
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference.html#ElementalInference.Client)
|
|
245
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/)
|
|
246
|
+
"""
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for elementalinference service Client.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/)
|
|
5
|
+
|
|
6
|
+
Copyright 2026 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from aiobotocore.session import get_session
|
|
12
|
+
from types_aiobotocore_elementalinference.client import ElementalInferenceClient
|
|
13
|
+
|
|
14
|
+
session = get_session()
|
|
15
|
+
async with session.create_client("elementalinference") as client:
|
|
16
|
+
client: ElementalInferenceClient
|
|
17
|
+
```
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from __future__ import annotations
|
|
21
|
+
|
|
22
|
+
import sys
|
|
23
|
+
from collections.abc import Mapping
|
|
24
|
+
from types import TracebackType
|
|
25
|
+
from typing import Any
|
|
26
|
+
|
|
27
|
+
from aiobotocore.client import AioBaseClient
|
|
28
|
+
from botocore.client import ClientMeta
|
|
29
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
30
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
31
|
+
|
|
32
|
+
from .paginator import ListFeedsPaginator
|
|
33
|
+
from .type_defs import (
|
|
34
|
+
AssociateFeedRequestTypeDef,
|
|
35
|
+
AssociateFeedResponseTypeDef,
|
|
36
|
+
CreateFeedRequestTypeDef,
|
|
37
|
+
CreateFeedResponseTypeDef,
|
|
38
|
+
DeleteFeedRequestTypeDef,
|
|
39
|
+
DeleteFeedResponseTypeDef,
|
|
40
|
+
DisassociateFeedRequestTypeDef,
|
|
41
|
+
DisassociateFeedResponseTypeDef,
|
|
42
|
+
EmptyResponseMetadataTypeDef,
|
|
43
|
+
GetFeedRequestTypeDef,
|
|
44
|
+
GetFeedResponseTypeDef,
|
|
45
|
+
ListFeedsRequestTypeDef,
|
|
46
|
+
ListFeedsResponseTypeDef,
|
|
47
|
+
ListTagsForResourceRequestTypeDef,
|
|
48
|
+
ListTagsForResourceResponseTypeDef,
|
|
49
|
+
TagResourceRequestTypeDef,
|
|
50
|
+
UntagResourceRequestTypeDef,
|
|
51
|
+
UpdateFeedRequestTypeDef,
|
|
52
|
+
UpdateFeedResponseTypeDef,
|
|
53
|
+
)
|
|
54
|
+
from .waiter import FeedDeletedWaiter
|
|
55
|
+
|
|
56
|
+
if sys.version_info >= (3, 12):
|
|
57
|
+
from typing import Literal, Self, Unpack
|
|
58
|
+
else:
|
|
59
|
+
from typing_extensions import Literal, Self, Unpack
|
|
60
|
+
|
|
61
|
+
__all__ = ("ElementalInferenceClient",)
|
|
62
|
+
|
|
63
|
+
class Exceptions(BaseClientExceptions):
|
|
64
|
+
AccessDeniedException: type[BotocoreClientError]
|
|
65
|
+
ClientError: type[BotocoreClientError]
|
|
66
|
+
ConflictException: type[BotocoreClientError]
|
|
67
|
+
InternalServerErrorException: type[BotocoreClientError]
|
|
68
|
+
ResourceNotFoundException: type[BotocoreClientError]
|
|
69
|
+
ServiceQuotaExceededException: type[BotocoreClientError]
|
|
70
|
+
TooManyRequestException: type[BotocoreClientError]
|
|
71
|
+
ValidationException: type[BotocoreClientError]
|
|
72
|
+
|
|
73
|
+
class ElementalInferenceClient(AioBaseClient):
|
|
74
|
+
"""
|
|
75
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference.html#ElementalInference.Client)
|
|
76
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/)
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
meta: ClientMeta
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def exceptions(self) -> Exceptions:
|
|
83
|
+
"""
|
|
84
|
+
ElementalInferenceClient exceptions.
|
|
85
|
+
|
|
86
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference.html#ElementalInference.Client)
|
|
87
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/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/elementalinference/client/can_paginate.html)
|
|
93
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#can_paginate)
|
|
94
|
+
"""
|
|
95
|
+
|
|
96
|
+
async 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/elementalinference/client/generate_presigned_url.html)
|
|
105
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#generate_presigned_url)
|
|
106
|
+
"""
|
|
107
|
+
|
|
108
|
+
async def associate_feed(
|
|
109
|
+
self, **kwargs: Unpack[AssociateFeedRequestTypeDef]
|
|
110
|
+
) -> AssociateFeedResponseTypeDef:
|
|
111
|
+
"""
|
|
112
|
+
Associates a resource with the feed.
|
|
113
|
+
|
|
114
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/associate_feed.html)
|
|
115
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#associate_feed)
|
|
116
|
+
"""
|
|
117
|
+
|
|
118
|
+
async def create_feed(
|
|
119
|
+
self, **kwargs: Unpack[CreateFeedRequestTypeDef]
|
|
120
|
+
) -> CreateFeedResponseTypeDef:
|
|
121
|
+
"""
|
|
122
|
+
Creates a feed.
|
|
123
|
+
|
|
124
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/create_feed.html)
|
|
125
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#create_feed)
|
|
126
|
+
"""
|
|
127
|
+
|
|
128
|
+
async def delete_feed(
|
|
129
|
+
self, **kwargs: Unpack[DeleteFeedRequestTypeDef]
|
|
130
|
+
) -> DeleteFeedResponseTypeDef:
|
|
131
|
+
"""
|
|
132
|
+
Deletes the specified feed.
|
|
133
|
+
|
|
134
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/delete_feed.html)
|
|
135
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#delete_feed)
|
|
136
|
+
"""
|
|
137
|
+
|
|
138
|
+
async def disassociate_feed(
|
|
139
|
+
self, **kwargs: Unpack[DisassociateFeedRequestTypeDef]
|
|
140
|
+
) -> DisassociateFeedResponseTypeDef:
|
|
141
|
+
"""
|
|
142
|
+
Releases the resource (for example, an MediaLive channel) that is associated
|
|
143
|
+
with this feed.
|
|
144
|
+
|
|
145
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/disassociate_feed.html)
|
|
146
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#disassociate_feed)
|
|
147
|
+
"""
|
|
148
|
+
|
|
149
|
+
async def get_feed(self, **kwargs: Unpack[GetFeedRequestTypeDef]) -> GetFeedResponseTypeDef:
|
|
150
|
+
"""
|
|
151
|
+
Retrieves information about the specified feed.
|
|
152
|
+
|
|
153
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/get_feed.html)
|
|
154
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#get_feed)
|
|
155
|
+
"""
|
|
156
|
+
|
|
157
|
+
async def list_feeds(
|
|
158
|
+
self, **kwargs: Unpack[ListFeedsRequestTypeDef]
|
|
159
|
+
) -> ListFeedsResponseTypeDef:
|
|
160
|
+
"""
|
|
161
|
+
Displays a list of feeds that belong to this AWS account.
|
|
162
|
+
|
|
163
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/list_feeds.html)
|
|
164
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#list_feeds)
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
async def list_tags_for_resource(
|
|
168
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestTypeDef]
|
|
169
|
+
) -> ListTagsForResourceResponseTypeDef:
|
|
170
|
+
"""
|
|
171
|
+
List all tags that are on an Elemental Inference resource in the current region.
|
|
172
|
+
|
|
173
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/list_tags_for_resource.html)
|
|
174
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#list_tags_for_resource)
|
|
175
|
+
"""
|
|
176
|
+
|
|
177
|
+
async def tag_resource(
|
|
178
|
+
self, **kwargs: Unpack[TagResourceRequestTypeDef]
|
|
179
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
180
|
+
"""
|
|
181
|
+
Associates the specified tags to the resource identified by the specified
|
|
182
|
+
resourceArn in the current region.
|
|
183
|
+
|
|
184
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/tag_resource.html)
|
|
185
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#tag_resource)
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
async def untag_resource(
|
|
189
|
+
self, **kwargs: Unpack[UntagResourceRequestTypeDef]
|
|
190
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
191
|
+
"""
|
|
192
|
+
Deletes specified tags from the specified resource in the current region.
|
|
193
|
+
|
|
194
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/untag_resource.html)
|
|
195
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#untag_resource)
|
|
196
|
+
"""
|
|
197
|
+
|
|
198
|
+
async def update_feed(
|
|
199
|
+
self, **kwargs: Unpack[UpdateFeedRequestTypeDef]
|
|
200
|
+
) -> UpdateFeedResponseTypeDef:
|
|
201
|
+
"""
|
|
202
|
+
Updates the name and/or outputs in a feed.
|
|
203
|
+
|
|
204
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/update_feed.html)
|
|
205
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#update_feed)
|
|
206
|
+
"""
|
|
207
|
+
|
|
208
|
+
def get_paginator( # type: ignore[override]
|
|
209
|
+
self, operation_name: Literal["list_feeds"]
|
|
210
|
+
) -> ListFeedsPaginator:
|
|
211
|
+
"""
|
|
212
|
+
Create a paginator for an operation.
|
|
213
|
+
|
|
214
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/get_paginator.html)
|
|
215
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#get_paginator)
|
|
216
|
+
"""
|
|
217
|
+
|
|
218
|
+
def get_waiter( # type: ignore[override]
|
|
219
|
+
self, waiter_name: Literal["feed_deleted"]
|
|
220
|
+
) -> FeedDeletedWaiter:
|
|
221
|
+
"""
|
|
222
|
+
Returns an object that can wait for some condition.
|
|
223
|
+
|
|
224
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference/client/get_waiter.html)
|
|
225
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/#get_waiter)
|
|
226
|
+
"""
|
|
227
|
+
|
|
228
|
+
async def __aenter__(self) -> Self:
|
|
229
|
+
"""
|
|
230
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference.html#ElementalInference.Client)
|
|
231
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/)
|
|
232
|
+
"""
|
|
233
|
+
|
|
234
|
+
async def __aexit__(
|
|
235
|
+
self,
|
|
236
|
+
exc_type: type[BaseException] | None,
|
|
237
|
+
exc_val: BaseException | None,
|
|
238
|
+
exc_tb: TracebackType | None,
|
|
239
|
+
) -> None:
|
|
240
|
+
"""
|
|
241
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/elementalinference.html#ElementalInference.Client)
|
|
242
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_elementalinference/client/)
|
|
243
|
+
"""
|