Skip to content

Commit 721f3b4

Browse files
Update SDK models
1 parent a6ac3c4 commit 721f3b4

File tree

187 files changed

+2522
-753
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+2522
-753
lines changed

aws-models/bedrock-runtime.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,9 @@
730730
{
731731
"target": "com.amazonaws.bedrockruntime#ServiceQuotaExceededException"
732732
},
733+
{
734+
"target": "com.amazonaws.bedrockruntime#ServiceUnavailableException"
735+
},
733736
{
734737
"target": "com.amazonaws.bedrockruntime#ThrottlingException"
735738
},
@@ -6048,6 +6051,12 @@
60486051
"traits": {
60496052
"smithy.api#enumValue": "content_filtered"
60506053
}
6054+
},
6055+
"MODEL_CONTEXT_WINDOW_EXCEEDED": {
6056+
"target": "smithy.api#Unit",
6057+
"traits": {
6058+
"smithy.api#enumValue": "model_context_window_exceeded"
6059+
}
60516060
}
60526061
}
60536062
},

aws-models/bedrock.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6237,7 +6237,7 @@
62376237
"min": 20,
62386238
"max": 1011
62396239
},
6240-
"smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})/[a-z0-9]{12}$"
6240+
"smithy.api#pattern": "^arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})/[a-z0-9]{12}$"
62416241
}
62426242
},
62436243
"com.amazonaws.bedrock#CustomModelDeploymentArn": {
@@ -10111,11 +10111,21 @@
1011110111
"smithy.api#output": {}
1011210112
}
1011310113
},
10114+
"com.amazonaws.bedrock#GetFoundationModelIdentifier": {
10115+
"type": "string",
10116+
"traits": {
10117+
"smithy.api#length": {
10118+
"min": 1,
10119+
"max": 2048
10120+
},
10121+
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})$"
10122+
}
10123+
},
1011410124
"com.amazonaws.bedrock#GetFoundationModelRequest": {
1011510125
"type": "structure",
1011610126
"members": {
1011710127
"modelIdentifier": {
10118-
"target": "com.amazonaws.bedrock#ModelIdentifier",
10128+
"target": "com.amazonaws.bedrock#GetFoundationModelIdentifier",
1011910129
"traits": {
1012010130
"smithy.api#documentation": "<p>The model identifier. </p>",
1012110131
"smithy.api#httpLabel": {},
@@ -13811,7 +13821,7 @@
1381113821
"min": 1,
1381213822
"max": 256
1381313823
},
13814-
"smithy.api#pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*$"
13824+
"smithy.api#pattern": "^[a-zA-Z0-9]([-a-zA-Z0-9]{0,254}[a-zA-Z0-9])?$"
1381513825
}
1381613826
},
1381713827
"com.amazonaws.bedrock#Identifier": {
@@ -19017,7 +19027,6 @@
1901719027
"com.amazonaws.bedrock#RoleArn": {
1901819028
"type": "string",
1901919029
"traits": {
19020-
"smithy.api#documentation": "ARN of a IAM role",
1902119030
"smithy.api#length": {
1902219031
"max": 2048
1902319032
},

aws-models/imagebuilder.json

Lines changed: 199 additions & 33 deletions
Large diffs are not rendered by default.

aws-models/sdk-endpoints.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18967,6 +18967,7 @@
1896718967
},
1896818968
"hostname" : "portal.sso.ap-southeast-5.amazonaws.com"
1896918969
},
18970+
"ap-southeast-7" : { },
1897018971
"ca-central-1" : {
1897118972
"credentialScope" : {
1897218973
"region" : "ca-central-1"
@@ -19045,6 +19046,7 @@
1904519046
},
1904619047
"hostname" : "portal.sso.me-south-1.amazonaws.com"
1904719048
},
19049+
"mx-central-1" : { },
1904819050
"sa-east-1" : {
1904919051
"credentialScope" : {
1905019052
"region" : "sa-east-1"

aws-models/vpc-lattice.json

Lines changed: 182 additions & 141 deletions
Large diffs are not rendered by default.

sdk/bedrock/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
22
[package]
33
name = "aws-sdk-bedrock"
4-
version = "1.114.0"
4+
version = "1.115.0"
55
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
66
description = "AWS SDK for Amazon Bedrock"
77
edition = "2021"

sdk/bedrock/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ your project, add the following to your **Cargo.toml** file:
1414
```toml
1515
[dependencies]
1616
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
17-
aws-sdk-bedrock = "1.114.0"
17+
aws-sdk-bedrock = "1.115.0"
1818
tokio = { version = "1", features = ["full"] }
1919
```
2020

sdk/bedrock/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
//! ```toml
3333
//! [dependencies]
3434
//! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
35-
//! aws-sdk-bedrock = "1.114.0"
35+
//! aws-sdk-bedrock = "1.115.0"
3636
//! tokio = { version = "1", features = ["full"] }
3737
//! ```
3838
//!

sdk/bedrockruntime/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
22
[package]
33
name = "aws-sdk-bedrockruntime"
4-
version = "1.106.0"
4+
version = "1.107.0"
55
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
66
description = "AWS SDK for Amazon Bedrock Runtime"
77
edition = "2021"

sdk/bedrockruntime/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ your project, add the following to your **Cargo.toml** file:
1414
```toml
1515
[dependencies]
1616
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
17-
aws-sdk-bedrockruntime = "1.106.0"
17+
aws-sdk-bedrockruntime = "1.107.0"
1818
tokio = { version = "1", features = ["full"] }
1919
```
2020

0 commit comments

Comments
 (0)