Skip to content

Commit

Permalink
Updates SDK to v2.1686.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Aug 29, 2024
1 parent ce146e7 commit 203b2c6
Show file tree
Hide file tree
Showing 25 changed files with 825 additions and 435 deletions.
32 changes: 32 additions & 0 deletions .changes/2.1686.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[
{
"type": "feature",
"category": "BedrockAgentRuntime",
"description": "Lifting the maximum length on Bedrock KnowledgeBase RetrievalFilter array"
},
{
"type": "feature",
"category": "BedrockRuntime",
"description": "Add support for imported-model in invokeModel and InvokeModelWithResponseStream."
},
{
"type": "feature",
"category": "Personalize",
"description": "This releases ability to update automatic training scheduler for customer solutions"
},
{
"type": "feature",
"category": "QuickSight",
"description": "Increased Character Limit for Dataset Calculation Field expressions"
},
{
"type": "feature",
"category": "StepFunctions",
"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."
},
{
"type": "feature",
"category": "WAFV2",
"description": "The minimum request rate for a rate-based rule is now 10. Before this, it was 100."
}
]
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1685.0-->
<!--LATEST=2.1686.0-->
<!--ENTRYINSERT-->

## 2.1686.0
* feature: BedrockAgentRuntime: Lifting the maximum length on Bedrock KnowledgeBase RetrievalFilter array
* feature: BedrockRuntime: Add support for imported-model in invokeModel and InvokeModelWithResponseStream.
* feature: Personalize: This releases ability to update automatic training scheduler for customer solutions
* feature: QuickSight: Increased Character Limit for Dataset Calculation Field expressions
* 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.
* feature: WAFV2: The minimum request rate for a rate-based rule is now 10. Before this, it was 100.

## 2.1685.0
* 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.
* 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.
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.1685.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1686.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
8 changes: 7 additions & 1 deletion apis/bedrock-agent-runtime-2023-07-26.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@
"endpointPrefix": "bedrock-agent-runtime",
"jsonVersion": "1.1",
"protocol": "rest-json",
"protocols": [
"rest-json"
],
"serviceFullName": "Agents for Amazon Bedrock Runtime",
"serviceId": "Bedrock Agent Runtime",
"signatureVersion": "v4",
"signingName": "bedrock",
"uid": "bedrock-agent-runtime-2023-07-26"
"uid": "bedrock-agent-runtime-2023-07-26",
"auth": [
"aws.auth#sigv4"
]
},
"operations": {
"DeleteAgentMemory": {
Expand Down
11 changes: 8 additions & 3 deletions apis/bedrock-agent-runtime-2023-07-26.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@
"endpointPrefix": "bedrock-agent-runtime",
"jsonVersion": "1.1",
"protocol": "rest-json",
"protocols": [
"rest-json"
],
"serviceFullName": "Agents for Amazon Bedrock Runtime",
"serviceId": "Bedrock Agent Runtime",
"signatureVersion": "v4",
"signingName": "bedrock",
"uid": "bedrock-agent-runtime-2023-07-26"
"uid": "bedrock-agent-runtime-2023-07-26",
"auth": [
"aws.auth#sigv4"
]
},
"operations": {
"DeleteAgentMemory": {
Expand Down Expand Up @@ -587,7 +593,7 @@
"members": {
"data": {
"shape": "ByteContentBlob",
"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>"
"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>"
},
"mediaType": {
"shape": "MimeType",
Expand Down Expand Up @@ -2884,7 +2890,6 @@
"member": {
"shape": "RetrievalFilter"
},
"max": 5,
"min": 2
},
"RetrievalResultConfluenceLocation": {
Expand Down
10 changes: 5 additions & 5 deletions apis/bedrock-runtime-2023-09-30.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@
"members": {
"modelId": {
"shape": "ConversationalModelId",
"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>",
"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>",
"location": "uri",
"locationName": "modelId"
},
Expand Down Expand Up @@ -652,7 +652,7 @@
"members": {
"modelId": {
"shape": "ConversationalModelId",
"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>",
"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>",
"location": "uri",
"locationName": "modelId"
},
Expand Down Expand Up @@ -1619,7 +1619,7 @@
"type": "string",
"max": 2048,
"min": 1,
"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-:.]+)"
"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-:.]+)"
},
"InvokeModelRequest": {
"type": "structure",
Expand All @@ -1646,7 +1646,7 @@
},
"modelId": {
"shape": "InvokeModelIdentifier",
"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>",
"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>",
"location": "uri",
"locationName": "modelId"
},
Expand Down Expand Up @@ -1716,7 +1716,7 @@
},
"modelId": {
"shape": "InvokeModelIdentifier",
"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>",
"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>",
"location": "uri",
"locationName": "modelId"
},
Expand Down
66 changes: 61 additions & 5 deletions apis/personalize-2018-05-22.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
"signatureVersion": "v4",
"signingName": "personalize",
"targetPrefix": "AmazonPersonalize",
"uid": "personalize-2018-05-22"
"uid": "personalize-2018-05-22",
"auth": [
"aws.auth#sigv4"
]
},
"operations": {
"CreateBatchInferenceJob": {
Expand Down Expand Up @@ -1331,6 +1334,25 @@
},
"latestSolutionVersion": {
"shape": "S5f"
},
"latestSolutionUpdate": {
"type": "structure",
"members": {
"solutionUpdateConfig": {
"shape": "S5i"
},
"status": {},
"performAutoTraining": {
"type": "boolean"
},
"creationDateTime": {
"type": "timestamp"
},
"lastUpdatedDateTime": {
"type": "timestamp"
},
"failureReason": {}
}
}
}
}
Expand Down Expand Up @@ -2222,6 +2244,29 @@
}
},
"idempotent": true
},
"UpdateSolution": {
"input": {
"type": "structure",
"required": [
"solutionArn"
],
"members": {
"solutionArn": {},
"performAutoTraining": {
"type": "boolean"
},
"solutionUpdateConfig": {
"shape": "S5i"
}
}
},
"output": {
"type": "structure",
"members": {
"solutionArn": {}
}
}
}
},
"shapes": {
Expand Down Expand Up @@ -2516,17 +2561,20 @@
"shape": "S1t"
},
"autoTrainingConfig": {
"type": "structure",
"members": {
"schedulingExpression": {}
}
"shape": "S2u"
}
}
},
"S2m": {
"type": "list",
"member": {}
},
"S2u": {
"type": "structure",
"members": {
"schedulingExpression": {}
}
},
"S55": {
"type": "map",
"key": {},
Expand All @@ -2549,6 +2597,14 @@
},
"failureReason": {}
}
},
"S5i": {
"type": "structure",
"members": {
"autoTrainingConfig": {
"shape": "S2u"
}
}
}
}
}
Loading

0 comments on commit 203b2c6

Please sign in to comment.