Skip to content

Commit

Permalink
Update models for release
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-php-automation committed Sep 4, 2024
1 parent 92e5d5f commit 221ddfd
Show file tree
Hide file tree
Showing 37 changed files with 837 additions and 77 deletions.
32 changes: 32 additions & 0 deletions .changes/3.321.4
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[
{
"type": "enhancement",
"category": "finspace",
"description": "Updates Finspace documentation for smaller instances."
},
{
"type": "api-change",
"category": "BedrockAgent",
"description": "Add support for user metadata inside PromptVariant."
},
{
"type": "api-change",
"category": "AppSync",
"description": "Adds new logging levels (INFO and DEBUG) for additional log output control"
},
{
"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": "S3Control",
"description": "Amazon Simple Storage Service \/S3 Access Grants \/ Features : This release launches new Access Grants API - ListCallerAccessGrants."
},
{
"type": "api-change",
"category": "CloudWatchLogs",
"description": "Update to support new APIs for delivery of logs from AWS services."
}
]
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# CHANGELOG

## next release

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

## 3.321.3 - 2024-09-03

* `Aws\Connect` - Release ReplicaConfiguration as part of DescribeInstance
Expand Down
4 changes: 4 additions & 0 deletions src/CloudWatchLogs/CloudWatchLogsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
* @method \GuzzleHttp\Promise\Promise deleteSubscriptionFilterAsync(array $args = [])
* @method \Aws\Result describeAccountPolicies(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeAccountPoliciesAsync(array $args = [])
* @method \Aws\Result describeConfigurationTemplates(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeConfigurationTemplatesAsync(array $args = [])
* @method \Aws\Result describeDeliveries(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeDeliveriesAsync(array $args = [])
* @method \Aws\Result describeDeliveryDestinations(array $args = [])
Expand Down Expand Up @@ -154,6 +156,8 @@
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
* @method \Aws\Result updateAnomaly(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateAnomalyAsync(array $args = [])
* @method \Aws\Result updateDeliveryConfiguration(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateDeliveryConfigurationAsync(array $args = [])
* @method \Aws\Result updateLogAnomalyDetector(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateLogAnomalyDetectorAsync(array $args = [])
*/
Expand Down
4 changes: 4 additions & 0 deletions src/FIS/FISClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* @method \GuzzleHttp\Promise\Promise getExperimentTargetAccountConfigurationAsync(array $args = [])
* @method \Aws\Result getExperimentTemplate(array $args = [])
* @method \GuzzleHttp\Promise\Promise getExperimentTemplateAsync(array $args = [])
* @method \Aws\Result getSafetyLever(array $args = [])
* @method \GuzzleHttp\Promise\Promise getSafetyLeverAsync(array $args = [])
* @method \Aws\Result getTargetAccountConfiguration(array $args = [])
* @method \GuzzleHttp\Promise\Promise getTargetAccountConfigurationAsync(array $args = [])
* @method \Aws\Result getTargetResourceType(array $args = [])
Expand Down Expand Up @@ -51,6 +53,8 @@
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
* @method \Aws\Result updateExperimentTemplate(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateExperimentTemplateAsync(array $args = [])
* @method \Aws\Result updateSafetyLeverState(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateSafetyLeverStateAsync(array $args = [])
* @method \Aws\Result updateTargetAccountConfiguration(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateTargetAccountConfigurationAsync(array $args = [])
*/
Expand Down
2 changes: 2 additions & 0 deletions src/S3Control/S3ControlClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@
* @method \GuzzleHttp\Promise\Promise listAccessPointsAsync(array $args = [])
* @method \Aws\Result listAccessPointsForObjectLambda(array $args = [])
* @method \GuzzleHttp\Promise\Promise listAccessPointsForObjectLambdaAsync(array $args = [])
* @method \Aws\Result listCallerAccessGrants(array $args = [])
* @method \GuzzleHttp\Promise\Promise listCallerAccessGrantsAsync(array $args = [])
* @method \Aws\Result listJobs(array $args = [])
* @method \GuzzleHttp\Promise\Promise listJobsAsync(array $args = [])
* @method \Aws\Result listMultiRegionAccessPoints(array $args = [])
Expand Down
4 changes: 3 additions & 1 deletion src/data/appsync/2017-07-25/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2124,7 +2124,9 @@
"enum":[
"NONE",
"ERROR",
"ALL"
"ALL",
"INFO",
"DEBUG"
]
},
"FlushApiCacheRequest":{
Expand Down
2 changes: 1 addition & 1 deletion src/data/appsync/2017-07-25/api-2.json.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/data/appsync/2017-07-25/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@
"FieldLogLevel": {
"base": null,
"refs": {
"LogConfig$fieldLogLevel": "<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>"
"LogConfig$fieldLogLevel": "<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>"
}
},
"FlushApiCacheRequest": {
Expand Down
2 changes: 1 addition & 1 deletion src/data/appsync/2017-07-25/docs-2.json.php

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions src/data/bedrock-agent/2023-06-05/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -4453,6 +4453,39 @@
"min":0,
"sensitive":true
},
"PromptMetadataEntry":{
"type":"structure",
"required":[
"key",
"value"
],
"members":{
"key":{"shape":"PromptMetadataKey"},
"value":{"shape":"PromptMetadataValue"}
},
"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 @@ -4543,6 +4576,7 @@
],
"members":{
"inferenceConfiguration":{"shape":"PromptInferenceConfiguration"},
"metadata":{"shape":"PromptMetadataList"},
"modelId":{"shape":"PromptModelIdentifier"},
"name":{"shape":"PromptVariantName"},
"templateConfiguration":{"shape":"PromptTemplateConfiguration"},
Expand Down
2 changes: 1 addition & 1 deletion src/data/bedrock-agent/2023-06-05/api-2.json.php

Large diffs are not rendered by default.

28 changes: 26 additions & 2 deletions src/data/bedrock-agent/2023-06-05/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"service": "<p>Describes the API operations for creating and managing Amazon Bedrock agents.</p>",
"operations": {
"AssociateAgentKnowledgeBase": "<p>Associates a knowledge base with an agent. If a knowledge base is associated and its <code>indexState</code> is set to <code>Enabled</code>, the agent queries the knowledge base for information to augment its response to the user.</p>",
"CreateAgent": "<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>",
"CreateAgent": "<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>",
"CreateAgentActionGroup": "<p>Creates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them.</p> <p>To allow your agent to request the user for additional information when trying to complete a task, add an action group with the <code>parentActionGroupSignature</code> field set to <code>AMAZON.UserInput</code>. </p> <p>To allow your agent to generate, run, and troubleshoot code when trying to complete a task, add an action group with the <code>parentActionGroupSignature</code> field set to <code>AMAZON.CodeInterpreter</code>. </p> <p>You must leave the <code>description</code>, <code>apiSchema</code>, and <code>actionGroupExecutor</code> fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html\">Observation</a> reprompting the user for more information.</p>",
"CreateAgentAlias": "<p>Creates an alias of an agent that can be used to deploy the agent.</p>",
"CreateDataSource": "<p>Creates a data source connector for a knowledge base.</p> <important> <p>You can't change the <code>chunkingConfiguration</code> after you create the data source connector.</p> </important>",
Expand Down Expand Up @@ -2217,7 +2217,7 @@
}
},
"ParsingConfiguration": {
"base": "<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>",
"base": "<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>",
"refs": {
"VectorIngestionConfiguration$parsingConfiguration": "<p>A custom parser for data source documents.</p>"
}
Expand Down Expand Up @@ -2426,6 +2426,30 @@
"TextPromptTemplateConfiguration$inputVariables": "<p>An array of the variables in the prompt template.</p>"
}
},
"PromptMetadataEntry": {
"base": "<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>",
"refs": {
"PromptMetadataList$member": null
}
},
"PromptMetadataKey": {
"base": null,
"refs": {
"PromptMetadataEntry$key": "<p>The key of a metadata tag for a prompt variant.</p>"
}
},
"PromptMetadataList": {
"base": null,
"refs": {
"PromptVariant$metadata": "<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>"
}
},
"PromptMetadataValue": {
"base": null,
"refs": {
"PromptMetadataEntry$value": "<p>The value of a metadata tag for a prompt variant.</p>"
}
},
"PromptModelIdentifier": {
"base": null,
"refs": {
Expand Down
2 changes: 1 addition & 1 deletion src/data/bedrock-agent/2023-06-05/docs-2.json.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/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
2 changes: 1 addition & 1 deletion src/data/endpoints.json.php

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/data/finspace/2021-03-12/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
"endpointPrefix":"finspace",
"jsonVersion":"1.1",
"protocol":"rest-json",
"protocols":["rest-json"],
"serviceAbbreviation":"finspace",
"serviceFullName":"FinSpace User Environment Management service",
"serviceId":"finspace",
"signatureVersion":"v4",
"signingName":"finspace",
"uid":"finspace-2021-03-12"
"uid":"finspace-2021-03-12",
"auth":["aws.auth#sigv4"]
},
"operations":{
"CreateEnvironment":{
Expand Down
2 changes: 1 addition & 1 deletion src/data/finspace/2021-03-12/api-2.json.php

Large diffs are not rendered by default.

Loading

0 comments on commit 221ddfd

Please sign in to comment.