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 Jan 30, 2025
1 parent 539e65b commit b9cc6c3
Show file tree
Hide file tree
Showing 97 changed files with 3,225 additions and 2,641 deletions.
3 changes: 2 additions & 1 deletion apis/appstream/2016-12-01/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3402,7 +3402,8 @@
"members":{
"ConnectorType":{"shape":"StorageConnectorType"},
"ResourceIdentifier":{"shape":"ResourceIdentifier"},
"Domains":{"shape":"DomainList"}
"Domains":{"shape":"DomainList"},
"DomainsRequireAdminConsent":{"shape":"DomainList"}
}
},
"StorageConnectorList":{
Expand Down
3 changes: 2 additions & 1 deletion apis/appstream/2016-12-01/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,8 @@
"DomainList": {
"base": null,
"refs": {
"StorageConnector$Domains": "<p>The names of the domains for the account.</p>"
"StorageConnector$Domains": "<p>The names of the domains for the account.</p>",
"StorageConnector$DomainsRequireAdminConsent": "<p>The OneDrive for Business domains where you require admin consent when users try to link their OneDrive account to AppStream 2.0. The attribute can only be specified when ConnectorType=ONE_DRIVE.</p>"
}
},
"DynamicAppProvidersEnabled": {
Expand Down
3 changes: 2 additions & 1 deletion apis/bedrock-agent-runtime/2023-07-26/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1777,7 +1777,8 @@
"InternalServerException":{
"type":"structure",
"members":{
"message":{"shape":"NonBlankString"}
"message":{"shape":"NonBlankString"},
"reason":{"shape":"String"}
},
"error":{"httpStatusCode":500},
"exception":true,
Expand Down
3 changes: 2 additions & 1 deletion apis/bedrock-agent-runtime/2023-07-26/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"Rerank": "<p>Reranks the relevance of sources based on queries. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/rerank.html\">Improve the relevance of query responses with a reranker model</a>.</p>",
"Retrieve": "<p>Queries a knowledge base and retrieves information from it.</p>",
"RetrieveAndGenerate": "<p>Queries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a>. The response only cites sources that are relevant to the query.</p>",
"RetrieveAndGenerateStream": "<p>Queries a knowledge base and generates responses based on the retrieved results, with output in streaming format.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeModelWithResponseStream</code>.</p> </note>"
"RetrieveAndGenerateStream": "<p>Queries a knowledge base and generates responses based on the retrieved results, with output in streaming format.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeModelWithResponseStream</code>.</p> </note> <p>This operation requires permission for the <code> bedrock:RetrieveAndGenerate</code> action.</p>"
},
"shapes": {
"APISchema": {
Expand Down Expand Up @@ -2600,6 +2600,7 @@
"InlineAgentReturnControlPayload$invocationId": "<p>The identifier of the action group invocation. </p>",
"InlineSessionState$invocationId": "<p> The identifier of the invocation of an action. This value must match the <code>invocationId</code> returned in the <code>InvokeInlineAgent</code> response for the action whose results are provided in the <code>returnControlInvocationResults</code> field. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html\">Return control to the agent developer</a>. </p>",
"InputFile$name": "<p>The name of the source file.</p>",
"InternalServerException$reason": "<p>The reason for the exception. If the reason is <code>BEDROCK_MODEL_INVOCATION_SERVICE_UNAVAILABLE</code>, the model invocation service is unavailable. Retry your request.</p>",
"OutputFile$name": "<p>The name of the file containing response from code interpreter.</p>",
"Parameter$name": "<p>The name of the parameter.</p>",
"Parameter$type": "<p>The type of the parameter.</p>",
Expand Down
25 changes: 0 additions & 25 deletions apis/ecr-public/2020-10-30/endpoint-rule-set-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,31 +270,6 @@
}
],
"rules": [
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
"aws",
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
}
]
}
],
"endpoint": {
"url": "https://ecr-public.{Region}.api.aws",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
Expand Down
39 changes: 13 additions & 26 deletions apis/ecr-public/2020-10-30/endpoint-tests-1.json
Original file line number Diff line number Diff line change
@@ -1,67 +1,54 @@
{
"testCases": [
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://api.ecr-public.us-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://ecr-public.us-east-1.api.aws"
"url": "https://api.ecr-public-fips.us-east-1.api.aws"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://api.ecr-public.us-west-2.amazonaws.com"
"url": "https://api.ecr-public-fips.us-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-west-2",
"UseFIPS": false,
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://api.ecr-public-fips.us-east-1.api.aws"
"url": "https://api.ecr-public.us-east-1.api.aws"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://api.ecr-public-fips.us-east-1.amazonaws.com"
"url": "https://api.ecr-public.us-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseFIPS": false,
"UseDualStack": false
}
},
Expand Down
125 changes: 0 additions & 125 deletions apis/ecr/2015-09-21/endpoint-rule-set-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,56 +166,6 @@
}
],
"rules": [
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
"aws",
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
}
]
}
],
"endpoint": {
"url": "https://ecr-fips.{Region}.api.aws",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
"aws-us-gov",
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
}
]
}
],
"endpoint": {
"url": "https://ecr-fips.{Region}.api.aws",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
Expand Down Expand Up @@ -370,81 +320,6 @@
}
],
"rules": [
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
"aws",
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
}
]
}
],
"endpoint": {
"url": "https://ecr.{Region}.api.aws",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
"aws-cn",
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
}
]
}
],
"endpoint": {
"url": "https://ecr.{Region}.api.amazonwebservices.com.cn",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
"aws-us-gov",
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
}
]
}
],
"endpoint": {
"url": "https://ecr.{Region}.api.aws",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
Expand Down
Loading

0 comments on commit b9cc6c3

Please sign in to comment.