Skip to content

Commit d28620b

Browse files
Release v1.51.27 (2024-04-23) (#5240)
Release v1.51.27 (2024-04-23) === ### Service Client Updates * `service/bedrock`: Updates service API, documentation, and paginators * `service/bedrock-agent`: Updates service API and documentation * `service/bedrock-agent-runtime`: Updates service API and documentation * `service/bedrock-runtime`: Updates service API and documentation * `service/ce`: Updates service API and documentation * `service/ec2`: Updates service API and documentation * This release introduces EC2 AMI Deregistration Protection, a new AMI property that can be enabled by customers to protect an AMI against an unintended deregistration. This release also enables the AMI owners to view the AMI 'LastLaunchedTime' in DescribeImages API. * `service/pi`: Updates service documentation * `service/rds`: Updates service API, documentation, waiters, paginators, and examples * Fix the example ARN for ModifyActivityStreamRequest * `service/workspaces-web`: Updates service API and documentation
1 parent 2c0e732 commit d28620b

File tree

38 files changed

+12084
-2505
lines changed

38 files changed

+12084
-2505
lines changed

CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
Release v1.51.27 (2024-04-23)
2+
===
3+
4+
### Service Client Updates
5+
* `service/bedrock`: Updates service API, documentation, and paginators
6+
* `service/bedrock-agent`: Updates service API and documentation
7+
* `service/bedrock-agent-runtime`: Updates service API and documentation
8+
* `service/bedrock-runtime`: Updates service API and documentation
9+
* `service/ce`: Updates service API and documentation
10+
* `service/ec2`: Updates service API and documentation
11+
* This release introduces EC2 AMI Deregistration Protection, a new AMI property that can be enabled by customers to protect an AMI against an unintended deregistration. This release also enables the AMI owners to view the AMI 'LastLaunchedTime' in DescribeImages API.
12+
* `service/pi`: Updates service documentation
13+
* `service/rds`: Updates service API, documentation, waiters, paginators, and examples
14+
* Fix the example ARN for ModifyActivityStreamRequest
15+
* `service/workspaces-web`: Updates service API and documentation
16+
117
Release v1.51.26 (2024-04-22)
218
===
319

aws/endpoints/defaults.go

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aws/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ package aws
55
const SDKName = "aws-sdk-go"
66

77
// SDKVersion is the version of this SDK
8-
const SDKVersion = "1.51.26"
8+
const SDKVersion = "1.51.27"

models/apis/bedrock-agent-runtime/2023-07-26/api-2.json

+115-1
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,31 @@
336336
"box": true,
337337
"type": "boolean"
338338
},
339+
"ByteContentBlob": {
340+
"max": 10485760,
341+
"min": 1,
342+
"sensitive": true,
343+
"type": "blob"
344+
},
345+
"ByteContentDoc": {
346+
"members": {
347+
"contentType": {
348+
"shape": "ContentType"
349+
},
350+
"data": {
351+
"shape": "ByteContentBlob"
352+
},
353+
"identifier": {
354+
"shape": "Identifier"
355+
}
356+
},
357+
"required": [
358+
"contentType",
359+
"data",
360+
"identifier"
361+
],
362+
"type": "structure"
363+
},
339364
"Citation": {
340365
"members": {
341366
"generatedResponsePart": {
@@ -383,6 +408,10 @@
383408
"shape": "Parameters"
384409
}
385410
},
411+
"ContentType": {
412+
"pattern": "[a-z]{1,20}/.{1,20}",
413+
"type": "string"
414+
},
386415
"CreationMode": {
387416
"enum": [
388417
"DEFAULT",
@@ -410,6 +439,64 @@
410439
"box": true,
411440
"type": "double"
412441
},
442+
"ExternalSource": {
443+
"members": {
444+
"byteContent": {
445+
"shape": "ByteContentDoc"
446+
},
447+
"s3Location": {
448+
"shape": "S3ObjectDoc"
449+
},
450+
"sourceType": {
451+
"shape": "ExternalSourceType"
452+
}
453+
},
454+
"required": [
455+
"sourceType"
456+
],
457+
"type": "structure"
458+
},
459+
"ExternalSourceType": {
460+
"enum": [
461+
"S3",
462+
"BYTE_CONTENT"
463+
],
464+
"type": "string"
465+
},
466+
"ExternalSources": {
467+
"max": 1,
468+
"member": {
469+
"shape": "ExternalSource"
470+
},
471+
"min": 1,
472+
"type": "list"
473+
},
474+
"ExternalSourcesGenerationConfiguration": {
475+
"members": {
476+
"promptTemplate": {
477+
"shape": "PromptTemplate"
478+
}
479+
},
480+
"type": "structure"
481+
},
482+
"ExternalSourcesRetrieveAndGenerateConfiguration": {
483+
"members": {
484+
"generationConfiguration": {
485+
"shape": "ExternalSourcesGenerationConfiguration"
486+
},
487+
"modelArn": {
488+
"shape": "BedrockModelArn"
489+
},
490+
"sources": {
491+
"shape": "ExternalSources"
492+
}
493+
},
494+
"required": [
495+
"modelArn",
496+
"sources"
497+
],
498+
"type": "structure"
499+
},
413500
"FailureReasonString": {
414501
"sensitive": true,
415502
"type": "string"
@@ -520,6 +607,12 @@
520607
},
521608
"type": "structure"
522609
},
610+
"Identifier": {
611+
"max": 1024,
612+
"min": 1,
613+
"sensitive": true,
614+
"type": "string"
615+
},
523616
"InferenceConfiguration": {
524617
"members": {
525618
"maximumLength": {
@@ -1237,6 +1330,9 @@
12371330
},
12381331
"RetrieveAndGenerateConfiguration": {
12391332
"members": {
1333+
"externalSourcesConfiguration": {
1334+
"shape": "ExternalSourcesRetrieveAndGenerateConfiguration"
1335+
},
12401336
"knowledgeBaseConfiguration": {
12411337
"shape": "KnowledgeBaseRetrieveAndGenerateConfiguration"
12421338
},
@@ -1329,7 +1425,8 @@
13291425
},
13301426
"RetrieveAndGenerateType": {
13311427
"enum": [
1332-
"KNOWLEDGE_BASE"
1428+
"KNOWLEDGE_BASE",
1429+
"EXTERNAL_SOURCES"
13331430
],
13341431
"type": "string"
13351432
},
@@ -1408,6 +1505,23 @@
14081505
"sensitive": true,
14091506
"type": "structure"
14101507
},
1508+
"S3ObjectDoc": {
1509+
"members": {
1510+
"uri": {
1511+
"shape": "S3Uri"
1512+
}
1513+
},
1514+
"required": [
1515+
"uri"
1516+
],
1517+
"type": "structure"
1518+
},
1519+
"S3Uri": {
1520+
"max": 1024,
1521+
"min": 1,
1522+
"pattern": "^s3://[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]/.{1,1024}$",
1523+
"type": "string"
1524+
},
14111525
"SearchType": {
14121526
"enum": [
14131527
"HYBRID",

models/apis/bedrock-agent-runtime/2023-07-26/docs-2.json

+68
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
"BedrockModelArn": {
117117
"base": null,
118118
"refs": {
119+
"ExternalSourcesRetrieveAndGenerateConfiguration$modelArn": "<p>The modelArn used with the external source wrapper object in the retrieveAndGenerate function.</p>",
119120
"KnowledgeBaseRetrieveAndGenerateConfiguration$modelArn": "<p>The ARN of the foundation model used to generate a response.</p>"
120121
}
121122
},
@@ -127,6 +128,18 @@
127128
"PreProcessingParsedResponse$isValid": "<p>Whether the user input is valid or not. If <code>false</code>, the agent doesn't proceed to orchestration.</p>"
128129
}
129130
},
131+
"ByteContentBlob": {
132+
"base": null,
133+
"refs": {
134+
"ByteContentDoc$data": "<p>The byte value of the file to upload, encoded as a Base-64 string.</p>"
135+
}
136+
},
137+
"ByteContentDoc": {
138+
"base": "<p>This property contains the document to chat with, along with its attributes.</p>",
139+
"refs": {
140+
"ExternalSource$byteContent": "<p>The identifier, contentType, and data of the external source wrapper object.</p>"
141+
}
142+
},
130143
"Citation": {
131144
"base": "<p>An object containing a segment of the generated response that is based on a source in the knowledge base, alongside information about the source.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax\">Retrieve response</a> – in the <code>citations</code> field</p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax\">RetrieveAndGenerate response</a> – in the <code>citations</code> field</p> </li> </ul>",
132145
"refs": {
@@ -158,6 +171,12 @@
158171
"RequestBody$content": "<p>The content in the request body.</p>"
159172
}
160173
},
174+
"ContentType": {
175+
"base": null,
176+
"refs": {
177+
"ByteContentDoc$contentType": "<p>The MIME type of the document contained in the wrapper object.</p>"
178+
}
179+
},
161180
"CreationMode": {
162181
"base": null,
163182
"refs": {
@@ -177,6 +196,36 @@
177196
"KnowledgeBaseRetrievalResult$score": "<p>The level of relevance of the result to the query.</p>"
178197
}
179198
},
199+
"ExternalSource": {
200+
"base": "<p>The unique external source of the content contained in the wrapper object.</p>",
201+
"refs": {
202+
"ExternalSources$member": null
203+
}
204+
},
205+
"ExternalSourceType": {
206+
"base": null,
207+
"refs": {
208+
"ExternalSource$sourceType": "<p>The source type of the external source wrapper object.</p>"
209+
}
210+
},
211+
"ExternalSources": {
212+
"base": null,
213+
"refs": {
214+
"ExternalSourcesRetrieveAndGenerateConfiguration$sources": "<p>The document used with the external source wrapper object in the retrieveAndGenerate function.</p>"
215+
}
216+
},
217+
"ExternalSourcesGenerationConfiguration": {
218+
"base": "<p>Contains the generation configuration of the external source wrapper object.</p>",
219+
"refs": {
220+
"ExternalSourcesRetrieveAndGenerateConfiguration$generationConfiguration": "<p>The prompt used with the external source wrapper object with the retrieveAndGenerate function.</p>"
221+
}
222+
},
223+
"ExternalSourcesRetrieveAndGenerateConfiguration": {
224+
"base": "<p>The configurations of the external source wrapper object in the retrieveAndGenerate function.</p>",
225+
"refs": {
226+
"RetrieveAndGenerateConfiguration$externalSourcesConfiguration": "<p>The configuration used with the external source wrapper object in the retrieveAndGenerate function.</p>"
227+
}
228+
},
180229
"FailureReasonString": {
181230
"base": null,
182231
"refs": {
@@ -269,6 +318,12 @@
269318
"KnowledgeBaseRetrieveAndGenerateConfiguration$generationConfiguration": "<p>Contains configurations for response generation based on the knowwledge base query results.</p>"
270319
}
271320
},
321+
"Identifier": {
322+
"base": null,
323+
"refs": {
324+
"ByteContentDoc$identifier": "<p>The file name of the document contained in the wrapper object.</p>"
325+
}
326+
},
272327
"InferenceConfiguration": {
273328
"base": "<p>Specifications about the inference parameters that were provided alongside the prompt. These are specified in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html\">PromptOverrideConfiguration</a> object that was set when the agent was created or updated. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\">Inference parameters for foundation models</a>.</p>",
274329
"refs": {
@@ -557,6 +612,7 @@
557612
"PromptTemplate": {
558613
"base": "<p>Contains the template for the prompt that's sent to the model for response generation. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html#kb-test-config-sysprompt\">Knowledge base prompt templates</a>.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax\">RetrieveAndGenerate request</a> – in the <code>filter</code> field</p> </li> </ul>",
559614
"refs": {
615+
"ExternalSourcesGenerationConfiguration$promptTemplate": "<p>Contain the textPromptTemplate string for the external source wrapper object.</p>",
560616
"GenerationConfiguration$promptTemplate": "<p>Contains the template for the prompt that's sent to the model for response generation.</p>"
561617
}
562618
},
@@ -769,6 +825,18 @@
769825
"ResponseStream$returnControl": "<p>Contains the parameters and information that the agent elicited from the customer to carry out an action. This information is returned to the system and can be used in your own setup for fulfilling the action.</p>"
770826
}
771827
},
828+
"S3ObjectDoc": {
829+
"base": "<p>The unique wrapper object of the document from the S3 location.</p>",
830+
"refs": {
831+
"ExternalSource$s3Location": "<p>The S3 location of the external source wrapper object.</p>"
832+
}
833+
},
834+
"S3Uri": {
835+
"base": null,
836+
"refs": {
837+
"S3ObjectDoc$uri": "<p>The file location of the S3 wrapper object.</p>"
838+
}
839+
},
772840
"SearchType": {
773841
"base": null,
774842
"refs": {

0 commit comments

Comments
 (0)