Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-ruby-automation committed Sep 24, 2024
1 parent 58c85f2 commit 73073af
Show file tree
Hide file tree
Showing 1,579 changed files with 5,237 additions and 2,046 deletions.
2 changes: 1 addition & 1 deletion apis/bedrock/2023-04-20/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,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
8 changes: 4 additions & 4 deletions apis/bedrock/2023-04-20/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,9 @@
}
},
"EvaluationBedrockModel": {
"base": "<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>",
"base": "<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>",
"refs": {
"EvaluationModelConfig$bedrockModel": "<p>Defines the Amazon Bedrock model and inference parameters you want used.</p>"
"EvaluationModelConfig$bedrockModel": "<p>Defines the Amazon Bedrock model or inference profile and inference parameters you want used.</p>"
}
},
"EvaluationConfig": {
Expand Down Expand Up @@ -407,7 +407,7 @@
"EvaluationInferenceConfig": {
"base": "<p>Used to define the models you want used in your model evaluation job. Automated model evaluation jobs support only a single model. In a human-based model evaluation job, your annotator can compare the responses for up to two different models.</p>",
"refs": {
"CreateEvaluationJobRequest$inferenceConfig": "<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>",
"CreateEvaluationJobRequest$inferenceConfig": "<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>",
"GetEvaluationJobResponse$inferenceConfig": "<p>Details about the models you specified in your model evaluation job.</p>"
}
},
Expand Down Expand Up @@ -501,7 +501,7 @@
"EvaluationModelIdentifier": {
"base": null,
"refs": {
"EvaluationBedrockModel$modelIdentifier": "<p>The ARN of the Amazon Bedrock model specified.</p>",
"EvaluationBedrockModel$modelIdentifier": "<p>The ARN of the Amazon Bedrock model or inference profile specified.</p>",
"EvaluationModelIdentifiers$member": null
}
},
Expand Down
4 changes: 2 additions & 2 deletions apis/budgets/2016-10-20/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,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 @@ -1443,7 +1443,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
102 changes: 102 additions & 0 deletions apis/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
44 changes: 44 additions & 0 deletions apis/budgets/2016-10-20/endpoint-tests-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,50 @@
"UseDualStack": false
}
},
{
"documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingName": "budgets",
"signingRegion": "eu-isoe-west-1"
}
]
},
"url": "https://budgets.global.cloud.adc-e.uk"
}
},
"params": {
"Region": "eu-isoe-west-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingName": "budgets",
"signingRegion": "us-isof-south-1"
}
]
},
"url": "https://budgets.global.csp.hci.ic.gov"
}
},
"params": {
"Region": "us-isof-south-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
"expect": {
Expand Down
6 changes: 4 additions & 2 deletions apis/kinesis/2013-12-02/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@
{"shape":"AccessDeniedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"LimitExceededException"},
{"shape":"InvalidArgumentException"}
{"shape":"InvalidArgumentException"},
{"shape":"ResourceInUseException"}
],
"staticContextParams":{
"OperationType":{"value":"control"}
Expand Down Expand Up @@ -714,7 +715,8 @@
"members":{
"StreamName":{"shape":"StreamName"},
"ShardCount":{"shape":"PositiveIntegerObject"},
"StreamModeDetails":{"shape":"StreamModeDetails"}
"StreamModeDetails":{"shape":"StreamModeDetails"},
"Tags":{"shape":"TagMap"}
}
},
"Data":{
Expand Down
Loading

0 comments on commit 73073af

Please sign in to comment.