Skip to content

Commit 52a10ac

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent adab0de commit 52a10ac

10 files changed

+11194
-3043
lines changed

Diff for: codegen/sdk-codegen/aws-models/batch.json

+36-18
Original file line numberDiff line numberDiff line change
@@ -4024,6 +4024,12 @@
40244024
"smithy.api#documentation": "<p>The details for the init containers.</p>"
40254025
}
40264026
},
4027+
"eksClusterArn": {
4028+
"target": "com.amazonaws.batch#String",
4029+
"traits": {
4030+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon EKS cluster.</p>"
4031+
}
4032+
},
40274033
"podName": {
40284034
"target": "com.amazonaws.batch#String",
40294035
"traits": {
@@ -6499,6 +6505,12 @@
64996505
"traits": {
65006506
"smithy.api#documentation": "<p>An object that contains the instance types that you want to replace for the existing\n resources of a job.</p>"
65016507
}
6508+
},
6509+
"eksPropertiesOverride": {
6510+
"target": "com.amazonaws.batch#EksPropertiesOverride",
6511+
"traits": {
6512+
"smithy.api#documentation": "<p>An object that contains the properties that you want to replace for the existing Amazon EKS resources of a job.</p>"
6513+
}
65026514
}
65036515
},
65046516
"traits": {
@@ -6545,6 +6557,12 @@
65456557
"traits": {
65466558
"smithy.api#documentation": "<p>This is an object that represents the properties of the node range for a multi-node parallel\n job.</p>"
65476559
}
6560+
},
6561+
"eksProperties": {
6562+
"target": "com.amazonaws.batch#EksProperties",
6563+
"traits": {
6564+
"smithy.api#documentation": "<p>This is an object that represents the properties of the node range for a multi-node parallel job.</p>"
6565+
}
65486566
}
65496567
},
65506568
"traits": {
@@ -6629,14 +6647,16 @@
66296647
"smithy.api#documentation": "<p>Registers an Batch job definition.</p>",
66306648
"smithy.api#examples": [
66316649
{
6632-
"title": "To register a job definition",
6633-
"documentation": "This example registers a job definition for a simple container job.",
6650+
"title": "RegisterJobDefinition with tags",
6651+
"documentation": "This demonstrates calling the RegisterJobDefinition action, including tags.",
66346652
"input": {
6653+
"jobDefinitionName": "sleep30",
6654+
"type": "container",
66356655
"containerProperties": {
66366656
"image": "busybox",
66376657
"command": [
66386658
"sleep",
6639-
"10"
6659+
"30"
66406660
],
66416661
"resourceRequirements": [
66426662
{
@@ -6649,26 +6669,26 @@
66496669
}
66506670
]
66516671
},
6652-
"type": "container",
6653-
"jobDefinitionName": "sleep10"
6672+
"tags": {
6673+
"Department": "Engineering",
6674+
"User": "JaneDoe"
6675+
}
66546676
},
66556677
"output": {
6656-
"jobDefinitionName": "sleep10",
6657-
"jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep10:1",
6678+
"jobDefinitionName": "sleep30",
6679+
"jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep30:1",
66586680
"revision": 1
66596681
}
66606682
},
66616683
{
6662-
"title": "RegisterJobDefinition with tags",
6663-
"documentation": "This demonstrates calling the RegisterJobDefinition action, including tags.",
6684+
"title": "To register a job definition",
6685+
"documentation": "This example registers a job definition for a simple container job.",
66646686
"input": {
6665-
"jobDefinitionName": "sleep30",
6666-
"type": "container",
66676687
"containerProperties": {
66686688
"image": "busybox",
66696689
"command": [
66706690
"sleep",
6671-
"30"
6691+
"10"
66726692
],
66736693
"resourceRequirements": [
66746694
{
@@ -6681,14 +6701,12 @@
66816701
}
66826702
]
66836703
},
6684-
"tags": {
6685-
"Department": "Engineering",
6686-
"User": "JaneDoe"
6687-
}
6704+
"type": "container",
6705+
"jobDefinitionName": "sleep10"
66886706
},
66896707
"output": {
6690-
"jobDefinitionName": "sleep30",
6691-
"jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep30:1",
6708+
"jobDefinitionName": "sleep10",
6709+
"jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep10:1",
66926710
"revision": 1
66936711
}
66946712
}

0 commit comments

Comments
 (0)