Skip to content

Commit 09b57a6

Browse files
author
awstools
committed
Updates SDK to v2.1689.0
1 parent f083a4f commit 09b57a6

28 files changed

+1840
-290
lines changed

.changes/2.1689.0.json

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[
2+
{
3+
"type": "feature",
4+
"category": "AppSync",
5+
"description": "Adds new logging levels (INFO and DEBUG) for additional log output control"
6+
},
7+
{
8+
"type": "feature",
9+
"category": "BedrockAgent",
10+
"description": "Add support for user metadata inside PromptVariant."
11+
},
12+
{
13+
"type": "feature",
14+
"category": "CloudWatchLogs",
15+
"description": "Update to support new APIs for delivery of logs from AWS services."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Fis",
20+
"description": "This release adds safety levers, a new mechanism to stop all running experiments and prevent new experiments from starting."
21+
},
22+
{
23+
"type": "feature",
24+
"category": "S3Control",
25+
"description": "Amazon Simple Storage Service /S3 Access Grants / Features : This release launches new Access Grants API - ListCallerAccessGrants."
26+
}
27+
]

CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# Changelog for AWS SDK for JavaScript
2-
<!--LATEST=2.1688.0-->
2+
<!--LATEST=2.1689.0-->
33
<!--ENTRYINSERT-->
44

5+
## 2.1689.0
6+
* feature: AppSync: Adds new logging levels (INFO and DEBUG) for additional log output control
7+
* feature: BedrockAgent: Add support for user metadata inside PromptVariant.
8+
* feature: CloudWatchLogs: Update to support new APIs for delivery of logs from AWS services.
9+
* feature: Fis: This release adds safety levers, a new mechanism to stop all running experiments and prevent new experiments from starting.
10+
* feature: S3Control: Amazon Simple Storage Service /S3 Access Grants / Features : This release launches new Access Grants API - ListCallerAccessGrants.
11+
512
## 2.1688.0
613
* feature: Connect: Release ReplicaConfiguration as part of DescribeInstance
714
* 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.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
6464
To use the SDK in the browser, simply add the following script tag to your
6565
HTML pages:
6666

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

6969
You can also build a custom browser SDK with your specified set of AWS services.
7070
This can allow you to reduce the SDK's size, specify different API versions of

apis/appsync-2017-07-25.normal.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -3649,7 +3649,9 @@
36493649
"enum": [
36503650
"NONE",
36513651
"ERROR",
3652-
"ALL"
3652+
"ALL",
3653+
"INFO",
3654+
"DEBUG"
36533655
]
36543656
},
36553657
"FlushApiCacheRequest": {
@@ -4768,7 +4770,7 @@
47684770
"members": {
47694771
"fieldLogLevel": {
47704772
"shape": "FieldLogLevel",
4771-
"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>"
4773+
"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>"
47724774
},
47734775
"cloudWatchLogsRoleArn": {
47744776
"shape": "String",

apis/bedrock-agent-2023-06-05.min.json

+28-6
Original file line numberDiff line numberDiff line change
@@ -1451,7 +1451,7 @@
14511451
],
14521452
"members": {
14531453
"ingestionJob": {
1454-
"shape": "S9g"
1454+
"shape": "S9k"
14551455
}
14561456
}
14571457
}
@@ -2140,7 +2140,7 @@
21402140
"shape": "S9"
21412141
},
21422142
"statistics": {
2143-
"shape": "S9h"
2143+
"shape": "S9l"
21442144
},
21452145
"status": {},
21462146
"updatedAt": {
@@ -2384,7 +2384,7 @@
23842384
],
23852385
"members": {
23862386
"ingestionJob": {
2387-
"shape": "S9g"
2387+
"shape": "S9k"
23882388
}
23892389
}
23902390
},
@@ -4233,6 +4233,28 @@
42334233
"inferenceConfiguration": {
42344234
"shape": "S5i"
42354235
},
4236+
"metadata": {
4237+
"type": "list",
4238+
"member": {
4239+
"type": "structure",
4240+
"required": [
4241+
"key",
4242+
"value"
4243+
],
4244+
"members": {
4245+
"key": {
4246+
"type": "string",
4247+
"sensitive": true
4248+
},
4249+
"value": {
4250+
"type": "string",
4251+
"sensitive": true
4252+
}
4253+
},
4254+
"sensitive": true
4255+
},
4256+
"sensitive": true
4257+
},
42364258
"modelId": {},
42374259
"name": {},
42384260
"templateConfiguration": {
@@ -4244,7 +4266,7 @@
42444266
},
42454267
"sensitive": true
42464268
},
4247-
"S9g": {
4269+
"S9k": {
42484270
"type": "structure",
42494271
"required": [
42504272
"dataSourceId",
@@ -4266,15 +4288,15 @@
42664288
"shape": "S9"
42674289
},
42684290
"statistics": {
4269-
"shape": "S9h"
4291+
"shape": "S9l"
42704292
},
42714293
"status": {},
42724294
"updatedAt": {
42734295
"shape": "S9"
42744296
}
42754297
}
42764298
},
4277-
"S9h": {
4299+
"S9l": {
42784300
"type": "structure",
42794301
"members": {
42804302
"numberOfDocumentsDeleted": {

apis/bedrock-agent-2023-06-05.normal.json

+48-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"shape": "ServiceQuotaExceededException"
8585
}
8686
],
87-
"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>",
87+
"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>",
8888
"idempotent": true
8989
},
9090
"CreateAgentActionGroup": {
@@ -7150,7 +7150,7 @@
71507150
"documentation": "<p>The parsing strategy for the data source.</p>"
71517151
}
71527152
},
7153-
"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>"
7153+
"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>"
71547154
},
71557155
"ParsingPrompt": {
71567156
"type": "structure",
@@ -7512,6 +7512,48 @@
75127512
"min": 0,
75137513
"sensitive": true
75147514
},
7515+
"PromptMetadataEntry": {
7516+
"type": "structure",
7517+
"required": [
7518+
"key",
7519+
"value"
7520+
],
7521+
"members": {
7522+
"key": {
7523+
"shape": "PromptMetadataKey",
7524+
"documentation": "<p>The key of a metadata tag for a prompt variant.</p>"
7525+
},
7526+
"value": {
7527+
"shape": "PromptMetadataValue",
7528+
"documentation": "<p>The value of a metadata tag for a prompt variant.</p>"
7529+
}
7530+
},
7531+
"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>",
7532+
"sensitive": true
7533+
},
7534+
"PromptMetadataKey": {
7535+
"type": "string",
7536+
"max": 128,
7537+
"min": 1,
7538+
"pattern": "^[a-zA-Z0-9\\s._:/=+@-]*$",
7539+
"sensitive": true
7540+
},
7541+
"PromptMetadataList": {
7542+
"type": "list",
7543+
"member": {
7544+
"shape": "PromptMetadataEntry"
7545+
},
7546+
"max": 50,
7547+
"min": 0,
7548+
"sensitive": true
7549+
},
7550+
"PromptMetadataValue": {
7551+
"type": "string",
7552+
"max": 1024,
7553+
"min": 0,
7554+
"pattern": "^[a-zA-Z0-9\\s._:/=+@-]*$",
7555+
"sensitive": true
7556+
},
75157557
"PromptModelIdentifier": {
75167558
"type": "string",
75177559
"max": 2048,
@@ -7660,6 +7702,10 @@
76607702
"shape": "PromptInferenceConfiguration",
76617703
"documentation": "<p>Contains inference configurations for the prompt variant.</p>"
76627704
},
7705+
"metadata": {
7706+
"shape": "PromptMetadataList",
7707+
"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>"
7708+
},
76637709
"modelId": {
76647710
"shape": "PromptModelIdentifier",
76657711
"documentation": "<p>The unique identifier of the model with which to run inference on the prompt.</p>"

apis/finspace-2021-03-12.min.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,18 @@
55
"endpointPrefix": "finspace",
66
"jsonVersion": "1.1",
77
"protocol": "rest-json",
8+
"protocols": [
9+
"rest-json"
10+
],
811
"serviceAbbreviation": "finspace",
912
"serviceFullName": "FinSpace User Environment Management service",
1013
"serviceId": "finspace",
1114
"signatureVersion": "v4",
1215
"signingName": "finspace",
13-
"uid": "finspace-2021-03-12"
16+
"uid": "finspace-2021-03-12",
17+
"auth": [
18+
"aws.auth#sigv4"
19+
]
1420
},
1521
"operations": {
1622
"CreateEnvironment": {

0 commit comments

Comments
 (0)