|
4024 | 4024 | "smithy.api#documentation": "<p>The details for the init containers.</p>" |
4025 | 4025 | } |
4026 | 4026 | }, |
| 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 | + }, |
4027 | 4033 | "podName": { |
4028 | 4034 | "target": "com.amazonaws.batch#String", |
4029 | 4035 | "traits": { |
|
6499 | 6505 | "traits": { |
6500 | 6506 | "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>" |
6501 | 6507 | } |
| 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 | + } |
6502 | 6514 | } |
6503 | 6515 | }, |
6504 | 6516 | "traits": { |
|
6545 | 6557 | "traits": { |
6546 | 6558 | "smithy.api#documentation": "<p>This is an object that represents the properties of the node range for a multi-node parallel\n job.</p>" |
6547 | 6559 | } |
| 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 | + } |
6548 | 6566 | } |
6549 | 6567 | }, |
6550 | 6568 | "traits": { |
|
6629 | 6647 | "smithy.api#documentation": "<p>Registers an Batch job definition.</p>", |
6630 | 6648 | "smithy.api#examples": [ |
6631 | 6649 | { |
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.", |
6634 | 6652 | "input": { |
| 6653 | + "jobDefinitionName": "sleep30", |
| 6654 | + "type": "container", |
6635 | 6655 | "containerProperties": { |
6636 | 6656 | "image": "busybox", |
6637 | 6657 | "command": [ |
6638 | 6658 | "sleep", |
6639 | | - "10" |
| 6659 | + "30" |
6640 | 6660 | ], |
6641 | 6661 | "resourceRequirements": [ |
6642 | 6662 | { |
|
6649 | 6669 | } |
6650 | 6670 | ] |
6651 | 6671 | }, |
6652 | | - "type": "container", |
6653 | | - "jobDefinitionName": "sleep10" |
| 6672 | + "tags": { |
| 6673 | + "Department": "Engineering", |
| 6674 | + "User": "JaneDoe" |
| 6675 | + } |
6654 | 6676 | }, |
6655 | 6677 | "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", |
6658 | 6680 | "revision": 1 |
6659 | 6681 | } |
6660 | 6682 | }, |
6661 | 6683 | { |
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.", |
6664 | 6686 | "input": { |
6665 | | - "jobDefinitionName": "sleep30", |
6666 | | - "type": "container", |
6667 | 6687 | "containerProperties": { |
6668 | 6688 | "image": "busybox", |
6669 | 6689 | "command": [ |
6670 | 6690 | "sleep", |
6671 | | - "30" |
| 6691 | + "10" |
6672 | 6692 | ], |
6673 | 6693 | "resourceRequirements": [ |
6674 | 6694 | { |
|
6681 | 6701 | } |
6682 | 6702 | ] |
6683 | 6703 | }, |
6684 | | - "tags": { |
6685 | | - "Department": "Engineering", |
6686 | | - "User": "JaneDoe" |
6687 | | - } |
| 6704 | + "type": "container", |
| 6705 | + "jobDefinitionName": "sleep10" |
6688 | 6706 | }, |
6689 | 6707 | "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", |
6692 | 6710 | "revision": 1 |
6693 | 6711 | } |
6694 | 6712 | } |
|
0 commit comments