Skip to content

Commit 2601df4

Browse files
author
awstools
committed
feat(client-bedrock-agent): Amazon Bedrock Knowledge Bases now supports using application inference profiles to increase throughput and improve resilience.
1 parent 3bbb1c5 commit 2601df4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

clients/client-bedrock-agent/src/models/models_0.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6644,7 +6644,7 @@ export interface EmbeddingModelConfiguration {
66446644
*/
66456645
export interface VectorKnowledgeBaseConfiguration {
66466646
/**
6647-
* <p>The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.</p>
6647+
* <p>The Amazon Resource Name (ARN) of the model or inference profile used to create vector embeddings for the knowledge base.</p>
66486648
* @public
66496649
*/
66506650
embeddingModelArn: string | undefined;

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -1999,7 +1999,7 @@
19991999
"min": 20,
20002000
"max": 2048
20012001
},
2002-
"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][_-]?)+)$"
2002+
"smithy.api#pattern": "^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$"
20032003
}
20042004
},
20052005
"com.amazonaws.bedrockagent#BedrockEmbeddingModelConfiguration": {
@@ -2044,7 +2044,7 @@
20442044
"min": 1,
20452045
"max": 2048
20462046
},
2047-
"smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::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})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)$"
2047+
"smithy.api#pattern": "^(arn:aws(-[^:]{1,12})?:(bedrock):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$"
20482048
}
20492049
},
20502050
"com.amazonaws.bedrockagent#BucketOwnerAccountId": {
@@ -13499,7 +13499,7 @@
1349913499
"embeddingModelArn": {
1350013500
"target": "com.amazonaws.bedrockagent#BedrockEmbeddingModelArn",
1350113501
"traits": {
13502-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.</p>",
13502+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the model or inference profile used to create vector embeddings for the knowledge base.</p>",
1350313503
"smithy.api#required": {}
1350413504
}
1350513505
},

0 commit comments

Comments
 (0)