Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Oct 2, 2023
1 parent bf405fa commit bc499e8
Show file tree
Hide file tree
Showing 8 changed files with 945 additions and 143 deletions.
9 changes: 6 additions & 3 deletions codegen/sdk-codegen/aws-models/bedrock-runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Invokes the specified Bedrock model to run inference using the input provided in the request body. \n You use InvokeModel to run inference for text models, image models, and embedding models.</p>\n <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>\n <p>For example requests, see Examples (after the Errors section).</p>",
"smithy.api#documentation": "<p>Invokes the specified Bedrock model to run inference using the input provided in the request body. \n You use InvokeModel to run inference for text models, image models, and embedding models.</p>\n <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>\n <p>For example requests, see Examples (after the Errors section).</p>",
"smithy.api#http": {
"code": 200,
"method": "POST",
Expand All @@ -786,7 +786,7 @@
"min": 1,
"max": 2048
},
"smithy.api#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][_-]?)+)$"
"smithy.api#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][_-]?)+)$"
}
},
"com.amazonaws.bedrockruntime#InvokeModelRequest": {
Expand Down Expand Up @@ -892,7 +892,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Invoke the specified Bedrock model to run inference using the input provided.\n Return the response in a stream.</p>\n <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>\n <p>For an example request and response, see Examples (after the Errors section).</p>",
"smithy.api#documentation": "<p>Invoke the specified Bedrock model to run inference using the input provided.\n Return the response in a stream.</p>\n <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>\n <p>For an example request and response, see Examples (after the Errors section).</p>",
"smithy.api#http": {
"code": 200,
"method": "POST",
Expand Down Expand Up @@ -1104,6 +1104,9 @@
},
"throttlingException": {
"target": "com.amazonaws.bedrockruntime#ThrottlingException"
},
"modelTimeoutException": {
"target": "com.amazonaws.bedrockruntime#ModelTimeoutException"
}
},
"traits": {
Expand Down
733 changes: 722 additions & 11 deletions codegen/sdk-codegen/aws-models/bedrock.json

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions codegen/sdk-codegen/aws-models/ec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -64606,6 +64606,54 @@
"traits": {
"smithy.api#enumValue": "mac2-m2pro.metal"
}
},
"r7iz_large": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "r7iz.large"
}
},
"r7iz_xlarge": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "r7iz.xlarge"
}
},
"r7iz_2xlarge": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "r7iz.2xlarge"
}
},
"r7iz_4xlarge": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "r7iz.4xlarge"
}
},
"r7iz_8xlarge": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "r7iz.8xlarge"
}
},
"r7iz_12xlarge": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "r7iz.12xlarge"
}
},
"r7iz_16xlarge": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "r7iz.16xlarge"
}
},
"r7iz_32xlarge": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "r7iz.32xlarge"
}
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions codegen/sdk-codegen/aws-models/managedblockchain.json
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@
"NetworkId": {
"target": "com.amazonaws.managedblockchain#ResourceIdString",
"traits": {
"smithy.api#documentation": "<p>The unique identifier of the network for the node.</p>\n <p>Ethereum public networks have the following <code>NetworkId</code>s:</p>\n <ul>\n <li>\n <p>\n <code>n-ethereum-mainnet</code>\n </p>\n </li>\n <li>\n <p>\n <code>n-ethereum-goerli</code>\n </p>\n </li>\n <li>\n <p>\n <code>n-ethereum-rinkeby</code>\n </p>\n </li>\n </ul>",
"smithy.api#documentation": "<p>The unique identifier of the network for the node.</p>\n <p>Ethereum public networks have the following <code>NetworkId</code>s:</p>\n <ul>\n <li>\n <p>\n <code>n-ethereum-mainnet</code>\n </p>\n </li>\n <li>\n <p>\n <code>n-ethereum-goerli</code>\n </p>\n </li>\n </ul>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
Expand Down Expand Up @@ -927,7 +927,7 @@
"NetworkId": {
"target": "com.amazonaws.managedblockchain#ResourceIdString",
"traits": {
"smithy.api#documentation": "<p>The unique identifier of the network that the node is on.</p>\n <p>Ethereum public networks have the following <code>NetworkId</code>s:</p>\n <ul>\n <li>\n <p>\n <code>n-ethereum-mainnet</code>\n </p>\n </li>\n <li>\n <p>\n <code>n-ethereum-goerli</code>\n </p>\n </li>\n <li>\n <p>\n <code>n-ethereum-rinkeby</code>\n </p>\n </li>\n </ul>",
"smithy.api#documentation": "<p>The unique identifier of the network that the node is on.</p>\n <p>Ethereum public networks have the following <code>NetworkId</code>s:</p>\n <ul>\n <li>\n <p>\n <code>n-ethereum-mainnet</code>\n </p>\n </li>\n <li>\n <p>\n <code>n-ethereum-goerli</code>\n </p>\n </li>\n </ul>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
Expand Down Expand Up @@ -2694,7 +2694,7 @@
"ChainId": {
"target": "com.amazonaws.managedblockchain#String",
"traits": {
"smithy.api#documentation": "<p>The Ethereum <code>CHAIN_ID</code> associated with the Ethereum network. Chain IDs are as follows:</p>\n <ul>\n <li>\n <p>mainnet = <code>1</code>\n </p>\n </li>\n <li>\n <p>goerli = <code>5</code>\n </p>\n </li>\n <li>\n <p>rinkeby = <code>4</code>\n </p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>The Ethereum <code>CHAIN_ID</code> associated with the Ethereum network. Chain IDs are as follows:</p>\n <ul>\n <li>\n <p>mainnet = <code>1</code>\n </p>\n </li>\n <li>\n <p>goerli = <code>5</code>\n </p>\n </li>\n </ul>"
}
}
},
Expand Down
Loading

0 comments on commit bc499e8

Please sign in to comment.