|
2813 | 2813 | "inputStrength":{"shape":"GuardrailFilterStrength"},
|
2814 | 2814 | "outputStrength":{"shape":"GuardrailFilterStrength"},
|
2815 | 2815 | "inputModalities":{"shape":"GuardrailModalities"},
|
2816 |
| - "outputModalities":{"shape":"GuardrailModalities"} |
| 2816 | + "outputModalities":{"shape":"GuardrailModalities"}, |
| 2817 | + "inputAction":{"shape":"GuardrailContentFilterAction"}, |
| 2818 | + "outputAction":{"shape":"GuardrailContentFilterAction"}, |
| 2819 | + "inputEnabled":{"shape":"Boolean"}, |
| 2820 | + "outputEnabled":{"shape":"Boolean"} |
2817 | 2821 | }
|
2818 | 2822 | },
|
| 2823 | + "GuardrailContentFilterAction":{ |
| 2824 | + "type":"string", |
| 2825 | + "enum":[ |
| 2826 | + "BLOCK", |
| 2827 | + "NONE" |
| 2828 | + ], |
| 2829 | + "sensitive":true |
| 2830 | + }, |
2819 | 2831 | "GuardrailContentFilterConfig":{
|
2820 | 2832 | "type":"structure",
|
2821 | 2833 | "required":[
|
|
2828 | 2840 | "inputStrength":{"shape":"GuardrailFilterStrength"},
|
2829 | 2841 | "outputStrength":{"shape":"GuardrailFilterStrength"},
|
2830 | 2842 | "inputModalities":{"shape":"GuardrailModalities"},
|
2831 |
| - "outputModalities":{"shape":"GuardrailModalities"} |
| 2843 | + "outputModalities":{"shape":"GuardrailModalities"}, |
| 2844 | + "inputAction":{"shape":"GuardrailContentFilterAction"}, |
| 2845 | + "outputAction":{"shape":"GuardrailContentFilterAction"}, |
| 2846 | + "inputEnabled":{"shape":"Boolean"}, |
| 2847 | + "outputEnabled":{"shape":"Boolean"} |
2832 | 2848 | }
|
2833 | 2849 | },
|
2834 | 2850 | "GuardrailContentFilterType":{
|
|
2867 | 2883 | "filtersConfig":{"shape":"GuardrailContentFiltersConfig"}
|
2868 | 2884 | }
|
2869 | 2885 | },
|
| 2886 | + "GuardrailContextualGroundingAction":{ |
| 2887 | + "type":"string", |
| 2888 | + "enum":[ |
| 2889 | + "BLOCK", |
| 2890 | + "NONE" |
| 2891 | + ], |
| 2892 | + "sensitive":true |
| 2893 | + }, |
2870 | 2894 | "GuardrailContextualGroundingFilter":{
|
2871 | 2895 | "type":"structure",
|
2872 | 2896 | "required":[
|
|
2875 | 2899 | ],
|
2876 | 2900 | "members":{
|
2877 | 2901 | "type":{"shape":"GuardrailContextualGroundingFilterType"},
|
2878 |
| - "threshold":{"shape":"GuardrailContextualGroundingFilterThresholdDouble"} |
| 2902 | + "threshold":{"shape":"GuardrailContextualGroundingFilterThresholdDouble"}, |
| 2903 | + "action":{"shape":"GuardrailContextualGroundingAction"}, |
| 2904 | + "enabled":{"shape":"Boolean"} |
2879 | 2905 | }
|
2880 | 2906 | },
|
2881 | 2907 | "GuardrailContextualGroundingFilterConfig":{
|
|
2886 | 2912 | ],
|
2887 | 2913 | "members":{
|
2888 | 2914 | "type":{"shape":"GuardrailContextualGroundingFilterType"},
|
2889 |
| - "threshold":{"shape":"GuardrailContextualGroundingFilterConfigThresholdDouble"} |
| 2915 | + "threshold":{"shape":"GuardrailContextualGroundingFilterConfigThresholdDouble"}, |
| 2916 | + "action":{"shape":"GuardrailContextualGroundingAction"}, |
| 2917 | + "enabled":{"shape":"Boolean"} |
2890 | 2918 | }
|
2891 | 2919 | },
|
2892 | 2920 | "GuardrailContextualGroundingFilterConfigThresholdDouble":{
|
|
2987 | 3015 | "type":"structure",
|
2988 | 3016 | "required":["type"],
|
2989 | 3017 | "members":{
|
2990 |
| - "type":{"shape":"GuardrailManagedWordsType"} |
| 3018 | + "type":{"shape":"GuardrailManagedWordsType"}, |
| 3019 | + "inputAction":{"shape":"GuardrailWordAction"}, |
| 3020 | + "outputAction":{"shape":"GuardrailWordAction"}, |
| 3021 | + "inputEnabled":{"shape":"Boolean"}, |
| 3022 | + "outputEnabled":{"shape":"Boolean"} |
2991 | 3023 | }
|
2992 | 3024 | },
|
2993 | 3025 | "GuardrailManagedWordsConfig":{
|
2994 | 3026 | "type":"structure",
|
2995 | 3027 | "required":["type"],
|
2996 | 3028 | "members":{
|
2997 |
| - "type":{"shape":"GuardrailManagedWordsType"} |
| 3029 | + "type":{"shape":"GuardrailManagedWordsType"}, |
| 3030 | + "inputAction":{"shape":"GuardrailWordAction"}, |
| 3031 | + "outputAction":{"shape":"GuardrailWordAction"}, |
| 3032 | + "inputEnabled":{"shape":"Boolean"}, |
| 3033 | + "outputEnabled":{"shape":"Boolean"} |
2998 | 3034 | }
|
2999 | 3035 | },
|
3000 | 3036 | "GuardrailManagedWordsType":{
|
|
3044 | 3080 | ],
|
3045 | 3081 | "members":{
|
3046 | 3082 | "type":{"shape":"GuardrailPiiEntityType"},
|
3047 |
| - "action":{"shape":"GuardrailSensitiveInformationAction"} |
| 3083 | + "action":{"shape":"GuardrailSensitiveInformationAction"}, |
| 3084 | + "inputAction":{"shape":"GuardrailSensitiveInformationAction"}, |
| 3085 | + "outputAction":{"shape":"GuardrailSensitiveInformationAction"}, |
| 3086 | + "inputEnabled":{"shape":"Boolean"}, |
| 3087 | + "outputEnabled":{"shape":"Boolean"} |
3048 | 3088 | }
|
3049 | 3089 | },
|
3050 | 3090 | "GuardrailPiiEntityConfig":{
|
|
3055 | 3095 | ],
|
3056 | 3096 | "members":{
|
3057 | 3097 | "type":{"shape":"GuardrailPiiEntityType"},
|
3058 |
| - "action":{"shape":"GuardrailSensitiveInformationAction"} |
| 3098 | + "action":{"shape":"GuardrailSensitiveInformationAction"}, |
| 3099 | + "inputAction":{"shape":"GuardrailSensitiveInformationAction"}, |
| 3100 | + "outputAction":{"shape":"GuardrailSensitiveInformationAction"}, |
| 3101 | + "inputEnabled":{"shape":"Boolean"}, |
| 3102 | + "outputEnabled":{"shape":"Boolean"} |
3059 | 3103 | }
|
3060 | 3104 | },
|
3061 | 3105 | "GuardrailPiiEntityType":{
|
|
3105 | 3149 | "name":{"shape":"GuardrailRegexNameString"},
|
3106 | 3150 | "description":{"shape":"GuardrailRegexDescriptionString"},
|
3107 | 3151 | "pattern":{"shape":"GuardrailRegexPatternString"},
|
3108 |
| - "action":{"shape":"GuardrailSensitiveInformationAction"} |
| 3152 | + "action":{"shape":"GuardrailSensitiveInformationAction"}, |
| 3153 | + "inputAction":{"shape":"GuardrailSensitiveInformationAction"}, |
| 3154 | + "outputAction":{"shape":"GuardrailSensitiveInformationAction"}, |
| 3155 | + "inputEnabled":{"shape":"Boolean"}, |
| 3156 | + "outputEnabled":{"shape":"Boolean"} |
3109 | 3157 | }
|
3110 | 3158 | },
|
3111 | 3159 | "GuardrailRegexConfig":{
|
|
3119 | 3167 | "name":{"shape":"GuardrailRegexConfigNameString"},
|
3120 | 3168 | "description":{"shape":"GuardrailRegexConfigDescriptionString"},
|
3121 | 3169 | "pattern":{"shape":"GuardrailRegexConfigPatternString"},
|
3122 |
| - "action":{"shape":"GuardrailSensitiveInformationAction"} |
| 3170 | + "action":{"shape":"GuardrailSensitiveInformationAction"}, |
| 3171 | + "inputAction":{"shape":"GuardrailSensitiveInformationAction"}, |
| 3172 | + "outputAction":{"shape":"GuardrailSensitiveInformationAction"}, |
| 3173 | + "inputEnabled":{"shape":"Boolean"}, |
| 3174 | + "outputEnabled":{"shape":"Boolean"} |
3123 | 3175 | }
|
3124 | 3176 | },
|
3125 | 3177 | "GuardrailRegexConfigDescriptionString":{
|
|
3166 | 3218 | "type":"string",
|
3167 | 3219 | "enum":[
|
3168 | 3220 | "BLOCK",
|
3169 |
| - "ANONYMIZE" |
| 3221 | + "ANONYMIZE", |
| 3222 | + "NONE" |
3170 | 3223 | ]
|
3171 | 3224 | },
|
3172 | 3225 | "GuardrailSensitiveInformationPolicy":{
|
|
3244 | 3297 | "name":{"shape":"GuardrailTopicName"},
|
3245 | 3298 | "definition":{"shape":"GuardrailTopicDefinition"},
|
3246 | 3299 | "examples":{"shape":"GuardrailTopicExamples"},
|
3247 |
| - "type":{"shape":"GuardrailTopicType"} |
| 3300 | + "type":{"shape":"GuardrailTopicType"}, |
| 3301 | + "inputAction":{"shape":"GuardrailTopicAction"}, |
| 3302 | + "outputAction":{"shape":"GuardrailTopicAction"}, |
| 3303 | + "inputEnabled":{"shape":"Boolean"}, |
| 3304 | + "outputEnabled":{"shape":"Boolean"} |
3248 | 3305 | }
|
3249 | 3306 | },
|
| 3307 | + "GuardrailTopicAction":{ |
| 3308 | + "type":"string", |
| 3309 | + "enum":[ |
| 3310 | + "BLOCK", |
| 3311 | + "NONE" |
| 3312 | + ], |
| 3313 | + "sensitive":true |
| 3314 | + }, |
3250 | 3315 | "GuardrailTopicConfig":{
|
3251 | 3316 | "type":"structure",
|
3252 | 3317 | "required":[
|
|
3258 | 3323 | "name":{"shape":"GuardrailTopicName"},
|
3259 | 3324 | "definition":{"shape":"GuardrailTopicDefinition"},
|
3260 | 3325 | "examples":{"shape":"GuardrailTopicExamples"},
|
3261 |
| - "type":{"shape":"GuardrailTopicType"} |
| 3326 | + "type":{"shape":"GuardrailTopicType"}, |
| 3327 | + "inputAction":{"shape":"GuardrailTopicAction"}, |
| 3328 | + "outputAction":{"shape":"GuardrailTopicAction"}, |
| 3329 | + "inputEnabled":{"shape":"Boolean"}, |
| 3330 | + "outputEnabled":{"shape":"Boolean"} |
3262 | 3331 | }
|
3263 | 3332 | },
|
3264 | 3333 | "GuardrailTopicDefinition":{
|
|
3324 | 3393 | "type":"structure",
|
3325 | 3394 | "required":["text"],
|
3326 | 3395 | "members":{
|
3327 |
| - "text":{"shape":"GuardrailWordTextString"} |
| 3396 | + "text":{"shape":"GuardrailWordTextString"}, |
| 3397 | + "inputAction":{"shape":"GuardrailWordAction"}, |
| 3398 | + "outputAction":{"shape":"GuardrailWordAction"}, |
| 3399 | + "inputEnabled":{"shape":"Boolean"}, |
| 3400 | + "outputEnabled":{"shape":"Boolean"} |
3328 | 3401 | }
|
3329 | 3402 | },
|
| 3403 | + "GuardrailWordAction":{ |
| 3404 | + "type":"string", |
| 3405 | + "enum":[ |
| 3406 | + "BLOCK", |
| 3407 | + "NONE" |
| 3408 | + ], |
| 3409 | + "sensitive":true |
| 3410 | + }, |
3330 | 3411 | "GuardrailWordConfig":{
|
3331 | 3412 | "type":"structure",
|
3332 | 3413 | "required":["text"],
|
3333 | 3414 | "members":{
|
3334 |
| - "text":{"shape":"GuardrailWordConfigTextString"} |
| 3415 | + "text":{"shape":"GuardrailWordConfigTextString"}, |
| 3416 | + "inputAction":{"shape":"GuardrailWordAction"}, |
| 3417 | + "outputAction":{"shape":"GuardrailWordAction"}, |
| 3418 | + "inputEnabled":{"shape":"Boolean"}, |
| 3419 | + "outputEnabled":{"shape":"Boolean"} |
3335 | 3420 | }
|
3336 | 3421 | },
|
3337 | 3422 | "GuardrailWordConfigTextString":{
|
|
0 commit comments