|
198 | 198 | "assessments":{
|
199 | 199 | "shape":"GuardrailAssessmentList",
|
200 | 200 | "documentation":"<p>The assessment details in the response from the guardrail.</p>"
|
| 201 | + }, |
| 202 | + "guardrailCoverage":{ |
| 203 | + "shape":"GuardrailCoverage", |
| 204 | + "documentation":"<p>The guardrail coverage details in the apply guardrail response.</p>" |
201 | 205 | }
|
202 | 206 | }
|
203 | 207 | },
|
|
709 | 713 | "contextualGroundingPolicy":{
|
710 | 714 | "shape":"GuardrailContextualGroundingPolicyAssessment",
|
711 | 715 | "documentation":"<p>The contextual grounding policy used for the guardrail assessment.</p>"
|
| 716 | + }, |
| 717 | + "invocationMetrics":{ |
| 718 | + "shape":"GuardrailInvocationMetrics", |
| 719 | + "documentation":"<p>The invocation metrics for the guardrail assessment.</p>" |
712 | 720 | }
|
713 | 721 | },
|
714 | 722 | "documentation":"<p>A behavior assessment of the guardrail policies used in a call to the Converse API. </p>"
|
|
780 | 788 | "shape":"GuardrailContentFilterConfidence",
|
781 | 789 | "documentation":"<p>The guardrail confidence.</p>"
|
782 | 790 | },
|
| 791 | + "filterStrength":{ |
| 792 | + "shape":"GuardrailContentFilterStrength", |
| 793 | + "documentation":"<p>The filter strength setting for the guardrail content filter.</p>" |
| 794 | + }, |
783 | 795 | "action":{
|
784 | 796 | "shape":"GuardrailContentPolicyAction",
|
785 | 797 | "documentation":"<p>The guardrail action.</p>"
|
|
800 | 812 | "type":"list",
|
801 | 813 | "member":{"shape":"GuardrailContentFilter"}
|
802 | 814 | },
|
| 815 | + "GuardrailContentFilterStrength":{ |
| 816 | + "type":"string", |
| 817 | + "enum":[ |
| 818 | + "NONE", |
| 819 | + "LOW", |
| 820 | + "MEDIUM", |
| 821 | + "HIGH" |
| 822 | + ] |
| 823 | + }, |
803 | 824 | "GuardrailContentFilterType":{
|
804 | 825 | "type":"string",
|
805 | 826 | "enum":[
|
|
959 | 980 | },
|
960 | 981 | "documentation":"<p>A text block that contains text that you want to assess with a guardrail. For more information, see <a>GuardrailConverseContentBlock</a>.</p>"
|
961 | 982 | },
|
| 983 | + "GuardrailCoverage":{ |
| 984 | + "type":"structure", |
| 985 | + "members":{ |
| 986 | + "textCharacters":{ |
| 987 | + "shape":"GuardrailTextCharactersCoverage", |
| 988 | + "documentation":"<p>The text characters of the guardrail coverage details.</p>" |
| 989 | + } |
| 990 | + }, |
| 991 | + "documentation":"<p>The action of the guardrail coverage details.</p>" |
| 992 | + }, |
962 | 993 | "GuardrailCustomWord":{
|
963 | 994 | "type":"structure",
|
964 | 995 | "required":[
|
|
987 | 1018 | "min":0,
|
988 | 1019 | "pattern":"(([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))"
|
989 | 1020 | },
|
| 1021 | + "GuardrailInvocationMetrics":{ |
| 1022 | + "type":"structure", |
| 1023 | + "members":{ |
| 1024 | + "guardrailProcessingLatency":{ |
| 1025 | + "shape":"GuardrailProcessingLatency", |
| 1026 | + "documentation":"<p>The processing latency details for the guardrail invocation metrics.</p>" |
| 1027 | + }, |
| 1028 | + "usage":{ |
| 1029 | + "shape":"GuardrailUsage", |
| 1030 | + "documentation":"<p>The usage details for the guardrail invocation metrics.</p>" |
| 1031 | + }, |
| 1032 | + "guardrailCoverage":{ |
| 1033 | + "shape":"GuardrailCoverage", |
| 1034 | + "documentation":"<p>The coverage details for the guardrail invocation metrics.</p>" |
| 1035 | + } |
| 1036 | + }, |
| 1037 | + "documentation":"<p>The invocation metrics for the guardrail.</p>" |
| 1038 | + }, |
990 | 1039 | "GuardrailManagedWord":{
|
991 | 1040 | "type":"structure",
|
992 | 1041 | "required":[
|
|
1096 | 1145 | "VEHICLE_IDENTIFICATION_NUMBER"
|
1097 | 1146 | ]
|
1098 | 1147 | },
|
| 1148 | + "GuardrailProcessingLatency":{ |
| 1149 | + "type":"long", |
| 1150 | + "box":true |
| 1151 | + }, |
1099 | 1152 | "GuardrailRegexFilter":{
|
1100 | 1153 | "type":"structure",
|
1101 | 1154 | "required":["action"],
|
|
1204 | 1257 | },
|
1205 | 1258 | "documentation":"<p>The text block to be evaluated by the guardrail.</p>"
|
1206 | 1259 | },
|
| 1260 | + "GuardrailTextCharactersCoverage":{ |
| 1261 | + "type":"structure", |
| 1262 | + "members":{ |
| 1263 | + "guarded":{ |
| 1264 | + "shape":"TextCharactersGuarded", |
| 1265 | + "documentation":"<p>The text characters that were guarded by the guardrail coverage.</p>" |
| 1266 | + }, |
| 1267 | + "total":{ |
| 1268 | + "shape":"TextCharactersTotal", |
| 1269 | + "documentation":"<p>The total text characters by the guardrail coverage.</p>" |
| 1270 | + } |
| 1271 | + }, |
| 1272 | + "documentation":"<p>The guardrail coverage for the text characters.</p>" |
| 1273 | + }, |
1207 | 1274 | "GuardrailTopic":{
|
1208 | 1275 | "type":"structure",
|
1209 | 1276 | "required":[
|
|
1859 | 1926 | "type":"list",
|
1860 | 1927 | "member":{"shape":"SystemContentBlock"}
|
1861 | 1928 | },
|
| 1929 | + "TextCharactersGuarded":{ |
| 1930 | + "type":"integer", |
| 1931 | + "box":true |
| 1932 | + }, |
| 1933 | + "TextCharactersTotal":{ |
| 1934 | + "type":"integer", |
| 1935 | + "box":true |
| 1936 | + }, |
1862 | 1937 | "ThrottlingException":{
|
1863 | 1938 | "type":"structure",
|
1864 | 1939 | "members":{
|
|
0 commit comments