Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Jul 10, 2024
1 parent adab0de commit 52a10ac
Show file tree
Hide file tree
Showing 10 changed files with 11,194 additions and 3,043 deletions.
54 changes: 36 additions & 18 deletions codegen/sdk-codegen/aws-models/batch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4024,6 +4024,12 @@
"smithy.api#documentation": "<p>The details for the init containers.</p>"
}
},
"eksClusterArn": {
"target": "com.amazonaws.batch#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon EKS cluster.</p>"
}
},
"podName": {
"target": "com.amazonaws.batch#String",
"traits": {
Expand Down Expand Up @@ -6499,6 +6505,12 @@
"traits": {
"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>"
}
},
"eksPropertiesOverride": {
"target": "com.amazonaws.batch#EksPropertiesOverride",
"traits": {
"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>"
}
}
},
"traits": {
Expand Down Expand Up @@ -6545,6 +6557,12 @@
"traits": {
"smithy.api#documentation": "<p>This is an object that represents the properties of the node range for a multi-node parallel\n job.</p>"
}
},
"eksProperties": {
"target": "com.amazonaws.batch#EksProperties",
"traits": {
"smithy.api#documentation": "<p>This is an object that represents the properties of the node range for a multi-node parallel job.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -6629,14 +6647,16 @@
"smithy.api#documentation": "<p>Registers an Batch job definition.</p>",
"smithy.api#examples": [
{
"title": "To register a job definition",
"documentation": "This example registers a job definition for a simple container job.",
"title": "RegisterJobDefinition with tags",
"documentation": "This demonstrates calling the RegisterJobDefinition action, including tags.",
"input": {
"jobDefinitionName": "sleep30",
"type": "container",
"containerProperties": {
"image": "busybox",
"command": [
"sleep",
"10"
"30"
],
"resourceRequirements": [
{
Expand All @@ -6649,26 +6669,26 @@
}
]
},
"type": "container",
"jobDefinitionName": "sleep10"
"tags": {
"Department": "Engineering",
"User": "JaneDoe"
}
},
"output": {
"jobDefinitionName": "sleep10",
"jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep10:1",
"jobDefinitionName": "sleep30",
"jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep30:1",
"revision": 1
}
},
{
"title": "RegisterJobDefinition with tags",
"documentation": "This demonstrates calling the RegisterJobDefinition action, including tags.",
"title": "To register a job definition",
"documentation": "This example registers a job definition for a simple container job.",
"input": {
"jobDefinitionName": "sleep30",
"type": "container",
"containerProperties": {
"image": "busybox",
"command": [
"sleep",
"30"
"10"
],
"resourceRequirements": [
{
Expand All @@ -6681,14 +6701,12 @@
}
]
},
"tags": {
"Department": "Engineering",
"User": "JaneDoe"
}
"type": "container",
"jobDefinitionName": "sleep10"
},
"output": {
"jobDefinitionName": "sleep30",
"jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep30:1",
"jobDefinitionName": "sleep10",
"jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep10:1",
"revision": 1
}
}
Expand Down
Loading

0 comments on commit 52a10ac

Please sign in to comment.