Skip to content

Commit

Permalink
Update to latest models
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-python-automation committed Sep 24, 2024
1 parent 47f35d5 commit b13a58a
Show file tree
Hide file tree
Showing 12 changed files with 437 additions and 48 deletions.
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-bedrock-53366.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``bedrock``",
"description": "Add support for Cross Region Inference in Bedrock Model Evaluations."
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-budgets-30758.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``budgets``",
"description": "Releasing minor partitional endpoint updates"
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-kinesis-46829.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``kinesis``",
"description": "This release includes support to add tags when creating a stream"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"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."
}
5 changes: 5 additions & 0 deletions .changes/next-release/api-change-sagemaker-10266.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "api-change",
"category": "``sagemaker``",
"description": "Adding `HiddenInstanceTypes` and `HiddenSageMakerImageVersionAliases` attribute to SageMaker API"
}
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
Loading

0 comments on commit b13a58a

Please sign in to comment.