Skip to content

Commit cee675c

Browse files
author
AWS
committed
Amazon EMR Containers Update: Updated DescribeManagedEndpoint and ListManagedEndpoints to return failureReason and stateDetails in API response.
1 parent 51cf791 commit cee675c

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon EMR Containers",
4+
"contributor": "",
5+
"description": "Updated DescribeManagedEndpoint and ListManagedEndpoints to return failureReason and stateDetails in API response."
6+
}

services/emrcontainers/src/main/resources/codegen-resources/service-2.json

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,12 @@
294294
},
295295
"documentation":"<p>A configuration for CloudWatch monitoring. You can configure your jobs to send log information to CloudWatch Logs.</p>"
296296
},
297+
"ClusterId":{
298+
"type":"string",
299+
"max":100,
300+
"min":1,
301+
"pattern":"^[0-9A-Za-z][A-Za-z0-9\\-_]*"
302+
},
297303
"Configuration":{
298304
"type":"structure",
299305
"required":["classification"],
@@ -355,7 +361,7 @@
355361
"documentation":"<p>The type of the container provider. EKS is the only supported type as of now.</p>"
356362
},
357363
"id":{
358-
"shape":"String256",
364+
"shape":"ClusterId",
359365
"documentation":"<p>The ID of the container cluster.</p>"
360366
},
361367
"info":{
@@ -631,7 +637,7 @@
631637
"type":"structure",
632638
"members":{
633639
"namespace":{
634-
"shape":"String256",
640+
"shape":"KubernetesNamespace",
635641
"documentation":"<p>The namespaces of the EKS cluster.</p>"
636642
}
637643
},
@@ -696,6 +702,14 @@
696702
"shape":"SubnetIds",
697703
"documentation":"<p>The subnet IDs of the endpoint. </p>"
698704
},
705+
"stateDetails":{
706+
"shape":"String256",
707+
"documentation":"<p> Additional details of the endpoint state. </p>"
708+
},
709+
"failureReason":{
710+
"shape":"FailureReason",
711+
"documentation":"<p> The reasons why the endpoint has failed. </p>"
712+
},
699713
"tags":{
700714
"shape":"TagMap",
701715
"documentation":"<p>The tags of the endpoint. </p>"
@@ -889,6 +903,12 @@
889903
"type":"list",
890904
"member":{"shape":"JobRun"}
891905
},
906+
"KubernetesNamespace":{
907+
"type":"string",
908+
"max":63,
909+
"min":1,
910+
"pattern":"[a-z0-9]([-a-z0-9]*[a-z0-9])?"
911+
},
892912
"ListJobRunsRequest":{
893913
"type":"structure",
894914
"required":["virtualClusterId"],
@@ -1207,7 +1227,7 @@
12071227
},
12081228
"SparkSubmitParameters":{
12091229
"type":"string",
1210-
"max":1024,
1230+
"max":102400,
12111231
"min":1,
12121232
"pattern":"(?!\\s*$)(^[^';|\\u0026\\u003C\\u003E*?`$(){}\\[\\]!#\\\\]*$)",
12131233
"sensitive":true

0 commit comments

Comments
 (0)