types-boto3-bedrock-runtime 1.36.2__tar.gz → 1.37.0__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.36.2/types_boto3_bedrock_runtime.egg-info → types_boto3_bedrock_runtime-1.37.0}/PKG-INFO +12 -8
  2. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/README.md +10 -6
  3. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/setup.py +2 -2
  4. types_boto3_bedrock_runtime-1.36.2/types_boto3_bedrock_runtime/__init__.pyi → types_boto3_bedrock_runtime-1.37.0/types_boto3_bedrock_runtime/__init__.py +5 -2
  5. types_boto3_bedrock_runtime-1.36.2/types_boto3_bedrock_runtime/__init__.py → types_boto3_bedrock_runtime-1.37.0/types_boto3_bedrock_runtime/__init__.pyi +4 -3
  6. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/types_boto3_bedrock_runtime/__main__.py +4 -4
  7. types_boto3_bedrock_runtime-1.36.2/types_boto3_bedrock_runtime/client.pyi → types_boto3_bedrock_runtime-1.37.0/types_boto3_bedrock_runtime/client.py +21 -18
  8. types_boto3_bedrock_runtime-1.36.2/types_boto3_bedrock_runtime/client.py → types_boto3_bedrock_runtime-1.37.0/types_boto3_bedrock_runtime/client.pyi +18 -21
  9. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/types_boto3_bedrock_runtime/literals.py +2 -3
  10. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/types_boto3_bedrock_runtime/literals.pyi +2 -3
  11. types_boto3_bedrock_runtime-1.36.2/types_boto3_bedrock_runtime/type_defs.pyi → types_boto3_bedrock_runtime-1.37.0/types_boto3_bedrock_runtime/type_defs.py +173 -22
  12. types_boto3_bedrock_runtime-1.36.2/types_boto3_bedrock_runtime/type_defs.py → types_boto3_bedrock_runtime-1.37.0/types_boto3_bedrock_runtime/type_defs.pyi +49 -137
  13. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/types_boto3_bedrock_runtime/version.py +1 -1
  14. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0/types_boto3_bedrock_runtime.egg-info}/PKG-INFO +12 -8
  15. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/LICENSE +0 -0
  16. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/setup.cfg +0 -0
  17. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/types_boto3_bedrock_runtime/paginator.py +2 -2
  18. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/types_boto3_bedrock_runtime/paginator.pyi +2 -2
  19. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/types_boto3_bedrock_runtime/py.typed +0 -0
  20. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/types_boto3_bedrock_runtime.egg-info/SOURCES.txt +0 -0
  21. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/types_boto3_bedrock_runtime.egg-info/dependency_links.txt +0 -0
  22. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/types_boto3_bedrock_runtime.egg-info/not-zip-safe +0 -0
  23. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/types_boto3_bedrock_runtime.egg-info/requires.txt +0 -0
  24. {types_boto3_bedrock_runtime-1.36.2 → types_boto3_bedrock_runtime-1.37.0}/types_boto3_bedrock_runtime.egg-info/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: types-boto3-bedrock-runtime
3
- Version: 1.36.2
4
- Summary: Type annotations for boto3 BedrockRuntime 1.36.2 service generated with mypy-boto3-builder 8.8.0
3
+ Version: 1.37.0
4
+ Summary: Type annotations for boto3 BedrockRuntime 1.37.0 service generated with mypy-boto3-builder 8.9.2
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
@@ -56,7 +56,7 @@ Dynamic: summary
56
56
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
57
57
 
58
58
  Type annotations for
59
- [boto3 BedrockRuntime 1.36.2](https://pypi.org/project/boto3/) compatible with
59
+ [boto3 BedrockRuntime 1.37.0](https://pypi.org/project/boto3/) compatible with
60
60
  [VSCode](https://code.visualstudio.com/),
61
61
  [PyCharm](https://www.jetbrains.com/pycharm/),
62
62
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -65,7 +65,7 @@ Type annotations for
65
65
  [pyright](https://github.com/microsoft/pyright) and other tools.
66
66
 
67
67
  Generated with
68
- [mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
68
+ [mypy-boto3-builder 8.9.2](https://github.com/youtype/mypy_boto3_builder).
69
69
 
70
70
  More information can be found on
71
71
  [types-boto3](https://pypi.org/project/types-boto3/) page and in
@@ -113,12 +113,12 @@ See how it helps you find and fix potential bugs:
113
113
  ### Generate locally (recommended)
114
114
 
115
115
  You can generate type annotations for `boto3` package locally with
116
- `mypy_boto3_builder`. Use
116
+ `mypy-boto3-builder`. Use
117
117
  [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
118
118
  isolation.
119
119
 
120
120
  1. Run mypy-boto3-builder in your package root directory:
121
- `uvx --with 'boto3==1.36.2' mypy_boto3_builder`
121
+ `uvx --with 'boto3==1.37.0' mypy-boto3-builder`
122
122
  2. Select `boto3` AWS SDK.
123
123
  3. Add `BedrockRuntime` service.
124
124
  4. Use provided commands to install generated packages.
@@ -390,11 +390,14 @@ Full list of `BedrockRuntime` TypeDefs can be found in
390
390
  [docs](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/type_defs/).
391
391
 
392
392
  ```python
393
+ # TypedDict usage example
393
394
  from types_boto3_bedrock_runtime.type_defs import GuardrailOutputContentTypeDef
394
395
 
395
396
 
396
397
  def get_value() -> GuardrailOutputContentTypeDef:
397
- return {...}
398
+ return {
399
+ "text": ...,
400
+ }
398
401
  ```
399
402
 
400
403
  <a id="how-it-works"></a>
@@ -448,7 +451,8 @@ Builder changelog can be found in
448
451
  ## Versioning
449
452
 
450
453
  `types-boto3-bedrock-runtime` version is the same as related `boto3` version
451
- and follows [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
454
+ and follows
455
+ [Python Packaging version specifiers](https://packaging.python.org/en/latest/specifications/version-specifiers/).
452
456
 
453
457
  <a id="thank-you"></a>
454
458
 
@@ -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.36.2](https://pypi.org/project/boto3/) compatible with
13
+ [boto3 BedrockRuntime 1.37.0](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/),
@@ -19,7 +19,7 @@ Type annotations for
19
19
  [pyright](https://github.com/microsoft/pyright) and other tools.
20
20
 
21
21
  Generated with
22
- [mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
22
+ [mypy-boto3-builder 8.9.2](https://github.com/youtype/mypy_boto3_builder).
23
23
 
24
24
  More information can be found on
25
25
  [types-boto3](https://pypi.org/project/types-boto3/) page and in
@@ -67,12 +67,12 @@ See how it helps you find and fix potential bugs:
67
67
  ### Generate locally (recommended)
68
68
 
69
69
  You can generate type annotations for `boto3` package locally with
70
- `mypy_boto3_builder`. Use
70
+ `mypy-boto3-builder`. Use
71
71
  [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
72
72
  isolation.
73
73
 
74
74
  1. Run mypy-boto3-builder in your package root directory:
75
- `uvx --with 'boto3==1.36.2' mypy_boto3_builder`
75
+ `uvx --with 'boto3==1.37.0' mypy-boto3-builder`
76
76
  2. Select `boto3` AWS SDK.
77
77
  3. Add `BedrockRuntime` service.
78
78
  4. Use provided commands to install generated packages.
@@ -344,11 +344,14 @@ Full list of `BedrockRuntime` TypeDefs can be found in
344
344
  [docs](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/type_defs/).
345
345
 
346
346
  ```python
347
+ # TypedDict usage example
347
348
  from types_boto3_bedrock_runtime.type_defs import GuardrailOutputContentTypeDef
348
349
 
349
350
 
350
351
  def get_value() -> GuardrailOutputContentTypeDef:
351
- return {...}
352
+ return {
353
+ "text": ...,
354
+ }
352
355
  ```
353
356
 
354
357
  <a id="how-it-works"></a>
@@ -402,7 +405,8 @@ Builder changelog can be found in
402
405
  ## Versioning
403
406
 
404
407
  `types-boto3-bedrock-runtime` version is the same as related `boto3` version
405
- and follows [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
408
+ and follows
409
+ [Python Packaging version specifiers](https://packaging.python.org/en/latest/specifications/version-specifiers/).
406
410
 
407
411
  <a id="thank-you"></a>
408
412
 
@@ -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.36.2",
16
+ version="1.37.0",
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.36.2 service generated with mypy-boto3-builder 8.8.0",
22
+ description="Type annotations for boto3 BedrockRuntime 1.37.0 service generated with mypy-boto3-builder 8.9.2",
23
23
  classifiers=[
24
24
  "Development Status :: 5 - Production/Stable",
25
25
  "Intended Audience :: Developers",
@@ -1,6 +1,10 @@
1
1
  """
2
2
  Main interface for bedrock-runtime service.
3
3
 
4
+ [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/)
5
+
6
+ Copyright 2025 Vlad Emelianov
7
+
4
8
  Usage::
5
9
 
6
10
  ```python
@@ -16,8 +20,6 @@ Usage::
16
20
 
17
21
  list_async_invokes_paginator: ListAsyncInvokesPaginator = client.get_paginator("list_async_invokes")
18
22
  ```
19
-
20
- Copyright 2025 Vlad Emelianov
21
23
  """
22
24
 
23
25
  from .client import BedrockRuntimeClient
@@ -25,4 +27,5 @@ from .paginator import ListAsyncInvokesPaginator
25
27
 
26
28
  Client = BedrockRuntimeClient
27
29
 
30
+
28
31
  __all__ = ("BedrockRuntimeClient", "Client", "ListAsyncInvokesPaginator")
@@ -1,6 +1,10 @@
1
1
  """
2
2
  Main interface for bedrock-runtime service.
3
3
 
4
+ [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/)
5
+
6
+ Copyright 2025 Vlad Emelianov
7
+
4
8
  Usage::
5
9
 
6
10
  ```python
@@ -16,8 +20,6 @@ Usage::
16
20
 
17
21
  list_async_invokes_paginator: ListAsyncInvokesPaginator = client.get_paginator("list_async_invokes")
18
22
  ```
19
-
20
- Copyright 2025 Vlad Emelianov
21
23
  """
22
24
 
23
25
  from .client import BedrockRuntimeClient
@@ -25,5 +27,4 @@ from .paginator import ListAsyncInvokesPaginator
25
27
 
26
28
  Client = BedrockRuntimeClient
27
29
 
28
-
29
30
  __all__ = ("BedrockRuntimeClient", "Client", "ListAsyncInvokesPaginator")
@@ -12,9 +12,9 @@ def print_info() -> None:
12
12
  Print package info to stdout.
13
13
  """
14
14
  sys.stdout.write(
15
- "Type annotations for boto3 BedrockRuntime 1.36.2\n"
16
- "Version: 1.36.2\n"
17
- "Builder version: 8.8.0\n"
15
+ "Type annotations for boto3 BedrockRuntime 1.37.0\n"
16
+ "Version: 1.37.0\n"
17
+ "Builder version: 8.9.2\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"
20
20
  "Other services: https://pypi.org/project/boto3-stubs/\n"
@@ -26,7 +26,7 @@ def print_version() -> None:
26
26
  """
27
27
  Print package version to stdout.
28
28
  """
29
- sys.stdout.write("1.36.2\n")
29
+ sys.stdout.write("1.37.0\n")
30
30
 
31
31
 
32
32
  def main() -> None:
@@ -3,6 +3,8 @@ Type annotations for bedrock-runtime service Client.
3
3
 
4
4
  [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/)
5
5
 
6
+ Copyright 2025 Vlad Emelianov
7
+
6
8
  Usage::
7
9
 
8
10
  ```python
@@ -12,8 +14,6 @@ Usage::
12
14
  session = Session()
13
15
  client: BedrockRuntimeClient = session.client("bedrock-runtime")
14
16
  ```
15
-
16
- Copyright 2025 Vlad Emelianov
17
17
  """
18
18
 
19
19
  from __future__ import annotations
@@ -27,21 +27,21 @@ from botocore.exceptions import ClientError as BotocoreClientError
27
27
 
28
28
  from .paginator import ListAsyncInvokesPaginator
29
29
  from .type_defs import (
30
- ApplyGuardrailRequestRequestTypeDef,
30
+ ApplyGuardrailRequestTypeDef,
31
31
  ApplyGuardrailResponseTypeDef,
32
- ConverseRequestRequestTypeDef,
32
+ ConverseRequestTypeDef,
33
33
  ConverseResponseTypeDef,
34
- ConverseStreamRequestRequestTypeDef,
34
+ ConverseStreamRequestTypeDef,
35
35
  ConverseStreamResponseTypeDef,
36
- GetAsyncInvokeRequestRequestTypeDef,
36
+ GetAsyncInvokeRequestTypeDef,
37
37
  GetAsyncInvokeResponseTypeDef,
38
- InvokeModelRequestRequestTypeDef,
38
+ InvokeModelRequestTypeDef,
39
39
  InvokeModelResponseTypeDef,
40
- InvokeModelWithResponseStreamRequestRequestTypeDef,
40
+ InvokeModelWithResponseStreamRequestTypeDef,
41
41
  InvokeModelWithResponseStreamResponseTypeDef,
42
- ListAsyncInvokesRequestRequestTypeDef,
42
+ ListAsyncInvokesRequestTypeDef,
43
43
  ListAsyncInvokesResponseTypeDef,
44
- StartAsyncInvokeRequestRequestTypeDef,
44
+ StartAsyncInvokeRequestTypeDef,
45
45
  StartAsyncInvokeResponseTypeDef,
46
46
  )
47
47
 
@@ -55,8 +55,10 @@ if sys.version_info >= (3, 12):
55
55
  else:
56
56
  from typing_extensions import Literal, Unpack
57
57
 
58
+
58
59
  __all__ = ("BedrockRuntimeClient",)
59
60
 
61
+
60
62
  class Exceptions(BaseClientExceptions):
61
63
  AccessDeniedException: Type[BotocoreClientError]
62
64
  ClientError: Type[BotocoreClientError]
@@ -72,6 +74,7 @@ class Exceptions(BaseClientExceptions):
72
74
  ThrottlingException: Type[BotocoreClientError]
73
75
  ValidationException: Type[BotocoreClientError]
74
76
 
77
+
75
78
  class BedrockRuntimeClient(BaseClient):
76
79
  """
77
80
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#BedrockRuntime.Client)
@@ -108,7 +111,7 @@ class BedrockRuntimeClient(BaseClient):
108
111
  """
109
112
 
110
113
  def apply_guardrail(
111
- self, **kwargs: Unpack[ApplyGuardrailRequestRequestTypeDef]
114
+ self, **kwargs: Unpack[ApplyGuardrailRequestTypeDef]
112
115
  ) -> ApplyGuardrailResponseTypeDef:
113
116
  """
114
117
  The action to apply a guardrail.
@@ -117,7 +120,7 @@ class BedrockRuntimeClient(BaseClient):
117
120
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#apply_guardrail)
118
121
  """
119
122
 
120
- def converse(self, **kwargs: Unpack[ConverseRequestRequestTypeDef]) -> ConverseResponseTypeDef:
123
+ def converse(self, **kwargs: Unpack[ConverseRequestTypeDef]) -> ConverseResponseTypeDef:
121
124
  """
122
125
  Sends messages to the specified Amazon Bedrock model.
123
126
 
@@ -126,7 +129,7 @@ class BedrockRuntimeClient(BaseClient):
126
129
  """
127
130
 
128
131
  def converse_stream(
129
- self, **kwargs: Unpack[ConverseStreamRequestRequestTypeDef]
132
+ self, **kwargs: Unpack[ConverseStreamRequestTypeDef]
130
133
  ) -> ConverseStreamResponseTypeDef:
131
134
  """
132
135
  Sends messages to the specified Amazon Bedrock model and returns the response
@@ -137,7 +140,7 @@ class BedrockRuntimeClient(BaseClient):
137
140
  """
138
141
 
139
142
  def get_async_invoke(
140
- self, **kwargs: Unpack[GetAsyncInvokeRequestRequestTypeDef]
143
+ self, **kwargs: Unpack[GetAsyncInvokeRequestTypeDef]
141
144
  ) -> GetAsyncInvokeResponseTypeDef:
142
145
  """
143
146
  Retrieve information about an asynchronous invocation.
@@ -147,7 +150,7 @@ class BedrockRuntimeClient(BaseClient):
147
150
  """
148
151
 
149
152
  def invoke_model(
150
- self, **kwargs: Unpack[InvokeModelRequestRequestTypeDef]
153
+ self, **kwargs: Unpack[InvokeModelRequestTypeDef]
151
154
  ) -> InvokeModelResponseTypeDef:
152
155
  """
153
156
  Invokes the specified Amazon Bedrock model to run inference using the prompt
@@ -158,7 +161,7 @@ class BedrockRuntimeClient(BaseClient):
158
161
  """
159
162
 
160
163
  def invoke_model_with_response_stream(
161
- self, **kwargs: Unpack[InvokeModelWithResponseStreamRequestRequestTypeDef]
164
+ self, **kwargs: Unpack[InvokeModelWithResponseStreamRequestTypeDef]
162
165
  ) -> InvokeModelWithResponseStreamResponseTypeDef:
163
166
  """
164
167
  Invoke the specified Amazon Bedrock model to run inference using the prompt and
@@ -169,7 +172,7 @@ class BedrockRuntimeClient(BaseClient):
169
172
  """
170
173
 
171
174
  def list_async_invokes(
172
- self, **kwargs: Unpack[ListAsyncInvokesRequestRequestTypeDef]
175
+ self, **kwargs: Unpack[ListAsyncInvokesRequestTypeDef]
173
176
  ) -> ListAsyncInvokesResponseTypeDef:
174
177
  """
175
178
  Lists asynchronous invocations.
@@ -179,7 +182,7 @@ class BedrockRuntimeClient(BaseClient):
179
182
  """
180
183
 
181
184
  def start_async_invoke(
182
- self, **kwargs: Unpack[StartAsyncInvokeRequestRequestTypeDef]
185
+ self, **kwargs: Unpack[StartAsyncInvokeRequestTypeDef]
183
186
  ) -> StartAsyncInvokeResponseTypeDef:
184
187
  """
185
188
  Starts an asynchronous invocation.
@@ -3,6 +3,8 @@ Type annotations for bedrock-runtime service Client.
3
3
 
4
4
  [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/)
5
5
 
6
+ Copyright 2025 Vlad Emelianov
7
+
6
8
  Usage::
7
9
 
8
10
  ```python
@@ -12,8 +14,6 @@ Usage::
12
14
  session = Session()
13
15
  client: BedrockRuntimeClient = session.client("bedrock-runtime")
14
16
  ```
15
-
16
- Copyright 2025 Vlad Emelianov
17
17
  """
18
18
 
19
19
  from __future__ import annotations
@@ -27,21 +27,21 @@ from botocore.exceptions import ClientError as BotocoreClientError
27
27
 
28
28
  from .paginator import ListAsyncInvokesPaginator
29
29
  from .type_defs import (
30
- ApplyGuardrailRequestRequestTypeDef,
30
+ ApplyGuardrailRequestTypeDef,
31
31
  ApplyGuardrailResponseTypeDef,
32
- ConverseRequestRequestTypeDef,
32
+ ConverseRequestTypeDef,
33
33
  ConverseResponseTypeDef,
34
- ConverseStreamRequestRequestTypeDef,
34
+ ConverseStreamRequestTypeDef,
35
35
  ConverseStreamResponseTypeDef,
36
- GetAsyncInvokeRequestRequestTypeDef,
36
+ GetAsyncInvokeRequestTypeDef,
37
37
  GetAsyncInvokeResponseTypeDef,
38
- InvokeModelRequestRequestTypeDef,
38
+ InvokeModelRequestTypeDef,
39
39
  InvokeModelResponseTypeDef,
40
- InvokeModelWithResponseStreamRequestRequestTypeDef,
40
+ InvokeModelWithResponseStreamRequestTypeDef,
41
41
  InvokeModelWithResponseStreamResponseTypeDef,
42
- ListAsyncInvokesRequestRequestTypeDef,
42
+ ListAsyncInvokesRequestTypeDef,
43
43
  ListAsyncInvokesResponseTypeDef,
44
- StartAsyncInvokeRequestRequestTypeDef,
44
+ StartAsyncInvokeRequestTypeDef,
45
45
  StartAsyncInvokeResponseTypeDef,
46
46
  )
47
47
 
@@ -55,10 +55,8 @@ if sys.version_info >= (3, 12):
55
55
  else:
56
56
  from typing_extensions import Literal, Unpack
57
57
 
58
-
59
58
  __all__ = ("BedrockRuntimeClient",)
60
59
 
61
-
62
60
  class Exceptions(BaseClientExceptions):
63
61
  AccessDeniedException: Type[BotocoreClientError]
64
62
  ClientError: Type[BotocoreClientError]
@@ -74,7 +72,6 @@ class Exceptions(BaseClientExceptions):
74
72
  ThrottlingException: Type[BotocoreClientError]
75
73
  ValidationException: Type[BotocoreClientError]
76
74
 
77
-
78
75
  class BedrockRuntimeClient(BaseClient):
79
76
  """
80
77
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#BedrockRuntime.Client)
@@ -111,7 +108,7 @@ class BedrockRuntimeClient(BaseClient):
111
108
  """
112
109
 
113
110
  def apply_guardrail(
114
- self, **kwargs: Unpack[ApplyGuardrailRequestRequestTypeDef]
111
+ self, **kwargs: Unpack[ApplyGuardrailRequestTypeDef]
115
112
  ) -> ApplyGuardrailResponseTypeDef:
116
113
  """
117
114
  The action to apply a guardrail.
@@ -120,7 +117,7 @@ class BedrockRuntimeClient(BaseClient):
120
117
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#apply_guardrail)
121
118
  """
122
119
 
123
- def converse(self, **kwargs: Unpack[ConverseRequestRequestTypeDef]) -> ConverseResponseTypeDef:
120
+ def converse(self, **kwargs: Unpack[ConverseRequestTypeDef]) -> ConverseResponseTypeDef:
124
121
  """
125
122
  Sends messages to the specified Amazon Bedrock model.
126
123
 
@@ -129,7 +126,7 @@ class BedrockRuntimeClient(BaseClient):
129
126
  """
130
127
 
131
128
  def converse_stream(
132
- self, **kwargs: Unpack[ConverseStreamRequestRequestTypeDef]
129
+ self, **kwargs: Unpack[ConverseStreamRequestTypeDef]
133
130
  ) -> ConverseStreamResponseTypeDef:
134
131
  """
135
132
  Sends messages to the specified Amazon Bedrock model and returns the response
@@ -140,7 +137,7 @@ class BedrockRuntimeClient(BaseClient):
140
137
  """
141
138
 
142
139
  def get_async_invoke(
143
- self, **kwargs: Unpack[GetAsyncInvokeRequestRequestTypeDef]
140
+ self, **kwargs: Unpack[GetAsyncInvokeRequestTypeDef]
144
141
  ) -> GetAsyncInvokeResponseTypeDef:
145
142
  """
146
143
  Retrieve information about an asynchronous invocation.
@@ -150,7 +147,7 @@ class BedrockRuntimeClient(BaseClient):
150
147
  """
151
148
 
152
149
  def invoke_model(
153
- self, **kwargs: Unpack[InvokeModelRequestRequestTypeDef]
150
+ self, **kwargs: Unpack[InvokeModelRequestTypeDef]
154
151
  ) -> InvokeModelResponseTypeDef:
155
152
  """
156
153
  Invokes the specified Amazon Bedrock model to run inference using the prompt
@@ -161,7 +158,7 @@ class BedrockRuntimeClient(BaseClient):
161
158
  """
162
159
 
163
160
  def invoke_model_with_response_stream(
164
- self, **kwargs: Unpack[InvokeModelWithResponseStreamRequestRequestTypeDef]
161
+ self, **kwargs: Unpack[InvokeModelWithResponseStreamRequestTypeDef]
165
162
  ) -> InvokeModelWithResponseStreamResponseTypeDef:
166
163
  """
167
164
  Invoke the specified Amazon Bedrock model to run inference using the prompt and
@@ -172,7 +169,7 @@ class BedrockRuntimeClient(BaseClient):
172
169
  """
173
170
 
174
171
  def list_async_invokes(
175
- self, **kwargs: Unpack[ListAsyncInvokesRequestRequestTypeDef]
172
+ self, **kwargs: Unpack[ListAsyncInvokesRequestTypeDef]
176
173
  ) -> ListAsyncInvokesResponseTypeDef:
177
174
  """
178
175
  Lists asynchronous invocations.
@@ -182,7 +179,7 @@ class BedrockRuntimeClient(BaseClient):
182
179
  """
183
180
 
184
181
  def start_async_invoke(
185
- self, **kwargs: Unpack[StartAsyncInvokeRequestRequestTypeDef]
182
+ self, **kwargs: Unpack[StartAsyncInvokeRequestTypeDef]
186
183
  ) -> StartAsyncInvokeResponseTypeDef:
187
184
  """
188
185
  Starts an asynchronous invocation.
@@ -3,6 +3,8 @@ Type annotations for bedrock-runtime service literal definitions.
3
3
 
4
4
  [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/literals/)
5
5
 
6
+ Copyright 2025 Vlad Emelianov
7
+
6
8
  Usage::
7
9
 
8
10
  ```python
@@ -10,8 +12,6 @@ Usage::
10
12
 
11
13
  data: AsyncInvokeStatusType = "Completed"
12
14
  ```
13
-
14
- Copyright 2025 Vlad Emelianov
15
15
  """
16
16
 
17
17
  import sys
@@ -269,7 +269,6 @@ ServiceName = Literal[
269
269
  "efs",
270
270
  "eks",
271
271
  "eks-auth",
272
- "elastic-inference",
273
272
  "elasticache",
274
273
  "elasticbeanstalk",
275
274
  "elastictranscoder",
@@ -3,6 +3,8 @@ Type annotations for bedrock-runtime service literal definitions.
3
3
 
4
4
  [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/literals/)
5
5
 
6
+ Copyright 2025 Vlad Emelianov
7
+
6
8
  Usage::
7
9
 
8
10
  ```python
@@ -10,8 +12,6 @@ Usage::
10
12
 
11
13
  data: AsyncInvokeStatusType = "Completed"
12
14
  ```
13
-
14
- Copyright 2025 Vlad Emelianov
15
15
  """
16
16
 
17
17
  import sys
@@ -267,7 +267,6 @@ ServiceName = Literal[
267
267
  "efs",
268
268
  "eks",
269
269
  "eks-auth",
270
- "elastic-inference",
271
270
  "elasticache",
272
271
  "elasticbeanstalk",
273
272
  "elastictranscoder",