From aec4d2b7c063036932a383dec72d51764cd6105a Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 29 Aug 2024 19:20:07 +0000 Subject: [PATCH] feat(client-bedrock-agent-runtime): Lifting the maximum length on Bedrock KnowledgeBase RetrievalFilter array --- clients/client-bedrock-agent-runtime/src/models/models_0.ts | 2 +- codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/clients/client-bedrock-agent-runtime/src/models/models_0.ts b/clients/client-bedrock-agent-runtime/src/models/models_0.ts index ee3f45945dee..18bd44e1b8a3 100644 --- a/clients/client-bedrock-agent-runtime/src/models/models_0.ts +++ b/clients/client-bedrock-agent-runtime/src/models/models_0.ts @@ -876,7 +876,7 @@ export interface ByteContentFile { mediaType: string | undefined; /** - *

The byte value of the file to attach, encoded as Base-64 string. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files.

+ *

The raw bytes of the file to attach. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files.

* @public */ data: Uint8Array | undefined; diff --git a/codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json b/codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json index 1e316e03d308..8c846a98a6aa 100644 --- a/codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json +++ b/codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json @@ -1119,7 +1119,7 @@ "data": { "target": "com.amazonaws.bedrockagentruntime#ByteContentBlob", "traits": { - "smithy.api#documentation": "

The byte value of the file to attach, encoded as Base-64 string. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files.

", + "smithy.api#documentation": "

The raw bytes of the file to attach. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files.

", "smithy.api#required": {} } } @@ -4736,8 +4736,7 @@ }, "traits": { "smithy.api#length": { - "min": 2, - "max": 5 + "min": 2 } } },