Skip to content

Commit

Permalink
Release v1.51.27 (2024-04-23) (#5240)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aws-sdk-go-automation authored Apr 23, 2024
1 parent 2c0e732 commit d28620b
Show file tree
Hide file tree
Showing 38 changed files with 12,084 additions and 2,505 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
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

Release v1.51.26 (2024-04-22)
===

Expand Down
13 changes: 13 additions & 0 deletions aws/endpoints/defaults.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aws/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"

// SDKVersion is the version of this SDK
const SDKVersion = "1.51.26"
const SDKVersion = "1.51.27"
116 changes: 115 additions & 1 deletion models/apis/bedrock-agent-runtime/2023-07-26/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,31 @@
"box": true,
"type": "boolean"
},
"ByteContentBlob": {
"max": 10485760,
"min": 1,
"sensitive": true,
"type": "blob"
},
"ByteContentDoc": {
"members": {
"contentType": {
"shape": "ContentType"
},
"data": {
"shape": "ByteContentBlob"
},
"identifier": {
"shape": "Identifier"
}
},
"required": [
"contentType",
"data",
"identifier"
],
"type": "structure"
},
"Citation": {
"members": {
"generatedResponsePart": {
Expand Down Expand Up @@ -383,6 +408,10 @@
"shape": "Parameters"
}
},
"ContentType": {
"pattern": "[a-z]{1,20}/.{1,20}",
"type": "string"
},
"CreationMode": {
"enum": [
"DEFAULT",
Expand Down Expand Up @@ -410,6 +439,64 @@
"box": true,
"type": "double"
},
"ExternalSource": {
"members": {
"byteContent": {
"shape": "ByteContentDoc"
},
"s3Location": {
"shape": "S3ObjectDoc"
},
"sourceType": {
"shape": "ExternalSourceType"
}
},
"required": [
"sourceType"
],
"type": "structure"
},
"ExternalSourceType": {
"enum": [
"S3",
"BYTE_CONTENT"
],
"type": "string"
},
"ExternalSources": {
"max": 1,
"member": {
"shape": "ExternalSource"
},
"min": 1,
"type": "list"
},
"ExternalSourcesGenerationConfiguration": {
"members": {
"promptTemplate": {
"shape": "PromptTemplate"
}
},
"type": "structure"
},
"ExternalSourcesRetrieveAndGenerateConfiguration": {
"members": {
"generationConfiguration": {
"shape": "ExternalSourcesGenerationConfiguration"
},
"modelArn": {
"shape": "BedrockModelArn"
},
"sources": {
"shape": "ExternalSources"
}
},
"required": [
"modelArn",
"sources"
],
"type": "structure"
},
"FailureReasonString": {
"sensitive": true,
"type": "string"
Expand Down Expand Up @@ -520,6 +607,12 @@
},
"type": "structure"
},
"Identifier": {
"max": 1024,
"min": 1,
"sensitive": true,
"type": "string"
},
"InferenceConfiguration": {
"members": {
"maximumLength": {
Expand Down Expand Up @@ -1237,6 +1330,9 @@
},
"RetrieveAndGenerateConfiguration": {
"members": {
"externalSourcesConfiguration": {
"shape": "ExternalSourcesRetrieveAndGenerateConfiguration"
},
"knowledgeBaseConfiguration": {
"shape": "KnowledgeBaseRetrieveAndGenerateConfiguration"
},
Expand Down Expand Up @@ -1329,7 +1425,8 @@
},
"RetrieveAndGenerateType": {
"enum": [
"KNOWLEDGE_BASE"
"KNOWLEDGE_BASE",
"EXTERNAL_SOURCES"
],
"type": "string"
},
Expand Down Expand Up @@ -1408,6 +1505,23 @@
"sensitive": true,
"type": "structure"
},
"S3ObjectDoc": {
"members": {
"uri": {
"shape": "S3Uri"
}
},
"required": [
"uri"
],
"type": "structure"
},
"S3Uri": {
"max": 1024,
"min": 1,
"pattern": "^s3://[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]/.{1,1024}$",
"type": "string"
},
"SearchType": {
"enum": [
"HYBRID",
Expand Down
68 changes: 68 additions & 0 deletions models/apis/bedrock-agent-runtime/2023-07-26/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
"BedrockModelArn": {
"base": null,
"refs": {
"ExternalSourcesRetrieveAndGenerateConfiguration$modelArn": "<p>The modelArn used with the external source wrapper object in the retrieveAndGenerate function.</p>",
"KnowledgeBaseRetrieveAndGenerateConfiguration$modelArn": "<p>The ARN of the foundation model used to generate a response.</p>"
}
},
Expand All @@ -127,6 +128,18 @@
"PreProcessingParsedResponse$isValid": "<p>Whether the user input is valid or not. If <code>false</code>, the agent doesn't proceed to orchestration.</p>"
}
},
"ByteContentBlob": {
"base": null,
"refs": {
"ByteContentDoc$data": "<p>The byte value of the file to upload, encoded as a Base-64 string.</p>"
}
},
"ByteContentDoc": {
"base": "<p>This property contains the document to chat with, along with its attributes.</p>",
"refs": {
"ExternalSource$byteContent": "<p>The identifier, contentType, and data of the external source wrapper object.</p>"
}
},
"Citation": {
"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>",
"refs": {
Expand Down Expand Up @@ -158,6 +171,12 @@
"RequestBody$content": "<p>The content in the request body.</p>"
}
},
"ContentType": {
"base": null,
"refs": {
"ByteContentDoc$contentType": "<p>The MIME type of the document contained in the wrapper object.</p>"
}
},
"CreationMode": {
"base": null,
"refs": {
Expand All @@ -177,6 +196,36 @@
"KnowledgeBaseRetrievalResult$score": "<p>The level of relevance of the result to the query.</p>"
}
},
"ExternalSource": {
"base": "<p>The unique external source of the content contained in the wrapper object.</p>",
"refs": {
"ExternalSources$member": null
}
},
"ExternalSourceType": {
"base": null,
"refs": {
"ExternalSource$sourceType": "<p>The source type of the external source wrapper object.</p>"
}
},
"ExternalSources": {
"base": null,
"refs": {
"ExternalSourcesRetrieveAndGenerateConfiguration$sources": "<p>The document used with the external source wrapper object in the retrieveAndGenerate function.</p>"
}
},
"ExternalSourcesGenerationConfiguration": {
"base": "<p>Contains the generation configuration of the external source wrapper object.</p>",
"refs": {
"ExternalSourcesRetrieveAndGenerateConfiguration$generationConfiguration": "<p>The prompt used with the external source wrapper object with the retrieveAndGenerate function.</p>"
}
},
"ExternalSourcesRetrieveAndGenerateConfiguration": {
"base": "<p>The configurations of the external source wrapper object in the retrieveAndGenerate function.</p>",
"refs": {
"RetrieveAndGenerateConfiguration$externalSourcesConfiguration": "<p>The configuration used with the external source wrapper object in the retrieveAndGenerate function.</p>"
}
},
"FailureReasonString": {
"base": null,
"refs": {
Expand Down Expand Up @@ -269,6 +318,12 @@
"KnowledgeBaseRetrieveAndGenerateConfiguration$generationConfiguration": "<p>Contains configurations for response generation based on the knowwledge base query results.</p>"
}
},
"Identifier": {
"base": null,
"refs": {
"ByteContentDoc$identifier": "<p>The file name of the document contained in the wrapper object.</p>"
}
},
"InferenceConfiguration": {
"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>",
"refs": {
Expand Down Expand Up @@ -557,6 +612,7 @@
"PromptTemplate": {
"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>",
"refs": {
"ExternalSourcesGenerationConfiguration$promptTemplate": "<p>Contain the textPromptTemplate string for the external source wrapper object.</p>",
"GenerationConfiguration$promptTemplate": "<p>Contains the template for the prompt that's sent to the model for response generation.</p>"
}
},
Expand Down Expand Up @@ -769,6 +825,18 @@
"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>"
}
},
"S3ObjectDoc": {
"base": "<p>The unique wrapper object of the document from the S3 location.</p>",
"refs": {
"ExternalSource$s3Location": "<p>The S3 location of the external source wrapper object.</p>"
}
},
"S3Uri": {
"base": null,
"refs": {
"S3ObjectDoc$uri": "<p>The file location of the S3 wrapper object.</p>"
}
},
"SearchType": {
"base": null,
"refs": {
Expand Down
Loading

0 comments on commit d28620b

Please sign in to comment.