types-boto3-bedrock-runtime 1.40.3__tar.gz → 1.40.21__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.40.3/types_boto3_bedrock_runtime.egg-info → types_boto3_bedrock_runtime-1.40.21}/PKG-INFO +4 -4
  2. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/README.md +2 -2
  3. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/setup.py +2 -2
  4. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/types_boto3_bedrock_runtime/__main__.py +3 -3
  5. types_boto3_bedrock_runtime-1.40.3/types_boto3_bedrock_runtime/client.pyi → types_boto3_bedrock_runtime-1.40.21/types_boto3_bedrock_runtime/client.py +15 -0
  6. types_boto3_bedrock_runtime-1.40.3/types_boto3_bedrock_runtime/client.py → types_boto3_bedrock_runtime-1.40.21/types_boto3_bedrock_runtime/client.pyi +12 -3
  7. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/types_boto3_bedrock_runtime/literals.py +3 -12
  8. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/types_boto3_bedrock_runtime/literals.pyi +3 -12
  9. types_boto3_bedrock_runtime-1.40.3/types_boto3_bedrock_runtime/type_defs.pyi → types_boto3_bedrock_runtime-1.40.21/types_boto3_bedrock_runtime/type_defs.py +186 -0
  10. types_boto3_bedrock_runtime-1.40.3/types_boto3_bedrock_runtime/type_defs.py → types_boto3_bedrock_runtime-1.40.21/types_boto3_bedrock_runtime/type_defs.pyi +26 -151
  11. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/types_boto3_bedrock_runtime/version.py +1 -1
  12. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21/types_boto3_bedrock_runtime.egg-info}/PKG-INFO +4 -4
  13. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/LICENSE +0 -0
  14. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/setup.cfg +0 -0
  15. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/types_boto3_bedrock_runtime/__init__.py +0 -0
  16. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/types_boto3_bedrock_runtime/__init__.pyi +0 -0
  17. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/types_boto3_bedrock_runtime/paginator.py +0 -0
  18. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/types_boto3_bedrock_runtime/paginator.pyi +0 -0
  19. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/types_boto3_bedrock_runtime/py.typed +0 -0
  20. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/types_boto3_bedrock_runtime.egg-info/SOURCES.txt +0 -0
  21. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/types_boto3_bedrock_runtime.egg-info/dependency_links.txt +0 -0
  22. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/types_boto3_bedrock_runtime.egg-info/not-zip-safe +0 -0
  23. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/types_boto3_bedrock_runtime.egg-info/requires.txt +0 -0
  24. {types_boto3_bedrock_runtime-1.40.3 → types_boto3_bedrock_runtime-1.40.21}/types_boto3_bedrock_runtime.egg-info/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: types-boto3-bedrock-runtime
3
- Version: 1.40.3
4
- Summary: Type annotations for boto3 BedrockRuntime 1.40.3 service generated with mypy-boto3-builder 8.11.0
3
+ Version: 1.40.21
4
+ Summary: Type annotations for boto3 BedrockRuntime 1.40.21 service generated with mypy-boto3-builder 8.11.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
@@ -57,7 +57,7 @@ Dynamic: summary
57
57
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
58
58
 
59
59
  Type annotations for
60
- [boto3 BedrockRuntime 1.40.3](https://pypi.org/project/boto3/) compatible with
60
+ [boto3 BedrockRuntime 1.40.21](https://pypi.org/project/boto3/) compatible with
61
61
  [VSCode](https://code.visualstudio.com/),
62
62
  [PyCharm](https://www.jetbrains.com/pycharm/),
63
63
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -119,7 +119,7 @@ You can generate type annotations for `boto3` package locally with
119
119
  isolation.
120
120
 
121
121
  1. Run mypy-boto3-builder in your package root directory:
122
- `uvx --with 'boto3==1.40.3' mypy-boto3-builder`
122
+ `uvx --with 'boto3==1.40.21' mypy-boto3-builder`
123
123
  2. Select `boto3` AWS SDK.
124
124
  3. Add `BedrockRuntime` service.
125
125
  4. Use provided commands to install generated packages.
@@ -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.40.3](https://pypi.org/project/boto3/) compatible with
13
+ [boto3 BedrockRuntime 1.40.21](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/),
@@ -72,7 +72,7 @@ You can generate type annotations for `boto3` package locally with
72
72
  isolation.
73
73
 
74
74
  1. Run mypy-boto3-builder in your package root directory:
75
- `uvx --with 'boto3==1.40.3' mypy-boto3-builder`
75
+ `uvx --with 'boto3==1.40.21' 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.
@@ -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.40.3",
16
+ version="1.40.21",
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.40.3 service generated with mypy-boto3-builder 8.11.0",
22
+ description="Type annotations for boto3 BedrockRuntime 1.40.21 service generated with mypy-boto3-builder 8.11.0",
23
23
  classifiers=[
24
24
  "Development Status :: 5 - Production/Stable",
25
25
  "Intended Audience :: Developers",
@@ -12,8 +12,8 @@ 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.40.3\n"
16
- "Version: 1.40.3\n"
15
+ "Type annotations for boto3 BedrockRuntime 1.40.21\n"
16
+ "Version: 1.40.21\n"
17
17
  "Builder version: 8.11.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
- sys.stdout.write("1.40.3\n")
29
+ sys.stdout.write("1.40.21\n")
30
30
 
31
31
 
32
32
  def main() -> None:
@@ -33,6 +33,8 @@ from .type_defs import (
33
33
  ConverseResponseTypeDef,
34
34
  ConverseStreamRequestTypeDef,
35
35
  ConverseStreamResponseTypeDef,
36
+ CountTokensRequestTypeDef,
37
+ CountTokensResponseTypeDef,
36
38
  GetAsyncInvokeRequestTypeDef,
37
39
  GetAsyncInvokeResponseTypeDef,
38
40
  InvokeModelRequestTypeDef,
@@ -57,8 +59,10 @@ if sys.version_info >= (3, 12):
57
59
  else:
58
60
  from typing_extensions import Literal, Unpack
59
61
 
62
+
60
63
  __all__ = ("BedrockRuntimeClient",)
61
64
 
65
+
62
66
  class Exceptions(BaseClientExceptions):
63
67
  AccessDeniedException: Type[BotocoreClientError]
64
68
  ClientError: Type[BotocoreClientError]
@@ -74,6 +78,7 @@ class Exceptions(BaseClientExceptions):
74
78
  ThrottlingException: Type[BotocoreClientError]
75
79
  ValidationException: Type[BotocoreClientError]
76
80
 
81
+
77
82
  class BedrockRuntimeClient(BaseClient):
78
83
  """
79
84
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#BedrockRuntime.Client)
@@ -138,6 +143,16 @@ class BedrockRuntimeClient(BaseClient):
138
143
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#converse_stream)
139
144
  """
140
145
 
146
+ def count_tokens(
147
+ self, **kwargs: Unpack[CountTokensRequestTypeDef]
148
+ ) -> CountTokensResponseTypeDef:
149
+ """
150
+ Returns the token count for a given inference request.
151
+
152
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/count_tokens.html)
153
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#count_tokens)
154
+ """
155
+
141
156
  def get_async_invoke(
142
157
  self, **kwargs: Unpack[GetAsyncInvokeRequestTypeDef]
143
158
  ) -> GetAsyncInvokeResponseTypeDef:
@@ -33,6 +33,8 @@ from .type_defs import (
33
33
  ConverseResponseTypeDef,
34
34
  ConverseStreamRequestTypeDef,
35
35
  ConverseStreamResponseTypeDef,
36
+ CountTokensRequestTypeDef,
37
+ CountTokensResponseTypeDef,
36
38
  GetAsyncInvokeRequestTypeDef,
37
39
  GetAsyncInvokeResponseTypeDef,
38
40
  InvokeModelRequestTypeDef,
@@ -57,10 +59,8 @@ if sys.version_info >= (3, 12):
57
59
  else:
58
60
  from typing_extensions import Literal, Unpack
59
61
 
60
-
61
62
  __all__ = ("BedrockRuntimeClient",)
62
63
 
63
-
64
64
  class Exceptions(BaseClientExceptions):
65
65
  AccessDeniedException: Type[BotocoreClientError]
66
66
  ClientError: Type[BotocoreClientError]
@@ -76,7 +76,6 @@ class Exceptions(BaseClientExceptions):
76
76
  ThrottlingException: Type[BotocoreClientError]
77
77
  ValidationException: Type[BotocoreClientError]
78
78
 
79
-
80
79
  class BedrockRuntimeClient(BaseClient):
81
80
  """
82
81
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#BedrockRuntime.Client)
@@ -141,6 +140,16 @@ class BedrockRuntimeClient(BaseClient):
141
140
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#converse_stream)
142
141
  """
143
142
 
143
+ def count_tokens(
144
+ self, **kwargs: Unpack[CountTokensRequestTypeDef]
145
+ ) -> CountTokensResponseTypeDef:
146
+ """
147
+ Returns the token count for a given inference request.
148
+
149
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/count_tokens.html)
150
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#count_tokens)
151
+ """
152
+
144
153
  def get_async_invoke(
145
154
  self, **kwargs: Unpack[GetAsyncInvokeRequestTypeDef]
146
155
  ) -> GetAsyncInvokeResponseTypeDef:
@@ -181,8 +181,10 @@ ServiceName = Literal[
181
181
  "backup-gateway",
182
182
  "backupsearch",
183
183
  "batch",
184
+ "bcm-dashboards",
184
185
  "bcm-data-exports",
185
186
  "bcm-pricing-calculator",
187
+ "bcm-recommended-actions",
186
188
  "bedrock",
187
189
  "bedrock-agent",
188
190
  "bedrock-agent-runtime",
@@ -424,8 +426,6 @@ ServiceName = Literal[
424
426
  "omics",
425
427
  "opensearch",
426
428
  "opensearchserverless",
427
- "opsworks",
428
- "opsworkscm",
429
429
  "organizations",
430
430
  "osis",
431
431
  "outposts",
@@ -558,15 +558,6 @@ ServiceName = Literal[
558
558
  "xray",
559
559
  ]
560
560
  ResourceServiceName = Literal[
561
- "cloudformation",
562
- "cloudwatch",
563
- "dynamodb",
564
- "ec2",
565
- "glacier",
566
- "iam",
567
- "opsworks",
568
- "s3",
569
- "sns",
570
- "sqs",
561
+ "cloudformation", "cloudwatch", "dynamodb", "ec2", "glacier", "iam", "s3", "sns", "sqs"
571
562
  ]
572
563
  PaginatorName = Literal["list_async_invokes"]
@@ -179,8 +179,10 @@ ServiceName = Literal[
179
179
  "backup-gateway",
180
180
  "backupsearch",
181
181
  "batch",
182
+ "bcm-dashboards",
182
183
  "bcm-data-exports",
183
184
  "bcm-pricing-calculator",
185
+ "bcm-recommended-actions",
184
186
  "bedrock",
185
187
  "bedrock-agent",
186
188
  "bedrock-agent-runtime",
@@ -422,8 +424,6 @@ ServiceName = Literal[
422
424
  "omics",
423
425
  "opensearch",
424
426
  "opensearchserverless",
425
- "opsworks",
426
- "opsworkscm",
427
427
  "organizations",
428
428
  "osis",
429
429
  "outposts",
@@ -556,15 +556,6 @@ ServiceName = Literal[
556
556
  "xray",
557
557
  ]
558
558
  ResourceServiceName = Literal[
559
- "cloudformation",
560
- "cloudwatch",
561
- "dynamodb",
562
- "ec2",
563
- "glacier",
564
- "iam",
565
- "opsworks",
566
- "s3",
567
- "sns",
568
- "sqs",
559
+ "cloudformation", "cloudwatch", "dynamodb", "ec2", "glacier", "iam", "s3", "sns", "sqs"
569
560
  ]
570
561
  PaginatorName = Literal["list_async_invokes"]