|
2519 | 2519 | "template": { |
2520 | 2520 | "target": "com.amazonaws.deadline#JobTemplate", |
2521 | 2521 | "traits": { |
2522 | | - "smithy.api#documentation": "<p>The job template to use for this job.</p>", |
2523 | | - "smithy.api#required": {} |
| 2522 | + "smithy.api#documentation": "<p>The job template to use for this job.</p>" |
2524 | 2523 | } |
2525 | 2524 | }, |
2526 | 2525 | "templateType": { |
2527 | 2526 | "target": "com.amazonaws.deadline#JobTemplateType", |
2528 | 2527 | "traits": { |
2529 | | - "smithy.api#documentation": "<p>The file type for the job template.</p>", |
2530 | | - "smithy.api#required": {} |
| 2528 | + "smithy.api#documentation": "<p>The file type for the job template.</p>" |
2531 | 2529 | } |
2532 | 2530 | }, |
2533 | 2531 | "priority": { |
|
2575 | 2573 | "smithy.api#default": 5, |
2576 | 2574 | "smithy.api#documentation": "<p>The maximum number of retries for each task.</p>" |
2577 | 2575 | } |
| 2576 | + }, |
| 2577 | + "sourceJobId": { |
| 2578 | + "target": "com.amazonaws.deadline#JobId", |
| 2579 | + "traits": { |
| 2580 | + "smithy.api#documentation": "<p>The job ID for the source job.</p>" |
| 2581 | + } |
2578 | 2582 | } |
2579 | 2583 | }, |
2580 | 2584 | "traits": { |
|
7570 | 7574 | "traits": { |
7571 | 7575 | "smithy.api#documentation": "<p>The description of the job.</p>\n <important>\n <p>This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.</p>\n </important>" |
7572 | 7576 | } |
| 7577 | + }, |
| 7578 | + "sourceJobId": { |
| 7579 | + "target": "com.amazonaws.deadline#JobId", |
| 7580 | + "traits": { |
| 7581 | + "smithy.api#documentation": "<p>The job ID for the source job.</p>" |
| 7582 | + } |
7573 | 7583 | } |
7574 | 7584 | }, |
7575 | 7585 | "traits": { |
|
10328 | 10338 | "smithy.api#documentation": "<p>The details of job parameters.</p>" |
10329 | 10339 | } |
10330 | 10340 | }, |
| 10341 | + "com.amazonaws.deadline#JobParameterDefinition": { |
| 10342 | + "type": "document" |
| 10343 | + }, |
| 10344 | + "com.amazonaws.deadline#JobParameterDefinitions": { |
| 10345 | + "type": "list", |
| 10346 | + "member": { |
| 10347 | + "target": "com.amazonaws.deadline#JobParameterDefinition" |
| 10348 | + } |
| 10349 | + }, |
10331 | 10350 | "com.amazonaws.deadline#JobParameters": { |
10332 | 10351 | "type": "map", |
10333 | 10352 | "key": { |
|
10399 | 10418 | { |
10400 | 10419 | "target": "com.amazonaws.deadline#ListJobMembers" |
10401 | 10420 | }, |
| 10421 | + { |
| 10422 | + "target": "com.amazonaws.deadline#ListJobParameterDefinitions" |
| 10423 | + }, |
10402 | 10424 | { |
10403 | 10425 | "target": "com.amazonaws.deadline#ListSessionActions" |
10404 | 10426 | }, |
|
10573 | 10595 | "traits": { |
10574 | 10596 | "smithy.api#documentation": "<p>The job parameters.</p>" |
10575 | 10597 | } |
| 10598 | + }, |
| 10599 | + "sourceJobId": { |
| 10600 | + "target": "com.amazonaws.deadline#JobId", |
| 10601 | + "traits": { |
| 10602 | + "smithy.api#documentation": "<p>The job ID for the source job.</p>" |
| 10603 | + } |
10576 | 10604 | } |
10577 | 10605 | }, |
10578 | 10606 | "traits": { |
|
10690 | 10718 | "traits": { |
10691 | 10719 | "smithy.api#documentation": "<p>The maximum number of retries for a job.</p>" |
10692 | 10720 | } |
| 10721 | + }, |
| 10722 | + "sourceJobId": { |
| 10723 | + "target": "com.amazonaws.deadline#JobId", |
| 10724 | + "traits": { |
| 10725 | + "smithy.api#documentation": "<p>The job ID for the source job.</p>" |
| 10726 | + } |
10693 | 10727 | } |
10694 | 10728 | }, |
10695 | 10729 | "traits": { |
@@ -11651,6 +11685,125 @@ |
11651 | 11685 | "smithy.api#output": {} |
11652 | 11686 | } |
11653 | 11687 | }, |
| 11688 | + "com.amazonaws.deadline#ListJobParameterDefinitions": { |
| 11689 | + "type": "operation", |
| 11690 | + "input": { |
| 11691 | + "target": "com.amazonaws.deadline#ListJobParameterDefinitionsRequest" |
| 11692 | + }, |
| 11693 | + "output": { |
| 11694 | + "target": "com.amazonaws.deadline#ListJobParameterDefinitionsResponse" |
| 11695 | + }, |
| 11696 | + "errors": [ |
| 11697 | + { |
| 11698 | + "target": "com.amazonaws.deadline#AccessDeniedException" |
| 11699 | + }, |
| 11700 | + { |
| 11701 | + "target": "com.amazonaws.deadline#InternalServerErrorException" |
| 11702 | + }, |
| 11703 | + { |
| 11704 | + "target": "com.amazonaws.deadline#ResourceNotFoundException" |
| 11705 | + }, |
| 11706 | + { |
| 11707 | + "target": "com.amazonaws.deadline#ThrottlingException" |
| 11708 | + }, |
| 11709 | + { |
| 11710 | + "target": "com.amazonaws.deadline#ValidationException" |
| 11711 | + } |
| 11712 | + ], |
| 11713 | + "traits": { |
| 11714 | + "aws.iam#iamAction": { |
| 11715 | + "name": "ListJobParameterDefinitions", |
| 11716 | + "documentation": "Grants permission to get a job's parameter definitions in the job template", |
| 11717 | + "requiredActions": [ |
| 11718 | + "identitystore:ListGroupMembershipsForMember" |
| 11719 | + ] |
| 11720 | + }, |
| 11721 | + "smithy.api#documentation": "<p>Lists parameter definitions of a job.</p>", |
| 11722 | + "smithy.api#endpoint": { |
| 11723 | + "hostPrefix": "management." |
| 11724 | + }, |
| 11725 | + "smithy.api#http": { |
| 11726 | + "method": "GET", |
| 11727 | + "uri": "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/parameter-definitions", |
| 11728 | + "code": 200 |
| 11729 | + }, |
| 11730 | + "smithy.api#paginated": { |
| 11731 | + "inputToken": "nextToken", |
| 11732 | + "outputToken": "nextToken", |
| 11733 | + "pageSize": "maxResults", |
| 11734 | + "items": "jobParameterDefinitions" |
| 11735 | + }, |
| 11736 | + "smithy.api#readonly": {} |
| 11737 | + } |
| 11738 | + }, |
| 11739 | + "com.amazonaws.deadline#ListJobParameterDefinitionsRequest": { |
| 11740 | + "type": "structure", |
| 11741 | + "members": { |
| 11742 | + "farmId": { |
| 11743 | + "target": "com.amazonaws.deadline#FarmId", |
| 11744 | + "traits": { |
| 11745 | + "smithy.api#documentation": "<p>The farm ID of the job to list.</p>", |
| 11746 | + "smithy.api#httpLabel": {}, |
| 11747 | + "smithy.api#required": {} |
| 11748 | + } |
| 11749 | + }, |
| 11750 | + "jobId": { |
| 11751 | + "target": "com.amazonaws.deadline#JobId", |
| 11752 | + "traits": { |
| 11753 | + "smithy.api#documentation": "<p>The job ID to include on the list.</p>", |
| 11754 | + "smithy.api#httpLabel": {}, |
| 11755 | + "smithy.api#required": {} |
| 11756 | + } |
| 11757 | + }, |
| 11758 | + "queueId": { |
| 11759 | + "target": "com.amazonaws.deadline#QueueId", |
| 11760 | + "traits": { |
| 11761 | + "smithy.api#documentation": "<p>The queue ID to include on the list.</p>", |
| 11762 | + "smithy.api#httpLabel": {}, |
| 11763 | + "smithy.api#required": {} |
| 11764 | + } |
| 11765 | + }, |
| 11766 | + "nextToken": { |
| 11767 | + "target": "com.amazonaws.deadline#String", |
| 11768 | + "traits": { |
| 11769 | + "smithy.api#documentation": "<p>The token for the next set of results, or <code>null</code> to start from the beginning.</p>", |
| 11770 | + "smithy.api#httpQuery": "nextToken" |
| 11771 | + } |
| 11772 | + }, |
| 11773 | + "maxResults": { |
| 11774 | + "target": "com.amazonaws.deadline#MaxResults", |
| 11775 | + "traits": { |
| 11776 | + "smithy.api#default": 100, |
| 11777 | + "smithy.api#documentation": "<p>The maximum number of results to return. Use this parameter with <code>NextToken</code> to get results as a set of sequential pages.</p>", |
| 11778 | + "smithy.api#httpQuery": "maxResults" |
| 11779 | + } |
| 11780 | + } |
| 11781 | + }, |
| 11782 | + "traits": { |
| 11783 | + "smithy.api#input": {} |
| 11784 | + } |
| 11785 | + }, |
| 11786 | + "com.amazonaws.deadline#ListJobParameterDefinitionsResponse": { |
| 11787 | + "type": "structure", |
| 11788 | + "members": { |
| 11789 | + "jobParameterDefinitions": { |
| 11790 | + "target": "com.amazonaws.deadline#JobParameterDefinitions", |
| 11791 | + "traits": { |
| 11792 | + "smithy.api#documentation": "<p>Lists parameter definitions of a job.</p>", |
| 11793 | + "smithy.api#required": {} |
| 11794 | + } |
| 11795 | + }, |
| 11796 | + "nextToken": { |
| 11797 | + "target": "com.amazonaws.deadline#String", |
| 11798 | + "traits": { |
| 11799 | + "smithy.api#documentation": "<p>If Deadline Cloud returns <code>nextToken</code>, then there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then <code>nextToken</code> is set to <code>null</code>. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 <code>ValidationException</code> error.</p>" |
| 11800 | + } |
| 11801 | + } |
| 11802 | + }, |
| 11803 | + "traits": { |
| 11804 | + "smithy.api#output": {} |
| 11805 | + } |
| 11806 | + }, |
11654 | 11807 | "com.amazonaws.deadline#ListJobs": { |
11655 | 11808 | "type": "operation", |
11656 | 11809 | "input": { |
|
0 commit comments