Skip to content

Commit

Permalink
Merge branch 'release-1.35.12'
Browse files Browse the repository at this point in the history
* release-1.35.12:
  Bumping version to 1.35.12
  Update partitions file
  Update endpoints model
  Update to latest models
  • Loading branch information
aws-sdk-python-automation committed Sep 4, 2024
2 parents 297dbab + a38181d commit 1f06bf0
Show file tree
Hide file tree
Showing 14 changed files with 709 additions and 54 deletions.
32 changes: 32 additions & 0 deletions .changes/1.35.12.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[
{
"category": "``appsync``",
"description": "Adds new logging levels (INFO and DEBUG) for additional log output control",
"type": "api-change"
},
{
"category": "``bedrock-agent``",
"description": "Add support for user metadata inside PromptVariant.",
"type": "api-change"
},
{
"category": "``finspace``",
"description": "Updates Finspace documentation for smaller instances.",
"type": "api-change"
},
{
"category": "``fis``",
"description": "This release adds safety levers, a new mechanism to stop all running experiments and prevent new experiments from starting.",
"type": "api-change"
},
{
"category": "``logs``",
"description": "Update to support new APIs for delivery of logs from AWS services.",
"type": "api-change"
},
{
"category": "``s3control``",
"description": "Amazon Simple Storage Service /S3 Access Grants / Features : This release launches new Access Grants API - ListCallerAccessGrants.",
"type": "api-change"
}
]
11 changes: 11 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
CHANGELOG
=========

1.35.12
=======

* api-change:``appsync``: Adds new logging levels (INFO and DEBUG) for additional log output control
* api-change:``bedrock-agent``: Add support for user metadata inside PromptVariant.
* api-change:``finspace``: Updates Finspace documentation for smaller instances.
* api-change:``fis``: This release adds safety levers, a new mechanism to stop all running experiments and prevent new experiments from starting.
* api-change:``logs``: Update to support new APIs for delivery of logs from AWS services.
* api-change:``s3control``: Amazon Simple Storage Service /S3 Access Grants / Features : This release launches new Access Grants API - ListCallerAccessGrants.


1.35.11
=======

Expand Down
2 changes: 1 addition & 1 deletion botocore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import os
import re

__version__ = '1.35.11'
__version__ = '1.35.12'


class NullHandler(logging.Handler):
Expand Down
6 changes: 4 additions & 2 deletions botocore/data/appsync/2017-07-25/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2797,7 +2797,9 @@
"enum":[
"NONE",
"ERROR",
"ALL"
"ALL",
"INFO",
"DEBUG"
]
},
"FlushApiCacheRequest":{
Expand Down Expand Up @@ -3905,7 +3907,7 @@
"members":{
"fieldLogLevel":{
"shape":"FieldLogLevel",
"documentation":"<p>The field logging level. Values can be NONE, ERROR, or ALL.</p> <ul> <li> <p> <b>NONE</b>: No field-level logs are captured.</p> </li> <li> <p> <b>ERROR</b>: Logs the following information only for the fields that are in error:</p> <ul> <li> <p>The error section in the server response.</p> </li> <li> <p>Field-level errors.</p> </li> <li> <p>The generated request/response functions that got resolved for error fields.</p> </li> </ul> </li> <li> <p> <b>ALL</b>: The following information is logged for all fields in the query:</p> <ul> <li> <p>Field-level tracing information.</p> </li> <li> <p>The generated request/response functions that got resolved for each field.</p> </li> </ul> </li> </ul>"
"documentation":"<p>The field logging level. Values can be NONE, ERROR, INFO, DEBUG, or ALL.</p> <ul> <li> <p> <b>NONE</b>: No field-level logs are captured.</p> </li> <li> <p> <b>ERROR</b>: Logs the following information <b>only</b> for the fields that are in the error category:</p> <ul> <li> <p>The error section in the server response.</p> </li> <li> <p>Field-level errors.</p> </li> <li> <p>The generated request/response functions that got resolved for error fields.</p> </li> </ul> </li> <li> <p> <b>INFO</b>: Logs the following information <b>only</b> for the fields that are in the info and error categories:</p> <ul> <li> <p>Info-level messages.</p> </li> <li> <p>The user messages sent through <code>$util.log.info</code> and <code>console.log</code>.</p> </li> <li> <p>Field-level tracing and mapping logs are not shown.</p> </li> </ul> </li> <li> <p> <b>DEBUG</b>: Logs the following information <b>only</b> for the fields that are in the debug, info, and error categories:</p> <ul> <li> <p>Debug-level messages.</p> </li> <li> <p>The user messages sent through <code>$util.log.info</code>, <code>$util.log.debug</code>, <code>console.log</code>, and <code>console.debug</code>.</p> </li> <li> <p>Field-level tracing and mapping logs are not shown.</p> </li> </ul> </li> <li> <p> <b>ALL</b>: The following information is logged for all fields in the query:</p> <ul> <li> <p>Field-level tracing information.</p> </li> <li> <p>The generated request/response functions that were resolved for each field.</p> </li> </ul> </li> </ul>"
},
"cloudWatchLogsRoleArn":{
"shape":"String",
Expand Down
48 changes: 46 additions & 2 deletions botocore/data/bedrock-agent/2023-06-05/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
{"shape":"ConflictException"},
{"shape":"ServiceQuotaExceededException"}
],
"documentation":"<p>Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.</p> <ul> <li> <p>Specify the following fields for security purposes.</p> <ul> <li> <p> <code>agentResourceRoleArn</code> – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent.</p> </li> <li> <p>(Optional) <code>customerEncryptionKeyArn</code> – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.</p> </li> <li> <p>(Optional) <code>idleSessionTTLinSeconds</code> – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent <code>InvokeAgent</code> request begins a new session.</p> </li> </ul> </li> <li> <p>To enable your agent to retain conversational context across multiple sessions, include a <code>memoryConfiguration</code> object. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agents-configure-memory.html\">Configure memory</a>.</p> </li> <li> <p>To override the default prompt behavior for agent orchestration and to use advanced prompts, include a <code>promptOverrideConfiguration</code> object. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html\">Advanced prompts</a>.</p> </li> <li> <p>If you agent fails to be created, the response returns a list of <code>failureReasons</code> alongside a list of <code>recommendedActions</code> for you to troubleshoot.</p> </li> </ul>",
"documentation":"<p>Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.</p> <ul> <li> <p>Specify the following fields for security purposes.</p> <ul> <li> <p> <code>agentResourceRoleArn</code> – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent.</p> </li> <li> <p>(Optional) <code>customerEncryptionKeyArn</code> – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.</p> </li> <li> <p>(Optional) <code>idleSessionTTLinSeconds</code> – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent <code>InvokeAgent</code> request begins a new session.</p> </li> </ul> </li> <li> <p>To enable your agent to retain conversational context across multiple sessions, include a <code>memoryConfiguration</code> object. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agents-configure-memory.html\">Configure memory</a>.</p> </li> <li> <p>To override the default prompt behavior for agent orchestration and to use advanced prompts, include a <code>promptOverrideConfiguration</code> object. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html\">Advanced prompts</a>.</p> </li> <li> <p>If your agent fails to be created, the response returns a list of <code>failureReasons</code> alongside a list of <code>recommendedActions</code> for you to troubleshoot.</p> </li> <li> <p>The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.</p> </li> </ul>",
"idempotent":true
},
"CreateAgentActionGroup":{
Expand Down Expand Up @@ -6042,7 +6042,7 @@
"documentation":"<p>The parsing strategy for the data source.</p>"
}
},
"documentation":"<p>Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page.</p> <p>To use a model to parse PDF documents, set the parsing strategy to <code>BEDROCK_FOUNDATION_MODEL</code> and specify the model to use by ARN. You can also override the default parsing prompt with instructions for how to interpret images and tables in your documents. The following models are supported.</p> <ul> <li> <p>Anthropic Claude 3 Sonnet - <code>anthropic.claude-3-sonnet-20240229-v1:0</code> </p> </li> <li> <p>Anthropic Claude 3 Haiku - <code>anthropic.claude-3-haiku-20240307-v1:0</code> </p> </li> </ul> <p>You can get the ARN of a model with the action. Standard model usage charges apply for the foundation model parsing strategy.</p>"
"documentation":"<p>Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page.</p> <p>To use a model to parse PDF documents, set the parsing strategy to <code>BEDROCK_FOUNDATION_MODEL</code> and specify the model to use by ARN. You can also override the default parsing prompt with instructions for how to interpret images and tables in your documents. The following models are supported.</p> <ul> <li> <p>Anthropic Claude 3 Sonnet - <code>anthropic.claude-3-sonnet-20240229-v1:0</code> </p> </li> <li> <p>Anthropic Claude 3 Haiku - <code>anthropic.claude-3-haiku-20240307-v1:0</code> </p> </li> </ul> <p>You can get the ARN of a model with the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListFoundationModels.html\">ListFoundationModels</a> action. Standard model usage charges apply for the foundation model parsing strategy.</p>"
},
"ParsingPrompt":{
"type":"structure",
Expand Down Expand Up @@ -6380,6 +6380,46 @@
"min":0,
"sensitive":true
},
"PromptMetadataEntry":{
"type":"structure",
"required":[
"key",
"value"
],
"members":{
"key":{
"shape":"PromptMetadataKey",
"documentation":"<p>The key of a metadata tag for a prompt variant.</p>"
},
"value":{
"shape":"PromptMetadataValue",
"documentation":"<p>The value of a metadata tag for a prompt variant.</p>"
}
},
"documentation":"<p>Contains a key-value pair that defines a metadata tag and value to attach to a prompt variant. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html\">Create a prompt using Prompt management</a>.</p>",
"sensitive":true
},
"PromptMetadataKey":{
"type":"string",
"max":128,
"min":1,
"pattern":"^[a-zA-Z0-9\\s._:/=+@-]*$",
"sensitive":true
},
"PromptMetadataList":{
"type":"list",
"member":{"shape":"PromptMetadataEntry"},
"max":50,
"min":0,
"sensitive":true
},
"PromptMetadataValue":{
"type":"string",
"max":1024,
"min":0,
"pattern":"^[a-zA-Z0-9\\s._:/=+@-]*$",
"sensitive":true
},
"PromptModelIdentifier":{
"type":"string",
"max":2048,
Expand Down Expand Up @@ -6522,6 +6562,10 @@
"shape":"PromptInferenceConfiguration",
"documentation":"<p>Contains inference configurations for the prompt variant.</p>"
},
"metadata":{
"shape":"PromptMetadataList",
"documentation":"<p>An array of objects, each containing a key-value pair that defines a metadata tag and value to attach to a prompt variant. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html\">Create a prompt using Prompt management</a>.</p>"
},
"modelId":{
"shape":"PromptModelIdentifier",
"documentation":"<p>The unique identifier of the model with which to run inference on the prompt.</p>"
Expand Down
2 changes: 1 addition & 1 deletion botocore/data/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dnsSuffix" : "amazonaws.com",
"partition" : "aws",
"partitionName" : "AWS Standard",
"regionRegex" : "^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$",
"regionRegex" : "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",
"regions" : {
"af-south-1" : {
"description" : "Africa (Cape Town)"
Expand Down
Loading

0 comments on commit 1f06bf0

Please sign in to comment.