|
1051 | 1051 | { |
1052 | 1052 | "target": "com.amazonaws.bedrockruntime#ResourceNotFoundException" |
1053 | 1053 | }, |
| 1054 | + { |
| 1055 | + "target": "com.amazonaws.bedrockruntime#ServiceUnavailableException" |
| 1056 | + }, |
1054 | 1057 | { |
1055 | 1058 | "target": "com.amazonaws.bedrockruntime#ThrottlingException" |
1056 | 1059 | }, |
|
1059 | 1062 | } |
1060 | 1063 | ], |
1061 | 1064 | "traits": { |
1062 | | - "smithy.api#documentation": "<p>Sends messages to the specified Amazon Bedrock model. <code>Converse</code> provides\n a consistent interface that works with all models that\n support messages. This allows you to write code once and use it with different models.\n Should a model have unique inference parameters, you can also pass those unique parameters\n to the model.</p>\n <p>For information about the Converse API, see <i>Use the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a guardrail, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a tool with a model, see <i>Tool use (Function calling)</i> in the <i>Amazon Bedrock User Guide</i>\n </p>\n <p>For example code, see <i>Converse API examples</i> in the <i>Amazon Bedrock User Guide</i>.\n </p>\n <p>This operation requires permission for the <code>bedrock:InvokeModel</code> action. </p>", |
| 1065 | + "smithy.api#documentation": "<p>Sends messages to the specified Amazon Bedrock model. <code>Converse</code> provides\n a consistent interface that works with all models that\n support messages. This allows you to write code once and use it with different models.\n If a model has unique inference parameters, you can also pass those unique parameters\n to the model.</p>\n <p>Amazon Bedrock doesn't store any text, images, or documents that you provide as content. The data is only used to generate the response.</p>\n <p>For information about the Converse API, see <i>Use the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a guardrail, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a tool with a model, see <i>Tool use (Function calling)</i> in the <i>Amazon Bedrock User Guide</i>\n </p>\n <p>For example code, see <i>Converse API examples</i> in the <i>Amazon Bedrock User Guide</i>.\n </p>\n <p>This operation requires permission for the <code>bedrock:InvokeModel</code> action. </p>", |
1063 | 1066 | "smithy.api#http": { |
1064 | 1067 | "code": 200, |
1065 | 1068 | "method": "POST", |
|
1233 | 1236 | { |
1234 | 1237 | "target": "com.amazonaws.bedrockruntime#ResourceNotFoundException" |
1235 | 1238 | }, |
| 1239 | + { |
| 1240 | + "target": "com.amazonaws.bedrockruntime#ServiceUnavailableException" |
| 1241 | + }, |
1236 | 1242 | { |
1237 | 1243 | "target": "com.amazonaws.bedrockruntime#ThrottlingException" |
1238 | 1244 | }, |
|
1241 | 1247 | } |
1242 | 1248 | ], |
1243 | 1249 | "traits": { |
1244 | | - "smithy.api#documentation": "<p>Sends messages to the specified Amazon Bedrock model and returns\n the response in a stream. <code>ConverseStream</code> provides a consistent API\n that works with all Amazon Bedrock models that support messages.\n This allows you to write code once and use it with different models. Should a\n model have unique inference parameters, you can also pass those unique parameters to the\n model. </p>\n <p>To find out if a model supports streaming, call <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html\">GetFoundationModel</a>\n and check the <code>responseStreamingSupported</code> field in the response.</p>\n <p>For information about the Converse API, see <i>Use the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a guardrail, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a tool with a model, see <i>Tool use (Function calling)</i> in the <i>Amazon Bedrock User Guide</i>\n </p>\n <p>For example code, see <i>Conversation streaming example</i> in the <i>Amazon Bedrock User Guide</i>.\n </p>\n <p>This operation requires permission for the <code>bedrock:InvokeModelWithResponseStream</code> action.</p>", |
| 1250 | + "smithy.api#documentation": "<p>Sends messages to the specified Amazon Bedrock model and returns\n the response in a stream. <code>ConverseStream</code> provides a consistent API\n that works with all Amazon Bedrock models that support messages.\n This allows you to write code once and use it with different models. Should a\n model have unique inference parameters, you can also pass those unique parameters to the\n model. </p>\n <p>To find out if a model supports streaming, call <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html\">GetFoundationModel</a>\n and check the <code>responseStreamingSupported</code> field in the response.</p>\n <note>\n <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>ConverseStream</code>.</p>\n </note>\n <p>Amazon Bedrock doesn't store any text, images, or documents that you provide as content. The data is only used to generate the response.</p>\n <p>For information about the Converse API, see <i>Use the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a guardrail, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n To use a tool with a model, see <i>Tool use (Function calling)</i> in the <i>Amazon Bedrock User Guide</i>\n </p>\n <p>For example code, see <i>Conversation streaming example</i> in the <i>Amazon Bedrock User Guide</i>.\n </p>\n <p>This operation requires permission for the <code>bedrock:InvokeModelWithResponseStream</code> action.</p>", |
1245 | 1251 | "smithy.api#http": { |
1246 | 1252 | "code": 200, |
1247 | 1253 | "method": "POST", |
|
1354 | 1360 | "traits": { |
1355 | 1361 | "smithy.api#documentation": "<p>The number of requests exceeds the limit. Resubmit your request later.</p>" |
1356 | 1362 | } |
| 1363 | + }, |
| 1364 | + "serviceUnavailableException": { |
| 1365 | + "target": "com.amazonaws.bedrockruntime#ServiceUnavailableException", |
| 1366 | + "traits": { |
| 1367 | + "smithy.api#documentation": "<p>The service isn't currently available. Try again later.</p>" |
| 1368 | + } |
1357 | 1369 | } |
1358 | 1370 | }, |
1359 | 1371 | "traits": { |
|
2930 | 2942 | { |
2931 | 2943 | "target": "com.amazonaws.bedrockruntime#ServiceQuotaExceededException" |
2932 | 2944 | }, |
| 2945 | + { |
| 2946 | + "target": "com.amazonaws.bedrockruntime#ServiceUnavailableException" |
| 2947 | + }, |
2933 | 2948 | { |
2934 | 2949 | "target": "com.amazonaws.bedrockruntime#ThrottlingException" |
2935 | 2950 | }, |
|
3072 | 3087 | { |
3073 | 3088 | "target": "com.amazonaws.bedrockruntime#ServiceQuotaExceededException" |
3074 | 3089 | }, |
| 3090 | + { |
| 3091 | + "target": "com.amazonaws.bedrockruntime#ServiceUnavailableException" |
| 3092 | + }, |
3075 | 3093 | { |
3076 | 3094 | "target": "com.amazonaws.bedrockruntime#ThrottlingException" |
3077 | 3095 | }, |
|
3080 | 3098 | } |
3081 | 3099 | ], |
3082 | 3100 | "traits": { |
3083 | | - "smithy.api#documentation": "<p>Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a stream.</p>\n <p>To see if a model supports streaming, call <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html\">GetFoundationModel</a>\n and check the <code>responseStreamingSupported</code> field in the response.</p>\n <note>\n <p>The CLI doesn't support <code>InvokeModelWithResponseStream</code>.</p>\n </note>\n <p>For example code, see <i>Invoke model with streaming code\n example</i> in the <i>Amazon Bedrock User Guide</i>.\n </p>\n <p>This operation requires permissions to perform the <code>bedrock:InvokeModelWithResponseStream</code> action. </p>", |
| 3101 | + "smithy.api#documentation": "<p>Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a stream.</p>\n <p>To see if a model supports streaming, call <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html\">GetFoundationModel</a>\n and check the <code>responseStreamingSupported</code> field in the response.</p>\n <note>\n <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeModelWithResponseStream</code>.</p>\n </note>\n <p>For example code, see <i>Invoke model with streaming code\n example</i> in the <i>Amazon Bedrock User Guide</i>.\n </p>\n <p>This operation requires permissions to perform the <code>bedrock:InvokeModelWithResponseStream</code> action. </p>", |
3084 | 3102 | "smithy.api#http": { |
3085 | 3103 | "code": 200, |
3086 | 3104 | "method": "POST", |
|
3415 | 3433 | "throttlingException": { |
3416 | 3434 | "target": "com.amazonaws.bedrockruntime#ThrottlingException", |
3417 | 3435 | "traits": { |
3418 | | - "smithy.api#documentation": "<p>The number or frequency of requests exceeds the limit. Resubmit your request later.</p>" |
| 3436 | + "smithy.api#documentation": "<p>Your request was throttled because of service-wide limitations. Resubmit your request later or in a different region. You can also purchase <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html\">Provisioned Throughput</a> to increase the rate or number of tokens you can process.</p>" |
3419 | 3437 | } |
3420 | 3438 | }, |
3421 | 3439 | "modelTimeoutException": { |
3422 | 3440 | "target": "com.amazonaws.bedrockruntime#ModelTimeoutException", |
3423 | 3441 | "traits": { |
3424 | 3442 | "smithy.api#documentation": "<p>The request took too long to process. Processing time exceeded the model timeout length.</p>" |
3425 | 3443 | } |
| 3444 | + }, |
| 3445 | + "serviceUnavailableException": { |
| 3446 | + "target": "com.amazonaws.bedrockruntime#ServiceUnavailableException" |
3426 | 3447 | } |
3427 | 3448 | }, |
3428 | 3449 | "traits": { |
|
3438 | 3459 | } |
3439 | 3460 | }, |
3440 | 3461 | "traits": { |
3441 | | - "smithy.api#documentation": "<p>The number of requests exceeds the service quota. Resubmit your request later.</p>", |
| 3462 | + "smithy.api#documentation": "<p>Your request exceeds the service quota for your account. You can view your quotas at <a href=\"https://docs.aws.amazon.com/servicequotas/latest/userguide/gs-request-quota.html\">Viewing service quotas</a>. You can resubmit your request later.</p>", |
3442 | 3463 | "smithy.api#error": "client", |
3443 | 3464 | "smithy.api#httpError": 400 |
3444 | 3465 | } |
3445 | 3466 | }, |
| 3467 | + "com.amazonaws.bedrockruntime#ServiceUnavailableException": { |
| 3468 | + "type": "structure", |
| 3469 | + "members": { |
| 3470 | + "message": { |
| 3471 | + "target": "com.amazonaws.bedrockruntime#NonBlankString" |
| 3472 | + } |
| 3473 | + }, |
| 3474 | + "traits": { |
| 3475 | + "smithy.api#documentation": "<p>The service isn't currently available. Try again later.</p>", |
| 3476 | + "smithy.api#error": "server", |
| 3477 | + "smithy.api#httpError": 503 |
| 3478 | + } |
| 3479 | + }, |
3446 | 3480 | "com.amazonaws.bedrockruntime#SpecificToolChoice": { |
3447 | 3481 | "type": "structure", |
3448 | 3482 | "members": { |
|
3542 | 3576 | } |
3543 | 3577 | }, |
3544 | 3578 | "traits": { |
3545 | | - "smithy.api#documentation": "<p>The number of requests exceeds the limit. Resubmit your request later.</p>", |
| 3579 | + "smithy.api#documentation": "<p>Your request was throttled because of service-wide limitations. Resubmit your request later or in a different region. You can also purchase <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html\">Provisioned Throughput</a> to increase the rate or number of tokens you can process.</p>", |
3546 | 3580 | "smithy.api#error": "client", |
3547 | 3581 | "smithy.api#httpError": 429 |
3548 | 3582 | } |
|
0 commit comments