Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Oct 2, 2023
1 parent 457de83 commit 8eaf403
Show file tree
Hide file tree
Showing 78 changed files with 3,057 additions and 1,166 deletions.
3 changes: 2 additions & 1 deletion apis/bedrock-runtime/2023-09-30/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"type":"string",
"max":2048,
"min":1,
"pattern":"^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)$"
"pattern":"^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$"
},
"InvokeModelRequest":{
"type":"structure",
Expand Down Expand Up @@ -257,6 +257,7 @@
"chunk":{"shape":"PayloadPart"},
"internalServerException":{"shape":"InternalServerException"},
"modelStreamErrorException":{"shape":"ModelStreamErrorException"},
"modelTimeoutException":{"shape":"ModelTimeoutException"},
"throttlingException":{"shape":"ThrottlingException"},
"validationException":{"shape":"ValidationException"}
},
Expand Down
5 changes: 3 additions & 2 deletions apis/bedrock-runtime/2023-09-30/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"version": "2.0",
"service": "<p>Describes the API operations for running inference using Bedrock models.</p>",
"operations": {
"InvokeModel": "<p>Invokes the specified Bedrock model to run inference using the input provided in the request body. You use InvokeModel to run inference for text models, image models, and embedding models.</p> <p>For more information about invoking models, see Using the API in the <a href=\"https://d2eo22ngex1n9g.cloudfront.net/Documentation/BedrockUserGuide.pdf\">Bedrock User Guide</a>.</p> <p>For example requests, see Examples (after the Errors section).</p>",
"InvokeModelWithResponseStream": "<p>Invoke the specified Bedrock model to run inference using the input provided. Return the response in a stream.</p> <p>For more information about invoking models, see Using the API in the <a href=\"https://d2eo22ngex1n9g.cloudfront.net/Documentation/BedrockUserGuide.pdf\">Bedrock User Guide</a>.</p> <p>For an example request and response, see Examples (after the Errors section).</p>"
"InvokeModel": "<p>Invokes the specified Bedrock model to run inference using the input provided in the request body. You use InvokeModel to run inference for text models, image models, and embedding models.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/api-methods-run.html\">Run inference</a> in the Bedrock User Guide.</p> <p>For example requests, see Examples (after the Errors section).</p>",
"InvokeModelWithResponseStream": "<p>Invoke the specified Bedrock model to run inference using the input provided. Return the response in a stream.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/api-methods-run.html\">Run inference</a> in the Bedrock User Guide.</p> <p>For an example request and response, see Examples (after the Errors section).</p>"
},
"shapes": {
"AccessDeniedException": {
Expand Down Expand Up @@ -82,6 +82,7 @@
"ModelTimeoutException": {
"base": "<p>The request took too long to process. Processing time exceeded the model timeout length.</p>",
"refs": {
"ResponseStream$modelTimeoutException": null
}
},
"NonBlankString": {
Expand Down
Loading

0 comments on commit 8eaf403

Please sign in to comment.