|
2165 | 2165 | "min":0, |
2166 | 2166 | "sensitive":true |
2167 | 2167 | }, |
| 2168 | + "AutomatedReasoningPolicyAccuracyScore":{ |
| 2169 | + "type":"double", |
| 2170 | + "box":true, |
| 2171 | + "max":1.0, |
| 2172 | + "min":0.0 |
| 2173 | + }, |
2168 | 2174 | "AutomatedReasoningPolicyAddRuleAnnotation":{ |
2169 | 2175 | "type":"structure", |
2170 | 2176 | "required":["expression"], |
|
2234 | 2240 | "variable":{"shape":"AutomatedReasoningPolicyDefinitionVariable"} |
2235 | 2241 | } |
2236 | 2242 | }, |
| 2243 | + "AutomatedReasoningPolicyAnnotatedChunk":{ |
| 2244 | + "type":"structure", |
| 2245 | + "required":["content"], |
| 2246 | + "members":{ |
| 2247 | + "pageNumber":{"shape":"Integer"}, |
| 2248 | + "content":{"shape":"AutomatedReasoningPolicyAnnotatedContentList"} |
| 2249 | + } |
| 2250 | + }, |
| 2251 | + "AutomatedReasoningPolicyAnnotatedChunkList":{ |
| 2252 | + "type":"list", |
| 2253 | + "member":{"shape":"AutomatedReasoningPolicyAnnotatedChunk"} |
| 2254 | + }, |
| 2255 | + "AutomatedReasoningPolicyAnnotatedContent":{ |
| 2256 | + "type":"structure", |
| 2257 | + "members":{ |
| 2258 | + "line":{"shape":"AutomatedReasoningPolicyAnnotatedLine"} |
| 2259 | + }, |
| 2260 | + "union":true |
| 2261 | + }, |
| 2262 | + "AutomatedReasoningPolicyAnnotatedContentList":{ |
| 2263 | + "type":"list", |
| 2264 | + "member":{"shape":"AutomatedReasoningPolicyAnnotatedContent"} |
| 2265 | + }, |
| 2266 | + "AutomatedReasoningPolicyAnnotatedLine":{ |
| 2267 | + "type":"structure", |
| 2268 | + "members":{ |
| 2269 | + "lineNumber":{"shape":"Integer"}, |
| 2270 | + "lineText":{"shape":"AutomatedReasoningPolicyLineText"} |
| 2271 | + } |
| 2272 | + }, |
2237 | 2273 | "AutomatedReasoningPolicyAnnotation":{ |
2238 | 2274 | "type":"structure", |
2239 | 2275 | "members":{ |
|
2293 | 2329 | "min":1, |
2294 | 2330 | "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}))?" |
2295 | 2331 | }, |
| 2332 | + "AutomatedReasoningPolicyAtomicStatement":{ |
| 2333 | + "type":"structure", |
| 2334 | + "required":[ |
| 2335 | + "id", |
| 2336 | + "text", |
| 2337 | + "location" |
| 2338 | + ], |
| 2339 | + "members":{ |
| 2340 | + "id":{"shape":"AutomatedReasoningPolicyStatementId"}, |
| 2341 | + "text":{"shape":"AutomatedReasoningPolicyStatementText"}, |
| 2342 | + "location":{"shape":"AutomatedReasoningPolicyStatementLocation"} |
| 2343 | + } |
| 2344 | + }, |
| 2345 | + "AutomatedReasoningPolicyAtomicStatementList":{ |
| 2346 | + "type":"list", |
| 2347 | + "member":{"shape":"AutomatedReasoningPolicyAtomicStatement"} |
| 2348 | + }, |
2296 | 2349 | "AutomatedReasoningPolicyBuildDocumentBlob":{ |
2297 | 2350 | "type":"blob", |
2298 | 2351 | "max":5000000, |
|
2350 | 2403 | "ERROR" |
2351 | 2404 | ] |
2352 | 2405 | }, |
| 2406 | + "AutomatedReasoningPolicyBuildResultAssetId":{ |
| 2407 | + "type":"string", |
| 2408 | + "max":36, |
| 2409 | + "min":0, |
| 2410 | + "pattern":"[0-9a-fA-F\\-]+" |
| 2411 | + }, |
| 2412 | + "AutomatedReasoningPolicyBuildResultAssetManifest":{ |
| 2413 | + "type":"structure", |
| 2414 | + "required":["entries"], |
| 2415 | + "members":{ |
| 2416 | + "entries":{"shape":"AutomatedReasoningPolicyBuildResultAssetManifestList"} |
| 2417 | + } |
| 2418 | + }, |
| 2419 | + "AutomatedReasoningPolicyBuildResultAssetManifestEntry":{ |
| 2420 | + "type":"structure", |
| 2421 | + "required":["assetType"], |
| 2422 | + "members":{ |
| 2423 | + "assetType":{"shape":"AutomatedReasoningPolicyBuildResultAssetType"}, |
| 2424 | + "assetName":{"shape":"AutomatedReasoningPolicyBuildResultAssetName"}, |
| 2425 | + "assetId":{"shape":"AutomatedReasoningPolicyBuildResultAssetId"} |
| 2426 | + } |
| 2427 | + }, |
| 2428 | + "AutomatedReasoningPolicyBuildResultAssetManifestList":{ |
| 2429 | + "type":"list", |
| 2430 | + "member":{"shape":"AutomatedReasoningPolicyBuildResultAssetManifestEntry"} |
| 2431 | + }, |
| 2432 | + "AutomatedReasoningPolicyBuildResultAssetName":{ |
| 2433 | + "type":"string", |
| 2434 | + "max":256, |
| 2435 | + "min":0, |
| 2436 | + "sensitive":true |
| 2437 | + }, |
2353 | 2438 | "AutomatedReasoningPolicyBuildResultAssetType":{ |
2354 | 2439 | "type":"string", |
2355 | 2440 | "enum":[ |
2356 | 2441 | "BUILD_LOG", |
2357 | 2442 | "QUALITY_REPORT", |
2358 | 2443 | "POLICY_DEFINITION", |
2359 | 2444 | "GENERATED_TEST_CASES", |
2360 | | - "POLICY_SCENARIOS" |
| 2445 | + "POLICY_SCENARIOS", |
| 2446 | + "FIDELITY_REPORT", |
| 2447 | + "ASSET_MANIFEST", |
| 2448 | + "SOURCE_DOCUMENT" |
2361 | 2449 | ] |
2362 | 2450 | }, |
2363 | 2451 | "AutomatedReasoningPolicyBuildResultAssets":{ |
|
2367 | 2455 | "qualityReport":{"shape":"AutomatedReasoningPolicyDefinitionQualityReport"}, |
2368 | 2456 | "buildLog":{"shape":"AutomatedReasoningPolicyBuildLog"}, |
2369 | 2457 | "generatedTestCases":{"shape":"AutomatedReasoningPolicyGeneratedTestCases"}, |
2370 | | - "policyScenarios":{"shape":"AutomatedReasoningPolicyScenarios"} |
| 2458 | + "policyScenarios":{"shape":"AutomatedReasoningPolicyScenarios"}, |
| 2459 | + "assetManifest":{"shape":"AutomatedReasoningPolicyBuildResultAssetManifest"}, |
| 2460 | + "document":{"shape":"AutomatedReasoningPolicySourceDocument"}, |
| 2461 | + "fidelityReport":{"shape":"AutomatedReasoningPolicyFidelityReport"} |
2371 | 2462 | }, |
2372 | 2463 | "union":true |
2373 | 2464 | }, |
|
2493 | 2584 | "enum":[ |
2494 | 2585 | "INGEST_CONTENT", |
2495 | 2586 | "REFINE_POLICY", |
2496 | | - "IMPORT_POLICY" |
| 2587 | + "IMPORT_POLICY", |
| 2588 | + "GENERATE_FIDELITY_REPORT" |
2497 | 2589 | ] |
2498 | 2590 | }, |
2499 | 2591 | "AutomatedReasoningPolicyConflictedRuleIdList":{ |
|
2502 | 2594 | "max":500, |
2503 | 2595 | "min":0 |
2504 | 2596 | }, |
| 2597 | + "AutomatedReasoningPolicyCoverageScore":{ |
| 2598 | + "type":"double", |
| 2599 | + "box":true, |
| 2600 | + "max":1.0, |
| 2601 | + "min":0.0 |
| 2602 | + }, |
2505 | 2603 | "AutomatedReasoningPolicyDefinition":{ |
2506 | 2604 | "type":"structure", |
2507 | 2605 | "members":{ |
|
2785 | 2883 | "max":500, |
2786 | 2884 | "min":0 |
2787 | 2885 | }, |
| 2886 | + "AutomatedReasoningPolicyDocumentId":{ |
| 2887 | + "type":"string", |
| 2888 | + "max":8, |
| 2889 | + "min":0, |
| 2890 | + "pattern":"[a-zA-Z0-9]*" |
| 2891 | + }, |
| 2892 | + "AutomatedReasoningPolicyDocumentSha256":{ |
| 2893 | + "type":"string", |
| 2894 | + "max":64, |
| 2895 | + "min":64 |
| 2896 | + }, |
| 2897 | + "AutomatedReasoningPolicyFidelityReport":{ |
| 2898 | + "type":"structure", |
| 2899 | + "required":[ |
| 2900 | + "coverageScore", |
| 2901 | + "accuracyScore", |
| 2902 | + "ruleReports", |
| 2903 | + "variableReports", |
| 2904 | + "documentSources" |
| 2905 | + ], |
| 2906 | + "members":{ |
| 2907 | + "coverageScore":{"shape":"AutomatedReasoningPolicyCoverageScore"}, |
| 2908 | + "accuracyScore":{"shape":"AutomatedReasoningPolicyAccuracyScore"}, |
| 2909 | + "ruleReports":{"shape":"AutomatedReasoningPolicyRuleReportMap"}, |
| 2910 | + "variableReports":{"shape":"AutomatedReasoningPolicyVariableReportMap"}, |
| 2911 | + "documentSources":{"shape":"AutomatedReasoningPolicyReportSourceDocumentList"} |
| 2912 | + } |
| 2913 | + }, |
2788 | 2914 | "AutomatedReasoningPolicyFormatVersion":{"type":"string"}, |
| 2915 | + "AutomatedReasoningPolicyGenerateFidelityReportContent":{ |
| 2916 | + "type":"structure", |
| 2917 | + "members":{ |
| 2918 | + "documents":{"shape":"AutomatedReasoningPolicyGenerateFidelityReportDocumentList"} |
| 2919 | + }, |
| 2920 | + "union":true |
| 2921 | + }, |
| 2922 | + "AutomatedReasoningPolicyGenerateFidelityReportDocumentList":{ |
| 2923 | + "type":"list", |
| 2924 | + "member":{"shape":"AutomatedReasoningPolicyBuildWorkflowDocument"}, |
| 2925 | + "max":5, |
| 2926 | + "min":0 |
| 2927 | + }, |
2789 | 2928 | "AutomatedReasoningPolicyGeneratedTestCase":{ |
2790 | 2929 | "type":"structure", |
2791 | 2930 | "required":[ |
|
2829 | 2968 | "content":{"shape":"AutomatedReasoningPolicyAnnotationIngestContent"} |
2830 | 2969 | } |
2831 | 2970 | }, |
| 2971 | + "AutomatedReasoningPolicyJustificationList":{ |
| 2972 | + "type":"list", |
| 2973 | + "member":{"shape":"AutomatedReasoningPolicyJustificationText"} |
| 2974 | + }, |
| 2975 | + "AutomatedReasoningPolicyJustificationText":{ |
| 2976 | + "type":"string", |
| 2977 | + "max":1024, |
| 2978 | + "min":0, |
| 2979 | + "sensitive":true |
| 2980 | + }, |
| 2981 | + "AutomatedReasoningPolicyLineNumberList":{ |
| 2982 | + "type":"list", |
| 2983 | + "member":{"shape":"Integer"} |
| 2984 | + }, |
| 2985 | + "AutomatedReasoningPolicyLineText":{ |
| 2986 | + "type":"string", |
| 2987 | + "max":256, |
| 2988 | + "min":0, |
| 2989 | + "sensitive":true |
| 2990 | + }, |
2832 | 2991 | "AutomatedReasoningPolicyMutation":{ |
2833 | 2992 | "type":"structure", |
2834 | 2993 | "members":{ |
|
2855 | 3014 | "type":"structure", |
2856 | 3015 | "members":{} |
2857 | 3016 | }, |
| 3017 | + "AutomatedReasoningPolicyReportSourceDocument":{ |
| 3018 | + "type":"structure", |
| 3019 | + "required":[ |
| 3020 | + "documentName", |
| 3021 | + "documentHash", |
| 3022 | + "documentId", |
| 3023 | + "atomicStatements", |
| 3024 | + "documentContent" |
| 3025 | + ], |
| 3026 | + "members":{ |
| 3027 | + "documentName":{"shape":"AutomatedReasoningPolicyBuildDocumentName"}, |
| 3028 | + "documentHash":{"shape":"AutomatedReasoningPolicyDocumentSha256"}, |
| 3029 | + "documentId":{"shape":"AutomatedReasoningPolicyDocumentId"}, |
| 3030 | + "atomicStatements":{"shape":"AutomatedReasoningPolicyAtomicStatementList"}, |
| 3031 | + "documentContent":{"shape":"AutomatedReasoningPolicyAnnotatedChunkList"} |
| 3032 | + } |
| 3033 | + }, |
| 3034 | + "AutomatedReasoningPolicyReportSourceDocumentList":{ |
| 3035 | + "type":"list", |
| 3036 | + "member":{"shape":"AutomatedReasoningPolicyReportSourceDocument"} |
| 3037 | + }, |
| 3038 | + "AutomatedReasoningPolicyRuleReport":{ |
| 3039 | + "type":"structure", |
| 3040 | + "required":["rule"], |
| 3041 | + "members":{ |
| 3042 | + "rule":{"shape":"AutomatedReasoningPolicyDefinitionRuleId"}, |
| 3043 | + "groundingStatements":{"shape":"AutomatedReasoningPolicyStatementReferenceList"}, |
| 3044 | + "groundingJustifications":{"shape":"AutomatedReasoningPolicyJustificationList"}, |
| 3045 | + "accuracyScore":{"shape":"AutomatedReasoningPolicyAccuracyScore"}, |
| 3046 | + "accuracyJustification":{"shape":"AutomatedReasoningPolicyJustificationText"} |
| 3047 | + } |
| 3048 | + }, |
| 3049 | + "AutomatedReasoningPolicyRuleReportMap":{ |
| 3050 | + "type":"map", |
| 3051 | + "key":{"shape":"AutomatedReasoningPolicyDefinitionRuleId"}, |
| 3052 | + "value":{"shape":"AutomatedReasoningPolicyRuleReport"} |
| 3053 | + }, |
2858 | 3054 | "AutomatedReasoningPolicyScenario":{ |
2859 | 3055 | "type":"structure", |
2860 | 3056 | "required":[ |
|
2893 | 3089 | "policyScenarios":{"shape":"AutomatedReasoningPolicyScenarioList"} |
2894 | 3090 | } |
2895 | 3091 | }, |
| 3092 | + "AutomatedReasoningPolicySourceDocument":{ |
| 3093 | + "type":"structure", |
| 3094 | + "required":[ |
| 3095 | + "document", |
| 3096 | + "documentContentType", |
| 3097 | + "documentName", |
| 3098 | + "documentHash" |
| 3099 | + ], |
| 3100 | + "members":{ |
| 3101 | + "document":{"shape":"AutomatedReasoningPolicyBuildDocumentBlob"}, |
| 3102 | + "documentContentType":{"shape":"AutomatedReasoningPolicyBuildDocumentContentType"}, |
| 3103 | + "documentName":{"shape":"AutomatedReasoningPolicyBuildDocumentName"}, |
| 3104 | + "documentDescription":{"shape":"AutomatedReasoningPolicyBuildDocumentDescription"}, |
| 3105 | + "documentHash":{"shape":"AutomatedReasoningPolicyDocumentSha256"} |
| 3106 | + } |
| 3107 | + }, |
| 3108 | + "AutomatedReasoningPolicyStatementId":{ |
| 3109 | + "type":"string", |
| 3110 | + "max":8, |
| 3111 | + "min":0, |
| 3112 | + "pattern":"[a-zA-Z0-9]*" |
| 3113 | + }, |
| 3114 | + "AutomatedReasoningPolicyStatementLocation":{ |
| 3115 | + "type":"structure", |
| 3116 | + "required":["lines"], |
| 3117 | + "members":{ |
| 3118 | + "lines":{"shape":"AutomatedReasoningPolicyLineNumberList"} |
| 3119 | + } |
| 3120 | + }, |
| 3121 | + "AutomatedReasoningPolicyStatementReference":{ |
| 3122 | + "type":"structure", |
| 3123 | + "required":[ |
| 3124 | + "documentId", |
| 3125 | + "statementId" |
| 3126 | + ], |
| 3127 | + "members":{ |
| 3128 | + "documentId":{"shape":"AutomatedReasoningPolicyDocumentId"}, |
| 3129 | + "statementId":{"shape":"AutomatedReasoningPolicyStatementId"} |
| 3130 | + } |
| 3131 | + }, |
| 3132 | + "AutomatedReasoningPolicyStatementReferenceList":{ |
| 3133 | + "type":"list", |
| 3134 | + "member":{"shape":"AutomatedReasoningPolicyStatementReference"} |
| 3135 | + }, |
| 3136 | + "AutomatedReasoningPolicyStatementText":{ |
| 3137 | + "type":"string", |
| 3138 | + "max":1024, |
| 3139 | + "min":0, |
| 3140 | + "sensitive":true |
| 3141 | + }, |
2896 | 3142 | "AutomatedReasoningPolicySummaries":{ |
2897 | 3143 | "type":"list", |
2898 | 3144 | "member":{"shape":"AutomatedReasoningPolicySummary"}, |
|
3103 | 3349 | "variable":{"shape":"AutomatedReasoningPolicyDefinitionVariable"} |
3104 | 3350 | } |
3105 | 3351 | }, |
| 3352 | + "AutomatedReasoningPolicyVariableReport":{ |
| 3353 | + "type":"structure", |
| 3354 | + "required":["policyVariable"], |
| 3355 | + "members":{ |
| 3356 | + "policyVariable":{"shape":"AutomatedReasoningPolicyDefinitionVariableName"}, |
| 3357 | + "groundingStatements":{"shape":"AutomatedReasoningPolicyStatementReferenceList"}, |
| 3358 | + "groundingJustifications":{"shape":"AutomatedReasoningPolicyJustificationList"}, |
| 3359 | + "accuracyScore":{"shape":"AutomatedReasoningPolicyAccuracyScore"}, |
| 3360 | + "accuracyJustification":{"shape":"AutomatedReasoningPolicyJustificationText"} |
| 3361 | + } |
| 3362 | + }, |
| 3363 | + "AutomatedReasoningPolicyVariableReportMap":{ |
| 3364 | + "type":"map", |
| 3365 | + "key":{"shape":"AutomatedReasoningPolicyDefinitionVariableName"}, |
| 3366 | + "value":{"shape":"AutomatedReasoningPolicyVariableReport"} |
| 3367 | + }, |
3106 | 3368 | "AutomatedReasoningPolicyVersion":{ |
3107 | 3369 | "type":"string", |
3108 | 3370 | "max":12, |
|
3113 | 3375 | "type":"structure", |
3114 | 3376 | "members":{ |
3115 | 3377 | "documents":{"shape":"AutomatedReasoningPolicyBuildWorkflowDocumentList"}, |
3116 | | - "policyRepairAssets":{"shape":"AutomatedReasoningPolicyBuildWorkflowRepairContent"} |
| 3378 | + "policyRepairAssets":{"shape":"AutomatedReasoningPolicyBuildWorkflowRepairContent"}, |
| 3379 | + "generateFidelityReportContent":{"shape":"AutomatedReasoningPolicyGenerateFidelityReportContent"} |
3117 | 3380 | }, |
3118 | 3381 | "union":true |
3119 | 3382 | }, |
|
4907 | 5170 | "shape":"AutomatedReasoningPolicyBuildResultAssetType", |
4908 | 5171 | "location":"querystring", |
4909 | 5172 | "locationName":"assetType" |
| 5173 | + }, |
| 5174 | + "assetId":{ |
| 5175 | + "shape":"AutomatedReasoningPolicyBuildResultAssetId", |
| 5176 | + "location":"querystring", |
| 5177 | + "locationName":"assetId" |
4910 | 5178 | } |
4911 | 5179 | } |
4912 | 5180 | }, |
|
0 commit comments