|
213 | 213 | "locationName":"guardrailVersion"
|
214 | 214 | },
|
215 | 215 | "source":{"shape":"GuardrailContentSource"},
|
216 |
| - "content":{"shape":"GuardrailContentBlockList"} |
| 216 | + "content":{"shape":"GuardrailContentBlockList"}, |
| 217 | + "outputScope":{"shape":"GuardrailOutputScope"} |
217 | 218 | }
|
218 | 219 | },
|
219 | 220 | "ApplyGuardrailResponse":{
|
|
227 | 228 | "members":{
|
228 | 229 | "usage":{"shape":"GuardrailUsage"},
|
229 | 230 | "action":{"shape":"GuardrailAction"},
|
| 231 | + "actionReason":{"shape":"String"}, |
230 | 232 | "outputs":{"shape":"GuardrailOutputContentList"},
|
231 | 233 | "assessments":{"shape":"GuardrailAssessmentList"},
|
232 | 234 | "guardrailCoverage":{"shape":"GuardrailCoverage"}
|
|
316 | 318 | "min":0,
|
317 | 319 | "sensitive":true
|
318 | 320 | },
|
| 321 | + "Boolean":{ |
| 322 | + "type":"boolean", |
| 323 | + "box":true |
| 324 | + }, |
319 | 325 | "CachePointBlock":{
|
320 | 326 | "type":"structure",
|
321 | 327 | "required":["type"],
|
|
721 | 727 | "type":{"shape":"GuardrailContentFilterType"},
|
722 | 728 | "confidence":{"shape":"GuardrailContentFilterConfidence"},
|
723 | 729 | "filterStrength":{"shape":"GuardrailContentFilterStrength"},
|
724 |
| - "action":{"shape":"GuardrailContentPolicyAction"} |
| 730 | + "action":{"shape":"GuardrailContentPolicyAction"}, |
| 731 | + "detected":{"shape":"Boolean"} |
725 | 732 | }
|
726 | 733 | },
|
727 | 734 | "GuardrailContentFilterConfidence":{
|
|
759 | 766 | },
|
760 | 767 | "GuardrailContentPolicyAction":{
|
761 | 768 | "type":"string",
|
762 |
| - "enum":["BLOCKED"] |
| 769 | + "enum":[ |
| 770 | + "BLOCKED", |
| 771 | + "NONE" |
| 772 | + ] |
763 | 773 | },
|
764 | 774 | "GuardrailContentPolicyAssessment":{
|
765 | 775 | "type":"structure",
|
|
807 | 817 | "type":{"shape":"GuardrailContextualGroundingFilterType"},
|
808 | 818 | "threshold":{"shape":"GuardrailContextualGroundingFilterThresholdDouble"},
|
809 | 819 | "score":{"shape":"GuardrailContextualGroundingFilterScoreDouble"},
|
810 |
| - "action":{"shape":"GuardrailContextualGroundingPolicyAction"} |
| 820 | + "action":{"shape":"GuardrailContextualGroundingPolicyAction"}, |
| 821 | + "detected":{"shape":"Boolean"} |
811 | 822 | }
|
812 | 823 | },
|
813 | 824 | "GuardrailContextualGroundingFilterScoreDouble":{
|
|
924 | 935 | ],
|
925 | 936 | "members":{
|
926 | 937 | "match":{"shape":"String"},
|
927 |
| - "action":{"shape":"GuardrailWordPolicyAction"} |
| 938 | + "action":{"shape":"GuardrailWordPolicyAction"}, |
| 939 | + "detected":{"shape":"Boolean"} |
928 | 940 | }
|
929 | 941 | },
|
930 | 942 | "GuardrailCustomWordList":{
|
|
993 | 1005 | "members":{
|
994 | 1006 | "match":{"shape":"String"},
|
995 | 1007 | "type":{"shape":"GuardrailManagedWordType"},
|
996 |
| - "action":{"shape":"GuardrailWordPolicyAction"} |
| 1008 | + "action":{"shape":"GuardrailWordPolicyAction"}, |
| 1009 | + "detected":{"shape":"Boolean"} |
997 | 1010 | }
|
998 | 1011 | },
|
999 | 1012 | "GuardrailManagedWordList":{
|
|
1014 | 1027 | "type":"list",
|
1015 | 1028 | "member":{"shape":"GuardrailOutputContent"}
|
1016 | 1029 | },
|
| 1030 | + "GuardrailOutputScope":{ |
| 1031 | + "type":"string", |
| 1032 | + "enum":[ |
| 1033 | + "INTERVENTIONS", |
| 1034 | + "FULL" |
| 1035 | + ] |
| 1036 | + }, |
1017 | 1037 | "GuardrailOutputText":{"type":"string"},
|
1018 | 1038 | "GuardrailPiiEntityFilter":{
|
1019 | 1039 | "type":"structure",
|
|
1025 | 1045 | "members":{
|
1026 | 1046 | "match":{"shape":"String"},
|
1027 | 1047 | "type":{"shape":"GuardrailPiiEntityType"},
|
1028 |
| - "action":{"shape":"GuardrailSensitiveInformationPolicyAction"} |
| 1048 | + "action":{"shape":"GuardrailSensitiveInformationPolicyAction"}, |
| 1049 | + "detected":{"shape":"Boolean"} |
1029 | 1050 | }
|
1030 | 1051 | },
|
1031 | 1052 | "GuardrailPiiEntityFilterList":{
|
|
1079 | 1100 | "name":{"shape":"String"},
|
1080 | 1101 | "match":{"shape":"String"},
|
1081 | 1102 | "regex":{"shape":"String"},
|
1082 |
| - "action":{"shape":"GuardrailSensitiveInformationPolicyAction"} |
| 1103 | + "action":{"shape":"GuardrailSensitiveInformationPolicyAction"}, |
| 1104 | + "detected":{"shape":"Boolean"} |
1083 | 1105 | }
|
1084 | 1106 | },
|
1085 | 1107 | "GuardrailRegexFilterList":{
|
|
1090 | 1112 | "type":"string",
|
1091 | 1113 | "enum":[
|
1092 | 1114 | "ANONYMIZED",
|
1093 |
| - "BLOCKED" |
| 1115 | + "BLOCKED", |
| 1116 | + "NONE" |
1094 | 1117 | ]
|
1095 | 1118 | },
|
1096 | 1119 | "GuardrailSensitiveInformationPolicyAssessment":{
|
|
1157 | 1180 | "members":{
|
1158 | 1181 | "name":{"shape":"String"},
|
1159 | 1182 | "type":{"shape":"GuardrailTopicType"},
|
1160 |
| - "action":{"shape":"GuardrailTopicPolicyAction"} |
| 1183 | + "action":{"shape":"GuardrailTopicPolicyAction"}, |
| 1184 | + "detected":{"shape":"Boolean"} |
1161 | 1185 | }
|
1162 | 1186 | },
|
1163 | 1187 | "GuardrailTopicList":{
|
|
1166 | 1190 | },
|
1167 | 1191 | "GuardrailTopicPolicyAction":{
|
1168 | 1192 | "type":"string",
|
1169 |
| - "enum":["BLOCKED"] |
| 1193 | + "enum":[ |
| 1194 | + "BLOCKED", |
| 1195 | + "NONE" |
| 1196 | + ] |
1170 | 1197 | },
|
1171 | 1198 | "GuardrailTopicPolicyAssessment":{
|
1172 | 1199 | "type":"structure",
|
|
1187 | 1214 | "type":"string",
|
1188 | 1215 | "enum":[
|
1189 | 1216 | "enabled",
|
1190 |
| - "disabled" |
| 1217 | + "disabled", |
| 1218 | + "enabled_full" |
1191 | 1219 | ]
|
1192 | 1220 | },
|
1193 | 1221 | "GuardrailTraceAssessment":{
|
1194 | 1222 | "type":"structure",
|
1195 | 1223 | "members":{
|
1196 | 1224 | "modelOutput":{"shape":"ModelOutputs"},
|
1197 | 1225 | "inputAssessment":{"shape":"GuardrailAssessmentMap"},
|
1198 |
| - "outputAssessments":{"shape":"GuardrailAssessmentListMap"} |
| 1226 | + "outputAssessments":{"shape":"GuardrailAssessmentListMap"}, |
| 1227 | + "actionReason":{"shape":"String"} |
1199 | 1228 | }
|
1200 | 1229 | },
|
1201 | 1230 | "GuardrailUsage":{
|
|
1224 | 1253 | },
|
1225 | 1254 | "GuardrailWordPolicyAction":{
|
1226 | 1255 | "type":"string",
|
1227 |
| - "enum":["BLOCKED"] |
| 1256 | + "enum":[ |
| 1257 | + "BLOCKED", |
| 1258 | + "NONE" |
| 1259 | + ] |
1228 | 1260 | },
|
1229 | 1261 | "GuardrailWordPolicyAssessment":{
|
1230 | 1262 | "type":"structure",
|
|
2088 | 2120 | "type":"string",
|
2089 | 2121 | "enum":[
|
2090 | 2122 | "ENABLED",
|
2091 |
| - "DISABLED" |
| 2123 | + "DISABLED", |
| 2124 | + "ENABLED_FULL" |
2092 | 2125 | ]
|
2093 | 2126 | },
|
2094 | 2127 | "ValidationException":{
|
|
0 commit comments