types-boto3-bedrock-runtime 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.
@@ -0,0 +1,409 @@
1
+ Metadata-Version: 2.1
2
+ Name: types-boto3-bedrock-runtime
3
+ Version: 1.35.71
4
+ Summary: Type annotations for boto3 BedrockRuntime 1.35.71 service generated with mypy-boto3-builder 8.4.1
5
+ Home-page: https://github.com/youtype/mypy_boto3_builder
6
+ Author: Vlad Emelianov
7
+ Author-email: vlad.emelianov.nz@gmail.com
8
+ License: MIT License
9
+ Project-URL: Documentation, https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/
10
+ Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
11
+ Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
12
+ Keywords: boto3 bedrock-runtime type-annotations botocore mypy typeshed autocomplete
13
+ Classifier: Development Status :: 5 - Production/Stable
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Environment :: Console
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Natural Language :: English
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3.8
21
+ Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
+ Classifier: Programming Language :: Python :: 3 :: Only
28
+ Classifier: Programming Language :: Python :: Implementation :: CPython
29
+ Classifier: Typing :: Stubs Only
30
+ Requires-Python: >=3.8
31
+ Description-Content-Type: text/markdown
32
+ License-File: LICENSE
33
+ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
34
+
35
+ <a id="types-boto3-bedrock-runtime"></a>
36
+
37
+ # types-boto3-bedrock-runtime
38
+
39
+ [![PyPI - types-boto3-bedrock-runtime](https://img.shields.io/pypi/v/types-boto3-bedrock-runtime.svg?color=blue)](https://pypi.org/project/types-boto3-bedrock-runtime/)
40
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/types-boto3-bedrock-runtime.svg?color=blue)](https://pypi.org/project/types-boto3-bedrock-runtime/)
41
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/types_boto3_docs/)
42
+ [![PyPI - Downloads](https://static.pepy.tech/badge/types-boto3-bedrock-runtime)](https://pypistats.org/packages/types-boto3-bedrock-runtime)
43
+
44
+ ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
45
+
46
+ Type annotations for
47
+ [boto3 BedrockRuntime 1.35.71](https://pypi.org/project/boto3/) compatible with
48
+ [VSCode](https://code.visualstudio.com/),
49
+ [PyCharm](https://www.jetbrains.com/pycharm/),
50
+ [Emacs](https://www.gnu.org/software/emacs/),
51
+ [Sublime Text](https://www.sublimetext.com/),
52
+ [mypy](https://github.com/python/mypy),
53
+ [pyright](https://github.com/microsoft/pyright) and other tools.
54
+
55
+ Generated by
56
+ [mypy-boto3-builder 8.4.1](https://github.com/youtype/mypy_boto3_builder).
57
+
58
+ More information can be found on
59
+ [types-boto3](https://pypi.org/project/types-boto3/) page and in
60
+ [types-boto3-bedrock-runtime docs](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/).
61
+
62
+ See how it helps you find and fix potential bugs:
63
+
64
+ ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
65
+
66
+ - [types-boto3-bedrock-runtime](#types-boto3-bedrock-runtime)
67
+ - [How to install](#how-to-install)
68
+ - [VSCode extension](#vscode-extension)
69
+ - [From PyPI with pip](#from-pypi-with-pip)
70
+ - [How to uninstall](#how-to-uninstall)
71
+ - [Usage](#usage)
72
+ - [VSCode](#vscode)
73
+ - [PyCharm](#pycharm)
74
+ - [Emacs](#emacs)
75
+ - [Sublime Text](#sublime-text)
76
+ - [Other IDEs](#other-ides)
77
+ - [mypy](#mypy)
78
+ - [pyright](#pyright)
79
+ - [Explicit type annotations](#explicit-type-annotations)
80
+ - [Client annotations](#client-annotations)
81
+ - [Literals](#literals)
82
+ - [Type definitions](#type-definitions)
83
+ - [How it works](#how-it-works)
84
+ - [What's new](#what's-new)
85
+ - [Implemented features](#implemented-features)
86
+ - [Latest changes](#latest-changes)
87
+ - [Versioning](#versioning)
88
+ - [Thank you](#thank-you)
89
+ - [Documentation](#documentation)
90
+ - [Support and contributing](#support-and-contributing)
91
+
92
+ <a id="how-to-install"></a>
93
+
94
+ ## How to install
95
+
96
+ <a id="vscode-extension"></a>
97
+
98
+ ### VSCode extension
99
+
100
+ Add
101
+ [AWS Boto3](https://marketplace.visualstudio.com/items?itemName=Boto3typed.boto3-ide)
102
+ extension to your VSCode and run `AWS boto3: Quick Start` command.
103
+
104
+ Click `Modify` and select `boto3 common` and `BedrockRuntime`.
105
+
106
+ <a id="from-pypi-with-pip"></a>
107
+
108
+ ### From PyPI with pip
109
+
110
+ Install `types-boto3` for `BedrockRuntime` service.
111
+
112
+ ```bash
113
+ # install with boto3 type annotations
114
+ python -m pip install 'types-boto3[bedrock-runtime]'
115
+
116
+
117
+ # Lite version does not provide session.client/resource overloads
118
+ # it is more RAM-friendly, but requires explicit type annotations
119
+ python -m pip install 'types-boto3-lite[bedrock-runtime]'
120
+
121
+
122
+ # standalone installation
123
+ python -m pip install types-boto3-bedrock-runtime
124
+ ```
125
+
126
+ <a id="how-to-uninstall"></a>
127
+
128
+ ## How to uninstall
129
+
130
+ ```bash
131
+ python -m pip uninstall -y types-boto3-bedrock-runtime
132
+ ```
133
+
134
+ <a id="usage"></a>
135
+
136
+ ## Usage
137
+
138
+ <a id="vscode"></a>
139
+
140
+ ### VSCode
141
+
142
+ - Install
143
+ [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
144
+ - Install
145
+ [Pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
146
+ - Set `Pylance` as your Python Language Server
147
+ - Install `types-boto3[bedrock-runtime]` in your environment:
148
+
149
+ ```bash
150
+ python -m pip install 'types-boto3[bedrock-runtime]'
151
+ ```
152
+
153
+ Both type checking and code completion should now work. No explicit type
154
+ annotations required, write your `boto3` code as usual.
155
+
156
+ <a id="pycharm"></a>
157
+
158
+ ### PyCharm
159
+
160
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
161
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
162
+ > to use [types-boto3-lite](https://pypi.org/project/types-boto3-lite/) until
163
+ > the issue is resolved.
164
+
165
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
166
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
167
+ > [pyright](https://github.com/microsoft/pyright) instead.
168
+
169
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
170
+ > `types-boto3` with
171
+ > [types-boto3-lite](https://pypi.org/project/types-boto3-lite/):
172
+
173
+ ```bash
174
+ pip uninstall types-boto3
175
+ pip install types-boto3-lite
176
+ ```
177
+
178
+ Install `types-boto3[bedrock-runtime]` in your environment:
179
+
180
+ ```bash
181
+ python -m pip install 'types-boto3[bedrock-runtime]'
182
+ ```
183
+
184
+ Both type checking and code completion should now work.
185
+
186
+ <a id="emacs"></a>
187
+
188
+ ### Emacs
189
+
190
+ - Install `types-boto3` with services you use in your environment:
191
+
192
+ ```bash
193
+ python -m pip install 'types-boto3[bedrock-runtime]'
194
+ ```
195
+
196
+ - Install [use-package](https://github.com/jwiegley/use-package),
197
+ [lsp](https://github.com/emacs-lsp/lsp-mode/),
198
+ [company](https://github.com/company-mode/company-mode) and
199
+ [flycheck](https://github.com/flycheck/flycheck) packages
200
+ - Install [lsp-pyright](https://github.com/emacs-lsp/lsp-pyright) package
201
+
202
+ ```elisp
203
+ (use-package lsp-pyright
204
+ :ensure t
205
+ :hook (python-mode . (lambda ()
206
+ (require 'lsp-pyright)
207
+ (lsp))) ; or lsp-deferred
208
+ :init (when (executable-find "python3")
209
+ (setq lsp-pyright-python-executable-cmd "python3"))
210
+ )
211
+ ```
212
+
213
+ - Make sure emacs uses the environment where you have installed `types-boto3`
214
+
215
+ Type checking should now work. No explicit type annotations required, write
216
+ your `boto3` code as usual.
217
+
218
+ <a id="sublime-text"></a>
219
+
220
+ ### Sublime Text
221
+
222
+ - Install `types-boto3[bedrock-runtime]` with services you use in your
223
+ environment:
224
+
225
+ ```bash
226
+ python -m pip install 'types-boto3[bedrock-runtime]'
227
+ ```
228
+
229
+ - Install [LSP-pyright](https://github.com/sublimelsp/LSP-pyright) package
230
+
231
+ Type checking should now work. No explicit type annotations required, write
232
+ your `boto3` code as usual.
233
+
234
+ <a id="other-ides"></a>
235
+
236
+ ### Other IDEs
237
+
238
+ Not tested, but as long as your IDE supports `mypy` or `pyright`, everything
239
+ should work.
240
+
241
+ <a id="mypy"></a>
242
+
243
+ ### mypy
244
+
245
+ - Install `mypy`: `python -m pip install mypy`
246
+ - Install `types-boto3[bedrock-runtime]` in your environment:
247
+
248
+ ```bash
249
+ python -m pip install 'types-boto3[bedrock-runtime]'
250
+ ```
251
+
252
+ Type checking should now work. No explicit type annotations required, write
253
+ your `boto3` code as usual.
254
+
255
+ <a id="pyright"></a>
256
+
257
+ ### pyright
258
+
259
+ - Install `pyright`: `npm i -g pyright`
260
+ - Install `types-boto3[bedrock-runtime]` in your environment:
261
+
262
+ ```bash
263
+ python -m pip install 'types-boto3[bedrock-runtime]'
264
+ ```
265
+
266
+ Optionally, you can install `types-boto3` to `typings` directory.
267
+
268
+ Type checking should now work. No explicit type annotations required, write
269
+ your `boto3` code as usual.
270
+
271
+ <a id="explicit-type-annotations"></a>
272
+
273
+ ## Explicit type annotations
274
+
275
+ <a id="client-annotations"></a>
276
+
277
+ ### Client annotations
278
+
279
+ `BedrockRuntimeClient` provides annotations for
280
+ `boto3.client("bedrock-runtime")`.
281
+
282
+ ```python
283
+ from boto3.session import Session
284
+
285
+ from types_boto3_bedrock_runtime import BedrockRuntimeClient
286
+
287
+ client: BedrockRuntimeClient = Session().client("bedrock-runtime")
288
+
289
+ # now client usage is checked by mypy and IDE should provide code completion
290
+ ```
291
+
292
+ <a id="literals"></a>
293
+
294
+ ### Literals
295
+
296
+ `types_boto3_bedrock_runtime.literals` module contains literals extracted from
297
+ shapes that can be used in user code for type checking.
298
+
299
+ Full list of `BedrockRuntime` Literals can be found in
300
+ [docs](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/literals/).
301
+
302
+ ```python
303
+ from types_boto3_bedrock_runtime.literals import ConversationRoleType
304
+
305
+
306
+ def check_value(value: ConversationRoleType) -> bool: ...
307
+ ```
308
+
309
+ <a id="type-definitions"></a>
310
+
311
+ ### Type definitions
312
+
313
+ `types_boto3_bedrock_runtime.type_defs` module contains structures and shapes
314
+ assembled to typed dictionaries and unions for additional type checking.
315
+
316
+ Full list of `BedrockRuntime` TypeDefs can be found in
317
+ [docs](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/type_defs/).
318
+
319
+ ```python
320
+ from types_boto3_bedrock_runtime.type_defs import GuardrailOutputContentTypeDef
321
+
322
+
323
+ def get_value() -> GuardrailOutputContentTypeDef:
324
+ return {...}
325
+ ```
326
+
327
+ <a id="how-it-works"></a>
328
+
329
+ ## How it works
330
+
331
+ Fully automated
332
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
333
+ generates type annotations for each service, patiently waiting for `boto3`
334
+ updates. It delivers drop-in type annotations for you and makes sure that:
335
+
336
+ - All available `boto3` services are covered.
337
+ - Each public class and method of every `boto3` service gets valid type
338
+ annotations extracted from `botocore` schemas.
339
+ - Type annotations include up-to-date documentation.
340
+ - Link to documentation is provided for every method.
341
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
342
+
343
+ <a id="what's-new"></a>
344
+
345
+ ## What's new
346
+
347
+ <a id="implemented-features"></a>
348
+
349
+ ### Implemented features
350
+
351
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
352
+ libraries
353
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
354
+ compatibility
355
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
356
+ annotations for each service
357
+ - Generated `TypeDefs` for each service
358
+ - Generated `Literals` for each service
359
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
360
+ - Auto discovery of types for `session.client` and `session.resource` calls
361
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
362
+ calls
363
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
364
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
365
+
366
+ <a id="latest-changes"></a>
367
+
368
+ ### Latest changes
369
+
370
+ Builder changelog can be found in
371
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
372
+
373
+ <a id="versioning"></a>
374
+
375
+ ## Versioning
376
+
377
+ `types-boto3-bedrock-runtime` version is the same as related `boto3` version
378
+ and follows [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
379
+
380
+ <a id="thank-you"></a>
381
+
382
+ ## Thank you
383
+
384
+ - [Allie Fitter](https://github.com/alliefitter) for
385
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
386
+ this package is based on top of his work
387
+ - [black](https://github.com/psf/black) developers for an awesome formatting
388
+ tool
389
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
390
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
391
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
392
+ for us
393
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
394
+ Python
395
+
396
+ <a id="documentation"></a>
397
+
398
+ ## Documentation
399
+
400
+ All services type annotations can be found in
401
+ [boto3 docs](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/)
402
+
403
+ <a id="support-and-contributing"></a>
404
+
405
+ ## Support and contributing
406
+
407
+ This package is auto-generated. Please reports any bugs or request new features
408
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
409
+ repository.
@@ -0,0 +1,16 @@
1
+ types_boto3_bedrock_runtime/__init__.py,sha256=r-rq-o_jkunMs_VLIQoWdKyVFPBCgxAKEY5R7CAwylM,465
2
+ types_boto3_bedrock_runtime/__init__.pyi,sha256=xwBsd5gEbvm2y_5yvAkZcnTKuHFx5vvj6iARjrcKJnQ,464
3
+ types_boto3_bedrock_runtime/__main__.py,sha256=x3FZsxzpMvywQqKM3s48NudGzmW-neJOPdIWqXlzIH8,980
4
+ types_boto3_bedrock_runtime/client.py,sha256=t5DH__TAJgbO4636F1M9vMhvLr_5hTCcxySnAxKEOj0,6744
5
+ types_boto3_bedrock_runtime/client.pyi,sha256=XH77kX0Fkfhmmpb6SORoooMpVKopeoifuLCjcEyOiOw,6740
6
+ types_boto3_bedrock_runtime/literals.py,sha256=TKYeOZcARFLBaAmE6o7ehDLXnZb40NPHBDqPARAD8Vo,11938
7
+ types_boto3_bedrock_runtime/literals.pyi,sha256=kvweZ_nqO5W7MuypJ6pjZIFMd-H7IyV4JPj5wh6AYJw,11936
8
+ types_boto3_bedrock_runtime/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ types_boto3_bedrock_runtime/type_defs.py,sha256=gLYICnPBU__45myOKfu4F9awnnmv443rX83ZfxsCMcg,22073
10
+ types_boto3_bedrock_runtime/type_defs.pyi,sha256=1P13MrOA_Q_bmYiaRVyLbSlCepFDD-Dy5eFsIe7xlcY,21981
11
+ types_boto3_bedrock_runtime/version.py,sha256=eIS36a5iw2-mD_eS7zeepUtx_w_DQOn6RiPaBDeB7EQ,93
12
+ types_boto3_bedrock_runtime-1.35.71.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
13
+ types_boto3_bedrock_runtime-1.35.71.dist-info/METADATA,sha256=F4PYzz6t5UjtrRImWsG0bkF8XPATbf4uVffgrKq5d7s,13001
14
+ types_boto3_bedrock_runtime-1.35.71.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
15
+ types_boto3_bedrock_runtime-1.35.71.dist-info/top_level.txt,sha256=vs95SHzu94rM38mmauihzrtfinMIBV-tKDaYSV0eMww,28
16
+ types_boto3_bedrock_runtime-1.35.71.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.6.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1 @@
1
+ types_boto3_bedrock_runtime