Skip to content

Commit a73e632

Browse files
author
awstools
committed
feat(client-deadline): With this release you can use a new field to specify the search term match type. Search term match types currently support fuzzy and contains matching.
1 parent b9f2fe3 commit a73e632

10 files changed

+140
-41
lines changed

Diff for: clients/client-deadline/src/commands/GetSessionActionCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export interface GetSessionActionCommandOutput extends GetSessionActionResponse,
6565
* // environmentId: "STRING_VALUE", // required
6666
* // },
6767
* // taskRun: { // TaskRunSessionActionDefinition
68-
* // taskId: "STRING_VALUE", // required
68+
* // taskId: "STRING_VALUE",
6969
* // stepId: "STRING_VALUE", // required
7070
* // parameters: { // TaskParameters // required
7171
* // "<keys>": { // TaskParameterValue Union: only one key present

Diff for: clients/client-deadline/src/commands/ListSessionActionsCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export interface ListSessionActionsCommandOutput extends ListSessionActionsRespo
6363
* // environmentId: "STRING_VALUE", // required
6464
* // },
6565
* // taskRun: { // TaskRunSessionActionDefinitionSummary
66-
* // taskId: "STRING_VALUE", // required
66+
* // taskId: "STRING_VALUE",
6767
* // stepId: "STRING_VALUE", // required
6868
* // },
6969
* // syncInputJobAttachments: { // SyncInputJobAttachmentsSessionActionDefinitionSummary

Diff for: clients/client-deadline/src/commands/SearchJobsCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export interface SearchJobsCommandOutput extends SearchJobsResponse, __MetadataB
5555
* },
5656
* searchTermFilter: { // SearchTermFilterExpression
5757
* searchTerm: "STRING_VALUE", // required
58+
* matchType: "FUZZY_MATCH" || "CONTAINS",
5859
* },
5960
* stringFilter: { // StringFilterExpression
6061
* name: "STRING_VALUE", // required
@@ -76,6 +77,7 @@ export interface SearchJobsCommandOutput extends SearchJobsResponse, __MetadataB
7677
* },
7778
* searchTermFilter: {
7879
* searchTerm: "STRING_VALUE", // required
80+
* matchType: "FUZZY_MATCH" || "CONTAINS",
7981
* },
8082
* stringFilter: {
8183
* name: "STRING_VALUE", // required

Diff for: clients/client-deadline/src/commands/SearchStepsCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export interface SearchStepsCommandOutput extends SearchStepsResponse, __Metadat
5656
* },
5757
* searchTermFilter: { // SearchTermFilterExpression
5858
* searchTerm: "STRING_VALUE", // required
59+
* matchType: "FUZZY_MATCH" || "CONTAINS",
5960
* },
6061
* stringFilter: { // StringFilterExpression
6162
* name: "STRING_VALUE", // required
@@ -77,6 +78,7 @@ export interface SearchStepsCommandOutput extends SearchStepsResponse, __Metadat
7778
* },
7879
* searchTermFilter: {
7980
* searchTerm: "STRING_VALUE", // required
81+
* matchType: "FUZZY_MATCH" || "CONTAINS",
8082
* },
8183
* stringFilter: {
8284
* name: "STRING_VALUE", // required

Diff for: clients/client-deadline/src/commands/SearchTasksCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export interface SearchTasksCommandOutput extends SearchTasksResponse, __Metadat
5656
* },
5757
* searchTermFilter: { // SearchTermFilterExpression
5858
* searchTerm: "STRING_VALUE", // required
59+
* matchType: "FUZZY_MATCH" || "CONTAINS",
5960
* },
6061
* stringFilter: { // StringFilterExpression
6162
* name: "STRING_VALUE", // required
@@ -77,6 +78,7 @@ export interface SearchTasksCommandOutput extends SearchTasksResponse, __Metadat
7778
* },
7879
* searchTermFilter: {
7980
* searchTerm: "STRING_VALUE", // required
81+
* matchType: "FUZZY_MATCH" || "CONTAINS",
8082
* },
8183
* stringFilter: {
8284
* name: "STRING_VALUE", // required

Diff for: clients/client-deadline/src/commands/SearchWorkersCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export interface SearchWorkersCommandOutput extends SearchWorkersResponse, __Met
5555
* },
5656
* searchTermFilter: { // SearchTermFilterExpression
5757
* searchTerm: "STRING_VALUE", // required
58+
* matchType: "FUZZY_MATCH" || "CONTAINS",
5859
* },
5960
* stringFilter: { // StringFilterExpression
6061
* name: "STRING_VALUE", // required
@@ -76,6 +77,7 @@ export interface SearchWorkersCommandOutput extends SearchWorkersResponse, __Met
7677
* },
7778
* searchTermFilter: {
7879
* searchTerm: "STRING_VALUE", // required
80+
* matchType: "FUZZY_MATCH" || "CONTAINS",
7981
* },
8082
* stringFilter: {
8183
* name: "STRING_VALUE", // required

Diff for: clients/client-deadline/src/commands/UpdateWorkerScheduleCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export interface UpdateWorkerScheduleCommandOutput extends UpdateWorkerScheduleR
7474
* // environmentId: "STRING_VALUE", // required
7575
* // },
7676
* // taskRun: { // AssignedTaskRunSessionActionDefinition
77-
* // taskId: "STRING_VALUE", // required
77+
* // taskId: "STRING_VALUE",
7878
* // stepId: "STRING_VALUE", // required
7979
* // parameters: { // TaskParameters // required
8080
* // "<keys>": { // TaskParameterValue Union: only one key present

Diff for: clients/client-deadline/src/models/models_0.ts

+11-13
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ export interface AssignedTaskRunSessionActionDefinition {
370370
* <p>The task ID.</p>
371371
* @public
372372
*/
373-
taskId: string | undefined;
373+
taskId?: string | undefined;
374374

375375
/**
376376
* <p>The step ID.</p>
@@ -3567,8 +3567,8 @@ export interface CreateJobRequest {
35673567
templateType?: JobTemplateType | undefined;
35683568

35693569
/**
3570-
* <p>The priority of the job on a scale of 0 to 100. The highest priority (first scheduled)
3571-
* is 100. When two jobs have the same priority, the oldest job is scheduled first.</p>
3570+
* <p>The priority of the job. The highest priority (first scheduled) is 100. When two jobs
3571+
* have the same priority, the oldest job is scheduled first.</p>
35723572
* @public
35733573
*/
35743574
priority: number | undefined;
@@ -3953,8 +3953,8 @@ export interface CreateQueueEnvironmentRequest {
39533953

39543954
/**
39553955
* <p>Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the
3956-
* highest priority. If two environments share the same priority value, the environment
3957-
* created first takes higher priority.</p>
3956+
* highest priority (activated first and deactivated last). If two environments share the same
3957+
* priority value, the environment created first takes higher priority.</p>
39583958
* @public
39593959
*/
39603960
priority: number | undefined;
@@ -5459,7 +5459,8 @@ export interface UpdatedSessionActionInfo {
54595459
completedStatus?: CompletedStatus | undefined;
54605460

54615461
/**
5462-
* <p>The process exit code.</p>
5462+
* <p>The process exit code. The default Deadline Cloud worker agent converts unsigned
5463+
* 32-bit exit codes to signed 32-bit exit codes.</p>
54635464
* @public
54645465
*/
54655466
processExitCode?: number | undefined;
@@ -6987,7 +6988,7 @@ export interface TaskRunSessionActionDefinition {
69876988
* <p>The task ID.</p>
69886989
* @public
69896990
*/
6990-
taskId: string | undefined;
6991+
taskId?: string | undefined;
69916992

69926993
/**
69936994
* <p>The step ID.</p>
@@ -7164,7 +7165,8 @@ export interface GetSessionActionResponse {
71647165
sessionId: string | undefined;
71657166

71667167
/**
7167-
* <p>The exit code to exit the session.</p>
7168+
* <p>The process exit code. The default Deadline Cloud worker agent converts unsigned
7169+
* 32-bit exit codes to signed 32-bit exit codes.</p>
71687170
* @public
71697171
*/
71707172
processExitCode?: number | undefined;
@@ -8103,7 +8105,7 @@ export interface TaskRunSessionActionDefinitionSummary {
81038105
* <p>The task ID.</p>
81048106
* @public
81058107
*/
8106-
taskId: string | undefined;
8108+
taskId?: string | undefined;
81078109

81088110
/**
81098111
* <p>The step ID.</p>
@@ -8975,7 +8977,6 @@ export const AssumeQueueRoleForWorkerResponseFilterSensitiveLog = (obj: AssumeQu
89758977
*/
89768978
export const ManifestPropertiesFilterSensitiveLog = (obj: ManifestProperties): any => ({
89778979
...obj,
8978-
...(obj.fileSystemLocationName && { fileSystemLocationName: SENSITIVE_STRING }),
89798980
});
89808981

89818982
/**
@@ -9154,7 +9155,6 @@ export const CreateLimitRequestFilterSensitiveLog = (obj: CreateLimitRequest): a
91549155
export const CreateQueueRequestFilterSensitiveLog = (obj: CreateQueueRequest): any => ({
91559156
...obj,
91569157
...(obj.description && { description: SENSITIVE_STRING }),
9157-
...(obj.requiredFileSystemLocationNames && { requiredFileSystemLocationNames: SENSITIVE_STRING }),
91589158
});
91599159

91609160
/**
@@ -9170,7 +9170,6 @@ export const CreateQueueEnvironmentRequestFilterSensitiveLog = (obj: CreateQueue
91709170
*/
91719171
export const FileSystemLocationFilterSensitiveLog = (obj: FileSystemLocation): any => ({
91729172
...obj,
9173-
...(obj.name && { name: SENSITIVE_STRING }),
91749173
});
91759174

91769175
/**
@@ -9267,7 +9266,6 @@ export const GetStorageProfileResponseFilterSensitiveLog = (obj: GetStorageProfi
92679266
export const GetQueueResponseFilterSensitiveLog = (obj: GetQueueResponse): any => ({
92689267
...obj,
92699268
...(obj.description && { description: SENSITIVE_STRING }),
9270-
...(obj.requiredFileSystemLocationNames && { requiredFileSystemLocationNames: SENSITIVE_STRING }),
92719269
});
92729270

92739271
/**

Diff for: clients/client-deadline/src/models/models_1.ts

+31-2
Original file line numberDiff line numberDiff line change
@@ -2134,6 +2134,20 @@ export interface ParameterFilterExpression {
21342134
value: string | undefined;
21352135
}
21362136

2137+
/**
2138+
* @public
2139+
* @enum
2140+
*/
2141+
export const SearchTermMatchingType = {
2142+
CONTAINS: "CONTAINS",
2143+
FUZZY_MATCH: "FUZZY_MATCH",
2144+
} as const;
2145+
2146+
/**
2147+
* @public
2148+
*/
2149+
export type SearchTermMatchingType = (typeof SearchTermMatchingType)[keyof typeof SearchTermMatchingType];
2150+
21372151
/**
21382152
* <p>Searches for a particular search term.</p>
21392153
* @public
@@ -2144,6 +2158,23 @@ export interface SearchTermFilterExpression {
21442158
* @public
21452159
*/
21462160
searchTerm: string | undefined;
2161+
2162+
/**
2163+
* <p>Specifies how Deadline Cloud matches your search term in the results. If you don't
2164+
* specify a <code>matchType</code> the default is <code>FUZZY_MATCH</code>.</p>
2165+
* <ul>
2166+
* <li>
2167+
* <p>
2168+
* <code>FUZZY_MATCH</code> - Matches if a portion of the search term is found in the result.</p>
2169+
* </li>
2170+
* <li>
2171+
* <p>
2172+
* <code>CONTAINS</code> - Matches if the exact search term is contained in the result.</p>
2173+
* </li>
2174+
* </ul>
2175+
* @public
2176+
*/
2177+
matchType?: SearchTermMatchingType | undefined;
21472178
}
21482179

21492180
/**
@@ -3466,8 +3497,6 @@ export interface SearchWorkersRequest {
34663497
export const UpdateQueueRequestFilterSensitiveLog = (obj: UpdateQueueRequest): any => ({
34673498
...obj,
34683499
...(obj.description && { description: SENSITIVE_STRING }),
3469-
...(obj.requiredFileSystemLocationNamesToAdd && { requiredFileSystemLocationNamesToAdd: SENSITIVE_STRING }),
3470-
...(obj.requiredFileSystemLocationNamesToRemove && { requiredFileSystemLocationNamesToRemove: SENSITIVE_STRING }),
34713500
});
34723501

34733502
/**

0 commit comments

Comments
 (0)