|
832 | 832 | "smithy.api#documentation": "<p>The assessment details in the response from the guardrail.</p>", |
833 | 833 | "smithy.api#required": {} |
834 | 834 | } |
| 835 | + }, |
| 836 | + "guardrailCoverage": { |
| 837 | + "target": "com.amazonaws.bedrockruntime#GuardrailCoverage", |
| 838 | + "traits": { |
| 839 | + "smithy.api#documentation": "<p>The guardrail coverage details in the apply guardrail response.</p>" |
| 840 | + } |
835 | 841 | } |
836 | 842 | }, |
837 | 843 | "traits": { |
|
1636 | 1642 | "traits": { |
1637 | 1643 | "smithy.api#documentation": "<p>The contextual grounding policy used for the guardrail assessment.</p>" |
1638 | 1644 | } |
| 1645 | + }, |
| 1646 | + "invocationMetrics": { |
| 1647 | + "target": "com.amazonaws.bedrockruntime#GuardrailInvocationMetrics", |
| 1648 | + "traits": { |
| 1649 | + "smithy.api#documentation": "<p>The invocation metrics for the guardrail assessment.</p>" |
| 1650 | + } |
1639 | 1651 | } |
1640 | 1652 | }, |
1641 | 1653 | "traits": { |
|
1732 | 1744 | "smithy.api#required": {} |
1733 | 1745 | } |
1734 | 1746 | }, |
| 1747 | + "filterStrength": { |
| 1748 | + "target": "com.amazonaws.bedrockruntime#GuardrailContentFilterStrength", |
| 1749 | + "traits": { |
| 1750 | + "smithy.api#documentation": "<p>The filter strength setting for the guardrail content filter.</p>" |
| 1751 | + } |
| 1752 | + }, |
1735 | 1753 | "action": { |
1736 | 1754 | "target": "com.amazonaws.bedrockruntime#GuardrailContentPolicyAction", |
1737 | 1755 | "traits": { |
|
1779 | 1797 | "target": "com.amazonaws.bedrockruntime#GuardrailContentFilter" |
1780 | 1798 | } |
1781 | 1799 | }, |
| 1800 | + "com.amazonaws.bedrockruntime#GuardrailContentFilterStrength": { |
| 1801 | + "type": "enum", |
| 1802 | + "members": { |
| 1803 | + "NONE": { |
| 1804 | + "target": "smithy.api#Unit", |
| 1805 | + "traits": { |
| 1806 | + "smithy.api#enumValue": "NONE" |
| 1807 | + } |
| 1808 | + }, |
| 1809 | + "LOW": { |
| 1810 | + "target": "smithy.api#Unit", |
| 1811 | + "traits": { |
| 1812 | + "smithy.api#enumValue": "LOW" |
| 1813 | + } |
| 1814 | + }, |
| 1815 | + "MEDIUM": { |
| 1816 | + "target": "smithy.api#Unit", |
| 1817 | + "traits": { |
| 1818 | + "smithy.api#enumValue": "MEDIUM" |
| 1819 | + } |
| 1820 | + }, |
| 1821 | + "HIGH": { |
| 1822 | + "target": "smithy.api#Unit", |
| 1823 | + "traits": { |
| 1824 | + "smithy.api#enumValue": "HIGH" |
| 1825 | + } |
| 1826 | + } |
| 1827 | + } |
| 1828 | + }, |
1782 | 1829 | "com.amazonaws.bedrockruntime#GuardrailContentFilterType": { |
1783 | 1830 | "type": "enum", |
1784 | 1831 | "members": { |
|
2060 | 2107 | "smithy.api#documentation": "<p>A text block that contains text that you want to assess with a guardrail. For more information, see <a>GuardrailConverseContentBlock</a>.</p>" |
2061 | 2108 | } |
2062 | 2109 | }, |
| 2110 | + "com.amazonaws.bedrockruntime#GuardrailCoverage": { |
| 2111 | + "type": "structure", |
| 2112 | + "members": { |
| 2113 | + "textCharacters": { |
| 2114 | + "target": "com.amazonaws.bedrockruntime#GuardrailTextCharactersCoverage", |
| 2115 | + "traits": { |
| 2116 | + "smithy.api#documentation": "<p>The text characters of the guardrail coverage details.</p>" |
| 2117 | + } |
| 2118 | + } |
| 2119 | + }, |
| 2120 | + "traits": { |
| 2121 | + "smithy.api#documentation": "<p>The action of the guardrail coverage details.</p>" |
| 2122 | + } |
| 2123 | + }, |
2063 | 2124 | "com.amazonaws.bedrockruntime#GuardrailCustomWord": { |
2064 | 2125 | "type": "structure", |
2065 | 2126 | "members": { |
|
2097 | 2158 | "smithy.api#pattern": "^(([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))$" |
2098 | 2159 | } |
2099 | 2160 | }, |
| 2161 | + "com.amazonaws.bedrockruntime#GuardrailInvocationMetrics": { |
| 2162 | + "type": "structure", |
| 2163 | + "members": { |
| 2164 | + "guardrailProcessingLatency": { |
| 2165 | + "target": "com.amazonaws.bedrockruntime#GuardrailProcessingLatency", |
| 2166 | + "traits": { |
| 2167 | + "smithy.api#documentation": "<p>The processing latency details for the guardrail invocation metrics.</p>" |
| 2168 | + } |
| 2169 | + }, |
| 2170 | + "usage": { |
| 2171 | + "target": "com.amazonaws.bedrockruntime#GuardrailUsage", |
| 2172 | + "traits": { |
| 2173 | + "smithy.api#documentation": "<p>The usage details for the guardrail invocation metrics.</p>" |
| 2174 | + } |
| 2175 | + }, |
| 2176 | + "guardrailCoverage": { |
| 2177 | + "target": "com.amazonaws.bedrockruntime#GuardrailCoverage", |
| 2178 | + "traits": { |
| 2179 | + "smithy.api#documentation": "<p>The coverage details for the guardrail invocation metrics.</p>" |
| 2180 | + } |
| 2181 | + } |
| 2182 | + }, |
| 2183 | + "traits": { |
| 2184 | + "smithy.api#documentation": "<p>The invocation metrics for the guardrail.</p>" |
| 2185 | + } |
| 2186 | + }, |
2100 | 2187 | "com.amazonaws.bedrockruntime#GuardrailManagedWord": { |
2101 | 2188 | "type": "structure", |
2102 | 2189 | "members": { |
|
2392 | 2479 | } |
2393 | 2480 | } |
2394 | 2481 | }, |
| 2482 | + "com.amazonaws.bedrockruntime#GuardrailProcessingLatency": { |
| 2483 | + "type": "long" |
| 2484 | + }, |
2395 | 2485 | "com.amazonaws.bedrockruntime#GuardrailRegexFilter": { |
2396 | 2486 | "type": "structure", |
2397 | 2487 | "members": { |
|
2558 | 2648 | "smithy.api#documentation": "<p>The text block to be evaluated by the guardrail.</p>" |
2559 | 2649 | } |
2560 | 2650 | }, |
| 2651 | + "com.amazonaws.bedrockruntime#GuardrailTextCharactersCoverage": { |
| 2652 | + "type": "structure", |
| 2653 | + "members": { |
| 2654 | + "guarded": { |
| 2655 | + "target": "com.amazonaws.bedrockruntime#TextCharactersGuarded", |
| 2656 | + "traits": { |
| 2657 | + "smithy.api#documentation": "<p>The text characters that were guarded by the guardrail coverage.</p>" |
| 2658 | + } |
| 2659 | + }, |
| 2660 | + "total": { |
| 2661 | + "target": "com.amazonaws.bedrockruntime#TextCharactersTotal", |
| 2662 | + "traits": { |
| 2663 | + "smithy.api#documentation": "<p>The total text characters by the guardrail coverage.</p>" |
| 2664 | + } |
| 2665 | + } |
| 2666 | + }, |
| 2667 | + "traits": { |
| 2668 | + "smithy.api#documentation": "<p>The guardrail coverage for the text characters.</p>" |
| 2669 | + } |
| 2670 | + }, |
2561 | 2671 | "com.amazonaws.bedrockruntime#GuardrailTopic": { |
2562 | 2672 | "type": "structure", |
2563 | 2673 | "members": { |
|
3569 | 3679 | "target": "com.amazonaws.bedrockruntime#SystemContentBlock" |
3570 | 3680 | } |
3571 | 3681 | }, |
| 3682 | + "com.amazonaws.bedrockruntime#TextCharactersGuarded": { |
| 3683 | + "type": "integer" |
| 3684 | + }, |
| 3685 | + "com.amazonaws.bedrockruntime#TextCharactersTotal": { |
| 3686 | + "type": "integer" |
| 3687 | + }, |
3572 | 3688 | "com.amazonaws.bedrockruntime#ThrottlingException": { |
3573 | 3689 | "type": "structure", |
3574 | 3690 | "members": { |
|
0 commit comments