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 Aug 29, 2024
1 parent cea0260 commit 5122f5f
Show file tree
Hide file tree
Showing 27 changed files with 210 additions and 42 deletions.
32 changes: 32 additions & 0 deletions .changes/3.321.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[
{
"type": "api-change",
"category": "BedrockRuntime",
"description": "Add support for imported-model in invokeModel and InvokeModelWithResponseStream."
},
{
"type": "api-change",
"category": "QuickSight",
"description": "Increased Character Limit for Dataset Calculation Field expressions"
},
{
"type": "api-change",
"category": "WAFV2",
"description": "The minimum request rate for a rate-based rule is now 10. Before this, it was 100."
},
{
"type": "api-change",
"category": "SFN",
"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": "api-change",
"category": "Personalize",
"description": "This releases ability to update automatic training scheduler for customer solutions"
},
{
"type": "api-change",
"category": "BedrockAgentRuntime",
"description": "Lifting the maximum length on Bedrock KnowledgeBase RetrievalFilter array"
}
]
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\BedrockRuntime` - Add support for imported-model in invokeModel and InvokeModelWithResponseStream.
* `Aws\QuickSight` - Increased Character Limit for Dataset Calculation Field expressions
* `Aws\WAFV2` - The minimum request rate for a rate-based rule is now 10. Before this, it was 100.
* `Aws\SFN` - 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.
* `Aws\Personalize` - This releases ability to update automatic training scheduler for customer solutions
* `Aws\BedrockAgentRuntime` - Lifting the maximum length on Bedrock KnowledgeBase RetrievalFilter array

## 3.321.0 - 2024-08-28

* `Aws\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: 2 additions & 0 deletions src/Personalize/PersonalizeClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,7 @@
* @method \GuzzleHttp\Promise\Promise updateMetricAttributionAsync(array $args = [])
* @method \Aws\Result updateRecommender(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateRecommenderAsync(array $args = [])
* @method \Aws\Result updateSolution(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateSolutionAsync(array $args = [])
*/
class PersonalizeClient extends AwsClient {}
5 changes: 3 additions & 2 deletions src/data/bedrock-agent-runtime/2023-07-26/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"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 @@ -1722,7 +1724,6 @@
"RetrievalFilterList":{
"type":"list",
"member":{"shape":"RetrievalFilter"},
"max":5,
"min":2
},
"RetrievalResultConfluenceLocation":{
Expand Down
2 changes: 1 addition & 1 deletion src/data/bedrock-agent-runtime/2023-07-26/api-2.json.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/data/bedrock-agent-runtime/2023-07-26/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"base": null,
"refs": {
"ByteContentDoc$data": "<p>The byte value of the file to upload, encoded as a Base-64 string.</p>",
"ByteContentFile$data": "<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>"
"ByteContentFile$data": "<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>"
}
},
"ByteContentDoc": {
Expand Down
2 changes: 1 addition & 1 deletion src/data/bedrock-agent-runtime/2023-07-26/docs-2.json.php

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions src/data/bedrock-runtime/2023-09-30/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,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 Down Expand Up @@ -1186,7 +1186,8 @@
"httpStatusCode":429,
"senderFault":true
},
"exception":true
"exception":true,
"retryable":{"throttling":false}
},
"ModelOutputs":{
"type":"list",
Expand Down
2 changes: 1 addition & 1 deletion src/data/bedrock-runtime/2023-09-30/api-2.json.php

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions src/data/bedrock-runtime/2023-09-30/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
"ConversationalModelId": {
"base": null,
"refs": {
"ConverseRequest$modelId": "<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>",
"ConverseStreamRequest$modelId": "<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>"
"ConverseRequest$modelId": "<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>",
"ConverseStreamRequest$modelId": "<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>"
}
},
"ConverseMetrics": {
Expand Down Expand Up @@ -695,8 +695,8 @@
"InvokeModelIdentifier": {
"base": null,
"refs": {
"InvokeModelRequest$modelId": "<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>",
"InvokeModelWithResponseStreamRequest$modelId": "<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>"
"InvokeModelRequest$modelId": "<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>",
"InvokeModelWithResponseStreamRequest$modelId": "<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>"
}
},
"InvokeModelRequest": {
Expand Down Expand Up @@ -769,7 +769,7 @@
}
},
"ModelNotReadyException": {
"base": "<p>The model specified in the request is not ready to serve inference requests.</p>",
"base": "<p>The model specified in the request is not ready to serve inference requests. The AWS SDK will automatically retry the operation up to 5 times. For information about configuring automatic retries, see <a href=\"https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html\">Retry behavior</a> in the <i>AWS SDKs and Tools</i> reference guide.</p>",
"refs": {
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/data/bedrock-runtime/2023-09-30/docs-2.json.php

Large diffs are not rendered by default.

54 changes: 52 additions & 2 deletions src/data/personalize/2018-05-22/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"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 @@ -1043,6 +1044,22 @@
{"shape":"ResourceInUseException"}
],
"idempotent":true
},
"UpdateSolution":{
"name":"UpdateSolution",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateSolutionRequest"},
"output":{"shape":"UpdateSolutionResponse"},
"errors":[
{"shape":"InvalidInputException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ResourceInUseException"},
{"shape":"LimitExceededException"},
{"shape":"ResourceInUseException"}
]
}
},
"shapes":{
Expand Down Expand Up @@ -3003,7 +3020,8 @@
"status":{"shape":"Status"},
"creationDateTime":{"shape":"Date"},
"lastUpdatedDateTime":{"shape":"Date"},
"latestSolutionVersion":{"shape":"SolutionVersionSummary"}
"latestSolutionVersion":{"shape":"SolutionVersionSummary"},
"latestSolutionUpdate":{"shape":"SolutionUpdateSummary"}
}
},
"SolutionConfig":{
Expand All @@ -3030,6 +3048,23 @@
"recipeArn":{"shape":"Arn"}
}
},
"SolutionUpdateConfig":{
"type":"structure",
"members":{
"autoTrainingConfig":{"shape":"AutoTrainingConfig"}
}
},
"SolutionUpdateSummary":{
"type":"structure",
"members":{
"solutionUpdateConfig":{"shape":"SolutionUpdateConfig"},
"status":{"shape":"Status"},
"performAutoTraining":{"shape":"PerformAutoTraining"},
"creationDateTime":{"shape":"Date"},
"lastUpdatedDateTime":{"shape":"Date"},
"failureReason":{"shape":"FailureReason"}
}
},
"SolutionVersion":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -3307,6 +3342,21 @@
"members":{
"recommenderArn":{"shape":"Arn"}
}
},
"UpdateSolutionRequest":{
"type":"structure",
"required":["solutionArn"],
"members":{
"solutionArn":{"shape":"Arn"},
"performAutoTraining":{"shape":"PerformAutoTraining"},
"solutionUpdateConfig":{"shape":"SolutionUpdateConfig"}
}
},
"UpdateSolutionResponse":{
"type":"structure",
"members":{
"solutionArn":{"shape":"Arn"}
}
}
}
}
2 changes: 1 addition & 1 deletion src/data/personalize/2018-05-22/api-2.json.php

Large diffs are not rendered by default.

Loading

0 comments on commit 5122f5f

Please sign in to comment.