types-boto3-bedrock-runtime 1.35.73__tar.gz → 1.35.75__tar.gz

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.
Files changed (24) hide show
  1. {types_boto3_bedrock_runtime-1.35.73/types_boto3_bedrock_runtime.egg-info → types_boto3_bedrock_runtime-1.35.75}/PKG-INFO +26 -5
  2. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75}/README.md +24 -3
  3. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75}/setup.py +2 -2
  4. types_boto3_bedrock_runtime-1.35.73/types_boto3_bedrock_runtime/__init__.pyi → types_boto3_bedrock_runtime-1.35.75/types_boto3_bedrock_runtime/__init__.py +6 -1
  5. types_boto3_bedrock_runtime-1.35.73/types_boto3_bedrock_runtime/__init__.py → types_boto3_bedrock_runtime-1.35.75/types_boto3_bedrock_runtime/__init__.pyi +5 -2
  6. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75}/types_boto3_bedrock_runtime/__main__.py +3 -3
  7. types_boto3_bedrock_runtime-1.35.73/types_boto3_bedrock_runtime/client.pyi → types_boto3_bedrock_runtime-1.35.75/types_boto3_bedrock_runtime/client.py +54 -2
  8. types_boto3_bedrock_runtime-1.35.73/types_boto3_bedrock_runtime/client.py → types_boto3_bedrock_runtime-1.35.75/types_boto3_bedrock_runtime/client.pyi +50 -6
  9. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75}/types_boto3_bedrock_runtime/literals.py +22 -2
  10. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75}/types_boto3_bedrock_runtime/literals.pyi +22 -2
  11. types_boto3_bedrock_runtime-1.35.75/types_boto3_bedrock_runtime/paginator.py +66 -0
  12. types_boto3_bedrock_runtime-1.35.75/types_boto3_bedrock_runtime/paginator.pyi +61 -0
  13. types_boto3_bedrock_runtime-1.35.73/types_boto3_bedrock_runtime/type_defs.pyi → types_boto3_bedrock_runtime-1.35.75/types_boto3_bedrock_runtime/type_defs.py +381 -44
  14. types_boto3_bedrock_runtime-1.35.73/types_boto3_bedrock_runtime/type_defs.py → types_boto3_bedrock_runtime-1.35.75/types_boto3_bedrock_runtime/type_defs.pyi +256 -129
  15. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75}/types_boto3_bedrock_runtime/version.py +1 -1
  16. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75/types_boto3_bedrock_runtime.egg-info}/PKG-INFO +26 -5
  17. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75}/types_boto3_bedrock_runtime.egg-info/SOURCES.txt +2 -0
  18. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75}/LICENSE +0 -0
  19. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75}/setup.cfg +0 -0
  20. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75}/types_boto3_bedrock_runtime/py.typed +0 -0
  21. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75}/types_boto3_bedrock_runtime.egg-info/dependency_links.txt +0 -0
  22. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75}/types_boto3_bedrock_runtime.egg-info/not-zip-safe +0 -0
  23. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75}/types_boto3_bedrock_runtime.egg-info/requires.txt +0 -0
  24. {types_boto3_bedrock_runtime-1.35.73 → types_boto3_bedrock_runtime-1.35.75}/types_boto3_bedrock_runtime.egg-info/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: types-boto3-bedrock-runtime
3
- Version: 1.35.73
4
- Summary: Type annotations for boto3 BedrockRuntime 1.35.73 service generated with mypy-boto3-builder 8.5.0
3
+ Version: 1.35.75
4
+ Summary: Type annotations for boto3 BedrockRuntime 1.35.75 service generated with mypy-boto3-builder 8.5.0
5
5
  Home-page: https://github.com/youtype/mypy_boto3_builder
6
6
  Author: Vlad Emelianov
7
7
  Author-email: vlad.emelianov.nz@gmail.com
@@ -44,7 +44,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
44
44
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
45
45
 
46
46
  Type annotations for
47
- [boto3 BedrockRuntime 1.35.73](https://pypi.org/project/boto3/) compatible with
47
+ [boto3 BedrockRuntime 1.35.75](https://pypi.org/project/boto3/) compatible with
48
48
  [VSCode](https://code.visualstudio.com/),
49
49
  [PyCharm](https://www.jetbrains.com/pycharm/),
50
50
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -79,6 +79,7 @@ See how it helps you find and fix potential bugs:
79
79
  - [Pylint compatibility](#pylint-compatibility)
80
80
  - [Explicit type annotations](#explicit-type-annotations)
81
81
  - [Client annotations](#client-annotations)
82
+ - [Paginators annotations](#paginators-annotations)
82
83
  - [Literals](#literals)
83
84
  - [Type definitions](#type-definitions)
84
85
  - [How it works](#how-it-works)
@@ -315,6 +316,26 @@ client: BedrockRuntimeClient = Session().client("bedrock-runtime")
315
316
  # now client usage is checked by mypy and IDE should provide code completion
316
317
  ```
317
318
 
319
+ <a id="paginators-annotations"></a>
320
+
321
+ ### Paginators annotations
322
+
323
+ `types_boto3_bedrock_runtime.paginator` module contains type annotations for
324
+ all paginators.
325
+
326
+ ```python
327
+ from boto3.session import Session
328
+
329
+ from types_boto3_bedrock_runtime import BedrockRuntimeClient
330
+ from types_boto3_bedrock_runtime.paginator import ListAsyncInvokesPaginator
331
+
332
+ client: BedrockRuntimeClient = Session().client("bedrock-runtime")
333
+
334
+ # Explicit type annotations are optional here
335
+ # Types should be correctly discovered by mypy and IDEs
336
+ list_async_invokes_paginator: ListAsyncInvokesPaginator = client.get_paginator("list_async_invokes")
337
+ ```
338
+
318
339
  <a id="literals"></a>
319
340
 
320
341
  ### Literals
@@ -326,10 +347,10 @@ Full list of `BedrockRuntime` Literals can be found in
326
347
  [docs](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/literals/).
327
348
 
328
349
  ```python
329
- from types_boto3_bedrock_runtime.literals import ConversationRoleType
350
+ from types_boto3_bedrock_runtime.literals import AsyncInvokeStatusType
330
351
 
331
352
 
332
- def check_value(value: ConversationRoleType) -> bool: ...
353
+ def check_value(value: AsyncInvokeStatusType) -> bool: ...
333
354
  ```
334
355
 
335
356
  <a id="type-definitions"></a>
@@ -10,7 +10,7 @@
10
10
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
11
11
 
12
12
  Type annotations for
13
- [boto3 BedrockRuntime 1.35.73](https://pypi.org/project/boto3/) compatible with
13
+ [boto3 BedrockRuntime 1.35.75](https://pypi.org/project/boto3/) compatible with
14
14
  [VSCode](https://code.visualstudio.com/),
15
15
  [PyCharm](https://www.jetbrains.com/pycharm/),
16
16
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -45,6 +45,7 @@ See how it helps you find and fix potential bugs:
45
45
  - [Pylint compatibility](#pylint-compatibility)
46
46
  - [Explicit type annotations](#explicit-type-annotations)
47
47
  - [Client annotations](#client-annotations)
48
+ - [Paginators annotations](#paginators-annotations)
48
49
  - [Literals](#literals)
49
50
  - [Type definitions](#type-definitions)
50
51
  - [How it works](#how-it-works)
@@ -281,6 +282,26 @@ client: BedrockRuntimeClient = Session().client("bedrock-runtime")
281
282
  # now client usage is checked by mypy and IDE should provide code completion
282
283
  ```
283
284
 
285
+ <a id="paginators-annotations"></a>
286
+
287
+ ### Paginators annotations
288
+
289
+ `types_boto3_bedrock_runtime.paginator` module contains type annotations for
290
+ all paginators.
291
+
292
+ ```python
293
+ from boto3.session import Session
294
+
295
+ from types_boto3_bedrock_runtime import BedrockRuntimeClient
296
+ from types_boto3_bedrock_runtime.paginator import ListAsyncInvokesPaginator
297
+
298
+ client: BedrockRuntimeClient = Session().client("bedrock-runtime")
299
+
300
+ # Explicit type annotations are optional here
301
+ # Types should be correctly discovered by mypy and IDEs
302
+ list_async_invokes_paginator: ListAsyncInvokesPaginator = client.get_paginator("list_async_invokes")
303
+ ```
304
+
284
305
  <a id="literals"></a>
285
306
 
286
307
  ### Literals
@@ -292,10 +313,10 @@ Full list of `BedrockRuntime` Literals can be found in
292
313
  [docs](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/literals/).
293
314
 
294
315
  ```python
295
- from types_boto3_bedrock_runtime.literals import ConversationRoleType
316
+ from types_boto3_bedrock_runtime.literals import AsyncInvokeStatusType
296
317
 
297
318
 
298
- def check_value(value: ConversationRoleType) -> bool: ...
319
+ def check_value(value: AsyncInvokeStatusType) -> bool: ...
299
320
  ```
300
321
 
301
322
  <a id="type-definitions"></a>
@@ -13,13 +13,13 @@ LONG_DESCRIPTION = (Path(__file__).parent / "README.md").read_text()
13
13
 
14
14
  setup(
15
15
  name="types-boto3-bedrock-runtime",
16
- version="1.35.73",
16
+ version="1.35.75",
17
17
  packages=["types_boto3_bedrock_runtime"],
18
18
  url="https://github.com/youtype/mypy_boto3_builder",
19
19
  license="MIT License",
20
20
  author="Vlad Emelianov",
21
21
  author_email="vlad.emelianov.nz@gmail.com",
22
- description="Type annotations for boto3 BedrockRuntime 1.35.73 service generated with mypy-boto3-builder 8.5.0",
22
+ description="Type annotations for boto3 BedrockRuntime 1.35.75 service generated with mypy-boto3-builder 8.5.0",
23
23
  classifiers=[
24
24
  "Development Status :: 5 - Production/Stable",
25
25
  "Intended Audience :: Developers",
@@ -8,17 +8,22 @@ Usage::
8
8
  from types_boto3_bedrock_runtime import (
9
9
  BedrockRuntimeClient,
10
10
  Client,
11
+ ListAsyncInvokesPaginator,
11
12
  )
12
13
 
13
14
  session = Session()
14
15
  client: BedrockRuntimeClient = session.client("bedrock-runtime")
16
+
17
+ list_async_invokes_paginator: ListAsyncInvokesPaginator = client.get_paginator("list_async_invokes")
15
18
  ```
16
19
 
17
20
  Copyright 2024 Vlad Emelianov
18
21
  """
19
22
 
20
23
  from .client import BedrockRuntimeClient
24
+ from .paginator import ListAsyncInvokesPaginator
21
25
 
22
26
  Client = BedrockRuntimeClient
23
27
 
24
- __all__ = ("BedrockRuntimeClient", "Client")
28
+
29
+ __all__ = ("BedrockRuntimeClient", "Client", "ListAsyncInvokesPaginator")
@@ -8,18 +8,21 @@ Usage::
8
8
  from types_boto3_bedrock_runtime import (
9
9
  BedrockRuntimeClient,
10
10
  Client,
11
+ ListAsyncInvokesPaginator,
11
12
  )
12
13
 
13
14
  session = Session()
14
15
  client: BedrockRuntimeClient = session.client("bedrock-runtime")
16
+
17
+ list_async_invokes_paginator: ListAsyncInvokesPaginator = client.get_paginator("list_async_invokes")
15
18
  ```
16
19
 
17
20
  Copyright 2024 Vlad Emelianov
18
21
  """
19
22
 
20
23
  from .client import BedrockRuntimeClient
24
+ from .paginator import ListAsyncInvokesPaginator
21
25
 
22
26
  Client = BedrockRuntimeClient
23
27
 
24
-
25
- __all__ = ("BedrockRuntimeClient", "Client")
28
+ __all__ = ("BedrockRuntimeClient", "Client", "ListAsyncInvokesPaginator")
@@ -12,8 +12,8 @@ def print_info() -> None:
12
12
  Print package info to stdout.
13
13
  """
14
14
  print(
15
- "Type annotations for boto3 BedrockRuntime 1.35.73\n"
16
- "Version: 1.35.73\n"
15
+ "Type annotations for boto3 BedrockRuntime 1.35.75\n"
16
+ "Version: 1.35.75\n"
17
17
  "Builder version: 8.5.0\n"
18
18
  "Docs: https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime//\n"
19
19
  "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#bedrockruntime\n"
@@ -26,7 +26,7 @@ def print_version() -> None:
26
26
  """
27
27
  Print package version to stdout.
28
28
  """
29
- print("1.35.73")
29
+ print("1.35.75")
30
30
 
31
31
 
32
32
  def main() -> None:
@@ -21,6 +21,7 @@ from typing import Any, Dict, Mapping, Type
21
21
 
22
22
  from botocore.client import BaseClient, ClientMeta
23
23
 
24
+ from .paginator import ListAsyncInvokesPaginator
24
25
  from .type_defs import (
25
26
  ApplyGuardrailRequestRequestTypeDef,
26
27
  ApplyGuardrailResponseTypeDef,
@@ -28,19 +29,27 @@ from .type_defs import (
28
29
  ConverseResponseTypeDef,
29
30
  ConverseStreamRequestRequestTypeDef,
30
31
  ConverseStreamResponseTypeDef,
32
+ GetAsyncInvokeRequestRequestTypeDef,
33
+ GetAsyncInvokeResponseTypeDef,
31
34
  InvokeModelRequestRequestTypeDef,
32
35
  InvokeModelResponseTypeDef,
33
36
  InvokeModelWithResponseStreamRequestRequestTypeDef,
34
37
  InvokeModelWithResponseStreamResponseTypeDef,
38
+ ListAsyncInvokesRequestRequestTypeDef,
39
+ ListAsyncInvokesResponseTypeDef,
40
+ StartAsyncInvokeRequestRequestTypeDef,
41
+ StartAsyncInvokeResponseTypeDef,
35
42
  )
36
43
 
37
44
  if sys.version_info >= (3, 12):
38
- from typing import Unpack
45
+ from typing import Literal, Unpack
39
46
  else:
40
- from typing_extensions import Unpack
47
+ from typing_extensions import Literal, Unpack
48
+
41
49
 
42
50
  __all__ = ("BedrockRuntimeClient",)
43
51
 
52
+
44
53
  class BotocoreClientError(Exception):
45
54
  MSG_TEMPLATE: str
46
55
 
@@ -48,9 +57,11 @@ class BotocoreClientError(Exception):
48
57
  self.response: Dict[str, Any]
49
58
  self.operation_name: str
50
59
 
60
+
51
61
  class Exceptions:
52
62
  AccessDeniedException: Type[BotocoreClientError]
53
63
  ClientError: Type[BotocoreClientError]
64
+ ConflictException: Type[BotocoreClientError]
54
65
  InternalServerException: Type[BotocoreClientError]
55
66
  ModelErrorException: Type[BotocoreClientError]
56
67
  ModelNotReadyException: Type[BotocoreClientError]
@@ -62,6 +73,7 @@ class Exceptions:
62
73
  ThrottlingException: Type[BotocoreClientError]
63
74
  ValidationException: Type[BotocoreClientError]
64
75
 
76
+
65
77
  class BedrockRuntimeClient(BaseClient):
66
78
  """
67
79
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#BedrockRuntime.Client)
@@ -132,6 +144,16 @@ class BedrockRuntimeClient(BaseClient):
132
144
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#converse_stream)
133
145
  """
134
146
 
147
+ def get_async_invoke(
148
+ self, **kwargs: Unpack[GetAsyncInvokeRequestRequestTypeDef]
149
+ ) -> GetAsyncInvokeResponseTypeDef:
150
+ """
151
+ Retrieve information about an asynchronous invocation.
152
+
153
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/get_async_invoke.html)
154
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#get_async_invoke)
155
+ """
156
+
135
157
  def invoke_model(
136
158
  self, **kwargs: Unpack[InvokeModelRequestRequestTypeDef]
137
159
  ) -> InvokeModelResponseTypeDef:
@@ -153,3 +175,33 @@ class BedrockRuntimeClient(BaseClient):
153
175
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/invoke_model_with_response_stream.html)
154
176
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#invoke_model_with_response_stream)
155
177
  """
178
+
179
+ def list_async_invokes(
180
+ self, **kwargs: Unpack[ListAsyncInvokesRequestRequestTypeDef]
181
+ ) -> ListAsyncInvokesResponseTypeDef:
182
+ """
183
+ Lists asynchronous invocations.
184
+
185
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/list_async_invokes.html)
186
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#list_async_invokes)
187
+ """
188
+
189
+ def start_async_invoke(
190
+ self, **kwargs: Unpack[StartAsyncInvokeRequestRequestTypeDef]
191
+ ) -> StartAsyncInvokeResponseTypeDef:
192
+ """
193
+ Starts an asynchronous invocation.
194
+
195
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/start_async_invoke.html)
196
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#start_async_invoke)
197
+ """
198
+
199
+ def get_paginator(
200
+ self, operation_name: Literal["list_async_invokes"]
201
+ ) -> ListAsyncInvokesPaginator:
202
+ """
203
+ Create a paginator for an operation.
204
+
205
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/get_paginator.html)
206
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#get_paginator)
207
+ """
@@ -21,6 +21,7 @@ from typing import Any, Dict, Mapping, Type
21
21
 
22
22
  from botocore.client import BaseClient, ClientMeta
23
23
 
24
+ from .paginator import ListAsyncInvokesPaginator
24
25
  from .type_defs import (
25
26
  ApplyGuardrailRequestRequestTypeDef,
26
27
  ApplyGuardrailResponseTypeDef,
@@ -28,21 +29,25 @@ from .type_defs import (
28
29
  ConverseResponseTypeDef,
29
30
  ConverseStreamRequestRequestTypeDef,
30
31
  ConverseStreamResponseTypeDef,
32
+ GetAsyncInvokeRequestRequestTypeDef,
33
+ GetAsyncInvokeResponseTypeDef,
31
34
  InvokeModelRequestRequestTypeDef,
32
35
  InvokeModelResponseTypeDef,
33
36
  InvokeModelWithResponseStreamRequestRequestTypeDef,
34
37
  InvokeModelWithResponseStreamResponseTypeDef,
38
+ ListAsyncInvokesRequestRequestTypeDef,
39
+ ListAsyncInvokesResponseTypeDef,
40
+ StartAsyncInvokeRequestRequestTypeDef,
41
+ StartAsyncInvokeResponseTypeDef,
35
42
  )
36
43
 
37
44
  if sys.version_info >= (3, 12):
38
- from typing import Unpack
45
+ from typing import Literal, Unpack
39
46
  else:
40
- from typing_extensions import Unpack
41
-
47
+ from typing_extensions import Literal, Unpack
42
48
 
43
49
  __all__ = ("BedrockRuntimeClient",)
44
50
 
45
-
46
51
  class BotocoreClientError(Exception):
47
52
  MSG_TEMPLATE: str
48
53
 
@@ -50,10 +55,10 @@ class BotocoreClientError(Exception):
50
55
  self.response: Dict[str, Any]
51
56
  self.operation_name: str
52
57
 
53
-
54
58
  class Exceptions:
55
59
  AccessDeniedException: Type[BotocoreClientError]
56
60
  ClientError: Type[BotocoreClientError]
61
+ ConflictException: Type[BotocoreClientError]
57
62
  InternalServerException: Type[BotocoreClientError]
58
63
  ModelErrorException: Type[BotocoreClientError]
59
64
  ModelNotReadyException: Type[BotocoreClientError]
@@ -65,7 +70,6 @@ class Exceptions:
65
70
  ThrottlingException: Type[BotocoreClientError]
66
71
  ValidationException: Type[BotocoreClientError]
67
72
 
68
-
69
73
  class BedrockRuntimeClient(BaseClient):
70
74
  """
71
75
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#BedrockRuntime.Client)
@@ -136,6 +140,16 @@ class BedrockRuntimeClient(BaseClient):
136
140
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#converse_stream)
137
141
  """
138
142
 
143
+ def get_async_invoke(
144
+ self, **kwargs: Unpack[GetAsyncInvokeRequestRequestTypeDef]
145
+ ) -> GetAsyncInvokeResponseTypeDef:
146
+ """
147
+ Retrieve information about an asynchronous invocation.
148
+
149
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/get_async_invoke.html)
150
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#get_async_invoke)
151
+ """
152
+
139
153
  def invoke_model(
140
154
  self, **kwargs: Unpack[InvokeModelRequestRequestTypeDef]
141
155
  ) -> InvokeModelResponseTypeDef:
@@ -157,3 +171,33 @@ class BedrockRuntimeClient(BaseClient):
157
171
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/invoke_model_with_response_stream.html)
158
172
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#invoke_model_with_response_stream)
159
173
  """
174
+
175
+ def list_async_invokes(
176
+ self, **kwargs: Unpack[ListAsyncInvokesRequestRequestTypeDef]
177
+ ) -> ListAsyncInvokesResponseTypeDef:
178
+ """
179
+ Lists asynchronous invocations.
180
+
181
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/list_async_invokes.html)
182
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#list_async_invokes)
183
+ """
184
+
185
+ def start_async_invoke(
186
+ self, **kwargs: Unpack[StartAsyncInvokeRequestRequestTypeDef]
187
+ ) -> StartAsyncInvokeResponseTypeDef:
188
+ """
189
+ Starts an asynchronous invocation.
190
+
191
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/start_async_invoke.html)
192
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#start_async_invoke)
193
+ """
194
+
195
+ def get_paginator(
196
+ self, operation_name: Literal["list_async_invokes"]
197
+ ) -> ListAsyncInvokesPaginator:
198
+ """
199
+ Create a paginator for an operation.
200
+
201
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/get_paginator.html)
202
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#get_paginator)
203
+ """
@@ -6,9 +6,9 @@ Type annotations for bedrock-runtime service literal definitions.
6
6
  Usage::
7
7
 
8
8
  ```python
9
- from types_boto3_bedrock_runtime.literals import ConversationRoleType
9
+ from types_boto3_bedrock_runtime.literals import AsyncInvokeStatusType
10
10
 
11
- data: ConversationRoleType = "assistant"
11
+ data: AsyncInvokeStatusType = "Completed"
12
12
  ```
13
13
 
14
14
  Copyright 2024 Vlad Emelianov
@@ -23,6 +23,7 @@ else:
23
23
 
24
24
 
25
25
  __all__ = (
26
+ "AsyncInvokeStatusType",
26
27
  "BedrockRuntimeServiceName",
27
28
  "ConversationRoleType",
28
29
  "DocumentFormatType",
@@ -36,6 +37,8 @@ __all__ = (
36
37
  "GuardrailContextualGroundingFilterTypeType",
37
38
  "GuardrailContextualGroundingPolicyActionType",
38
39
  "GuardrailConverseContentQualifierType",
40
+ "GuardrailConverseImageFormatType",
41
+ "GuardrailImageFormatType",
39
42
  "GuardrailManagedWordTypeType",
40
43
  "GuardrailPiiEntityTypeType",
41
44
  "GuardrailSensitiveInformationPolicyActionType",
@@ -45,15 +48,21 @@ __all__ = (
45
48
  "GuardrailTraceType",
46
49
  "GuardrailWordPolicyActionType",
47
50
  "ImageFormatType",
51
+ "ListAsyncInvokesPaginatorName",
52
+ "PaginatorName",
48
53
  "PerformanceConfigLatencyType",
49
54
  "ResourceServiceName",
50
55
  "ServiceName",
56
+ "SortAsyncInvocationByType",
57
+ "SortOrderType",
51
58
  "StopReasonType",
52
59
  "ToolResultStatusType",
53
60
  "TraceType",
61
+ "VideoFormatType",
54
62
  )
55
63
 
56
64
 
65
+ AsyncInvokeStatusType = Literal["Completed", "Failed", "InProgress"]
57
66
  ConversationRoleType = Literal["assistant", "user"]
58
67
  DocumentFormatType = Literal["csv", "doc", "docx", "html", "md", "pdf", "txt", "xls", "xlsx"]
59
68
  GuardrailActionType = Literal["GUARDRAIL_INTERVENED", "NONE"]
@@ -68,6 +77,8 @@ GuardrailContentSourceType = Literal["INPUT", "OUTPUT"]
68
77
  GuardrailContextualGroundingFilterTypeType = Literal["GROUNDING", "RELEVANCE"]
69
78
  GuardrailContextualGroundingPolicyActionType = Literal["BLOCKED", "NONE"]
70
79
  GuardrailConverseContentQualifierType = Literal["grounding_source", "guard_content", "query"]
80
+ GuardrailConverseImageFormatType = Literal["jpeg", "png"]
81
+ GuardrailImageFormatType = Literal["jpeg", "png"]
71
82
  GuardrailManagedWordTypeType = Literal["PROFANITY"]
72
83
  GuardrailPiiEntityTypeType = Literal[
73
84
  "ADDRESS",
@@ -109,7 +120,10 @@ GuardrailTopicTypeType = Literal["DENY"]
109
120
  GuardrailTraceType = Literal["disabled", "enabled"]
110
121
  GuardrailWordPolicyActionType = Literal["BLOCKED"]
111
122
  ImageFormatType = Literal["gif", "jpeg", "png", "webp"]
123
+ ListAsyncInvokesPaginatorName = Literal["list_async_invokes"]
112
124
  PerformanceConfigLatencyType = Literal["optimized", "standard"]
125
+ SortAsyncInvocationByType = Literal["SubmissionTime"]
126
+ SortOrderType = Literal["Ascending", "Descending"]
113
127
  StopReasonType = Literal[
114
128
  "content_filtered",
115
129
  "end_turn",
@@ -120,6 +134,7 @@ StopReasonType = Literal[
120
134
  ]
121
135
  ToolResultStatusType = Literal["error", "success"]
122
136
  TraceType = Literal["DISABLED", "ENABLED"]
137
+ VideoFormatType = Literal["flv", "mkv", "mov", "mp4", "mpeg", "mpg", "three_gp", "webm", "wmv"]
123
138
  BedrockRuntimeServiceName = Literal["bedrock-runtime"]
124
139
  ServiceName = Literal[
125
140
  "accessanalyzer",
@@ -162,6 +177,8 @@ ServiceName = Literal[
162
177
  "bedrock",
163
178
  "bedrock-agent",
164
179
  "bedrock-agent-runtime",
180
+ "bedrock-data-automation",
181
+ "bedrock-data-automation-runtime",
165
182
  "bedrock-runtime",
166
183
  "billing",
167
184
  "billingconductor",
@@ -239,6 +256,7 @@ ServiceName = Literal[
239
256
  "drs",
240
257
  "ds",
241
258
  "ds-data",
259
+ "dsql",
242
260
  "dynamodb",
243
261
  "dynamodbstreams",
244
262
  "ebs",
@@ -449,6 +467,7 @@ ServiceName = Literal[
449
467
  "s3",
450
468
  "s3control",
451
469
  "s3outposts",
470
+ "s3tables",
452
471
  "sagemaker",
453
472
  "sagemaker-a2i-runtime",
454
473
  "sagemaker-edge",
@@ -535,3 +554,4 @@ ResourceServiceName = Literal[
535
554
  "sns",
536
555
  "sqs",
537
556
  ]
557
+ PaginatorName = Literal["list_async_invokes"]
@@ -6,9 +6,9 @@ Type annotations for bedrock-runtime service literal definitions.
6
6
  Usage::
7
7
 
8
8
  ```python
9
- from types_boto3_bedrock_runtime.literals import ConversationRoleType
9
+ from types_boto3_bedrock_runtime.literals import AsyncInvokeStatusType
10
10
 
11
- data: ConversationRoleType = "assistant"
11
+ data: AsyncInvokeStatusType = "Completed"
12
12
  ```
13
13
 
14
14
  Copyright 2024 Vlad Emelianov
@@ -22,6 +22,7 @@ else:
22
22
  from typing_extensions import Literal
23
23
 
24
24
  __all__ = (
25
+ "AsyncInvokeStatusType",
25
26
  "BedrockRuntimeServiceName",
26
27
  "ConversationRoleType",
27
28
  "DocumentFormatType",
@@ -35,6 +36,8 @@ __all__ = (
35
36
  "GuardrailContextualGroundingFilterTypeType",
36
37
  "GuardrailContextualGroundingPolicyActionType",
37
38
  "GuardrailConverseContentQualifierType",
39
+ "GuardrailConverseImageFormatType",
40
+ "GuardrailImageFormatType",
38
41
  "GuardrailManagedWordTypeType",
39
42
  "GuardrailPiiEntityTypeType",
40
43
  "GuardrailSensitiveInformationPolicyActionType",
@@ -44,14 +47,20 @@ __all__ = (
44
47
  "GuardrailTraceType",
45
48
  "GuardrailWordPolicyActionType",
46
49
  "ImageFormatType",
50
+ "ListAsyncInvokesPaginatorName",
51
+ "PaginatorName",
47
52
  "PerformanceConfigLatencyType",
48
53
  "ResourceServiceName",
49
54
  "ServiceName",
55
+ "SortAsyncInvocationByType",
56
+ "SortOrderType",
50
57
  "StopReasonType",
51
58
  "ToolResultStatusType",
52
59
  "TraceType",
60
+ "VideoFormatType",
53
61
  )
54
62
 
63
+ AsyncInvokeStatusType = Literal["Completed", "Failed", "InProgress"]
55
64
  ConversationRoleType = Literal["assistant", "user"]
56
65
  DocumentFormatType = Literal["csv", "doc", "docx", "html", "md", "pdf", "txt", "xls", "xlsx"]
57
66
  GuardrailActionType = Literal["GUARDRAIL_INTERVENED", "NONE"]
@@ -66,6 +75,8 @@ GuardrailContentSourceType = Literal["INPUT", "OUTPUT"]
66
75
  GuardrailContextualGroundingFilterTypeType = Literal["GROUNDING", "RELEVANCE"]
67
76
  GuardrailContextualGroundingPolicyActionType = Literal["BLOCKED", "NONE"]
68
77
  GuardrailConverseContentQualifierType = Literal["grounding_source", "guard_content", "query"]
78
+ GuardrailConverseImageFormatType = Literal["jpeg", "png"]
79
+ GuardrailImageFormatType = Literal["jpeg", "png"]
69
80
  GuardrailManagedWordTypeType = Literal["PROFANITY"]
70
81
  GuardrailPiiEntityTypeType = Literal[
71
82
  "ADDRESS",
@@ -107,7 +118,10 @@ GuardrailTopicTypeType = Literal["DENY"]
107
118
  GuardrailTraceType = Literal["disabled", "enabled"]
108
119
  GuardrailWordPolicyActionType = Literal["BLOCKED"]
109
120
  ImageFormatType = Literal["gif", "jpeg", "png", "webp"]
121
+ ListAsyncInvokesPaginatorName = Literal["list_async_invokes"]
110
122
  PerformanceConfigLatencyType = Literal["optimized", "standard"]
123
+ SortAsyncInvocationByType = Literal["SubmissionTime"]
124
+ SortOrderType = Literal["Ascending", "Descending"]
111
125
  StopReasonType = Literal[
112
126
  "content_filtered",
113
127
  "end_turn",
@@ -118,6 +132,7 @@ StopReasonType = Literal[
118
132
  ]
119
133
  ToolResultStatusType = Literal["error", "success"]
120
134
  TraceType = Literal["DISABLED", "ENABLED"]
135
+ VideoFormatType = Literal["flv", "mkv", "mov", "mp4", "mpeg", "mpg", "three_gp", "webm", "wmv"]
121
136
  BedrockRuntimeServiceName = Literal["bedrock-runtime"]
122
137
  ServiceName = Literal[
123
138
  "accessanalyzer",
@@ -160,6 +175,8 @@ ServiceName = Literal[
160
175
  "bedrock",
161
176
  "bedrock-agent",
162
177
  "bedrock-agent-runtime",
178
+ "bedrock-data-automation",
179
+ "bedrock-data-automation-runtime",
163
180
  "bedrock-runtime",
164
181
  "billing",
165
182
  "billingconductor",
@@ -237,6 +254,7 @@ ServiceName = Literal[
237
254
  "drs",
238
255
  "ds",
239
256
  "ds-data",
257
+ "dsql",
240
258
  "dynamodb",
241
259
  "dynamodbstreams",
242
260
  "ebs",
@@ -447,6 +465,7 @@ ServiceName = Literal[
447
465
  "s3",
448
466
  "s3control",
449
467
  "s3outposts",
468
+ "s3tables",
450
469
  "sagemaker",
451
470
  "sagemaker-a2i-runtime",
452
471
  "sagemaker-edge",
@@ -533,3 +552,4 @@ ResourceServiceName = Literal[
533
552
  "sns",
534
553
  "sqs",
535
554
  ]
555
+ PaginatorName = Literal["list_async_invokes"]