Skip to content

Commit 808ff10

Browse files
feat: update AWS API models
1 parent bb56a95 commit 808ff10

File tree

5 files changed

+225
-105
lines changed

5 files changed

+225
-105
lines changed

codegen/sdk/aws-models/ecs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4242,7 +4242,7 @@
42424242
"minimumHealthyPercent": {
42434243
"target": "com.amazonaws.ecs#BoxedInteger",
42444244
"traits": {
4245-
"smithy.api#documentation": "<p>If a service is using the rolling update (<code>ECS</code>) deployment type, the\n\t\t\t\t<code>minimumHealthyPercent</code> represents a lower limit on the number of your\n\t\t\tservice's tasks that must remain in the <code>RUNNING</code> state during a deployment,\n\t\t\tas a percentage of the <code>desiredCount</code> (rounded up to the nearest integer).\n\t\t\tThis parameter enables you to deploy without using additional cluster capacity. For\n\t\t\texample, if your service has a <code>desiredCount</code> of four tasks and a\n\t\t\t\t<code>minimumHealthyPercent</code> of 50%, the service scheduler may stop two\n\t\t\texisting tasks to free up cluster capacity before starting two new tasks. </p>\n <p>For services that <i>do not</i> use a load balancer, the following\n\t\t\tshould be noted:</p>\n <ul>\n <li>\n <p>A service is considered healthy if all essential containers within the tasks\n\t\t\t\t\tin the service pass their health checks.</p>\n </li>\n <li>\n <p>If a task has no essential containers with a health check defined, the service\n\t\t\t\t\tscheduler will wait for 40 seconds after a task reaches a <code>RUNNING</code>\n\t\t\t\t\tstate before the task is counted towards the minimum healthy percent\n\t\t\t\t\ttotal.</p>\n </li>\n <li>\n <p>If a task has one or more essential containers with a health check defined,\n\t\t\t\t\tthe service scheduler will wait for the task to reach a healthy status before\n\t\t\t\t\tcounting it towards the minimum healthy percent total. A task is considered\n\t\t\t\t\thealthy when all essential containers within the task have passed their health\n\t\t\t\t\tchecks. The amount of time the service scheduler can wait for is determined by\n\t\t\t\t\tthe container health check settings. </p>\n </li>\n </ul>\n <p>For services that <i>do</i> use a load balancer, the following should be\n\t\t\tnoted:</p>\n <ul>\n <li>\n <p>If a task has no essential containers with a health check defined, the service\n\t\t\t\t\tscheduler will wait for the load balancer target group health check to return a\n\t\t\t\t\thealthy status before counting the task towards the minimum healthy percent\n\t\t\t\t\ttotal.</p>\n </li>\n <li>\n <p>If a task has an essential container with a health check defined, the service\n\t\t\t\t\tscheduler will wait for both the task to reach a healthy status and the load\n\t\t\t\t\tbalancer target group health check to return a healthy status before counting\n\t\t\t\t\tthe task towards the minimum healthy percent total.</p>\n </li>\n </ul>\n <p>If a service is using either the blue/green (<code>CODE_DEPLOY</code>) or\n\t\t\t\t<code>EXTERNAL</code> deployment types and is running tasks that use the\n\t\t\tEC2 launch type, the <b>minimum healthy\n\t\t\t\tpercent</b> value is set to the default value and is used to define the lower\n\t\t\tlimit on the number of the tasks in the service that remain in the <code>RUNNING</code>\n\t\t\tstate while the container instances are in the <code>DRAINING</code> state. If a service\n\t\t\tis using either the blue/green (<code>CODE_DEPLOY</code>) or <code>EXTERNAL</code>\n\t\t\tdeployment types and is running tasks that use the Fargate launch type,\n\t\t\tthe minimum healthy percent value is not used, although it is returned when describing\n\t\t\tyour service.</p>"
4245+
"smithy.api#documentation": "<p>If a service is using the rolling update (<code>ECS</code>) deployment type, the\n\t\t\t\t<code>minimumHealthyPercent</code> represents a lower limit on the number of your\n\t\t\tservice's tasks that must remain in the <code>RUNNING</code> state during a deployment,\n\t\t\tas a percentage of the <code>desiredCount</code> (rounded up to the nearest integer).\n\t\t\tThis parameter enables you to deploy without using additional cluster capacity. For\n\t\t\texample, if your service has a <code>desiredCount</code> of four tasks and a\n\t\t\t\t<code>minimumHealthyPercent</code> of 50%, the service scheduler may stop two\n\t\t\texisting tasks to free up cluster capacity before starting two new tasks. </p>\n <p>For services that <i>do not</i> use a load balancer, the following\n\t\t\tshould be noted:</p>\n <ul>\n <li>\n <p>A service is considered healthy if all essential containers within the tasks\n\t\t\t\t\tin the service pass their health checks.</p>\n </li>\n <li>\n <p>If a task has no essential containers with a health check defined, the service\n\t\t\t\t\tscheduler will wait for 40 seconds after a task reaches a <code>RUNNING</code>\n\t\t\t\t\tstate before the task is counted towards the minimum healthy percent\n\t\t\t\t\ttotal.</p>\n </li>\n <li>\n <p>If a task has one or more essential containers with a health check defined,\n\t\t\t\t\tthe service scheduler will wait for the task to reach a healthy status before\n\t\t\t\t\tcounting it towards the minimum healthy percent total. A task is considered\n\t\t\t\t\thealthy when all essential containers within the task have passed their health\n\t\t\t\t\tchecks. The amount of time the service scheduler can wait for is determined by\n\t\t\t\t\tthe container health check settings. </p>\n </li>\n </ul>\n <p>For services that <i>do</i> use a load balancer, the following should be\n\t\t\tnoted:</p>\n <ul>\n <li>\n <p>If a task has no essential containers with a health check defined, the service\n\t\t\t\t\tscheduler will wait for the load balancer target group health check to return a\n\t\t\t\t\thealthy status before counting the task towards the minimum healthy percent\n\t\t\t\t\ttotal.</p>\n </li>\n <li>\n <p>If a task has an essential container with a health check defined, the service\n\t\t\t\t\tscheduler will wait for both the task to reach a healthy status and the load\n\t\t\t\t\tbalancer target group health check to return a healthy status before counting\n\t\t\t\t\tthe task towards the minimum healthy percent total.</p>\n </li>\n </ul>\n <p>The default value for a replica service for\n\t\t\t<code>minimumHealthyPercent</code> is 100%. The default\n\t\t\t<code>minimumHealthyPercent</code> value for a service using\n\t\t\tthe <code>DAEMON</code> service schedule is 0% for the CLI,\n\t\t\tthe Amazon Web Services SDKs, and the APIs and 50% for the Amazon Web Services Management Console.</p>\n <p>The minimum number of healthy tasks during a deployment is the\n\t\t\t<code>desiredCount</code> multiplied by the\n\t\t\t<code>minimumHealthyPercent</code>/100, rounded up to the\n\t\t\tnearest integer value.</p>\n <p>If a service is using either the blue/green (<code>CODE_DEPLOY</code>) or\n\t\t\t\t<code>EXTERNAL</code> deployment types and is running tasks that use the\n\t\t\tEC2 launch type, the <b>minimum healthy\n\t\t\t\tpercent</b> value is set to the default value and is used to define the lower\n\t\t\tlimit on the number of the tasks in the service that remain in the <code>RUNNING</code>\n\t\t\tstate while the container instances are in the <code>DRAINING</code> state. If a service\n\t\t\tis using either the blue/green (<code>CODE_DEPLOY</code>) or <code>EXTERNAL</code>\n\t\t\tdeployment types and is running tasks that use the Fargate launch type,\n\t\t\tthe minimum healthy percent value is not used, although it is returned when describing\n\t\t\tyour service.</p>"
42464246
}
42474247
},
42484248
"alarms": {
@@ -9563,7 +9563,7 @@
95639563
"taskDefinition": {
95649564
"target": "com.amazonaws.ecs#String",
95659565
"traits": {
9566-
"smithy.api#documentation": "<p>The <code>family</code> and <code>revision</code> (<code>family:revision</code>) or\n\t\t\tfull ARN of the task definition to run. If a <code>revision</code> isn't specified,\n\t\t\tthe latest <code>ACTIVE</code> revision is used.</p>\n <p>When you create a policy for run-task, you can set the resource to be the latest task\n\t\t\tdefinition revision, or a specific revision.</p>\n <p>The full ARN value must match the value that you specified as the\n\t\t\t\t<code>Resource</code> of the principal's permissions policy.</p>\n <p>When you specify the policy resource as the latest task definition version (by setting\n\t\t\tthe <code>Resource</code> in the policy to\n\t\t\t\t<code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName</code>),\n\t\t\tthen set this value to\n\t\t\t\t<code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName</code>.</p>\n <p>When you specify the policy resource as a specific task definition version (by setting\n\t\t\tthe <code>Resource</code> in the policy to\n\t\t\t\t<code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1</code> or\n\t\t\t\t<code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*</code>),\n\t\t\tthen set this value to\n\t\t\t\t<code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1</code>.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources\">Policy Resources for Amazon ECS</a> in the Amazon Elastic Container Service developer Guide.</p>",
9566+
"smithy.api#documentation": "<p>The <code>family</code> and <code>revision</code> (<code>family:revision</code>) or\n\t\t\tfull ARN of the task definition to run. If a <code>revision</code> isn't specified,\n\t\t\tthe latest <code>ACTIVE</code> revision is used.</p>\n <p>The full ARN value must match the value that you specified as the\n\t\t\t\t<code>Resource</code> of the principal's permissions policy.</p>\n <p>When you specify a task definition, you must either specify a specific revision, or\n\t\t\tall revisions in the ARN.</p>\n <p>To specify a specific revision, include the revision number in the ARN. For example,\n\t\t\tto specify revision 2, use\n\t\t\t\t<code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:2</code>.</p>\n <p>To specify all revisions, use the wildcard (*) in the ARN. For example, to specify all\n\t\t\trevisions, use\n\t\t\t\t<code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*</code>.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources\">Policy Resources for Amazon ECS</a> in the Amazon Elastic Container Service Developer Guide.</p>",
95679567
"smithy.api#required": {}
95689568
}
95699569
},

codegen/sdk/aws-models/glue.json

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20111,12 +20111,26 @@
2011120111
"smithy.api#documentation": "<p>A cryptographically generated query identifier generated by Glue or Lake Formation.</p>"
2011220112
}
2011320113
},
20114+
"IsMultiDialectView": {
20115+
"target": "com.amazonaws.glue#Boolean",
20116+
"traits": {
20117+
"smithy.api#default": false,
20118+
"smithy.api#documentation": "<p>Specifies whether the view supports the SQL dialects of one or more different query engines and can therefore be read by those engines.</p>"
20119+
}
20120+
},
2011420121
"ResourceArn": {
2011520122
"target": "com.amazonaws.glue#ArnString",
2011620123
"traits": {
2011720124
"smithy.api#documentation": "<p>The resource ARN of the parent resource extracted from the request.</p>"
2011820125
}
2011920126
},
20127+
"IsProtected": {
20128+
"target": "com.amazonaws.glue#Boolean",
20129+
"traits": {
20130+
"smithy.api#default": false,
20131+
"smithy.api#documentation": "<p>A flag that instructs the engine not to push user-provided operations into the logical plan of the view during query planning. However, if set this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.</p>"
20132+
}
20133+
},
2012020134
"Permissions": {
2012120135
"target": "com.amazonaws.glue#PermissionList",
2012220136
"traits": {
@@ -32921,6 +32935,18 @@
3292132935
"traits": {
3292232936
"smithy.api#documentation": "<p>A <code>FederatedTable</code> structure that references an entity outside the Glue Data Catalog.</p>"
3292332937
}
32938+
},
32939+
"ViewDefinition": {
32940+
"target": "com.amazonaws.glue#ViewDefinition",
32941+
"traits": {
32942+
"smithy.api#documentation": "<p>A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query.</p>"
32943+
}
32944+
},
32945+
"IsMultiDialectView": {
32946+
"target": "com.amazonaws.glue#NullableBoolean",
32947+
"traits": {
32948+
"smithy.api#documentation": "<p>Specifies whether the view supports the SQL dialects of one or more different query engines and can therefore be read by those engines.</p>"
32949+
}
3292432950
}
3292532951
},
3292632952
"traits": {
@@ -36638,6 +36664,38 @@
3663836664
"smithy.api#pattern": "^[1-9][0-9]*|[1-9][0-9]*-[1-9][0-9]*$"
3663936665
}
3664036666
},
36667+
"com.amazonaws.glue#ViewDefinition": {
36668+
"type": "structure",
36669+
"members": {
36670+
"IsProtected": {
36671+
"target": "com.amazonaws.glue#NullableBoolean",
36672+
"traits": {
36673+
"smithy.api#documentation": "<p>You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.</p>"
36674+
}
36675+
},
36676+
"Definer": {
36677+
"target": "com.amazonaws.glue#ArnString",
36678+
"traits": {
36679+
"smithy.api#documentation": "<p>The definer of a view in SQL.</p>"
36680+
}
36681+
},
36682+
"SubObjects": {
36683+
"target": "com.amazonaws.glue#ViewSubObjectsList",
36684+
"traits": {
36685+
"smithy.api#documentation": "<p>A list of table Amazon Resource Names (ARNs).</p>"
36686+
}
36687+
},
36688+
"Representations": {
36689+
"target": "com.amazonaws.glue#ViewRepresentationList",
36690+
"traits": {
36691+
"smithy.api#documentation": "<p>A list of representations.</p>"
36692+
}
36693+
}
36694+
},
36695+
"traits": {
36696+
"smithy.api#documentation": "<p>A structure containing details for representations.</p>"
36697+
}
36698+
},
3664136699
"com.amazonaws.glue#ViewDialect": {
3664236700
"type": "enum",
3664336701
"members": {
@@ -36670,6 +36728,68 @@
3667036728
}
3667136729
}
3667236730
},
36731+
"com.amazonaws.glue#ViewRepresentation": {
36732+
"type": "structure",
36733+
"members": {
36734+
"Dialect": {
36735+
"target": "com.amazonaws.glue#ViewDialect",
36736+
"traits": {
36737+
"smithy.api#documentation": "<p>The dialect of the query engine.</p>"
36738+
}
36739+
},
36740+
"DialectVersion": {
36741+
"target": "com.amazonaws.glue#ViewDialectVersionString",
36742+
"traits": {
36743+
"smithy.api#documentation": "<p>The version of the dialect of the query engine. For example, 3.0.0.</p>"
36744+
}
36745+
},
36746+
"ViewOriginalText": {
36747+
"target": "com.amazonaws.glue#ViewTextString",
36748+
"traits": {
36749+
"smithy.api#documentation": "<p>The <code>SELECT</code> query provided by the customer during <code>CREATE VIEW DDL</code>. This SQL is not used during a query on a view (<code>ViewExpandedText</code> is used instead). <code>ViewOriginalText</code> is used for cases like <code>SHOW CREATE VIEW</code> where users want to see the original DDL command that created the view.</p>"
36750+
}
36751+
},
36752+
"ViewExpandedText": {
36753+
"target": "com.amazonaws.glue#ViewTextString",
36754+
"traits": {
36755+
"smithy.api#documentation": "<p>The expanded SQL for the view. This SQL is used by engines while processing a query on a view. Engines may perform operations during view creation to transform <code>ViewOriginalText</code> to <code>ViewExpandedText</code>. For example:</p>\n <ul>\n <li>\n <p>Fully qualify identifiers: <code>SELECT * from table1 → SELECT * from db1.table1</code>\n </p>\n </li>\n </ul>"
36756+
}
36757+
},
36758+
"IsStale": {
36759+
"target": "com.amazonaws.glue#NullableBoolean",
36760+
"traits": {
36761+
"smithy.api#documentation": "<p>Dialects marked as stale are no longer valid and must be updated before they can be queried in their respective query engines.</p>"
36762+
}
36763+
}
36764+
},
36765+
"traits": {
36766+
"smithy.api#documentation": "<p>A structure that contains the dialect of the view, and the query that defines the view.</p>"
36767+
}
36768+
},
36769+
"com.amazonaws.glue#ViewRepresentationList": {
36770+
"type": "list",
36771+
"member": {
36772+
"target": "com.amazonaws.glue#ViewRepresentation"
36773+
},
36774+
"traits": {
36775+
"smithy.api#length": {
36776+
"min": 1,
36777+
"max": 1000
36778+
}
36779+
}
36780+
},
36781+
"com.amazonaws.glue#ViewSubObjectsList": {
36782+
"type": "list",
36783+
"member": {
36784+
"target": "com.amazonaws.glue#ArnString"
36785+
},
36786+
"traits": {
36787+
"smithy.api#length": {
36788+
"min": 0,
36789+
"max": 10
36790+
}
36791+
}
36792+
},
3667336793
"com.amazonaws.glue#ViewTextString": {
3667436794
"type": "string",
3667536795
"traits": {

0 commit comments

Comments
 (0)