types-boto3-bedrock-runtime 1.37.24__tar.gz → 1.37.30__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.37.24/types_boto3_bedrock_runtime.egg-info → types_boto3_bedrock_runtime-1.37.30}/PKG-INFO +4 -4
  2. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/README.md +2 -2
  3. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/setup.py +2 -2
  4. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/__main__.py +3 -3
  5. types_boto3_bedrock_runtime-1.37.24/types_boto3_bedrock_runtime/client.pyi → types_boto3_bedrock_runtime-1.37.30/types_boto3_bedrock_runtime/client.py +16 -0
  6. types_boto3_bedrock_runtime-1.37.24/types_boto3_bedrock_runtime/client.py → types_boto3_bedrock_runtime-1.37.30/types_boto3_bedrock_runtime/client.pyi +13 -3
  7. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/literals.py +8 -6
  8. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/literals.pyi +8 -6
  9. types_boto3_bedrock_runtime-1.37.24/types_boto3_bedrock_runtime/type_defs.pyi → types_boto3_bedrock_runtime-1.37.30/types_boto3_bedrock_runtime/type_defs.py +184 -8
  10. types_boto3_bedrock_runtime-1.37.24/types_boto3_bedrock_runtime/type_defs.py → types_boto3_bedrock_runtime-1.37.30/types_boto3_bedrock_runtime/type_defs.pyi +54 -125
  11. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/version.py +1 -1
  12. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30/types_boto3_bedrock_runtime.egg-info}/PKG-INFO +4 -4
  13. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/LICENSE +0 -0
  14. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/setup.cfg +0 -0
  15. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/__init__.py +0 -0
  16. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/__init__.pyi +0 -0
  17. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/paginator.py +0 -0
  18. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/paginator.pyi +0 -0
  19. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/py.typed +0 -0
  20. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime.egg-info/SOURCES.txt +0 -0
  21. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime.egg-info/dependency_links.txt +0 -0
  22. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime.egg-info/not-zip-safe +0 -0
  23. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime.egg-info/requires.txt +0 -0
  24. {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.30}/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.37.24
4
- Summary: Type annotations for boto3 BedrockRuntime 1.37.24 service generated with mypy-boto3-builder 8.10.1
3
+ Version: 1.37.30
4
+ Summary: Type annotations for boto3 BedrockRuntime 1.37.30 service generated with mypy-boto3-builder 8.10.1
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.37.24](https://pypi.org/project/boto3/) compatible with
60
+ [boto3 BedrockRuntime 1.37.30](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.37.24' mypy-boto3-builder`
122
+ `uvx --with 'boto3==1.37.30' 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.37.24](https://pypi.org/project/boto3/) compatible with
13
+ [boto3 BedrockRuntime 1.37.30](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.37.24' mypy-boto3-builder`
75
+ `uvx --with 'boto3==1.37.30' 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.37.24",
16
+ version="1.37.30",
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.37.24 service generated with mypy-boto3-builder 8.10.1",
22
+ description="Type annotations for boto3 BedrockRuntime 1.37.30 service generated with mypy-boto3-builder 8.10.1",
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.37.24\n"
16
- "Version: 1.37.24\n"
15
+ "Type annotations for boto3 BedrockRuntime 1.37.30\n"
16
+ "Version: 1.37.30\n"
17
17
  "Builder version: 8.10.1\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.37.24\n")
29
+ sys.stdout.write("1.37.30\n")
30
30
 
31
31
 
32
32
  def main() -> None:
@@ -37,6 +37,8 @@ from .type_defs import (
37
37
  GetAsyncInvokeResponseTypeDef,
38
38
  InvokeModelRequestTypeDef,
39
39
  InvokeModelResponseTypeDef,
40
+ InvokeModelWithBidirectionalStreamRequestTypeDef,
41
+ InvokeModelWithBidirectionalStreamResponseTypeDef,
40
42
  InvokeModelWithResponseStreamRequestTypeDef,
41
43
  InvokeModelWithResponseStreamResponseTypeDef,
42
44
  ListAsyncInvokesRequestTypeDef,
@@ -55,8 +57,10 @@ if sys.version_info >= (3, 12):
55
57
  else:
56
58
  from typing_extensions import Literal, Unpack
57
59
 
60
+
58
61
  __all__ = ("BedrockRuntimeClient",)
59
62
 
63
+
60
64
  class Exceptions(BaseClientExceptions):
61
65
  AccessDeniedException: Type[BotocoreClientError]
62
66
  ClientError: Type[BotocoreClientError]
@@ -72,6 +76,7 @@ class Exceptions(BaseClientExceptions):
72
76
  ThrottlingException: Type[BotocoreClientError]
73
77
  ValidationException: Type[BotocoreClientError]
74
78
 
79
+
75
80
  class BedrockRuntimeClient(BaseClient):
76
81
  """
77
82
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#BedrockRuntime.Client)
@@ -157,6 +162,17 @@ class BedrockRuntimeClient(BaseClient):
157
162
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#invoke_model)
158
163
  """
159
164
 
165
+ def invoke_model_with_bidirectional_stream(
166
+ self, **kwargs: Unpack[InvokeModelWithBidirectionalStreamRequestTypeDef]
167
+ ) -> InvokeModelWithBidirectionalStreamResponseTypeDef:
168
+ """
169
+ Invoke the specified Amazon Bedrock model to run inference using the
170
+ bidirectional stream.
171
+
172
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/invoke_model_with_bidirectional_stream.html)
173
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#invoke_model_with_bidirectional_stream)
174
+ """
175
+
160
176
  def invoke_model_with_response_stream(
161
177
  self, **kwargs: Unpack[InvokeModelWithResponseStreamRequestTypeDef]
162
178
  ) -> InvokeModelWithResponseStreamResponseTypeDef:
@@ -37,6 +37,8 @@ from .type_defs import (
37
37
  GetAsyncInvokeResponseTypeDef,
38
38
  InvokeModelRequestTypeDef,
39
39
  InvokeModelResponseTypeDef,
40
+ InvokeModelWithBidirectionalStreamRequestTypeDef,
41
+ InvokeModelWithBidirectionalStreamResponseTypeDef,
40
42
  InvokeModelWithResponseStreamRequestTypeDef,
41
43
  InvokeModelWithResponseStreamResponseTypeDef,
42
44
  ListAsyncInvokesRequestTypeDef,
@@ -55,10 +57,8 @@ if sys.version_info >= (3, 12):
55
57
  else:
56
58
  from typing_extensions import Literal, Unpack
57
59
 
58
-
59
60
  __all__ = ("BedrockRuntimeClient",)
60
61
 
61
-
62
62
  class Exceptions(BaseClientExceptions):
63
63
  AccessDeniedException: Type[BotocoreClientError]
64
64
  ClientError: Type[BotocoreClientError]
@@ -74,7 +74,6 @@ class Exceptions(BaseClientExceptions):
74
74
  ThrottlingException: Type[BotocoreClientError]
75
75
  ValidationException: Type[BotocoreClientError]
76
76
 
77
-
78
77
  class BedrockRuntimeClient(BaseClient):
79
78
  """
80
79
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#BedrockRuntime.Client)
@@ -160,6 +159,17 @@ class BedrockRuntimeClient(BaseClient):
160
159
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#invoke_model)
161
160
  """
162
161
 
162
+ def invoke_model_with_bidirectional_stream(
163
+ self, **kwargs: Unpack[InvokeModelWithBidirectionalStreamRequestTypeDef]
164
+ ) -> InvokeModelWithBidirectionalStreamResponseTypeDef:
165
+ """
166
+ Invoke the specified Amazon Bedrock model to run inference using the
167
+ bidirectional stream.
168
+
169
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/invoke_model_with_bidirectional_stream.html)
170
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#invoke_model_with_bidirectional_stream)
171
+ """
172
+
163
173
  def invoke_model_with_response_stream(
164
174
  self, **kwargs: Unpack[InvokeModelWithResponseStreamRequestTypeDef]
165
175
  ) -> InvokeModelWithResponseStreamResponseTypeDef:
@@ -41,6 +41,7 @@ __all__ = (
41
41
  "GuardrailConverseImageFormatType",
42
42
  "GuardrailImageFormatType",
43
43
  "GuardrailManagedWordTypeType",
44
+ "GuardrailOutputScopeType",
44
45
  "GuardrailPiiEntityTypeType",
45
46
  "GuardrailSensitiveInformationPolicyActionType",
46
47
  "GuardrailStreamProcessingModeType",
@@ -73,7 +74,7 @@ GuardrailContentFilterStrengthType = Literal["HIGH", "LOW", "MEDIUM", "NONE"]
73
74
  GuardrailContentFilterTypeType = Literal[
74
75
  "HATE", "INSULTS", "MISCONDUCT", "PROMPT_ATTACK", "SEXUAL", "VIOLENCE"
75
76
  ]
76
- GuardrailContentPolicyActionType = Literal["BLOCKED"]
77
+ GuardrailContentPolicyActionType = Literal["BLOCKED", "NONE"]
77
78
  GuardrailContentQualifierType = Literal["grounding_source", "guard_content", "query"]
78
79
  GuardrailContentSourceType = Literal["INPUT", "OUTPUT"]
79
80
  GuardrailContextualGroundingFilterTypeType = Literal["GROUNDING", "RELEVANCE"]
@@ -82,6 +83,7 @@ GuardrailConverseContentQualifierType = Literal["grounding_source", "guard_conte
82
83
  GuardrailConverseImageFormatType = Literal["jpeg", "png"]
83
84
  GuardrailImageFormatType = Literal["jpeg", "png"]
84
85
  GuardrailManagedWordTypeType = Literal["PROFANITY"]
86
+ GuardrailOutputScopeType = Literal["FULL", "INTERVENTIONS"]
85
87
  GuardrailPiiEntityTypeType = Literal[
86
88
  "ADDRESS",
87
89
  "AGE",
@@ -115,12 +117,12 @@ GuardrailPiiEntityTypeType = Literal[
115
117
  "US_SOCIAL_SECURITY_NUMBER",
116
118
  "VEHICLE_IDENTIFICATION_NUMBER",
117
119
  ]
118
- GuardrailSensitiveInformationPolicyActionType = Literal["ANONYMIZED", "BLOCKED"]
120
+ GuardrailSensitiveInformationPolicyActionType = Literal["ANONYMIZED", "BLOCKED", "NONE"]
119
121
  GuardrailStreamProcessingModeType = Literal["async", "sync"]
120
- GuardrailTopicPolicyActionType = Literal["BLOCKED"]
122
+ GuardrailTopicPolicyActionType = Literal["BLOCKED", "NONE"]
121
123
  GuardrailTopicTypeType = Literal["DENY"]
122
- GuardrailTraceType = Literal["disabled", "enabled"]
123
- GuardrailWordPolicyActionType = Literal["BLOCKED"]
124
+ GuardrailTraceType = Literal["disabled", "enabled", "enabled_full"]
125
+ GuardrailWordPolicyActionType = Literal["BLOCKED", "NONE"]
124
126
  ImageFormatType = Literal["gif", "jpeg", "png", "webp"]
125
127
  ListAsyncInvokesPaginatorName = Literal["list_async_invokes"]
126
128
  PerformanceConfigLatencyType = Literal["optimized", "standard"]
@@ -135,7 +137,7 @@ StopReasonType = Literal[
135
137
  "tool_use",
136
138
  ]
137
139
  ToolResultStatusType = Literal["error", "success"]
138
- TraceType = Literal["DISABLED", "ENABLED"]
140
+ TraceType = Literal["DISABLED", "ENABLED", "ENABLED_FULL"]
139
141
  VideoFormatType = Literal["flv", "mkv", "mov", "mp4", "mpeg", "mpg", "three_gp", "webm", "wmv"]
140
142
  BedrockRuntimeServiceName = Literal["bedrock-runtime"]
141
143
  ServiceName = Literal[
@@ -40,6 +40,7 @@ __all__ = (
40
40
  "GuardrailConverseImageFormatType",
41
41
  "GuardrailImageFormatType",
42
42
  "GuardrailManagedWordTypeType",
43
+ "GuardrailOutputScopeType",
43
44
  "GuardrailPiiEntityTypeType",
44
45
  "GuardrailSensitiveInformationPolicyActionType",
45
46
  "GuardrailStreamProcessingModeType",
@@ -71,7 +72,7 @@ GuardrailContentFilterStrengthType = Literal["HIGH", "LOW", "MEDIUM", "NONE"]
71
72
  GuardrailContentFilterTypeType = Literal[
72
73
  "HATE", "INSULTS", "MISCONDUCT", "PROMPT_ATTACK", "SEXUAL", "VIOLENCE"
73
74
  ]
74
- GuardrailContentPolicyActionType = Literal["BLOCKED"]
75
+ GuardrailContentPolicyActionType = Literal["BLOCKED", "NONE"]
75
76
  GuardrailContentQualifierType = Literal["grounding_source", "guard_content", "query"]
76
77
  GuardrailContentSourceType = Literal["INPUT", "OUTPUT"]
77
78
  GuardrailContextualGroundingFilterTypeType = Literal["GROUNDING", "RELEVANCE"]
@@ -80,6 +81,7 @@ GuardrailConverseContentQualifierType = Literal["grounding_source", "guard_conte
80
81
  GuardrailConverseImageFormatType = Literal["jpeg", "png"]
81
82
  GuardrailImageFormatType = Literal["jpeg", "png"]
82
83
  GuardrailManagedWordTypeType = Literal["PROFANITY"]
84
+ GuardrailOutputScopeType = Literal["FULL", "INTERVENTIONS"]
83
85
  GuardrailPiiEntityTypeType = Literal[
84
86
  "ADDRESS",
85
87
  "AGE",
@@ -113,12 +115,12 @@ GuardrailPiiEntityTypeType = Literal[
113
115
  "US_SOCIAL_SECURITY_NUMBER",
114
116
  "VEHICLE_IDENTIFICATION_NUMBER",
115
117
  ]
116
- GuardrailSensitiveInformationPolicyActionType = Literal["ANONYMIZED", "BLOCKED"]
118
+ GuardrailSensitiveInformationPolicyActionType = Literal["ANONYMIZED", "BLOCKED", "NONE"]
117
119
  GuardrailStreamProcessingModeType = Literal["async", "sync"]
118
- GuardrailTopicPolicyActionType = Literal["BLOCKED"]
120
+ GuardrailTopicPolicyActionType = Literal["BLOCKED", "NONE"]
119
121
  GuardrailTopicTypeType = Literal["DENY"]
120
- GuardrailTraceType = Literal["disabled", "enabled"]
121
- GuardrailWordPolicyActionType = Literal["BLOCKED"]
122
+ GuardrailTraceType = Literal["disabled", "enabled", "enabled_full"]
123
+ GuardrailWordPolicyActionType = Literal["BLOCKED", "NONE"]
122
124
  ImageFormatType = Literal["gif", "jpeg", "png", "webp"]
123
125
  ListAsyncInvokesPaginatorName = Literal["list_async_invokes"]
124
126
  PerformanceConfigLatencyType = Literal["optimized", "standard"]
@@ -133,7 +135,7 @@ StopReasonType = Literal[
133
135
  "tool_use",
134
136
  ]
135
137
  ToolResultStatusType = Literal["error", "success"]
136
- TraceType = Literal["DISABLED", "ENABLED"]
138
+ TraceType = Literal["DISABLED", "ENABLED", "ENABLED_FULL"]
137
139
  VideoFormatType = Literal["flv", "mkv", "mov", "mp4", "mpeg", "mpg", "three_gp", "webm", "wmv"]
138
140
  BedrockRuntimeServiceName = Literal["bedrock-runtime"]
139
141
  ServiceName = Literal[