Skip to content

Commit

Permalink
Merge branch 'release-1.35.26'
Browse files Browse the repository at this point in the history
* release-1.35.26:
  Bumping version to 1.35.26
  Update endpoints model
  Update to latest models
  • Loading branch information
aws-sdk-python-automation committed Sep 24, 2024
2 parents bc882ed + e1fcd68 commit 7274143
Show file tree
Hide file tree
Showing 12 changed files with 452 additions and 50 deletions.
27 changes: 27 additions & 0 deletions .changes/1.35.26.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"category": "``bedrock``",
"description": "Add support for Cross Region Inference in Bedrock Model Evaluations.",
"type": "api-change"
},
{
"category": "``budgets``",
"description": "Releasing minor partitional endpoint updates",
"type": "api-change"
},
{
"category": "``kinesis``",
"description": "This release includes support to add tags when creating a stream",
"type": "api-change"
},
{
"category": "``pinpoint-sms-voice-v2``",
"description": "AWS End User Messaging SMS-Voice V2 has added support for resource policies. Use the three new APIs to create, view, edit, and delete resource policies.",
"type": "api-change"
},
{
"category": "``sagemaker``",
"description": "Adding `HiddenInstanceTypes` and `HiddenSageMakerImageVersionAliases` attribute to SageMaker API",
"type": "api-change"
}
]
10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
CHANGELOG
=========

1.35.26
=======

* api-change:``bedrock``: Add support for Cross Region Inference in Bedrock Model Evaluations.
* api-change:``budgets``: Releasing minor partitional endpoint updates
* api-change:``kinesis``: This release includes support to add tags when creating a stream
* api-change:``pinpoint-sms-voice-v2``: AWS End User Messaging SMS-Voice V2 has added support for resource policies. Use the three new APIs to create, view, edit, and delete resource policies.
* api-change:``sagemaker``: Adding `HiddenInstanceTypes` and `HiddenSageMakerImageVersionAliases` attribute to SageMaker API


1.35.25
=======

Expand Down
2 changes: 1 addition & 1 deletion botocore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import os
import re

__version__ = '1.35.25'
__version__ = '1.35.26'


class NullHandler(logging.Handler):
Expand Down
10 changes: 5 additions & 5 deletions botocore/data/bedrock/2023-04-20/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@
},
"inferenceConfig":{
"shape":"EvaluationInferenceConfig",
"documentation":"<p>Specify the models you want to use in your model evaluation job. Automatic model evaluation jobs support a single model, and model evaluation job that use human workers support two models.</p>"
"documentation":"<p>Specify the models you want to use in your model evaluation job. Automatic model evaluation jobs support a single model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a>, and model evaluation job that use human workers support two models or inference profiles.</p>"
},
"outputDataConfig":{
"shape":"EvaluationOutputDataConfig",
Expand Down Expand Up @@ -1676,14 +1676,14 @@
"members":{
"modelIdentifier":{
"shape":"EvaluationModelIdentifier",
"documentation":"<p>The ARN of the Amazon Bedrock model specified.</p>"
"documentation":"<p>The ARN of the Amazon Bedrock model or inference profile specified.</p>"
},
"inferenceParams":{
"shape":"EvaluationModelInferenceParams",
"documentation":"<p>Each Amazon Bedrock support different inference parameters that change how the model behaves during inference.</p>"
}
},
"documentation":"<p>Contains the ARN of the Amazon Bedrock models specified in your model evaluation job. Each Amazon Bedrock model supports different <code>inferenceParams</code>. To learn more about supported inference parameters for Amazon Bedrock models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\">Inference parameters for foundation models</a>.</p> <p>The <code>inferenceParams</code> are specified using JSON. To successfully insert JSON as string make sure that all quotations are properly escaped. For example, <code>\"temperature\":\"0.25\"</code> key value pair would need to be formatted as <code>\\\"temperature\\\":\\\"0.25\\\"</code> to successfully accepted in the request.</p>"
"documentation":"<p>Contains the ARN of the Amazon Bedrock model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> specified in your model evaluation job. Each Amazon Bedrock model supports different <code>inferenceParams</code>. To learn more about supported inference parameters for Amazon Bedrock models, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\">Inference parameters for foundation models</a>.</p> <p>The <code>inferenceParams</code> are specified using JSON. To successfully insert JSON as string make sure that all quotations are properly escaped. For example, <code>\"temperature\":\"0.25\"</code> key value pair would need to be formatted as <code>\\\"temperature\\\":\\\"0.25\\\"</code> to successfully accepted in the request.</p>"
},
"EvaluationConfig":{
"type":"structure",
Expand Down Expand Up @@ -1848,7 +1848,7 @@
"members":{
"bedrockModel":{
"shape":"EvaluationBedrockModel",
"documentation":"<p>Defines the Amazon Bedrock model and inference parameters you want used.</p>"
"documentation":"<p>Defines the Amazon Bedrock model or inference profile and inference parameters you want used.</p>"
}
},
"documentation":"<p>Defines the models used in the model evaluation job.</p>",
Expand All @@ -1864,7 +1864,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-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)"
"pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:((:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:inference-profile/(([a-z]{2}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))"
},
"EvaluationModelIdentifiers":{
"type":"list",
Expand Down
102 changes: 102 additions & 0 deletions botocore/data/budgets/2016-10-20/endpoint-rule-set-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,108 @@
},
"type": "endpoint"
},
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
},
"aws-iso-e"
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
false
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
false
]
}
],
"endpoint": {
"url": "https://budgets.global.cloud.adc-e.uk",
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingName": "budgets",
"signingRegion": "eu-isoe-west-1"
}
]
},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
},
"aws-iso-f"
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
false
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
false
]
}
],
"endpoint": {
"url": "https://budgets.global.csp.hci.ic.gov",
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingName": "budgets",
"signingRegion": "us-isof-south-1"
}
]
},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [
{
Expand Down
7 changes: 4 additions & 3 deletions botocore/data/budgets/2016-10-20/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"serviceId":"Budgets",
"signatureVersion":"v4",
"targetPrefix":"AWSBudgetServiceGateway",
"uid":"budgets-2016-10-20"
"uid":"budgets-2016-10-20",
"auth":["aws.auth#sigv4"]
},
"operations":{
"CreateBudget":{
Expand Down Expand Up @@ -1836,7 +1837,7 @@
"type":"string",
"max":684,
"min":25,
"pattern":"^arn:(aws|aws-cn|aws-us-gov|us-iso-east-1|us-isob-east-1):iam::(\\d{12}|aws):policy(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$"
"pattern":"^arn:aws(-cn|-us-gov|-iso|-iso-[a-z]{1})?:iam::(\\d{12}|aws):policy(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$"
},
"PolicyId":{
"type":"string",
Expand Down Expand Up @@ -1908,7 +1909,7 @@
"type":"string",
"max":618,
"min":32,
"pattern":"^arn:(aws|aws-cn|aws-us-gov|us-iso-east-1|us-isob-east-1):iam::\\d{12}:role(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$"
"pattern":"^arn:aws(-cn|-us-gov|-iso|-iso-[a-z]{1})?:iam::\\d{12}:role(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$"
},
"Roles":{
"type":"list",
Expand Down
1 change: 1 addition & 0 deletions botocore/data/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -1658,6 +1658,7 @@
"ap-southeast-3" : { },
"ap-southeast-4" : { },
"ca-central-1" : { },
"ca-west-1" : { },
"eu-central-1" : { },
"eu-central-2" : { },
"eu-north-1" : { },
Expand Down
Loading

0 comments on commit 7274143

Please sign in to comment.