Skip to content

Commit f1a32d5

Browse files
feat: update AWS API models
1 parent acccef5 commit f1a32d5

File tree

4 files changed

+4497
-897
lines changed

4 files changed

+4497
-897
lines changed

codegen/sdk/aws-models/deadline.json

Lines changed: 157 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2519,15 +2519,13 @@
25192519
"template": {
25202520
"target": "com.amazonaws.deadline#JobTemplate",
25212521
"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>"
25242523
}
25252524
},
25262525
"templateType": {
25272526
"target": "com.amazonaws.deadline#JobTemplateType",
25282527
"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>"
25312529
}
25322530
},
25332531
"priority": {
@@ -2575,6 +2573,12 @@
25752573
"smithy.api#default": 5,
25762574
"smithy.api#documentation": "<p>The maximum number of retries for each task.</p>"
25772575
}
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+
}
25782582
}
25792583
},
25802584
"traits": {
@@ -7570,6 +7574,12 @@
75707574
"traits": {
75717575
"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>"
75727576
}
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+
}
75737583
}
75747584
},
75757585
"traits": {
@@ -10328,6 +10338,15 @@
1032810338
"smithy.api#documentation": "<p>The details of job parameters.</p>"
1032910339
}
1033010340
},
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+
},
1033110350
"com.amazonaws.deadline#JobParameters": {
1033210351
"type": "map",
1033310352
"key": {
@@ -10399,6 +10418,9 @@
1039910418
{
1040010419
"target": "com.amazonaws.deadline#ListJobMembers"
1040110420
},
10421+
{
10422+
"target": "com.amazonaws.deadline#ListJobParameterDefinitions"
10423+
},
1040210424
{
1040310425
"target": "com.amazonaws.deadline#ListSessionActions"
1040410426
},
@@ -10573,6 +10595,12 @@
1057310595
"traits": {
1057410596
"smithy.api#documentation": "<p>The job parameters.</p>"
1057510597
}
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+
}
1057610604
}
1057710605
},
1057810606
"traits": {
@@ -10690,6 +10718,12 @@
1069010718
"traits": {
1069110719
"smithy.api#documentation": "<p>The maximum number of retries for a job.</p>"
1069210720
}
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+
}
1069310727
}
1069410728
},
1069510729
"traits": {
@@ -11651,6 +11685,125 @@
1165111685
"smithy.api#output": {}
1165211686
}
1165311687
},
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+
},
1165411807
"com.amazonaws.deadline#ListJobs": {
1165511808
"type": "operation",
1165611809
"input": {

0 commit comments

Comments
 (0)