Skip to content

Commit bc499e8

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent bf405fa commit bc499e8

File tree

8 files changed

+945
-143
lines changed

8 files changed

+945
-143
lines changed

codegen/sdk-codegen/aws-models/bedrock-runtime.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@
771771
}
772772
],
773773
"traits": {
774-
"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>",
774+
"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>",
775775
"smithy.api#http": {
776776
"code": 200,
777777
"method": "POST",
@@ -786,7 +786,7 @@
786786
"min": 1,
787787
"max": 2048
788788
},
789-
"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][_-]?)+)$"
789+
"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][_-]?)+)$"
790790
}
791791
},
792792
"com.amazonaws.bedrockruntime#InvokeModelRequest": {
@@ -892,7 +892,7 @@
892892
}
893893
],
894894
"traits": {
895-
"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>",
895+
"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>",
896896
"smithy.api#http": {
897897
"code": 200,
898898
"method": "POST",
@@ -1104,6 +1104,9 @@
11041104
},
11051105
"throttlingException": {
11061106
"target": "com.amazonaws.bedrockruntime#ThrottlingException"
1107+
},
1108+
"modelTimeoutException": {
1109+
"target": "com.amazonaws.bedrockruntime#ModelTimeoutException"
11071110
}
11081111
},
11091112
"traits": {

codegen/sdk-codegen/aws-models/bedrock.json

+722-11
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/ec2.json

+48
Original file line numberDiff line numberDiff line change
@@ -64606,6 +64606,54 @@
6460664606
"traits": {
6460764607
"smithy.api#enumValue": "mac2-m2pro.metal"
6460864608
}
64609+
},
64610+
"r7iz_large": {
64611+
"target": "smithy.api#Unit",
64612+
"traits": {
64613+
"smithy.api#enumValue": "r7iz.large"
64614+
}
64615+
},
64616+
"r7iz_xlarge": {
64617+
"target": "smithy.api#Unit",
64618+
"traits": {
64619+
"smithy.api#enumValue": "r7iz.xlarge"
64620+
}
64621+
},
64622+
"r7iz_2xlarge": {
64623+
"target": "smithy.api#Unit",
64624+
"traits": {
64625+
"smithy.api#enumValue": "r7iz.2xlarge"
64626+
}
64627+
},
64628+
"r7iz_4xlarge": {
64629+
"target": "smithy.api#Unit",
64630+
"traits": {
64631+
"smithy.api#enumValue": "r7iz.4xlarge"
64632+
}
64633+
},
64634+
"r7iz_8xlarge": {
64635+
"target": "smithy.api#Unit",
64636+
"traits": {
64637+
"smithy.api#enumValue": "r7iz.8xlarge"
64638+
}
64639+
},
64640+
"r7iz_12xlarge": {
64641+
"target": "smithy.api#Unit",
64642+
"traits": {
64643+
"smithy.api#enumValue": "r7iz.12xlarge"
64644+
}
64645+
},
64646+
"r7iz_16xlarge": {
64647+
"target": "smithy.api#Unit",
64648+
"traits": {
64649+
"smithy.api#enumValue": "r7iz.16xlarge"
64650+
}
64651+
},
64652+
"r7iz_32xlarge": {
64653+
"target": "smithy.api#Unit",
64654+
"traits": {
64655+
"smithy.api#enumValue": "r7iz.32xlarge"
64656+
}
6460964657
}
6461064658
}
6461164659
},

codegen/sdk-codegen/aws-models/managedblockchain.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@
612612
"NetworkId": {
613613
"target": "com.amazonaws.managedblockchain#ResourceIdString",
614614
"traits": {
615-
"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>",
615+
"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>",
616616
"smithy.api#httpLabel": {},
617617
"smithy.api#required": {}
618618
}
@@ -927,7 +927,7 @@
927927
"NetworkId": {
928928
"target": "com.amazonaws.managedblockchain#ResourceIdString",
929929
"traits": {
930-
"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>",
930+
"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>",
931931
"smithy.api#httpLabel": {},
932932
"smithy.api#required": {}
933933
}
@@ -2694,7 +2694,7 @@
26942694
"ChainId": {
26952695
"target": "com.amazonaws.managedblockchain#String",
26962696
"traits": {
2697-
"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>"
2697+
"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>"
26982698
}
26992699
}
27002700
},

0 commit comments

Comments
 (0)