types-boto3-bedrock-runtime 1.37.24__tar.gz → 1.37.29__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.
- {types_boto3_bedrock_runtime-1.37.24/types_boto3_bedrock_runtime.egg-info → types_boto3_bedrock_runtime-1.37.29}/PKG-INFO +4 -4
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/README.md +2 -2
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/setup.py +2 -2
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime/__main__.py +3 -3
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime/literals.py +8 -6
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime/literals.pyi +8 -6
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime/type_defs.py +18 -4
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime/type_defs.pyi +18 -4
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime/version.py +1 -1
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29/types_boto3_bedrock_runtime.egg-info}/PKG-INFO +4 -4
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/LICENSE +0 -0
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/setup.cfg +0 -0
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime/__init__.py +0 -0
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime/__init__.pyi +0 -0
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime/client.py +0 -0
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime/client.pyi +0 -0
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime/paginator.py +0 -0
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime/paginator.pyi +0 -0
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime/py.typed +0 -0
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime.egg-info/SOURCES.txt +0 -0
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime.egg-info/dependency_links.txt +0 -0
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime.egg-info/not-zip-safe +0 -0
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/types_boto3_bedrock_runtime.egg-info/requires.txt +0 -0
- {types_boto3_bedrock_runtime-1.37.24 → types_boto3_bedrock_runtime-1.37.29}/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.
|
|
4
|
-
Summary: Type annotations for boto3 BedrockRuntime 1.37.
|
|
3
|
+
Version: 1.37.29
|
|
4
|
+
Summary: Type annotations for boto3 BedrockRuntime 1.37.29 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
|

|
|
58
58
|
|
|
59
59
|
Type annotations for
|
|
60
|
-
[boto3 BedrockRuntime 1.37.
|
|
60
|
+
[boto3 BedrockRuntime 1.37.29](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.
|
|
122
|
+
`uvx --with 'boto3==1.37.29' 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
|

|
|
11
11
|
|
|
12
12
|
Type annotations for
|
|
13
|
-
[boto3 BedrockRuntime 1.37.
|
|
13
|
+
[boto3 BedrockRuntime 1.37.29](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.
|
|
75
|
+
`uvx --with 'boto3==1.37.29' 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.
|
|
16
|
+
version="1.37.29",
|
|
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.
|
|
22
|
+
description="Type annotations for boto3 BedrockRuntime 1.37.29 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.
|
|
16
|
-
"Version: 1.37.
|
|
15
|
+
"Type annotations for boto3 BedrockRuntime 1.37.29\n"
|
|
16
|
+
"Version: 1.37.29\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.
|
|
29
|
+
sys.stdout.write("1.37.29\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -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[
|
|
@@ -31,6 +31,7 @@ from .literals import (
|
|
|
31
31
|
GuardrailContentFilterConfidenceType,
|
|
32
32
|
GuardrailContentFilterStrengthType,
|
|
33
33
|
GuardrailContentFilterTypeType,
|
|
34
|
+
GuardrailContentPolicyActionType,
|
|
34
35
|
GuardrailContentQualifierType,
|
|
35
36
|
GuardrailContentSourceType,
|
|
36
37
|
GuardrailContextualGroundingFilterTypeType,
|
|
@@ -38,10 +39,13 @@ from .literals import (
|
|
|
38
39
|
GuardrailConverseContentQualifierType,
|
|
39
40
|
GuardrailConverseImageFormatType,
|
|
40
41
|
GuardrailImageFormatType,
|
|
42
|
+
GuardrailOutputScopeType,
|
|
41
43
|
GuardrailPiiEntityTypeType,
|
|
42
44
|
GuardrailSensitiveInformationPolicyActionType,
|
|
43
45
|
GuardrailStreamProcessingModeType,
|
|
46
|
+
GuardrailTopicPolicyActionType,
|
|
44
47
|
GuardrailTraceType,
|
|
48
|
+
GuardrailWordPolicyActionType,
|
|
45
49
|
ImageFormatType,
|
|
46
50
|
PerformanceConfigLatencyType,
|
|
47
51
|
SortOrderType,
|
|
@@ -375,8 +379,9 @@ GuardrailContentFilterTypeDef = TypedDict(
|
|
|
375
379
|
{
|
|
376
380
|
"type": GuardrailContentFilterTypeType,
|
|
377
381
|
"confidence": GuardrailContentFilterConfidenceType,
|
|
378
|
-
"action":
|
|
382
|
+
"action": GuardrailContentPolicyActionType,
|
|
379
383
|
"filterStrength": NotRequired[GuardrailContentFilterStrengthType],
|
|
384
|
+
"detected": NotRequired[bool],
|
|
380
385
|
},
|
|
381
386
|
)
|
|
382
387
|
GuardrailContextualGroundingFilterTypeDef = TypedDict(
|
|
@@ -386,6 +391,7 @@ GuardrailContextualGroundingFilterTypeDef = TypedDict(
|
|
|
386
391
|
"threshold": float,
|
|
387
392
|
"score": float,
|
|
388
393
|
"action": GuardrailContextualGroundingPolicyActionType,
|
|
394
|
+
"detected": NotRequired[bool],
|
|
389
395
|
},
|
|
390
396
|
)
|
|
391
397
|
|
|
@@ -420,7 +426,8 @@ class GuardrailTextCharactersCoverageTypeDef(TypedDict):
|
|
|
420
426
|
|
|
421
427
|
class GuardrailCustomWordTypeDef(TypedDict):
|
|
422
428
|
match: str
|
|
423
|
-
action:
|
|
429
|
+
action: GuardrailWordPolicyActionType
|
|
430
|
+
detected: NotRequired[bool]
|
|
424
431
|
|
|
425
432
|
|
|
426
433
|
GuardrailManagedWordTypeDef = TypedDict(
|
|
@@ -428,7 +435,8 @@ GuardrailManagedWordTypeDef = TypedDict(
|
|
|
428
435
|
{
|
|
429
436
|
"match": str,
|
|
430
437
|
"type": Literal["PROFANITY"],
|
|
431
|
-
"action":
|
|
438
|
+
"action": GuardrailWordPolicyActionType,
|
|
439
|
+
"detected": NotRequired[bool],
|
|
432
440
|
},
|
|
433
441
|
)
|
|
434
442
|
GuardrailPiiEntityFilterTypeDef = TypedDict(
|
|
@@ -437,6 +445,7 @@ GuardrailPiiEntityFilterTypeDef = TypedDict(
|
|
|
437
445
|
"match": str,
|
|
438
446
|
"type": GuardrailPiiEntityTypeType,
|
|
439
447
|
"action": GuardrailSensitiveInformationPolicyActionType,
|
|
448
|
+
"detected": NotRequired[bool],
|
|
440
449
|
},
|
|
441
450
|
)
|
|
442
451
|
|
|
@@ -446,6 +455,7 @@ class GuardrailRegexFilterTypeDef(TypedDict):
|
|
|
446
455
|
name: NotRequired[str]
|
|
447
456
|
match: NotRequired[str]
|
|
448
457
|
regex: NotRequired[str]
|
|
458
|
+
detected: NotRequired[bool]
|
|
449
459
|
|
|
450
460
|
|
|
451
461
|
GuardrailTopicTypeDef = TypedDict(
|
|
@@ -453,7 +463,8 @@ GuardrailTopicTypeDef = TypedDict(
|
|
|
453
463
|
{
|
|
454
464
|
"name": str,
|
|
455
465
|
"type": Literal["DENY"],
|
|
456
|
-
"action":
|
|
466
|
+
"action": GuardrailTopicPolicyActionType,
|
|
467
|
+
"detected": NotRequired[bool],
|
|
457
468
|
},
|
|
458
469
|
)
|
|
459
470
|
ImageSourceOutputTypeDef = TypedDict(
|
|
@@ -894,6 +905,7 @@ class ApplyGuardrailRequestTypeDef(TypedDict):
|
|
|
894
905
|
guardrailVersion: str
|
|
895
906
|
source: GuardrailContentSourceType
|
|
896
907
|
content: Sequence[GuardrailContentBlockTypeDef]
|
|
908
|
+
outputScope: NotRequired[GuardrailOutputScopeType]
|
|
897
909
|
|
|
898
910
|
|
|
899
911
|
ImageBlockUnionTypeDef = Union[ImageBlockTypeDef, ImageBlockOutputTypeDef]
|
|
@@ -902,6 +914,7 @@ ImageBlockUnionTypeDef = Union[ImageBlockTypeDef, ImageBlockOutputTypeDef]
|
|
|
902
914
|
class ApplyGuardrailResponseTypeDef(TypedDict):
|
|
903
915
|
usage: GuardrailUsageTypeDef
|
|
904
916
|
action: GuardrailActionType
|
|
917
|
+
actionReason: str
|
|
905
918
|
outputs: List[GuardrailOutputContentTypeDef]
|
|
906
919
|
assessments: List[GuardrailAssessmentTypeDef]
|
|
907
920
|
guardrailCoverage: GuardrailCoverageTypeDef
|
|
@@ -912,6 +925,7 @@ class GuardrailTraceAssessmentTypeDef(TypedDict):
|
|
|
912
925
|
modelOutput: NotRequired[List[str]]
|
|
913
926
|
inputAssessment: NotRequired[Dict[str, GuardrailAssessmentTypeDef]]
|
|
914
927
|
outputAssessments: NotRequired[Dict[str, List[GuardrailAssessmentTypeDef]]]
|
|
928
|
+
actionReason: NotRequired[str]
|
|
915
929
|
|
|
916
930
|
|
|
917
931
|
class ToolResultBlockOutputTypeDef(TypedDict):
|
|
@@ -31,6 +31,7 @@ from .literals import (
|
|
|
31
31
|
GuardrailContentFilterConfidenceType,
|
|
32
32
|
GuardrailContentFilterStrengthType,
|
|
33
33
|
GuardrailContentFilterTypeType,
|
|
34
|
+
GuardrailContentPolicyActionType,
|
|
34
35
|
GuardrailContentQualifierType,
|
|
35
36
|
GuardrailContentSourceType,
|
|
36
37
|
GuardrailContextualGroundingFilterTypeType,
|
|
@@ -38,10 +39,13 @@ from .literals import (
|
|
|
38
39
|
GuardrailConverseContentQualifierType,
|
|
39
40
|
GuardrailConverseImageFormatType,
|
|
40
41
|
GuardrailImageFormatType,
|
|
42
|
+
GuardrailOutputScopeType,
|
|
41
43
|
GuardrailPiiEntityTypeType,
|
|
42
44
|
GuardrailSensitiveInformationPolicyActionType,
|
|
43
45
|
GuardrailStreamProcessingModeType,
|
|
46
|
+
GuardrailTopicPolicyActionType,
|
|
44
47
|
GuardrailTraceType,
|
|
48
|
+
GuardrailWordPolicyActionType,
|
|
45
49
|
ImageFormatType,
|
|
46
50
|
PerformanceConfigLatencyType,
|
|
47
51
|
SortOrderType,
|
|
@@ -345,8 +349,9 @@ GuardrailContentFilterTypeDef = TypedDict(
|
|
|
345
349
|
{
|
|
346
350
|
"type": GuardrailContentFilterTypeType,
|
|
347
351
|
"confidence": GuardrailContentFilterConfidenceType,
|
|
348
|
-
"action":
|
|
352
|
+
"action": GuardrailContentPolicyActionType,
|
|
349
353
|
"filterStrength": NotRequired[GuardrailContentFilterStrengthType],
|
|
354
|
+
"detected": NotRequired[bool],
|
|
350
355
|
},
|
|
351
356
|
)
|
|
352
357
|
GuardrailContextualGroundingFilterTypeDef = TypedDict(
|
|
@@ -356,6 +361,7 @@ GuardrailContextualGroundingFilterTypeDef = TypedDict(
|
|
|
356
361
|
"threshold": float,
|
|
357
362
|
"score": float,
|
|
358
363
|
"action": GuardrailContextualGroundingPolicyActionType,
|
|
364
|
+
"detected": NotRequired[bool],
|
|
359
365
|
},
|
|
360
366
|
)
|
|
361
367
|
|
|
@@ -384,14 +390,16 @@ class GuardrailTextCharactersCoverageTypeDef(TypedDict):
|
|
|
384
390
|
|
|
385
391
|
class GuardrailCustomWordTypeDef(TypedDict):
|
|
386
392
|
match: str
|
|
387
|
-
action:
|
|
393
|
+
action: GuardrailWordPolicyActionType
|
|
394
|
+
detected: NotRequired[bool]
|
|
388
395
|
|
|
389
396
|
GuardrailManagedWordTypeDef = TypedDict(
|
|
390
397
|
"GuardrailManagedWordTypeDef",
|
|
391
398
|
{
|
|
392
399
|
"match": str,
|
|
393
400
|
"type": Literal["PROFANITY"],
|
|
394
|
-
"action":
|
|
401
|
+
"action": GuardrailWordPolicyActionType,
|
|
402
|
+
"detected": NotRequired[bool],
|
|
395
403
|
},
|
|
396
404
|
)
|
|
397
405
|
GuardrailPiiEntityFilterTypeDef = TypedDict(
|
|
@@ -400,6 +408,7 @@ GuardrailPiiEntityFilterTypeDef = TypedDict(
|
|
|
400
408
|
"match": str,
|
|
401
409
|
"type": GuardrailPiiEntityTypeType,
|
|
402
410
|
"action": GuardrailSensitiveInformationPolicyActionType,
|
|
411
|
+
"detected": NotRequired[bool],
|
|
403
412
|
},
|
|
404
413
|
)
|
|
405
414
|
|
|
@@ -408,13 +417,15 @@ class GuardrailRegexFilterTypeDef(TypedDict):
|
|
|
408
417
|
name: NotRequired[str]
|
|
409
418
|
match: NotRequired[str]
|
|
410
419
|
regex: NotRequired[str]
|
|
420
|
+
detected: NotRequired[bool]
|
|
411
421
|
|
|
412
422
|
GuardrailTopicTypeDef = TypedDict(
|
|
413
423
|
"GuardrailTopicTypeDef",
|
|
414
424
|
{
|
|
415
425
|
"name": str,
|
|
416
426
|
"type": Literal["DENY"],
|
|
417
|
-
"action":
|
|
427
|
+
"action": GuardrailTopicPolicyActionType,
|
|
428
|
+
"detected": NotRequired[bool],
|
|
418
429
|
},
|
|
419
430
|
)
|
|
420
431
|
ImageSourceOutputTypeDef = TypedDict(
|
|
@@ -799,12 +810,14 @@ class ApplyGuardrailRequestTypeDef(TypedDict):
|
|
|
799
810
|
guardrailVersion: str
|
|
800
811
|
source: GuardrailContentSourceType
|
|
801
812
|
content: Sequence[GuardrailContentBlockTypeDef]
|
|
813
|
+
outputScope: NotRequired[GuardrailOutputScopeType]
|
|
802
814
|
|
|
803
815
|
ImageBlockUnionTypeDef = Union[ImageBlockTypeDef, ImageBlockOutputTypeDef]
|
|
804
816
|
|
|
805
817
|
class ApplyGuardrailResponseTypeDef(TypedDict):
|
|
806
818
|
usage: GuardrailUsageTypeDef
|
|
807
819
|
action: GuardrailActionType
|
|
820
|
+
actionReason: str
|
|
808
821
|
outputs: List[GuardrailOutputContentTypeDef]
|
|
809
822
|
assessments: List[GuardrailAssessmentTypeDef]
|
|
810
823
|
guardrailCoverage: GuardrailCoverageTypeDef
|
|
@@ -814,6 +827,7 @@ class GuardrailTraceAssessmentTypeDef(TypedDict):
|
|
|
814
827
|
modelOutput: NotRequired[List[str]]
|
|
815
828
|
inputAssessment: NotRequired[Dict[str, GuardrailAssessmentTypeDef]]
|
|
816
829
|
outputAssessments: NotRequired[Dict[str, List[GuardrailAssessmentTypeDef]]]
|
|
830
|
+
actionReason: NotRequired[str]
|
|
817
831
|
|
|
818
832
|
class ToolResultBlockOutputTypeDef(TypedDict):
|
|
819
833
|
toolUseId: str
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: types-boto3-bedrock-runtime
|
|
3
|
-
Version: 1.37.
|
|
4
|
-
Summary: Type annotations for boto3 BedrockRuntime 1.37.
|
|
3
|
+
Version: 1.37.29
|
|
4
|
+
Summary: Type annotations for boto3 BedrockRuntime 1.37.29 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
|

|
|
58
58
|
|
|
59
59
|
Type annotations for
|
|
60
|
-
[boto3 BedrockRuntime 1.37.
|
|
60
|
+
[boto3 BedrockRuntime 1.37.29](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.
|
|
122
|
+
`uvx --with 'boto3==1.37.29' 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.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|