Skip to content

Commit b63aabf

Browse files
Update API model
1 parent 8dc8f58 commit b63aabf

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

tools/code-generation/smithy/api-descriptions/bedrock-runtime.json

+14-2
Original file line numberDiff line numberDiff line change
@@ -1948,6 +1948,12 @@
19481948
"min": 1
19491949
}
19501950
}
1951+
},
1952+
"s3Location": {
1953+
"target": "com.amazonaws.bedrockruntime#S3Location",
1954+
"traits": {
1955+
"smithy.api#documentation": "<p>The location of a document object in an Amazon S3 bucket. To see which models support S3 uploads, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html\">Supported models and features for Converse</a>.</p>"
1956+
}
19511957
}
19521958
},
19531959
"traits": {
@@ -3674,6 +3680,12 @@
36743680
"min": 1
36753681
}
36763682
}
3683+
},
3684+
"s3Location": {
3685+
"target": "com.amazonaws.bedrockruntime#S3Location",
3686+
"traits": {
3687+
"smithy.api#documentation": "<p>The location of an image object in an Amazon S3 bucket. To see which models support S3 uploads, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html\">Supported models and features for Converse</a>.</p>"
3688+
}
36773689
}
36783690
},
36793691
"traits": {
@@ -4852,7 +4864,7 @@
48524864
}
48534865
},
48544866
"traits": {
4855-
"smithy.api#documentation": "<p>A storage location in an S3 bucket.</p>"
4867+
"smithy.api#documentation": "<p>A storage location in an Amazon S3 bucket.</p>"
48564868
}
48574869
},
48584870
"com.amazonaws.bedrockruntime#S3Uri": {
@@ -5677,7 +5689,7 @@
56775689
"s3Location": {
56785690
"target": "com.amazonaws.bedrockruntime#S3Location",
56795691
"traits": {
5680-
"smithy.api#documentation": "<p>The location of a video object in an S3 bucket.</p>"
5692+
"smithy.api#documentation": "<p>The location of a video object in an Amazon S3 bucket. To see which models support S3 uploads, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html\">Supported models and features for Converse</a>.</p>"
56815693
}
56825694
}
56835695
},

tools/code-generation/smithy/api-descriptions/ecs.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10304,7 +10304,7 @@
1030410304
"cpu": {
1030510305
"target": "com.amazonaws.ecs#String",
1030610306
"traits": {
10307-
"smithy.api#documentation": "<p>The number of CPU units used by the task. It can be expressed as an integer using CPU\n\t\t\tunits (for example, <code>1024</code>) or as a string using vCPUs (for example, <code>1\n\t\t\t\tvCPU</code> or <code>1 vcpu</code>) in a task definition. String values are\n\t\t\tconverted to an integer indicating the CPU units when the task definition is\n\t\t\tregistered.</p>\n <note>\n <p>Task-level CPU and memory parameters are ignored for Windows containers. We\n\t\t\t\trecommend specifying container-level resources for Windows containers.</p>\n </note>\n <p>If you're using the EC2 launch type or external launch type, this field\n\t\t\tis optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>\n\t\t\tvCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify\n\t\t\ta value, the parameter is ignored.</p>\n <p>If you're using the Fargate launch type, this field is required and you\n\t\t\tmust use one of the following values, which determines your range of supported values\n\t\t\tfor the <code>memory</code> parameter:</p>\n <p>The CPU units cannot be less than 1 vCPU when you use Windows containers on\n\t\t\tFargate.</p>\n <ul>\n <li>\n <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>\n </li>\n <li>\n <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>\n </li>\n <li>\n <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>\n </li>\n <li>\n <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>\n </li>\n <li>\n <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>\n </li>\n <li>\n <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>\n <p>This option requires Linux platform <code>1.4.0</code> or\n later.</p>\n </li>\n <li>\n <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>\n <p>This option requires Linux platform <code>1.4.0</code> or\n later.</p>\n </li>\n </ul>"
10307+
"smithy.api#documentation": "<p>The number of CPU units used by the task. It can be expressed as an integer using CPU\n\t\t\tunits (for example, <code>1024</code>) or as a string using vCPUs (for example, <code>1\n\t\t\t\tvCPU</code> or <code>1 vcpu</code>) in a task definition. String values are\n\t\t\tconverted to an integer indicating the CPU units when the task definition is\n\t\t\tregistered.</p>\n <note>\n <p>Task-level CPU and memory parameters are ignored for Windows containers. We\n\t\t\t\trecommend specifying container-level resources for Windows containers.</p>\n </note>\n <p>If you're using the EC2 launch type or external launch type, this field\n\t\t\tis optional. Supported values are between <code>128</code> CPU units (<code>0.125</code>\n\t\t\tvCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify\n\t\t\ta value, the parameter is ignored.</p>\n <p>This field is required for Fargate. For information about the valid values, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size\">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
1030810308
}
1030910309
},
1031010310
"memory": {
@@ -13163,7 +13163,7 @@
1316313163
"cpu": {
1316413164
"target": "com.amazonaws.ecs#String",
1316513165
"traits": {
13166-
"smithy.api#documentation": "<p>The number of CPU units used by the task as expressed in a task definition. It can be\n\t\t\texpressed as an integer using CPU units (for example, <code>1024</code>). It can also be\n\t\t\texpressed as a string using vCPUs (for example, <code>1 vCPU</code> or <code>1\n\t\t\t\tvcpu</code>). String values are converted to an integer that indicates the CPU units\n\t\t\twhen the task definition is registered.</p>\n <p>If you're using the EC2 launch type or the external launch type, this\n\t\t\tfield is optional. Supported values are between <code>128</code> CPU units\n\t\t\t\t(<code>0.125</code> vCPUs) and <code>196608</code> CPU units (<code>192</code>\n\t\t\tvCPUs). If you do not specify a value, the parameter is ignored.</p>\n <p>If you're using the Fargate launch type, this field is required. You\n\t\t\tmust use one of the following values. These values determine the range of supported\n\t\t\tvalues for the <code>memory</code> parameter:</p>\n <p>The CPU units cannot be less than 1 vCPU when you use Windows containers on\n\t\t\tFargate.</p>\n <ul>\n <li>\n <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>\n </li>\n <li>\n <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>\n </li>\n <li>\n <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>\n </li>\n <li>\n <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>\n </li>\n <li>\n <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>\n </li>\n <li>\n <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>\n <p>This option requires Linux platform <code>1.4.0</code> or\n later.</p>\n </li>\n <li>\n <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>\n <p>This option requires Linux platform <code>1.4.0</code> or\n later.</p>\n </li>\n </ul>"
13166+
"smithy.api#documentation": "<p>The number of CPU units used by the task as expressed in a task definition. It can be\n\t\t\texpressed as an integer using CPU units (for example, <code>1024</code>). It can also be\n\t\t\texpressed as a string using vCPUs (for example, <code>1 vCPU</code> or <code>1\n\t\t\t\tvcpu</code>). String values are converted to an integer that indicates the CPU units\n\t\t\twhen the task definition is registered.</p>\n <p>If you're using the EC2 launch type or the external launch type, this field is\n\t\t\toptional. Supported values are between <code>128</code> CPU units (<code>0.125</code>\n\t\t\tvCPUs) and <code>196608</code> CPU units (<code>192</code> vCPUs). If you do not specify\n\t\t\ta value, the parameter is ignored.</p>\n <p>This field is required for Fargate. For information about the valid values, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size\">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
1316713167
}
1316813168
},
1316913169
"createdAt": {
@@ -13426,7 +13426,7 @@
1342613426
"cpu": {
1342713427
"target": "com.amazonaws.ecs#String",
1342813428
"traits": {
13429-
"smithy.api#documentation": "<p>The number of <code>cpu</code> units used by the task. If you use the EC2 launch type,\n\t\t\tthis field is optional. Any value can be used. If you use the Fargate launch type, this\n\t\t\tfield is required. You must use one of the following values. The value that you choose\n\t\t\tdetermines your range of valid values for the <code>memory</code> parameter.</p>\n <p>If you're using the EC2 launch type or the external launch type, this\n\t\t\tfield is optional. Supported values are between <code>128</code> CPU units\n\t\t\t\t(<code>0.125</code> vCPUs) and <code>196608</code> CPU units (<code>192</code>\n\t\t\tvCPUs). The CPU units cannot be less than 1 vCPU when you use Windows containers on\n\t\t\tFargate.</p>\n <ul>\n <li>\n <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p>\n </li>\n <li>\n <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p>\n </li>\n <li>\n <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p>\n </li>\n <li>\n <p>2048 (2 vCPU) - Available <code>memory</code> values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p>\n </li>\n <li>\n <p>4096 (4 vCPU) - Available <code>memory</code> values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p>\n </li>\n <li>\n <p>8192 (8 vCPU) - Available <code>memory</code> values: 16 GB and 60 GB in 4 GB increments</p>\n <p>This option requires Linux platform <code>1.4.0</code> or\n later.</p>\n </li>\n <li>\n <p>16384 (16vCPU) - Available <code>memory</code> values: 32GB and 120 GB in 8 GB increments</p>\n <p>This option requires Linux platform <code>1.4.0</code> or\n later.</p>\n </li>\n </ul>"
13429+
"smithy.api#documentation": "<p>The number of <code>cpu</code> units used by the task. If you use the EC2 launch type,\n\t\t\tthis field is optional. Any value can be used. If you use the Fargate launch type, this\n\t\t\tfield is required. You must use one of the following values. The value that you choose\n\t\t\tdetermines your range of valid values for the <code>memory</code> parameter.</p>\n <p>If you're using the EC2 launch type or the external launch type, this\n\t\t\tfield is optional. Supported values are between <code>128</code> CPU units\n\t\t\t\t(<code>0.125</code> vCPUs) and <code>196608</code> CPU units (<code>192</code>\n\t\t\tvCPUs). </p>\n <p>This field is required for Fargate. For information about the valid values, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size\">Task size</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
1343013430
}
1343113431
},
1343213432
"memory": {

tools/code-generation/smithy/api-descriptions/marketplace-deployment.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"aws.protocols#restJson1": {},
3333
"smithy.api#cors": {},
34-
"smithy.api#documentation": "<p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products. Quick Launch simplifies and reduces the time, resources, and steps required to configure, deploy, and launch a products. The AWS Marketplace Deployment Service provides sellers with a secure method for passing deployment parameters (for example, API keys and external IDs) to buyers during the Quick Launch experience.</p>",
34+
"smithy.api#documentation": "<p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products. \n Quick Launch simplifies and reduces the time, resources, and steps required to configure, deploy, and launch a products. \n The AWS Marketplace Deployment Service provides sellers with a secure method for passing deployment parameters, such as \n API keys and external IDs, to buyers during the Quick Launch experience.</p>",
3535
"smithy.api#title": "AWS Marketplace Deployment Service",
3636
"smithy.rules#endpointRuleSet": {
3737
"version": "1.0",
@@ -799,7 +799,7 @@
799799
}
800800
},
801801
"traits": {
802-
"smithy.api#documentation": "<p>The shape containing the requested deployment parameter name and secretString.</p>"
802+
"smithy.api#documentation": "<p>The shape containing the requested deployment parameter name and secretString.</p>\n <note>\n <p>To support AWS CloudFormation dynamic references to this resource using Quick Launch,\n this value must match a parameter defined in the CloudFormation templated provided to\n buyers.</p>\n </note>"
803803
}
804804
},
805805
"com.amazonaws.marketplacedeployment#DeploymentParameterName": {
@@ -1017,7 +1017,7 @@
10171017
"catalog": {
10181018
"target": "com.amazonaws.marketplacedeployment#Catalog",
10191019
"traits": {
1020-
"smithy.api#documentation": "<p>The catalog related to the request. Fixed value: <code>AWS Marketplace</code>\n </p>",
1020+
"smithy.api#documentation": "<p>The catalog related to the request. Fixed value: <code>AWSMarketplace</code>\n </p>",
10211021
"smithy.api#httpLabel": {},
10221022
"smithy.api#required": {}
10231023
}
@@ -1060,7 +1060,7 @@
10601060
"clientToken": {
10611061
"target": "com.amazonaws.marketplacedeployment#ClientToken",
10621062
"traits": {
1063-
"smithy.api#documentation": "<p>The idempotency token for deployment parameters. A unique identifier for the new version.</p>",
1063+
"smithy.api#documentation": "<p>The idempotency token for deployment parameters. A unique identifier for the new version.</p>\n <note>\n <p>This field is not required if you're calling using an AWS SDK. Otherwise, a\n <code>clientToken</code> must be provided with the request.</p>\n </note>",
10641064
"smithy.api#idempotencyToken": {}
10651065
}
10661066
}

0 commit comments

Comments
 (0)