Skip to content

Commit

Permalink
Updates SDK to v2.1689.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Sep 4, 2024
1 parent f083a4f commit 09b57a6
Show file tree
Hide file tree
Showing 28 changed files with 1,840 additions and 290 deletions.
27 changes: 27 additions & 0 deletions .changes/2.1689.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"type": "feature",
"category": "AppSync",
"description": "Adds new logging levels (INFO and DEBUG) for additional log output control"
},
{
"type": "feature",
"category": "BedrockAgent",
"description": "Add support for user metadata inside PromptVariant."
},
{
"type": "feature",
"category": "CloudWatchLogs",
"description": "Update to support new APIs for delivery of logs from AWS services."
},
{
"type": "feature",
"category": "Fis",
"description": "This release adds safety levers, a new mechanism to stop all running experiments and prevent new experiments from starting."
},
{
"type": "feature",
"category": "S3Control",
"description": "Amazon Simple Storage Service /S3 Access Grants / Features : This release launches new Access Grants API - ListCallerAccessGrants."
}
]
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1688.0-->
<!--LATEST=2.1689.0-->
<!--ENTRYINSERT-->

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

## 2.1688.0
* feature: Connect: Release ReplicaConfiguration as part of DescribeInstance
* feature: DataZone: Add support to let data publisher specify a subset of the data asset that a subscriber will have access to based on the asset filters provided, when accepting a subscription request.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1688.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1689.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
6 changes: 4 additions & 2 deletions apis/appsync-2017-07-25.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -3649,7 +3649,9 @@
"enum": [
"NONE",
"ERROR",
"ALL"
"ALL",
"INFO",
"DEBUG"
]
},
"FlushApiCacheRequest": {
Expand Down Expand Up @@ -4768,7 +4770,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
34 changes: 28 additions & 6 deletions apis/bedrock-agent-2023-06-05.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -1451,7 +1451,7 @@
],
"members": {
"ingestionJob": {
"shape": "S9g"
"shape": "S9k"
}
}
}
Expand Down Expand Up @@ -2140,7 +2140,7 @@
"shape": "S9"
},
"statistics": {
"shape": "S9h"
"shape": "S9l"
},
"status": {},
"updatedAt": {
Expand Down Expand Up @@ -2384,7 +2384,7 @@
],
"members": {
"ingestionJob": {
"shape": "S9g"
"shape": "S9k"
}
}
},
Expand Down Expand Up @@ -4233,6 +4233,28 @@
"inferenceConfiguration": {
"shape": "S5i"
},
"metadata": {
"type": "list",
"member": {
"type": "structure",
"required": [
"key",
"value"
],
"members": {
"key": {
"type": "string",
"sensitive": true
},
"value": {
"type": "string",
"sensitive": true
}
},
"sensitive": true
},
"sensitive": true
},
"modelId": {},
"name": {},
"templateConfiguration": {
Expand All @@ -4244,7 +4266,7 @@
},
"sensitive": true
},
"S9g": {
"S9k": {
"type": "structure",
"required": [
"dataSourceId",
Expand All @@ -4266,15 +4288,15 @@
"shape": "S9"
},
"statistics": {
"shape": "S9h"
"shape": "S9l"
},
"status": {},
"updatedAt": {
"shape": "S9"
}
}
},
"S9h": {
"S9l": {
"type": "structure",
"members": {
"numberOfDocumentsDeleted": {
Expand Down
50 changes: 48 additions & 2 deletions apis/bedrock-agent-2023-06-05.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"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 @@ -7150,7 +7150,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 @@ -7512,6 +7512,48 @@
"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 @@ -7660,6 +7702,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
8 changes: 7 additions & 1 deletion apis/finspace-2021-03-12.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@
"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
Loading

0 comments on commit 09b57a6

Please sign in to comment.