Skip to content

Commit 203b2c6

Browse files
author
awstools
committedAug 29, 2024·
Updates SDK to v2.1686.0
1 parent ce146e7 commit 203b2c6

25 files changed

+825
-435
lines changed
 

‎.changes/2.1686.0.json

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[
2+
{
3+
"type": "feature",
4+
"category": "BedrockAgentRuntime",
5+
"description": "Lifting the maximum length on Bedrock KnowledgeBase RetrievalFilter array"
6+
},
7+
{
8+
"type": "feature",
9+
"category": "BedrockRuntime",
10+
"description": "Add support for imported-model in invokeModel and InvokeModelWithResponseStream."
11+
},
12+
{
13+
"type": "feature",
14+
"category": "Personalize",
15+
"description": "This releases ability to update automatic training scheduler for customer solutions"
16+
},
17+
{
18+
"type": "feature",
19+
"category": "QuickSight",
20+
"description": "Increased Character Limit for Dataset Calculation Field expressions"
21+
},
22+
{
23+
"type": "feature",
24+
"category": "StepFunctions",
25+
"description": "This release adds support for static analysis to ValidateStateMachineDefinition API, which can now return optional WARNING diagnostics for semantic errors on the definition of an Amazon States Language (ASL) state machine."
26+
},
27+
{
28+
"type": "feature",
29+
"category": "WAFV2",
30+
"description": "The minimum request rate for a rate-based rule is now 10. Before this, it was 100."
31+
}
32+
]

‎CHANGELOG.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
# Changelog for AWS SDK for JavaScript
2-
<!--LATEST=2.1685.0-->
2+
<!--LATEST=2.1686.0-->
33
<!--ENTRYINSERT-->
44

5+
## 2.1686.0
6+
* feature: BedrockAgentRuntime: Lifting the maximum length on Bedrock KnowledgeBase RetrievalFilter array
7+
* feature: BedrockRuntime: Add support for imported-model in invokeModel and InvokeModelWithResponseStream.
8+
* feature: Personalize: This releases ability to update automatic training scheduler for customer solutions
9+
* feature: QuickSight: Increased Character Limit for Dataset Calculation Field expressions
10+
* feature: StepFunctions: This release adds support for static analysis to ValidateStateMachineDefinition API, which can now return optional WARNING diagnostics for semantic errors on the definition of an Amazon States Language (ASL) state machine.
11+
* feature: WAFV2: The minimum request rate for a rate-based rule is now 10. Before this, it was 100.
12+
513
## 2.1685.0
614
* feature: AppConfig: This release adds support for deletion protection, which is a safety guardrail to prevent the unintentional deletion of a recently used AWS AppConfig Configuration Profile or Environment. This also includes a change to increase the maximum length of the Name parameter in UpdateConfigurationProfile.
715
* feature: DataZone: Update regex to include dot character to be consistent with IAM role creation in the authorized principal field for create and update subscription target.

‎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.1685.0.min.js"></script>
67+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1686.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/bedrock-agent-runtime-2023-07-26.min.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,17 @@
55
"endpointPrefix": "bedrock-agent-runtime",
66
"jsonVersion": "1.1",
77
"protocol": "rest-json",
8+
"protocols": [
9+
"rest-json"
10+
],
811
"serviceFullName": "Agents for Amazon Bedrock Runtime",
912
"serviceId": "Bedrock Agent Runtime",
1013
"signatureVersion": "v4",
1114
"signingName": "bedrock",
12-
"uid": "bedrock-agent-runtime-2023-07-26"
15+
"uid": "bedrock-agent-runtime-2023-07-26",
16+
"auth": [
17+
"aws.auth#sigv4"
18+
]
1319
},
1420
"operations": {
1521
"DeleteAgentMemory": {

‎apis/bedrock-agent-runtime-2023-07-26.normal.json

+8-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,17 @@
55
"endpointPrefix": "bedrock-agent-runtime",
66
"jsonVersion": "1.1",
77
"protocol": "rest-json",
8+
"protocols": [
9+
"rest-json"
10+
],
811
"serviceFullName": "Agents for Amazon Bedrock Runtime",
912
"serviceId": "Bedrock Agent Runtime",
1013
"signatureVersion": "v4",
1114
"signingName": "bedrock",
12-
"uid": "bedrock-agent-runtime-2023-07-26"
15+
"uid": "bedrock-agent-runtime-2023-07-26",
16+
"auth": [
17+
"aws.auth#sigv4"
18+
]
1319
},
1420
"operations": {
1521
"DeleteAgentMemory": {
@@ -587,7 +593,7 @@
587593
"members": {
588594
"data": {
589595
"shape": "ByteContentBlob",
590-
"documentation": "<p>The byte value of the file to attach, encoded as Base-64 string. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files. </p>"
596+
"documentation": "<p>The raw bytes of the file to attach. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files. </p>"
591597
},
592598
"mediaType": {
593599
"shape": "MimeType",
@@ -2884,7 +2890,6 @@
28842890
"member": {
28852891
"shape": "RetrievalFilter"
28862892
},
2887-
"max": 5,
28882893
"min": 2
28892894
},
28902895
"RetrievalResultConfluenceLocation": {

‎apis/bedrock-runtime-2023-09-30.normal.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@
474474
"members": {
475475
"modelId": {
476476
"shape": "ConversationalModelId",
477-
"documentation": "<p>The identifier for the model that you want to call.</p> <p>The <code>modelId</code> to provide depends on the type of model that you use:</p> <ul> <li> <p>If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns\">Amazon Bedrock base model IDs (on-demand throughput)</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html\">Run inference using a Provisioned Throughput</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html\">Use a custom model in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p> </li> </ul>",
477+
"documentation": "<p>The identifier for the model that you want to call.</p> <p>The <code>modelId</code> to provide depends on the type of model or throughput that you use:</p> <ul> <li> <p>If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns\">Amazon Bedrock base model IDs (on-demand throughput)</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use an inference profile, specify the inference profile ID or its ARN. For a list of inference profile IDs, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html\">Supported Regions and models for cross-region inference</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html\">Run inference using a Provisioned Throughput</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html\">Use a custom model in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p> </li> </ul> <p>The Converse API doesn't support <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html\">imported models</a>.</p>",
478478
"location": "uri",
479479
"locationName": "modelId"
480480
},
@@ -652,7 +652,7 @@
652652
"members": {
653653
"modelId": {
654654
"shape": "ConversationalModelId",
655-
"documentation": "<p>The ID for the model.</p> <p>The <code>modelId</code> to provide depends on the type of model that you use:</p> <ul> <li> <p>If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns\">Amazon Bedrock base model IDs (on-demand throughput)</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html\">Run inference using a Provisioned Throughput</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html\">Use a custom model in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p> </li> </ul>",
655+
"documentation": "<p>The ID for the model.</p> <p>The <code>modelId</code> to provide depends on the type of model or throughput that you use:</p> <ul> <li> <p>If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns\">Amazon Bedrock base model IDs (on-demand throughput)</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use an inference profile, specify the inference profile ID or its ARN. For a list of inference profile IDs, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html\">Supported Regions and models for cross-region inference</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html\">Run inference using a Provisioned Throughput</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html\">Use a custom model in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p> </li> </ul> <p>The Converse API doesn't support <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html\">imported models</a>.</p>",
656656
"location": "uri",
657657
"locationName": "modelId"
658658
},
@@ -1619,7 +1619,7 @@
16191619
"type": "string",
16201620
"max": 2048,
16211621
"min": 1,
1622-
"pattern": "(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:inference-profile/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)"
1622+
"pattern": "(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:inference-profile/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)"
16231623
},
16241624
"InvokeModelRequest": {
16251625
"type": "structure",
@@ -1646,7 +1646,7 @@
16461646
},
16471647
"modelId": {
16481648
"shape": "InvokeModelIdentifier",
1649-
"documentation": "<p>The unique identifier of the model to invoke to run inference.</p> <p>The <code>modelId</code> to provide depends on the type of model that you use:</p> <ul> <li> <p>If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns\">Amazon Bedrock base model IDs (on-demand throughput)</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html\">Run inference using a Provisioned Throughput</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html\">Use a custom model in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p> </li> </ul>",
1649+
"documentation": "<p>The unique identifier of the model to invoke to run inference.</p> <p>The <code>modelId</code> to provide depends on the type of model that you use:</p> <ul> <li> <p>If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns\">Amazon Bedrock base model IDs (on-demand throughput)</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html\">Run inference using a Provisioned Throughput</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html\">Use a custom model in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use an <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html\">imported model</a>, specify the ARN of the imported model. You can get the model ARN from a successful call to <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html\">CreateModelImportJob</a> or from the Imported models page in the Amazon Bedrock console.</p> </li> </ul>",
16501650
"location": "uri",
16511651
"locationName": "modelId"
16521652
},
@@ -1716,7 +1716,7 @@
17161716
},
17171717
"modelId": {
17181718
"shape": "InvokeModelIdentifier",
1719-
"documentation": "<p>The unique identifier of the model to invoke to run inference.</p> <p>The <code>modelId</code> to provide depends on the type of model that you use:</p> <ul> <li> <p>If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns\">Amazon Bedrock base model IDs (on-demand throughput)</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html\">Run inference using a Provisioned Throughput</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html\">Use a custom model in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p> </li> </ul>",
1719+
"documentation": "<p>The unique identifier of the model to invoke to run inference.</p> <p>The <code>modelId</code> to provide depends on the type of model that you use:</p> <ul> <li> <p>If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns\">Amazon Bedrock base model IDs (on-demand throughput)</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html\">Run inference using a Provisioned Throughput</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html\">Use a custom model in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p> </li> <li> <p>If you use an <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html\">imported model</a>, specify the ARN of the imported model. You can get the model ARN from a successful call to <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html\">CreateModelImportJob</a> or from the Imported models page in the Amazon Bedrock console.</p> </li> </ul>",
17201720
"location": "uri",
17211721
"locationName": "modelId"
17221722
},

‎apis/personalize-2018-05-22.min.json

+61-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
"signatureVersion": "v4",
1414
"signingName": "personalize",
1515
"targetPrefix": "AmazonPersonalize",
16-
"uid": "personalize-2018-05-22"
16+
"uid": "personalize-2018-05-22",
17+
"auth": [
18+
"aws.auth#sigv4"
19+
]
1720
},
1821
"operations": {
1922
"CreateBatchInferenceJob": {
@@ -1331,6 +1334,25 @@
13311334
},
13321335
"latestSolutionVersion": {
13331336
"shape": "S5f"
1337+
},
1338+
"latestSolutionUpdate": {
1339+
"type": "structure",
1340+
"members": {
1341+
"solutionUpdateConfig": {
1342+
"shape": "S5i"
1343+
},
1344+
"status": {},
1345+
"performAutoTraining": {
1346+
"type": "boolean"
1347+
},
1348+
"creationDateTime": {
1349+
"type": "timestamp"
1350+
},
1351+
"lastUpdatedDateTime": {
1352+
"type": "timestamp"
1353+
},
1354+
"failureReason": {}
1355+
}
13341356
}
13351357
}
13361358
}
@@ -2222,6 +2244,29 @@
22222244
}
22232245
},
22242246
"idempotent": true
2247+
},
2248+
"UpdateSolution": {
2249+
"input": {
2250+
"type": "structure",
2251+
"required": [
2252+
"solutionArn"
2253+
],
2254+
"members": {
2255+
"solutionArn": {},
2256+
"performAutoTraining": {
2257+
"type": "boolean"
2258+
},
2259+
"solutionUpdateConfig": {
2260+
"shape": "S5i"
2261+
}
2262+
}
2263+
},
2264+
"output": {
2265+
"type": "structure",
2266+
"members": {
2267+
"solutionArn": {}
2268+
}
2269+
}
22252270
}
22262271
},
22272272
"shapes": {
@@ -2516,17 +2561,20 @@
25162561
"shape": "S1t"
25172562
},
25182563
"autoTrainingConfig": {
2519-
"type": "structure",
2520-
"members": {
2521-
"schedulingExpression": {}
2522-
}
2564+
"shape": "S2u"
25232565
}
25242566
}
25252567
},
25262568
"S2m": {
25272569
"type": "list",
25282570
"member": {}
25292571
},
2572+
"S2u": {
2573+
"type": "structure",
2574+
"members": {
2575+
"schedulingExpression": {}
2576+
}
2577+
},
25302578
"S55": {
25312579
"type": "map",
25322580
"key": {},
@@ -2549,6 +2597,14 @@
25492597
},
25502598
"failureReason": {}
25512599
}
2600+
},
2601+
"S5i": {
2602+
"type": "structure",
2603+
"members": {
2604+
"autoTrainingConfig": {
2605+
"shape": "S2u"
2606+
}
2607+
}
25522608
}
25532609
}
25542610
}

0 commit comments

Comments
 (0)