|
338 | 338 | "members":{
|
339 | 339 | }
|
340 | 340 | },
|
| 341 | + "AutomatedReasoningRuleIdentifier":{ |
| 342 | + "type":"string", |
| 343 | + "max":12, |
| 344 | + "min":0, |
| 345 | + "pattern":"[a-z0-9]{12}" |
| 346 | + }, |
341 | 347 | "BidirectionalInputPayloadPart":{
|
342 | 348 | "type":"structure",
|
343 | 349 | "members":{
|
|
879 | 885 | "wordPolicy":{"shape":"GuardrailWordPolicyAssessment"},
|
880 | 886 | "sensitiveInformationPolicy":{"shape":"GuardrailSensitiveInformationPolicyAssessment"},
|
881 | 887 | "contextualGroundingPolicy":{"shape":"GuardrailContextualGroundingPolicyAssessment"},
|
| 888 | + "automatedReasoningPolicy":{"shape":"GuardrailAutomatedReasoningPolicyAssessment"}, |
882 | 889 | "invocationMetrics":{"shape":"GuardrailInvocationMetrics"}
|
883 | 890 | }
|
884 | 891 | },
|
|
896 | 903 | "key":{"shape":"String"},
|
897 | 904 | "value":{"shape":"GuardrailAssessment"}
|
898 | 905 | },
|
| 906 | + "GuardrailAutomatedReasoningDifferenceScenarioList":{ |
| 907 | + "type":"list", |
| 908 | + "member":{"shape":"GuardrailAutomatedReasoningScenario"}, |
| 909 | + "max":2, |
| 910 | + "min":0 |
| 911 | + }, |
| 912 | + "GuardrailAutomatedReasoningFinding":{ |
| 913 | + "type":"structure", |
| 914 | + "members":{ |
| 915 | + "valid":{"shape":"GuardrailAutomatedReasoningValidFinding"}, |
| 916 | + "invalid":{"shape":"GuardrailAutomatedReasoningInvalidFinding"}, |
| 917 | + "satisfiable":{"shape":"GuardrailAutomatedReasoningSatisfiableFinding"}, |
| 918 | + "impossible":{"shape":"GuardrailAutomatedReasoningImpossibleFinding"}, |
| 919 | + "translationAmbiguous":{"shape":"GuardrailAutomatedReasoningTranslationAmbiguousFinding"}, |
| 920 | + "tooComplex":{"shape":"GuardrailAutomatedReasoningTooComplexFinding"}, |
| 921 | + "noTranslations":{"shape":"GuardrailAutomatedReasoningNoTranslationsFinding"} |
| 922 | + }, |
| 923 | + "union":true |
| 924 | + }, |
| 925 | + "GuardrailAutomatedReasoningFindingList":{ |
| 926 | + "type":"list", |
| 927 | + "member":{"shape":"GuardrailAutomatedReasoningFinding"} |
| 928 | + }, |
| 929 | + "GuardrailAutomatedReasoningImpossibleFinding":{ |
| 930 | + "type":"structure", |
| 931 | + "members":{ |
| 932 | + "translation":{"shape":"GuardrailAutomatedReasoningTranslation"}, |
| 933 | + "contradictingRules":{"shape":"GuardrailAutomatedReasoningRuleList"}, |
| 934 | + "logicWarning":{"shape":"GuardrailAutomatedReasoningLogicWarning"} |
| 935 | + } |
| 936 | + }, |
| 937 | + "GuardrailAutomatedReasoningInputTextReference":{ |
| 938 | + "type":"structure", |
| 939 | + "members":{ |
| 940 | + "text":{"shape":"GuardrailAutomatedReasoningStatementNaturalLanguageContent"} |
| 941 | + } |
| 942 | + }, |
| 943 | + "GuardrailAutomatedReasoningInputTextReferenceList":{ |
| 944 | + "type":"list", |
| 945 | + "member":{"shape":"GuardrailAutomatedReasoningInputTextReference"} |
| 946 | + }, |
| 947 | + "GuardrailAutomatedReasoningInvalidFinding":{ |
| 948 | + "type":"structure", |
| 949 | + "members":{ |
| 950 | + "translation":{"shape":"GuardrailAutomatedReasoningTranslation"}, |
| 951 | + "contradictingRules":{"shape":"GuardrailAutomatedReasoningRuleList"}, |
| 952 | + "logicWarning":{"shape":"GuardrailAutomatedReasoningLogicWarning"} |
| 953 | + } |
| 954 | + }, |
| 955 | + "GuardrailAutomatedReasoningLogicWarning":{ |
| 956 | + "type":"structure", |
| 957 | + "members":{ |
| 958 | + "type":{"shape":"GuardrailAutomatedReasoningLogicWarningType"}, |
| 959 | + "premises":{"shape":"GuardrailAutomatedReasoningStatementList"}, |
| 960 | + "claims":{"shape":"GuardrailAutomatedReasoningStatementList"} |
| 961 | + } |
| 962 | + }, |
| 963 | + "GuardrailAutomatedReasoningLogicWarningType":{ |
| 964 | + "type":"string", |
| 965 | + "enum":[ |
| 966 | + "ALWAYS_FALSE", |
| 967 | + "ALWAYS_TRUE" |
| 968 | + ] |
| 969 | + }, |
| 970 | + "GuardrailAutomatedReasoningNoTranslationsFinding":{ |
| 971 | + "type":"structure", |
| 972 | + "members":{ |
| 973 | + } |
| 974 | + }, |
| 975 | + "GuardrailAutomatedReasoningPoliciesProcessed":{ |
| 976 | + "type":"integer", |
| 977 | + "box":true |
| 978 | + }, |
| 979 | + "GuardrailAutomatedReasoningPolicyAssessment":{ |
| 980 | + "type":"structure", |
| 981 | + "members":{ |
| 982 | + "findings":{"shape":"GuardrailAutomatedReasoningFindingList"} |
| 983 | + } |
| 984 | + }, |
| 985 | + "GuardrailAutomatedReasoningPolicyUnitsProcessed":{ |
| 986 | + "type":"integer", |
| 987 | + "box":true |
| 988 | + }, |
| 989 | + "GuardrailAutomatedReasoningPolicyVersionArn":{ |
| 990 | + "type":"string", |
| 991 | + "max":2048, |
| 992 | + "min":0, |
| 993 | + "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:automated-reasoning-policy/[a-z0-9]{12}(:([1-9][0-9]{0,11}))?" |
| 994 | + }, |
| 995 | + "GuardrailAutomatedReasoningRule":{ |
| 996 | + "type":"structure", |
| 997 | + "members":{ |
| 998 | + "identifier":{"shape":"AutomatedReasoningRuleIdentifier"}, |
| 999 | + "policyVersionArn":{"shape":"GuardrailAutomatedReasoningPolicyVersionArn"} |
| 1000 | + } |
| 1001 | + }, |
| 1002 | + "GuardrailAutomatedReasoningRuleList":{ |
| 1003 | + "type":"list", |
| 1004 | + "member":{"shape":"GuardrailAutomatedReasoningRule"} |
| 1005 | + }, |
| 1006 | + "GuardrailAutomatedReasoningSatisfiableFinding":{ |
| 1007 | + "type":"structure", |
| 1008 | + "members":{ |
| 1009 | + "translation":{"shape":"GuardrailAutomatedReasoningTranslation"}, |
| 1010 | + "claimsTrueScenario":{"shape":"GuardrailAutomatedReasoningScenario"}, |
| 1011 | + "claimsFalseScenario":{"shape":"GuardrailAutomatedReasoningScenario"}, |
| 1012 | + "logicWarning":{"shape":"GuardrailAutomatedReasoningLogicWarning"} |
| 1013 | + } |
| 1014 | + }, |
| 1015 | + "GuardrailAutomatedReasoningScenario":{ |
| 1016 | + "type":"structure", |
| 1017 | + "members":{ |
| 1018 | + "statements":{"shape":"GuardrailAutomatedReasoningStatementList"} |
| 1019 | + } |
| 1020 | + }, |
| 1021 | + "GuardrailAutomatedReasoningStatement":{ |
| 1022 | + "type":"structure", |
| 1023 | + "members":{ |
| 1024 | + "logic":{"shape":"GuardrailAutomatedReasoningStatementLogicContent"}, |
| 1025 | + "naturalLanguage":{"shape":"GuardrailAutomatedReasoningStatementNaturalLanguageContent"} |
| 1026 | + } |
| 1027 | + }, |
| 1028 | + "GuardrailAutomatedReasoningStatementList":{ |
| 1029 | + "type":"list", |
| 1030 | + "member":{"shape":"GuardrailAutomatedReasoningStatement"} |
| 1031 | + }, |
| 1032 | + "GuardrailAutomatedReasoningStatementLogicContent":{ |
| 1033 | + "type":"string", |
| 1034 | + "max":1000, |
| 1035 | + "min":0, |
| 1036 | + "sensitive":true |
| 1037 | + }, |
| 1038 | + "GuardrailAutomatedReasoningStatementNaturalLanguageContent":{ |
| 1039 | + "type":"string", |
| 1040 | + "max":1000, |
| 1041 | + "min":0, |
| 1042 | + "sensitive":true |
| 1043 | + }, |
| 1044 | + "GuardrailAutomatedReasoningTooComplexFinding":{ |
| 1045 | + "type":"structure", |
| 1046 | + "members":{ |
| 1047 | + } |
| 1048 | + }, |
| 1049 | + "GuardrailAutomatedReasoningTranslation":{ |
| 1050 | + "type":"structure", |
| 1051 | + "members":{ |
| 1052 | + "premises":{"shape":"GuardrailAutomatedReasoningStatementList"}, |
| 1053 | + "claims":{"shape":"GuardrailAutomatedReasoningStatementList"}, |
| 1054 | + "untranslatedPremises":{"shape":"GuardrailAutomatedReasoningInputTextReferenceList"}, |
| 1055 | + "untranslatedClaims":{"shape":"GuardrailAutomatedReasoningInputTextReferenceList"}, |
| 1056 | + "confidence":{"shape":"GuardrailAutomatedReasoningTranslationConfidence"} |
| 1057 | + } |
| 1058 | + }, |
| 1059 | + "GuardrailAutomatedReasoningTranslationAmbiguousFinding":{ |
| 1060 | + "type":"structure", |
| 1061 | + "members":{ |
| 1062 | + "options":{"shape":"GuardrailAutomatedReasoningTranslationOptionList"}, |
| 1063 | + "differenceScenarios":{"shape":"GuardrailAutomatedReasoningDifferenceScenarioList"} |
| 1064 | + } |
| 1065 | + }, |
| 1066 | + "GuardrailAutomatedReasoningTranslationConfidence":{ |
| 1067 | + "type":"double", |
| 1068 | + "box":true, |
| 1069 | + "max":1, |
| 1070 | + "min":0 |
| 1071 | + }, |
| 1072 | + "GuardrailAutomatedReasoningTranslationList":{ |
| 1073 | + "type":"list", |
| 1074 | + "member":{"shape":"GuardrailAutomatedReasoningTranslation"} |
| 1075 | + }, |
| 1076 | + "GuardrailAutomatedReasoningTranslationOption":{ |
| 1077 | + "type":"structure", |
| 1078 | + "members":{ |
| 1079 | + "translations":{"shape":"GuardrailAutomatedReasoningTranslationList"} |
| 1080 | + } |
| 1081 | + }, |
| 1082 | + "GuardrailAutomatedReasoningTranslationOptionList":{ |
| 1083 | + "type":"list", |
| 1084 | + "member":{"shape":"GuardrailAutomatedReasoningTranslationOption"}, |
| 1085 | + "max":2, |
| 1086 | + "min":0 |
| 1087 | + }, |
| 1088 | + "GuardrailAutomatedReasoningValidFinding":{ |
| 1089 | + "type":"structure", |
| 1090 | + "members":{ |
| 1091 | + "translation":{"shape":"GuardrailAutomatedReasoningTranslation"}, |
| 1092 | + "claimsTrueScenario":{"shape":"GuardrailAutomatedReasoningScenario"}, |
| 1093 | + "supportingRules":{"shape":"GuardrailAutomatedReasoningRuleList"}, |
| 1094 | + "logicWarning":{"shape":"GuardrailAutomatedReasoningLogicWarning"} |
| 1095 | + } |
| 1096 | + }, |
899 | 1097 | "GuardrailConfiguration":{
|
900 | 1098 | "type":"structure",
|
901 | 1099 | "required":[
|
|
1448 | 1646 | "sensitiveInformationPolicyUnits":{"shape":"GuardrailSensitiveInformationPolicyUnitsProcessed"},
|
1449 | 1647 | "sensitiveInformationPolicyFreeUnits":{"shape":"GuardrailSensitiveInformationPolicyFreeUnitsProcessed"},
|
1450 | 1648 | "contextualGroundingPolicyUnits":{"shape":"GuardrailContextualGroundingPolicyUnitsProcessed"},
|
1451 |
| - "contentPolicyImageUnits":{"shape":"GuardrailContentPolicyImageUnitsProcessed"} |
| 1649 | + "contentPolicyImageUnits":{"shape":"GuardrailContentPolicyImageUnitsProcessed"}, |
| 1650 | + "automatedReasoningPolicyUnits":{"shape":"GuardrailAutomatedReasoningPolicyUnitsProcessed"}, |
| 1651 | + "automatedReasoningPolicies":{"shape":"GuardrailAutomatedReasoningPoliciesProcessed"} |
1452 | 1652 | }
|
1453 | 1653 | },
|
1454 | 1654 | "GuardrailVersion":{
|
|
0 commit comments