Skip to content

Commit 2efe7cc

Browse files
Update API model
1 parent 710e6c5 commit 2efe7cc

File tree

9 files changed

+3761
-280
lines changed

9 files changed

+3761
-280
lines changed

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

Lines changed: 1707 additions & 93 deletions
Large diffs are not rendered by default.

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

Lines changed: 829 additions & 117 deletions
Large diffs are not rendered by default.

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2412,6 +2412,12 @@
24122412
"smithy.api#documentation": "<p>Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit\n\t\t\tnormally on its own.</p>\n <p>For tasks using the Fargate launch type, the task or service requires the following\n\t\t\tplatforms:</p>\n <ul>\n <li>\n <p>Linux platform version <code>1.3.0</code> or later.</p>\n </li>\n <li>\n <p>Windows platform version <code>1.0.0</code> or later.</p>\n </li>\n </ul>\n <p>For tasks that use the Fargate launch type, the max stop timeout value is 120 seconds and if the\n\t\t\tparameter is not specified, the default value of 30 seconds is used.</p>\n <p>For tasks that use the EC2 launch type, if the <code>stopTimeout</code> parameter isn't\n\t\t\tspecified, the value set for the Amazon ECS container agent configuration variable\n\t\t\t\t<code>ECS_CONTAINER_STOP_TIMEOUT</code> is used. If neither the <code>stopTimeout</code> parameter\n\t\t\tor the <code>ECS_CONTAINER_STOP_TIMEOUT</code> agent configuration variable are set, then the default\n\t\t\tvalues of 30 seconds for Linux containers and 30 seconds on Windows containers are used. Your container\n\t\t\tinstances require at least version 1.26.0 of the container agent to use a container stop timeout value.\n\t\t\tHowever, we recommend using the latest container agent version. For information about checking your\n\t\t\tagent version and updating to the latest version, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html\">Updating the Amazon ECS Container\n\t\t\t\tAgent</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at\n\t\t\tleast version 1.26.0-1 of the <code>ecs-init</code> package. If your container instances are launched\n\t\t\tfrom version <code>20190301</code> or later, then they contain the required versions of the container\n\t\t\tagent and <code>ecs-init</code>. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html\">Amazon ECS-optimized Linux AMI</a> in the\n\t\t\t<i>Amazon Elastic Container Service Developer Guide</i>.</p>\n <p>The valid values for Fargate are 2-120 seconds.</p>"
24132413
}
24142414
},
2415+
"versionConsistency": {
2416+
"target": "com.amazonaws.ecs#VersionConsistency",
2417+
"traits": {
2418+
"smithy.api#documentation": "<p>Specifies whether Amazon ECS will resolve the container image tag\n\t\t\tprovided in the container definition to an image digest. By default, the\n\t\t\tvalue is <code>enabled</code>. If you set the value for a container as\n\t\t\t<code>disabled</code>, Amazon ECS will not resolve the provided container image tag\n\t\t\tto a digest and will use the original image URI specified in the container definition for deployment.\n\t\t\tFor more information about container image resolution, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html#deployment-container-image-stability\">Container image resolution</a> in the <i>Amazon ECS Developer Guide</i>.</p>"
2419+
}
2420+
},
24152421
"hostname": {
24162422
"target": "com.amazonaws.ecs#String",
24172423
"traits": {
@@ -14267,6 +14273,23 @@
1426714273
"smithy.api#output": {}
1426814274
}
1426914275
},
14276+
"com.amazonaws.ecs#VersionConsistency": {
14277+
"type": "enum",
14278+
"members": {
14279+
"ENABLED": {
14280+
"target": "smithy.api#Unit",
14281+
"traits": {
14282+
"smithy.api#enumValue": "enabled"
14283+
}
14284+
},
14285+
"DISABLED": {
14286+
"target": "smithy.api#Unit",
14287+
"traits": {
14288+
"smithy.api#enumValue": "disabled"
14289+
}
14290+
}
14291+
}
14292+
},
1427014293
"com.amazonaws.ecs#VersionInfo": {
1427114294
"type": "structure",
1427214295
"members": {

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

Lines changed: 88 additions & 21 deletions
Large diffs are not rendered by default.

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

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10478,7 +10478,7 @@
1047810478
}
1047910479
],
1048010480
"traits": {
10481-
"smithy.api#documentation": "<p>Creates a new table optimizer for a specific function. <code>compaction</code> is the only currently supported optimizer type.</p>"
10481+
"smithy.api#documentation": "<p>Creates a new table optimizer for a specific function. </p>"
1048210482
}
1048310483
},
1048410484
"com.amazonaws.glue#CreateTableOptimizerRequest": {
@@ -10508,7 +10508,7 @@
1050810508
"Type": {
1050910509
"target": "com.amazonaws.glue#TableOptimizerType",
1051010510
"traits": {
10511-
"smithy.api#documentation": "<p>The type of table optimizer. Currently, the only valid value is <code>compaction</code>.</p>",
10511+
"smithy.api#documentation": "<p>The type of table optimizer.</p>",
1051210512
"smithy.api#required": {}
1051310513
}
1051410514
},
@@ -26445,7 +26445,7 @@
2644526445
"Type": {
2644626446
"target": "com.amazonaws.glue#TableOptimizerType",
2644726447
"traits": {
26448-
"smithy.api#documentation": "<p>The type of table optimizer. Currently, the only valid value is <code>compaction</code>.</p>",
26448+
"smithy.api#documentation": "<p>The type of table optimizer.</p>",
2644926449
"smithy.api#required": {}
2645026450
}
2645126451
},
@@ -36005,6 +36005,12 @@
3600536005
"smithy.api#documentation": "<p>Whether table optimization is enabled.</p>"
3600636006
}
3600736007
},
36008+
"vpcConfiguration": {
36009+
"target": "com.amazonaws.glue#TableOptimizerVpcConfiguration",
36010+
"traits": {
36011+
"smithy.api#documentation": "<p>A <code>TableOptimizerVpcConfiguration</code> object representing the VPC configuration for a table optimizer.</p>\n <p>This configuration is necessary to perform optimization on tables that are in a customer VPC.</p>"
36012+
}
36013+
},
3600836014
"retentionConfiguration": {
3600936015
"target": "com.amazonaws.glue#RetentionConfiguration",
3601036016
"traits": {
@@ -36142,6 +36148,20 @@
3614236148
}
3614336149
}
3614436150
},
36151+
"com.amazonaws.glue#TableOptimizerVpcConfiguration": {
36152+
"type": "union",
36153+
"members": {
36154+
"glueConnectionName": {
36155+
"target": "com.amazonaws.glue#glueConnectionNameString",
36156+
"traits": {
36157+
"smithy.api#documentation": "<p>The name of the Glue connection used for the VPC for the table optimizer.</p>"
36158+
}
36159+
}
36160+
},
36161+
"traits": {
36162+
"smithy.api#documentation": "<p>An object that describes the VPC configuration for a table optimizer.</p>\n <p>This configuration is necessary to perform optimization on tables that are in a customer VPC.</p>"
36163+
}
36164+
},
3614536165
"com.amazonaws.glue#TablePrefix": {
3614636166
"type": "string",
3614736167
"traits": {
@@ -39395,7 +39415,7 @@
3939539415
"Type": {
3939639416
"target": "com.amazonaws.glue#TableOptimizerType",
3939739417
"traits": {
39398-
"smithy.api#documentation": "<p>The type of table optimizer. Currently, the only valid value is <code>compaction</code>.</p>",
39418+
"smithy.api#documentation": "<p>The type of table optimizer.</p>",
3939939419
"smithy.api#required": {}
3940039420
}
3940139421
},
@@ -40773,6 +40793,14 @@
4077340793
"smithy.api#default": 0
4077440794
}
4077540795
},
40796+
"com.amazonaws.glue#glueConnectionNameString": {
40797+
"type": "string",
40798+
"traits": {
40799+
"smithy.api#length": {
40800+
"min": 1
40801+
}
40802+
}
40803+
},
4077640804
"com.amazonaws.glue#metricCounts": {
4077740805
"type": "long",
4077840806
"traits": {

0 commit comments

Comments
 (0)