Skip to content

Commit fd6d1d4

Browse files
author
awstools
committed
feat(client-deadline): AWS Deadline Cloud now supports editing job names and descriptions after submission.
1 parent 3f52b92 commit fd6d1d4

6 files changed

Lines changed: 23152 additions & 23353 deletions

File tree

clients/client-deadline/src/commands/CreateJobCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
7272
* maxRetriesPerTask: Number("int"),
7373
* maxWorkerCount: Number("int"),
7474
* sourceJobId: "STRING_VALUE",
75+
* nameOverride: "STRING_VALUE",
76+
* descriptionOverride: "STRING_VALUE",
7577
* };
7678
* const command = new CreateJobCommand(input);
7779
* const response = await client.send(command);

clients/client-deadline/src/commands/UpdateJobCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ export interface UpdateJobCommandOutput extends UpdateJobResponse, __MetadataBea
4444
* maxRetriesPerTask: Number("int"),
4545
* lifecycleStatus: "ARCHIVED",
4646
* maxWorkerCount: Number("int"),
47+
* name: "STRING_VALUE",
48+
* description: "STRING_VALUE",
4749
* farmId: "STRING_VALUE", // required
4850
* queueId: "STRING_VALUE", // required
4951
* jobId: "STRING_VALUE", // required

clients/client-deadline/src/models/models_0.ts

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2939,6 +2939,18 @@ export interface CreateJobRequest {
29392939
* @public
29402940
*/
29412941
sourceJobId?: string | undefined;
2942+
2943+
/**
2944+
* <p>A custom name to override the job name derived from the job template.</p>
2945+
* @public
2946+
*/
2947+
nameOverride?: string | undefined;
2948+
2949+
/**
2950+
* <p>A custom description to override the job description derived from the job template.</p>
2951+
* @public
2952+
*/
2953+
descriptionOverride?: string | undefined;
29422954
}
29432955

29442956
/**
@@ -7773,7 +7785,7 @@ export interface UpdateJobRequest {
77737785
targetTaskRunStatus?: JobTargetTaskRunStatus | undefined;
77747786

77757787
/**
7776-
* <p>The job priority to update.</p>
7788+
* <p>The updated job priority.</p>
77777789
* @public
77787790
*/
77797791
priority?: number | undefined;
@@ -7802,6 +7814,18 @@ export interface UpdateJobRequest {
78027814
*/
78037815
maxWorkerCount?: number | undefined;
78047816

7817+
/**
7818+
* <p>The updated job name.</p>
7819+
* @public
7820+
*/
7821+
name?: string | undefined;
7822+
7823+
/**
7824+
* <p>The updated job description.</p>
7825+
* @public
7826+
*/
7827+
description?: string | undefined;
7828+
78057829
/**
78067830
* <p>The farm ID of the job to update.</p>
78077831
* @public

clients/client-deadline/src/models/models_1.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ export interface StringFilterExpression {
680680
}
681681

682682
/**
683-
* <p>Searches for a match within a list of strings.</p>
683+
* <p>Searches for a particular list of strings.</p>
684684
* @public
685685
*/
686686
export interface StringListFilterExpression {
@@ -691,7 +691,7 @@ export interface StringListFilterExpression {
691691
name: string | undefined;
692692

693693
/**
694-
* <p>The type of comparison to use for this search. ANY_EQUALS and ALL_NOT_EQUALS are supported.</p>
694+
* <p>The type of comparison to use for this search.</p>
695695
* @public
696696
*/
697697
operator: ComparisonOperator | undefined;
@@ -1593,7 +1593,7 @@ export namespace SearchFilterExpression {
15931593
}
15941594

15951595
/**
1596-
* <p>Filters by a list of string values.</p>
1596+
* <p>Filters by a list of strings.</p>
15971597
* @public
15981598
*/
15991599
export interface StringListFilterMember {

clients/client-deadline/src/schemas/schemas_0.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ const _JD = "JobDescription";
260260
const _JDE = "JobDetailsEntity";
261261
const _JDEo = "JobDetailsError";
262262
const _JDI = "JobDetailsIdentifiers";
263+
const _JDO = "JobDescriptionOverride";
263264
const _JE = "JobEntity";
264265
const _JEI = "JobEntityIdentifiers";
265266
const _JEIU = "JobEntityIdentifiersUnion";
@@ -609,6 +610,7 @@ const _dBA = "defaultBudgetAction";
609610
const _dC = "dependencyCounts";
610611
const _dN = "displayName";
611612
const _dNn = "dnsName";
613+
const _dO = "descriptionOverride";
612614
const _dP = "destinationPath";
613615
const _dR = "dependenciesResolved";
614616
const _dT = "dateTime";
@@ -720,6 +722,7 @@ const _mo = "mode";
720722
const _mon = "monitors";
721723
const _n = "name";
722724
const _nIO = "nextItemOffset";
725+
const _nO = "nameOverride";
723726
const _nT = "nextToken";
724727
const _o = "operator";
725728
const _oF = "osFamily";
@@ -896,6 +899,7 @@ var Document: StaticSimpleSchema = [0, n0, _Do, 8, 15];
896899
var EnvironmentTemplate: StaticSimpleSchema = [0, n0, _ET, 8, 0];
897900
var HostConfigurationScript: StaticSimpleSchema = [0, n0, _HCS, 8, 0];
898901
var JobDescription: StaticSimpleSchema = [0, n0, _JD, 8, 0];
902+
var JobDescriptionOverride: StaticSimpleSchema = [0, n0, _JDO, 8, 0];
899903
var JobTemplate: StaticSimpleSchema = [0, n0, _JT, 8, 0];
900904
var SecretAccessKey: StaticSimpleSchema = [0, n0, _SAK, 8, 0];
901905
var SessionActionProgressMessage: StaticSimpleSchema = [0, n0, _SAPM, 8, 0];
@@ -1140,8 +1144,8 @@ export var CreateFleetResponse$: StaticStructureSchema = [3, n0, _CFRrea,
11401144
];
11411145
export var CreateJobRequest$: StaticStructureSchema = [3, n0, _CJR,
11421146
0,
1143-
[_fI, _qI, _pr, _cT, _te, _tT, _p, _at, _sPI, _tTRS, _mFTC, _mRPT, _mWC, _sJI],
1144-
[[0, 1], [0, 1], 1, [0, { [_hH]: _XACT, [_iT]: 1 }], [() => JobTemplate, 0], 0, [() => JobParameters, 0], [() => Attachments$, 0], 0, 0, 1, 1, 1, 0], 3
1147+
[_fI, _qI, _pr, _cT, _te, _tT, _p, _at, _sPI, _tTRS, _mFTC, _mRPT, _mWC, _sJI, _nO, _dO],
1148+
[[0, 1], [0, 1], 1, [0, { [_hH]: _XACT, [_iT]: 1 }], [() => JobTemplate, 0], 0, [() => JobParameters, 0], [() => Attachments$, 0], 0, 0, 1, 1, 1, 0, 0, [() => JobDescriptionOverride, 0]], 3
11451149
];
11461150
export var CreateJobResponse$: StaticStructureSchema = [3, n0, _CJRr,
11471151
0,
@@ -2469,8 +2473,8 @@ export var UpdateFleetResponse$: StaticStructureSchema = [3, n0, _UFRpda,
24692473
];
24702474
export var UpdateJobRequest$: StaticStructureSchema = [3, n0, _UJR,
24712475
0,
2472-
[_fI, _qI, _jI, _cT, _tTRS, _pr, _mFTC, _mRPT, _lS, _mWC],
2473-
[[0, 1], [0, 1], [0, 1], [0, { [_hH]: _XACT, [_iT]: 1 }], 0, 1, 1, 1, 0, 1], 3
2476+
[_fI, _qI, _jI, _cT, _tTRS, _pr, _mFTC, _mRPT, _lS, _mWC, _n, _de],
2477+
[[0, 1], [0, 1], [0, 1], [0, { [_hH]: _XACT, [_iT]: 1 }], 0, 1, 1, 1, 0, 1, 0, [() => JobDescriptionOverride, 0]], 3
24742478
];
24752479
export var UpdateJobResponse$: StaticStructureSchema = [3, n0, _UJRp,
24762480
0,

0 commit comments

Comments
 (0)