Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Jan 30, 2025
1 parent 0b4f636 commit 3505e4b
Show file tree
Hide file tree
Showing 8 changed files with 934 additions and 996 deletions.
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/appstream.json
Original file line number Diff line number Diff line change
Expand Up @@ -9228,6 +9228,12 @@
"traits": {
"smithy.api#documentation": "<p>The names of the domains for the account.</p>"
}
},
"DomainsRequireAdminConsent": {
"target": "com.amazonaws.appstream#DomainList",
"traits": {
"smithy.api#documentation": "<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>"
}
}
},
"traits": {
Expand Down
8 changes: 7 additions & 1 deletion codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -4547,6 +4547,12 @@
"members": {
"message": {
"target": "com.amazonaws.bedrockagentruntime#NonBlankString"
},
"reason": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<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>"
}
}
},
"traits": {
Expand Down Expand Up @@ -8285,7 +8291,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Queries a knowledge base and generates responses based on the retrieved results, with output in streaming format.</p>\n <note>\n <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeModelWithResponseStream</code>.</p>\n </note>",
"smithy.api#documentation": "<p>Queries a knowledge base and generates responses based on the retrieved results, with output in streaming format.</p>\n <note>\n <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeModelWithResponseStream</code>.</p>\n </note>\n <p>This operation requires permission for the <code> bedrock:RetrieveAndGenerate</code> action.</p>",
"smithy.api#http": {
"code": 200,
"method": "POST",
Expand Down
64 changes: 13 additions & 51 deletions codegen/sdk-codegen/aws-models/ecr-public.json
Original file line number Diff line number Diff line change
Expand Up @@ -3131,31 +3131,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 Expand Up @@ -3201,67 +3176,54 @@
"smithy.rules#endpointTests": {
"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
Loading

0 comments on commit 3505e4b

Please sign in to comment.