Skip to content

Commit e7ea0b5

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 5c1b48d commit e7ea0b5

File tree

7 files changed

+717
-193
lines changed

7 files changed

+717
-193
lines changed

codegen/sdk-codegen/aws-models/database-migration-service.json

Lines changed: 68 additions & 32 deletions
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/dataexchange.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4792,8 +4792,7 @@
47924792
"ProductId": {
47934793
"target": "com.amazonaws.dataexchange#__string",
47944794
"traits": {
4795-
"smithy.api#documentation": "<p>The product ID of the origin of the data set.</p>",
4796-
"smithy.api#required": {}
4795+
"smithy.api#documentation": "<p>The product ID of the origin of the data set.</p>"
47974796
}
47984797
}
47994798
},

codegen/sdk-codegen/aws-models/ec2.json

Lines changed: 306 additions & 114 deletions
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/ecs.json

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,7 +1738,7 @@
17381738
}
17391739
},
17401740
"traits": {
1741-
"smithy.api#documentation": "<p>These errors are usually caused by a client action. This client action might be using\n\t\t\tan action or resource on behalf of a user that doesn't have permissions to use the\n\t\t\taction or resource,. Or, it might be specifying an identifier that isn't valid.</p>",
1741+
"smithy.api#documentation": "<p>These errors are usually caused by a client action. This client action might be using\n\t\t\tan action or resource on behalf of a user that doesn't have permissions to use the\n\t\t\taction or resource. Or, it might be specifying an identifier that isn't valid.</p>",
17421742
"smithy.api#error": "client"
17431743
}
17441744
},
@@ -2054,6 +2054,24 @@
20542054
"target": "com.amazonaws.ecs#Compatibility"
20552055
}
20562056
},
2057+
"com.amazonaws.ecs#ConflictException": {
2058+
"type": "structure",
2059+
"members": {
2060+
"resourceIds": {
2061+
"target": "com.amazonaws.ecs#ResourceIds",
2062+
"traits": {
2063+
"smithy.api#documentation": "<p>The existing task ARNs which are already associated with the <code>clientToken</code>.</p>"
2064+
}
2065+
},
2066+
"message": {
2067+
"target": "com.amazonaws.ecs#String"
2068+
}
2069+
},
2070+
"traits": {
2071+
"smithy.api#documentation": "<p>The <code>RunTask</code> request could not be processed due to conflicts. The provided\n\t\t\t\t<code>clientToken</code> is already in use with a different <code>RunTask</code>\n\t\t\trequest. The <code>resourceIds</code> are the existing task ARNs which are already\n\t\t\tassociated with the <code>clientToken</code>. </p>\n <p>To fix this issue:</p>\n <ul>\n <li>\n <p>Run <code>RunTask</code> with a unique\n\t\t\t\t<code>clientToken</code>.</p>\n </li>\n <li>\n <p>Run <code>RunTask</code> with the <code>clientToken</code> and the original set of\n\t\t\t\t\tparameters</p>\n </li>\n </ul>",
2072+
"smithy.api#error": "client"
2073+
}
2074+
},
20572075
"com.amazonaws.ecs#Connectivity": {
20582076
"type": "enum",
20592077
"members": {
@@ -3138,7 +3156,7 @@
31383156
"clientToken": {
31393157
"target": "com.amazonaws.ecs#String",
31403158
"traits": {
3141-
"smithy.api#documentation": "<p>An identifier that you provide to ensure the idempotency of the request. It must be\n\t\t\tunique and is case sensitive. Up to 32 ASCII characters are allowed.</p>"
3159+
"smithy.api#documentation": "<p>An identifier that you provide to ensure the idempotency of the request. It must be\n\t\t\tunique and is case sensitive. Up to 36 ASCII characters in the range of 33-126 (inclusive) are allowed.</p>"
31423160
}
31433161
},
31443162
"launchType": {
@@ -3380,7 +3398,7 @@
33803398
"clientToken": {
33813399
"target": "com.amazonaws.ecs#String",
33823400
"traits": {
3383-
"smithy.api#documentation": "<p>The identifier that you provide to ensure the idempotency of the request. It's case\n\t\t\tsensitive and must be unique. It can be up to 32 ASCII characters are allowed.</p>"
3401+
"smithy.api#documentation": "<p>An identifier that you provide to ensure the idempotency of the request. It must be\n\t\t\tunique and is case sensitive. Up to 36 ASCII characters in the range of 33-126 (inclusive) are allowed.</p>"
33843402
}
33853403
},
33863404
"tags": {
@@ -8157,7 +8175,7 @@
81578175
"protocol": {
81588176
"target": "com.amazonaws.ecs#TransportProtocol",
81598177
"traits": {
8160-
"smithy.api#documentation": "<p>The protocol used for the port mapping. Valid values are <code>tcp</code> and\n\t\t\t\t<code>udp</code>. The default is <code>tcp</code>.</p>"
8178+
"smithy.api#documentation": "<p>The protocol used for the port mapping. Valid values are <code>tcp</code> and\n\t\t\t<code>udp</code>. The default is <code>tcp</code>. <code>protocol</code> is immutable in a \n\t\t\tService Connect service. Updating this field requires a service deletion and \n\t\t\tredeployment.\n\t\t</p>"
81618179
}
81628180
},
81638181
"name": {
@@ -8169,7 +8187,7 @@
81698187
"appProtocol": {
81708188
"target": "com.amazonaws.ecs#ApplicationProtocol",
81718189
"traits": {
8172-
"smithy.api#documentation": "<p>The application protocol that's used for the port mapping. This parameter only applies\n\t\t\tto Service Connect. We recommend that you set this parameter to be consistent with the\n\t\t\tprotocol that your application uses. If you set this parameter, Amazon ECS adds\n\t\t\tprotocol-specific connection handling to the Service Connect proxy. If you set this\n\t\t\tparameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS console and CloudWatch.</p>\n <p>If you don't set a value for this parameter, then TCP is used. However, Amazon ECS doesn't\n\t\t\tadd protocol-specific telemetry for TCP.</p>\n <p>Tasks that run in a namespace can use short names to connect\n\tto services in the namespace. Tasks can connect to services across all of the clusters in the namespace.\n\tTasks connect through a managed proxy container\n\tthat collects logs and metrics for increased visibility.\n\tOnly the tasks that Amazon ECS services create are supported with Service Connect.\n\tFor more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html\">Service Connect</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
8190+
"smithy.api#documentation": "<p>The application protocol that's used for the port mapping. This parameter only applies\n\t\t\tto Service Connect. We recommend that you set this parameter to be consistent with the\n\t\t\tprotocol that your application uses. If you set this parameter, Amazon ECS adds\n\t\t\tprotocol-specific connection handling to the Service Connect proxy. If you set this\n\t\t\tparameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS console and CloudWatch.</p>\n <p>If you don't set a value for this parameter, then TCP is used. However, Amazon ECS doesn't\n\t\t\tadd protocol-specific telemetry for TCP.</p>\n <p>\n <code>appProtocol</code> is immutable in a Service Connect service. Updating this field \n\t\t\trequires a service deletion and redeployment.</p>\n <p>Tasks that run in a namespace can use short names to connect\n\tto services in the namespace. Tasks can connect to services across all of the clusters in the namespace.\n\tTasks connect through a managed proxy container\n\tthat collects logs and metrics for increased visibility.\n\tOnly the tasks that Amazon ECS services create are supported with Service Connect.\n\tFor more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html\">Service Connect</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
81738191
}
81748192
},
81758193
"containerPortRange": {
@@ -8963,6 +8981,12 @@
89638981
"smithy.api#documentation": "<p>Describes the resources available for a container instance.</p>"
89648982
}
89658983
},
8984+
"com.amazonaws.ecs#ResourceIds": {
8985+
"type": "list",
8986+
"member": {
8987+
"target": "com.amazonaws.ecs#String"
8988+
}
8989+
},
89668990
"com.amazonaws.ecs#ResourceInUseException": {
89678991
"type": "structure",
89688992
"members": {
@@ -9059,6 +9083,9 @@
90599083
{
90609084
"target": "com.amazonaws.ecs#ClusterNotFoundException"
90619085
},
9086+
{
9087+
"target": "com.amazonaws.ecs#ConflictException"
9088+
},
90629089
{
90639090
"target": "com.amazonaws.ecs#InvalidParameterException"
90649091
},
@@ -9207,7 +9234,7 @@
92079234
"startedBy": {
92089235
"target": "com.amazonaws.ecs#String",
92099236
"traits": {
9210-
"smithy.api#documentation": "<p>An optional tag specified when a task is started. For example, if you automatically\n\t\t\ttrigger a task to run a batch process job, you could apply a unique identifier for that\n\t\t\tjob to your task with the <code>startedBy</code> parameter. You can then identify which\n\t\t\ttasks belong to that job by filtering the results of a <a>ListTasks</a> call\n\t\t\twith the <code>startedBy</code> value. Up to 36 letters (uppercase and lowercase),\n\t\t\tnumbers, hyphens (-), and underscores (_) are allowed.</p>\n <p>If a task is started by an Amazon ECS service, then the <code>startedBy</code> parameter\n\t\t\tcontains the deployment ID of the service that starts it.</p>"
9237+
"smithy.api#documentation": "<p>An optional tag specified when a task is started. For example, if you automatically trigger\n\t\t\ta task to run a batch process job, you could apply a unique identifier for that job to\n\t\t\tyour task with the <code>startedBy</code> parameter. You can then identify which tasks\n\t\t\tbelong to that job by filtering the results of a <a>ListTasks</a> call with\n\t\t\tthe <code>startedBy</code> value. Up to 128 letters (uppercase and lowercase), numbers,\n\t\t\thyphens (-), and underscores (_) are allowed.</p>\n <p>If a task is started by an Amazon ECS service, then the <code>startedBy</code> parameter\n\t\t\tcontains the deployment ID of the service that starts it.</p>"
92119238
}
92129239
},
92139240
"tags": {
@@ -9222,6 +9249,13 @@
92229249
"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\n\t\t\ttask definition 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>",
92239250
"smithy.api#required": {}
92249251
}
9252+
},
9253+
"clientToken": {
9254+
"target": "com.amazonaws.ecs#String",
9255+
"traits": {
9256+
"smithy.api#documentation": "<p>An identifier that you provide to ensure the idempotency of the request. It must be unique\n\t\t\tand is case sensitive. Up to 64 characters are allowed. The valid characters are characters in the range of 33-126, inclusive. For more information, see\n\t\t\t\t<a href=\"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/ECS_Idempotency.html\">Ensuring idempotency</a>.</p>",
9257+
"smithy.api#idempotencyToken": {}
9258+
}
92259259
}
92269260
},
92279261
"traits": {
@@ -9234,7 +9268,7 @@
92349268
"tasks": {
92359269
"target": "com.amazonaws.ecs#Tasks",
92369270
"traits": {
9237-
"smithy.api#documentation": "<p>A full description of the tasks that were run. The tasks that were successfully placed\n\t\t\ton your cluster are described here.</p>"
9271+
"smithy.api#documentation": "<p>A full description of the tasks that were run. The tasks that were successfully placed\n\t\t\ton your cluster are described here.</p>\n <p></p>"
92389272
}
92399273
},
92409274
"failures": {

codegen/sdk-codegen/aws-models/emr.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4102,9 +4102,7 @@
41024102
"ExecutionRoleArn": {
41034103
"target": "com.amazonaws.emr#ArnType",
41044104
"traits": {
4105-
"smithy.api#clientOptional": {},
4106-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the runtime role for interactive workload submission\n on the cluster. The runtime role can be a cross-account IAM role. The\n runtime role ARN is a combination of account ID, role name, and role type using the\n following format: <code>arn:partition:service:region:account:resource</code>.</p>",
4107-
"smithy.api#required": {}
4105+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the runtime role for interactive workload submission\n on the cluster. The runtime role can be a cross-account IAM role. The\n runtime role ARN is a combination of account ID, role name, and role type using the\n following format: <code>arn:partition:service:region:account:resource</code>.</p>"
41084106
}
41094107
}
41104108
},

0 commit comments

Comments
 (0)