Skip to content

Commit c8ed59a

Browse files
Update API model
1 parent 08dc07f commit c8ed59a

File tree

5 files changed

+1014
-274
lines changed

5 files changed

+1014
-274
lines changed

tools/code-generation/smithy/api-descriptions/bedrock.json

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6845,6 +6845,56 @@
68456845
}
68466846
}
68476847
},
6848+
"com.amazonaws.bedrock#GuardrailContentFiltersTier": {
6849+
"type": "structure",
6850+
"members": {
6851+
"tierName": {
6852+
"target": "com.amazonaws.bedrock#GuardrailContentFiltersTierName",
6853+
"traits": {
6854+
"smithy.api#documentation": "<p>The tier that your guardrail uses for content filters. Valid values include:</p> <ul> <li> <p> <code>CLASSIC</code> tier – Provides established guardrails functionality supporting English, French, and Spanish languages.</p> </li> <li> <p> <code>STANDARD</code> tier – Provides a more robust solution than the <code>CLASSIC</code> tier and has more comprehensive language support. This tier requires that your guardrail use <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html\">cross-Region inference</a>.</p> </li> </ul>",
6855+
"smithy.api#required": {}
6856+
}
6857+
}
6858+
},
6859+
"traits": {
6860+
"smithy.api#documentation": "<p>The tier that your guardrail uses for content filters.</p>"
6861+
}
6862+
},
6863+
"com.amazonaws.bedrock#GuardrailContentFiltersTierConfig": {
6864+
"type": "structure",
6865+
"members": {
6866+
"tierName": {
6867+
"target": "com.amazonaws.bedrock#GuardrailContentFiltersTierName",
6868+
"traits": {
6869+
"smithy.api#documentation": "<p>The tier that your guardrail uses for content filters. Valid values include:</p> <ul> <li> <p> <code>CLASSIC</code> tier – Provides established guardrails functionality supporting English, French, and Spanish languages.</p> </li> <li> <p> <code>STANDARD</code> tier – Provides a more robust solution than the <code>CLASSIC</code> tier and has more comprehensive language support. This tier requires that your guardrail use <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html\">cross-Region inference</a>.</p> </li> </ul>",
6870+
"smithy.api#required": {}
6871+
}
6872+
}
6873+
},
6874+
"traits": {
6875+
"smithy.api#documentation": "<p>The tier that your guardrail uses for content filters. Consider using a tier that balances performance, accuracy, and compatibility with your existing generative AI workflows.</p>"
6876+
}
6877+
},
6878+
"com.amazonaws.bedrock#GuardrailContentFiltersTierName": {
6879+
"type": "enum",
6880+
"members": {
6881+
"CLASSIC": {
6882+
"target": "smithy.api#Unit",
6883+
"traits": {
6884+
"smithy.api#enumValue": "CLASSIC"
6885+
}
6886+
},
6887+
"STANDARD": {
6888+
"target": "smithy.api#Unit",
6889+
"traits": {
6890+
"smithy.api#enumValue": "STANDARD"
6891+
}
6892+
}
6893+
},
6894+
"traits": {
6895+
"smithy.api#sensitive": {}
6896+
}
6897+
},
68486898
"com.amazonaws.bedrock#GuardrailContentPolicy": {
68496899
"type": "structure",
68506900
"members": {
@@ -6853,6 +6903,12 @@
68536903
"traits": {
68546904
"smithy.api#documentation": "<p>Contains the type of the content filter and how strongly it should apply to prompts and model responses.</p>"
68556905
}
6906+
},
6907+
"tier": {
6908+
"target": "com.amazonaws.bedrock#GuardrailContentFiltersTier",
6909+
"traits": {
6910+
"smithy.api#documentation": "<p>The tier that your guardrail uses for content filters.</p>"
6911+
}
68566912
}
68576913
},
68586914
"traits": {
@@ -6868,6 +6924,12 @@
68686924
"smithy.api#documentation": "<p>Contains the type of the content filter and how strongly it should apply to prompts and model responses.</p>",
68696925
"smithy.api#required": {}
68706926
}
6927+
},
6928+
"tierConfig": {
6929+
"target": "com.amazonaws.bedrock#GuardrailContentFiltersTierConfig",
6930+
"traits": {
6931+
"smithy.api#documentation": "<p>The tier that your guardrail uses for content filters.</p>"
6932+
}
68716933
}
68726934
},
68736935
"traits": {
@@ -8201,6 +8263,12 @@
82018263
"smithy.api#documentation": "<p>A list of policies related to topics that the guardrail should deny.</p>",
82028264
"smithy.api#required": {}
82038265
}
8266+
},
8267+
"tier": {
8268+
"target": "com.amazonaws.bedrock#GuardrailTopicsTier",
8269+
"traits": {
8270+
"smithy.api#documentation": "<p>The tier that your guardrail uses for denied topic filters.</p>"
8271+
}
82048272
}
82058273
},
82068274
"traits": {
@@ -8216,6 +8284,12 @@
82168284
"smithy.api#documentation": "<p>A list of policies related to topics that the guardrail should deny.</p>",
82178285
"smithy.api#required": {}
82188286
}
8287+
},
8288+
"tierConfig": {
8289+
"target": "com.amazonaws.bedrock#GuardrailTopicsTierConfig",
8290+
"traits": {
8291+
"smithy.api#documentation": "<p>The tier that your guardrail uses for denied topic filters.</p>"
8292+
}
82198293
}
82208294
},
82218295
"traits": {
@@ -8257,6 +8331,56 @@
82578331
}
82588332
}
82598333
},
8334+
"com.amazonaws.bedrock#GuardrailTopicsTier": {
8335+
"type": "structure",
8336+
"members": {
8337+
"tierName": {
8338+
"target": "com.amazonaws.bedrock#GuardrailTopicsTierName",
8339+
"traits": {
8340+
"smithy.api#documentation": "<p>The tier that your guardrail uses for denied topic filters. Valid values include:</p> <ul> <li> <p> <code>CLASSIC</code> tier – Provides established guardrails functionality supporting English, French, and Spanish languages.</p> </li> <li> <p> <code>STANDARD</code> tier – Provides a more robust solution than the <code>CLASSIC</code> tier and has more comprehensive language support. This tier requires that your guardrail use <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html\">cross-Region inference</a>.</p> </li> </ul>",
8341+
"smithy.api#required": {}
8342+
}
8343+
}
8344+
},
8345+
"traits": {
8346+
"smithy.api#documentation": "<p>The tier that your guardrail uses for denied topic filters.</p>"
8347+
}
8348+
},
8349+
"com.amazonaws.bedrock#GuardrailTopicsTierConfig": {
8350+
"type": "structure",
8351+
"members": {
8352+
"tierName": {
8353+
"target": "com.amazonaws.bedrock#GuardrailTopicsTierName",
8354+
"traits": {
8355+
"smithy.api#documentation": "<p>The tier that your guardrail uses for denied topic filters. Valid values include:</p> <ul> <li> <p> <code>CLASSIC</code> tier – Provides established guardrails functionality supporting English, French, and Spanish languages.</p> </li> <li> <p> <code>STANDARD</code> tier – Provides a more robust solution than the <code>CLASSIC</code> tier and has more comprehensive language support. This tier requires that your guardrail use <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html\">cross-Region inference</a>.</p> </li> </ul>",
8356+
"smithy.api#required": {}
8357+
}
8358+
}
8359+
},
8360+
"traits": {
8361+
"smithy.api#documentation": "<p>The tier that your guardrail uses for denied topic filters. Consider using a tier that balances performance, accuracy, and compatibility with your existing generative AI workflows.</p>"
8362+
}
8363+
},
8364+
"com.amazonaws.bedrock#GuardrailTopicsTierName": {
8365+
"type": "enum",
8366+
"members": {
8367+
"CLASSIC": {
8368+
"target": "smithy.api#Unit",
8369+
"traits": {
8370+
"smithy.api#enumValue": "CLASSIC"
8371+
}
8372+
},
8373+
"STANDARD": {
8374+
"target": "smithy.api#Unit",
8375+
"traits": {
8376+
"smithy.api#enumValue": "STANDARD"
8377+
}
8378+
}
8379+
},
8380+
"traits": {
8381+
"smithy.api#sensitive": {}
8382+
}
8383+
},
82608384
"com.amazonaws.bedrock#GuardrailVersion": {
82618385
"type": "string",
82628386
"traits": {

0 commit comments

Comments
 (0)