@aws-sdk/client-deadline 3.969.0 → 3.970.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/README.md +1 -8
  2. package/dist-cjs/index.js +195 -15
  3. package/dist-es/models/enums.js +6 -0
  4. package/dist-es/schemas/schemas_0.js +28 -10
  5. package/dist-es/waiters/index.js +2 -0
  6. package/dist-es/waiters/waitForJobComplete.js +76 -0
  7. package/dist-es/waiters/waitForJobSucceeded.js +76 -0
  8. package/dist-types/Deadline.d.ts +1 -8
  9. package/dist-types/DeadlineClient.d.ts +1 -8
  10. package/dist-types/commands/AssociateMemberToFarmCommand.d.ts +2 -4
  11. package/dist-types/commands/AssociateMemberToFleetCommand.d.ts +2 -4
  12. package/dist-types/commands/AssociateMemberToJobCommand.d.ts +2 -4
  13. package/dist-types/commands/AssociateMemberToQueueCommand.d.ts +2 -4
  14. package/dist-types/commands/AssumeFleetRoleForReadCommand.d.ts +2 -4
  15. package/dist-types/commands/AssumeFleetRoleForWorkerCommand.d.ts +2 -4
  16. package/dist-types/commands/AssumeQueueRoleForReadCommand.d.ts +2 -4
  17. package/dist-types/commands/AssumeQueueRoleForUserCommand.d.ts +1 -2
  18. package/dist-types/commands/AssumeQueueRoleForWorkerCommand.d.ts +2 -4
  19. package/dist-types/commands/BatchGetJobEntityCommand.d.ts +1 -2
  20. package/dist-types/commands/CopyJobTemplateCommand.d.ts +1 -2
  21. package/dist-types/commands/CreateBudgetCommand.d.ts +5 -4
  22. package/dist-types/commands/CreateFarmCommand.d.ts +3 -8
  23. package/dist-types/commands/CreateFleetCommand.d.ts +3 -7
  24. package/dist-types/commands/CreateJobCommand.d.ts +3 -7
  25. package/dist-types/commands/CreateLicenseEndpointCommand.d.ts +4 -8
  26. package/dist-types/commands/CreateLimitCommand.d.ts +3 -9
  27. package/dist-types/commands/CreateMonitorCommand.d.ts +3 -7
  28. package/dist-types/commands/CreateQueueCommand.d.ts +3 -6
  29. package/dist-types/commands/CreateQueueEnvironmentCommand.d.ts +2 -4
  30. package/dist-types/commands/CreateQueueFleetAssociationCommand.d.ts +1 -2
  31. package/dist-types/commands/CreateQueueLimitAssociationCommand.d.ts +2 -6
  32. package/dist-types/commands/CreateStorageProfileCommand.d.ts +3 -6
  33. package/dist-types/commands/CreateWorkerCommand.d.ts +3 -15
  34. package/dist-types/commands/DeleteBudgetCommand.d.ts +1 -2
  35. package/dist-types/commands/DeleteFarmCommand.d.ts +1 -2
  36. package/dist-types/commands/DeleteFleetCommand.d.ts +2 -4
  37. package/dist-types/commands/DeleteLicenseEndpointCommand.d.ts +2 -4
  38. package/dist-types/commands/DeleteLimitCommand.d.ts +2 -5
  39. package/dist-types/commands/DeleteMeteredProductCommand.d.ts +1 -2
  40. package/dist-types/commands/DeleteMonitorCommand.d.ts +2 -4
  41. package/dist-types/commands/DeleteQueueCommand.d.ts +3 -9
  42. package/dist-types/commands/DeleteQueueEnvironmentCommand.d.ts +1 -2
  43. package/dist-types/commands/DeleteQueueFleetAssociationCommand.d.ts +2 -4
  44. package/dist-types/commands/DeleteQueueLimitAssociationCommand.d.ts +3 -10
  45. package/dist-types/commands/DeleteStorageProfileCommand.d.ts +1 -2
  46. package/dist-types/commands/DeleteWorkerCommand.d.ts +2 -4
  47. package/dist-types/commands/DisassociateMemberFromFarmCommand.d.ts +1 -2
  48. package/dist-types/commands/DisassociateMemberFromFleetCommand.d.ts +2 -4
  49. package/dist-types/commands/DisassociateMemberFromJobCommand.d.ts +1 -2
  50. package/dist-types/commands/DisassociateMemberFromQueueCommand.d.ts +2 -4
  51. package/dist-types/commands/GetBudgetCommand.d.ts +1 -2
  52. package/dist-types/commands/GetFarmCommand.d.ts +2 -3
  53. package/dist-types/commands/GetFleetCommand.d.ts +1 -2
  54. package/dist-types/commands/GetJobCommand.d.ts +1 -2
  55. package/dist-types/commands/GetLicenseEndpointCommand.d.ts +1 -2
  56. package/dist-types/commands/GetLimitCommand.d.ts +1 -2
  57. package/dist-types/commands/GetMonitorCommand.d.ts +1 -2
  58. package/dist-types/commands/GetQueueCommand.d.ts +1 -2
  59. package/dist-types/commands/GetQueueEnvironmentCommand.d.ts +1 -2
  60. package/dist-types/commands/GetQueueFleetAssociationCommand.d.ts +1 -2
  61. package/dist-types/commands/GetQueueLimitAssociationCommand.d.ts +1 -2
  62. package/dist-types/commands/GetSessionActionCommand.d.ts +1 -2
  63. package/dist-types/commands/GetSessionCommand.d.ts +1 -2
  64. package/dist-types/commands/GetSessionsStatisticsAggregationCommand.d.ts +2 -6
  65. package/dist-types/commands/GetStepCommand.d.ts +6 -2
  66. package/dist-types/commands/GetStorageProfileCommand.d.ts +1 -2
  67. package/dist-types/commands/GetStorageProfileForQueueCommand.d.ts +1 -2
  68. package/dist-types/commands/GetTaskCommand.d.ts +1 -2
  69. package/dist-types/commands/GetWorkerCommand.d.ts +1 -2
  70. package/dist-types/commands/ListBudgetsCommand.d.ts +1 -2
  71. package/dist-types/commands/ListFarmMembersCommand.d.ts +1 -2
  72. package/dist-types/commands/ListFarmsCommand.d.ts +1 -2
  73. package/dist-types/commands/ListFleetMembersCommand.d.ts +1 -2
  74. package/dist-types/commands/ListFleetsCommand.d.ts +1 -2
  75. package/dist-types/commands/ListJobMembersCommand.d.ts +1 -2
  76. package/dist-types/commands/ListJobParameterDefinitionsCommand.d.ts +1 -2
  77. package/dist-types/commands/ListJobsCommand.d.ts +1 -2
  78. package/dist-types/commands/ListLicenseEndpointsCommand.d.ts +1 -2
  79. package/dist-types/commands/ListLimitsCommand.d.ts +1 -2
  80. package/dist-types/commands/ListMeteredProductsCommand.d.ts +2 -4
  81. package/dist-types/commands/ListMonitorsCommand.d.ts +1 -2
  82. package/dist-types/commands/ListQueueEnvironmentsCommand.d.ts +1 -2
  83. package/dist-types/commands/ListQueueMembersCommand.d.ts +1 -2
  84. package/dist-types/commands/ListQueuesCommand.d.ts +1 -2
  85. package/dist-types/commands/ListSessionActionsCommand.d.ts +1 -2
  86. package/dist-types/commands/ListSessionsCommand.d.ts +1 -2
  87. package/dist-types/commands/ListSessionsForWorkerCommand.d.ts +1 -2
  88. package/dist-types/commands/ListStepConsumersCommand.d.ts +1 -2
  89. package/dist-types/commands/ListStepDependenciesCommand.d.ts +1 -2
  90. package/dist-types/commands/ListStepsCommand.d.ts +1 -2
  91. package/dist-types/commands/ListStorageProfilesCommand.d.ts +1 -2
  92. package/dist-types/commands/ListStorageProfilesForQueueCommand.d.ts +1 -2
  93. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
  94. package/dist-types/commands/ListTasksCommand.d.ts +1 -2
  95. package/dist-types/commands/ListWorkersCommand.d.ts +1 -2
  96. package/dist-types/commands/PutMeteredProductCommand.d.ts +1 -2
  97. package/dist-types/commands/SearchJobsCommand.d.ts +21 -8
  98. package/dist-types/commands/SearchStepsCommand.d.ts +26 -8
  99. package/dist-types/commands/SearchTasksCommand.d.ts +22 -8
  100. package/dist-types/commands/SearchWorkersCommand.d.ts +21 -8
  101. package/dist-types/commands/StartSessionsStatisticsAggregationCommand.d.ts +2 -9
  102. package/dist-types/commands/TagResourceCommand.d.ts +2 -4
  103. package/dist-types/commands/UntagResourceCommand.d.ts +2 -4
  104. package/dist-types/commands/UpdateBudgetCommand.d.ts +1 -2
  105. package/dist-types/commands/UpdateFarmCommand.d.ts +1 -2
  106. package/dist-types/commands/UpdateFleetCommand.d.ts +2 -4
  107. package/dist-types/commands/UpdateJobCommand.d.ts +3 -11
  108. package/dist-types/commands/UpdateLimitCommand.d.ts +1 -2
  109. package/dist-types/commands/UpdateMonitorCommand.d.ts +2 -4
  110. package/dist-types/commands/UpdateQueueCommand.d.ts +1 -2
  111. package/dist-types/commands/UpdateQueueEnvironmentCommand.d.ts +1 -2
  112. package/dist-types/commands/UpdateQueueFleetAssociationCommand.d.ts +1 -2
  113. package/dist-types/commands/UpdateQueueLimitAssociationCommand.d.ts +2 -5
  114. package/dist-types/commands/UpdateSessionCommand.d.ts +2 -4
  115. package/dist-types/commands/UpdateStepCommand.d.ts +2 -4
  116. package/dist-types/commands/UpdateStorageProfileCommand.d.ts +1 -2
  117. package/dist-types/commands/UpdateTaskCommand.d.ts +2 -4
  118. package/dist-types/commands/UpdateWorkerCommand.d.ts +2 -4
  119. package/dist-types/commands/UpdateWorkerScheduleCommand.d.ts +2 -4
  120. package/dist-types/index.d.ts +1 -8
  121. package/dist-types/models/enums.d.ts +14 -0
  122. package/dist-types/models/errors.d.ts +3 -6
  123. package/dist-types/models/models_0.d.ts +196 -660
  124. package/dist-types/models/models_1.d.ts +118 -241
  125. package/dist-types/schemas/schemas_0.d.ts +2 -0
  126. package/dist-types/ts3.4/commands/ListMeteredProductsCommand.d.ts +4 -2
  127. package/dist-types/ts3.4/models/enums.d.ts +8 -0
  128. package/dist-types/ts3.4/models/models_0.d.ts +14 -11
  129. package/dist-types/ts3.4/models/models_1.d.ts +28 -0
  130. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  131. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  132. package/dist-types/ts3.4/waiters/waitForJobComplete.d.ts +11 -0
  133. package/dist-types/ts3.4/waiters/waitForJobSucceeded.d.ts +11 -0
  134. package/dist-types/waiters/index.d.ts +2 -0
  135. package/dist-types/waiters/waitForJobComplete.d.ts +14 -0
  136. package/dist-types/waiters/waitForJobCreateComplete.d.ts +2 -2
  137. package/dist-types/waiters/waitForJobSucceeded.d.ts +14 -0
  138. package/package.json +12 -12
@@ -284,11 +284,13 @@ export declare var StepDetailsEntity$: StaticStructureSchema;
284
284
  export declare var StepDetailsError$: StaticStructureSchema;
285
285
  export declare var StepDetailsIdentifiers$: StaticStructureSchema;
286
286
  export declare var StepParameter$: StaticStructureSchema;
287
+ export declare var StepParameterChunks$: StaticStructureSchema;
287
288
  export declare var StepRequiredCapabilities$: StaticStructureSchema;
288
289
  export declare var StepSearchSummary$: StaticStructureSchema;
289
290
  export declare var StepSummary$: StaticStructureSchema;
290
291
  export declare var StorageProfileSummary$: StaticStructureSchema;
291
292
  export declare var StringFilterExpression$: StaticStructureSchema;
293
+ export declare var StringListFilterExpression$: StaticStructureSchema;
292
294
  export declare var SyncInputJobAttachmentsSessionActionDefinition$: StaticStructureSchema;
293
295
  export declare var SyncInputJobAttachmentsSessionActionDefinitionSummary$: StaticStructureSchema;
294
296
  export declare var TagResourceRequest$: StaticStructureSchema;
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../DeadlineClient";
8
- import { ListMeteredProductsRequest } from "../models/models_0";
9
- import { ListMeteredProductsResponse } from "../models/models_1";
8
+ import {
9
+ ListMeteredProductsRequest,
10
+ ListMeteredProductsResponse,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface ListMeteredProductsCommandInput
@@ -100,6 +100,8 @@ export declare const BudgetStatus: {
100
100
  };
101
101
  export type BudgetStatus = (typeof BudgetStatus)[keyof typeof BudgetStatus];
102
102
  export declare const ComparisonOperator: {
103
+ readonly ALL_NOT_EQUALS: "ALL_NOT_EQUALS";
104
+ readonly ANY_EQUALS: "ANY_EQUALS";
103
105
  readonly EQUAL: "EQUAL";
104
106
  readonly GREATER_THAN: "GREATER_THAN";
105
107
  readonly GREATER_THAN_EQUAL_TO: "GREATER_THAN_EQUAL_TO";
@@ -306,6 +308,12 @@ export declare const StepLifecycleStatus: {
306
308
  };
307
309
  export type StepLifecycleStatus =
308
310
  (typeof StepLifecycleStatus)[keyof typeof StepLifecycleStatus];
311
+ export declare const RangeConstraint: {
312
+ readonly CONTIGUOUS: "CONTIGUOUS";
313
+ readonly NONCONTIGUOUS: "NONCONTIGUOUS";
314
+ };
315
+ export type RangeConstraint =
316
+ (typeof RangeConstraint)[keyof typeof RangeConstraint];
309
317
  export declare const StepParameterType: {
310
318
  readonly CHUNK_INT: "CHUNK_INT";
311
319
  readonly FLOAT: "FLOAT";
@@ -31,6 +31,7 @@ import {
31
31
  QueueFleetAssociationStatus,
32
32
  QueueLimitAssociationStatus,
33
33
  QueueStatus,
34
+ RangeConstraint,
34
35
  RunAs,
35
36
  ServiceManagedFleetOperatingSystemFamily,
36
37
  SessionActionStatus,
@@ -663,6 +664,7 @@ export interface CreateBudgetRequest {
663
664
  approximateDollarLimit: number | undefined;
664
665
  actions: BudgetActionToAdd[] | undefined;
665
666
  schedule: BudgetSchedule | undefined;
667
+ tags?: Record<string, string> | undefined;
666
668
  }
667
669
  export interface CreateBudgetResponse {
668
670
  budgetId: string | undefined;
@@ -1256,7 +1258,7 @@ export interface GetFarmResponse {
1256
1258
  farmId: string | undefined;
1257
1259
  displayName: string | undefined;
1258
1260
  description?: string | undefined;
1259
- kmsKeyArn: string | undefined;
1261
+ kmsKeyArn?: string | undefined;
1260
1262
  createdAt: Date | undefined;
1261
1263
  createdBy: string | undefined;
1262
1264
  updatedAt?: Date | undefined;
@@ -1587,9 +1589,15 @@ export interface DependencyCounts {
1587
1589
  consumersResolved: number | undefined;
1588
1590
  consumersUnresolved: number | undefined;
1589
1591
  }
1592
+ export interface StepParameterChunks {
1593
+ defaultTaskCount: number | undefined;
1594
+ targetRuntimeSeconds?: number | undefined;
1595
+ rangeConstraint: RangeConstraint | undefined;
1596
+ }
1590
1597
  export interface StepParameter {
1591
1598
  name: string | undefined;
1592
1599
  type: StepParameterType | undefined;
1600
+ chunks?: StepParameterChunks | undefined;
1593
1601
  }
1594
1602
  export interface ParameterSpace {
1595
1603
  parameters: StepParameter[] | undefined;
@@ -2133,6 +2141,11 @@ export interface DeleteLicenseEndpointRequest {
2133
2141
  licenseEndpointId: string | undefined;
2134
2142
  }
2135
2143
  export interface DeleteLicenseEndpointResponse {}
2144
+ export interface DeleteMeteredProductRequest {
2145
+ licenseEndpointId: string | undefined;
2146
+ productId: string | undefined;
2147
+ }
2148
+ export interface DeleteMeteredProductResponse {}
2136
2149
  export interface GetLicenseEndpointRequest {
2137
2150
  licenseEndpointId: string | undefined;
2138
2151
  }
@@ -2159,13 +2172,3 @@ export interface ListLicenseEndpointsResponse {
2159
2172
  licenseEndpoints: LicenseEndpointSummary[] | undefined;
2160
2173
  nextToken?: string | undefined;
2161
2174
  }
2162
- export interface DeleteMeteredProductRequest {
2163
- licenseEndpointId: string | undefined;
2164
- productId: string | undefined;
2165
- }
2166
- export interface DeleteMeteredProductResponse {}
2167
- export interface ListMeteredProductsRequest {
2168
- licenseEndpointId: string | undefined;
2169
- nextToken?: string | undefined;
2170
- maxResults?: number | undefined;
2171
- }
@@ -25,6 +25,11 @@ import {
25
25
  JobParameter,
26
26
  TaskParameterValue,
27
27
  } from "./models_0";
28
+ export interface ListMeteredProductsRequest {
29
+ licenseEndpointId: string | undefined;
30
+ nextToken?: string | undefined;
31
+ maxResults?: number | undefined;
32
+ }
28
33
  export interface MeteredProductSummary {
29
34
  productId: string | undefined;
30
35
  family: string | undefined;
@@ -156,6 +161,11 @@ export interface StringFilterExpression {
156
161
  operator: ComparisonOperator | undefined;
157
162
  value: string | undefined;
158
163
  }
164
+ export interface StringListFilterExpression {
165
+ name: string | undefined;
166
+ operator: ComparisonOperator | undefined;
167
+ values: string[] | undefined;
168
+ }
159
169
  export interface FieldSortExpression {
160
170
  sortOrder: SortOrder | undefined;
161
171
  name: string | undefined;
@@ -269,6 +279,7 @@ export interface TaskSearchSummary {
269
279
  endedAt?: Date | undefined;
270
280
  updatedAt?: Date | undefined;
271
281
  updatedBy?: string | undefined;
282
+ latestSessionActionId?: string | undefined;
272
283
  }
273
284
  export interface SearchTasksResponse {
274
285
  tasks: TaskSearchSummary[] | undefined;
@@ -359,6 +370,7 @@ export type SearchFilterExpression =
359
370
  | SearchFilterExpression.ParameterFilterMember
360
371
  | SearchFilterExpression.SearchTermFilterMember
361
372
  | SearchFilterExpression.StringFilterMember
373
+ | SearchFilterExpression.StringListFilterMember
362
374
  | SearchFilterExpression.$UnknownMember;
363
375
  export declare namespace SearchFilterExpression {
364
376
  interface DateTimeFilterMember {
@@ -366,6 +378,7 @@ export declare namespace SearchFilterExpression {
366
378
  parameterFilter?: never;
367
379
  searchTermFilter?: never;
368
380
  stringFilter?: never;
381
+ stringListFilter?: never;
369
382
  groupFilter?: never;
370
383
  $unknown?: never;
371
384
  }
@@ -374,6 +387,7 @@ export declare namespace SearchFilterExpression {
374
387
  parameterFilter: ParameterFilterExpression;
375
388
  searchTermFilter?: never;
376
389
  stringFilter?: never;
390
+ stringListFilter?: never;
377
391
  groupFilter?: never;
378
392
  $unknown?: never;
379
393
  }
@@ -382,6 +396,7 @@ export declare namespace SearchFilterExpression {
382
396
  parameterFilter?: never;
383
397
  searchTermFilter: SearchTermFilterExpression;
384
398
  stringFilter?: never;
399
+ stringListFilter?: never;
385
400
  groupFilter?: never;
386
401
  $unknown?: never;
387
402
  }
@@ -390,6 +405,16 @@ export declare namespace SearchFilterExpression {
390
405
  parameterFilter?: never;
391
406
  searchTermFilter?: never;
392
407
  stringFilter: StringFilterExpression;
408
+ stringListFilter?: never;
409
+ groupFilter?: never;
410
+ $unknown?: never;
411
+ }
412
+ interface StringListFilterMember {
413
+ dateTimeFilter?: never;
414
+ parameterFilter?: never;
415
+ searchTermFilter?: never;
416
+ stringFilter?: never;
417
+ stringListFilter: StringListFilterExpression;
393
418
  groupFilter?: never;
394
419
  $unknown?: never;
395
420
  }
@@ -398,6 +423,7 @@ export declare namespace SearchFilterExpression {
398
423
  parameterFilter?: never;
399
424
  searchTermFilter?: never;
400
425
  stringFilter?: never;
426
+ stringListFilter?: never;
401
427
  groupFilter: SearchGroupedFilterExpressions;
402
428
  $unknown?: never;
403
429
  }
@@ -406,6 +432,7 @@ export declare namespace SearchFilterExpression {
406
432
  parameterFilter?: never;
407
433
  searchTermFilter?: never;
408
434
  stringFilter?: never;
435
+ stringListFilter?: never;
409
436
  groupFilter?: never;
410
437
  $unknown: [string, any];
411
438
  }
@@ -414,6 +441,7 @@ export declare namespace SearchFilterExpression {
414
441
  parameterFilter: (value: ParameterFilterExpression) => T;
415
442
  searchTermFilter: (value: SearchTermFilterExpression) => T;
416
443
  stringFilter: (value: StringFilterExpression) => T;
444
+ stringListFilter: (value: StringListFilterExpression) => T;
417
445
  groupFilter: (value: SearchGroupedFilterExpressions) => T;
418
446
  _: (name: string, value: any) => T;
419
447
  }
@@ -289,11 +289,13 @@ export declare var StepDetailsEntity$: StaticStructureSchema;
289
289
  export declare var StepDetailsError$: StaticStructureSchema;
290
290
  export declare var StepDetailsIdentifiers$: StaticStructureSchema;
291
291
  export declare var StepParameter$: StaticStructureSchema;
292
+ export declare var StepParameterChunks$: StaticStructureSchema;
292
293
  export declare var StepRequiredCapabilities$: StaticStructureSchema;
293
294
  export declare var StepSearchSummary$: StaticStructureSchema;
294
295
  export declare var StepSummary$: StaticStructureSchema;
295
296
  export declare var StorageProfileSummary$: StaticStructureSchema;
296
297
  export declare var StringFilterExpression$: StaticStructureSchema;
298
+ export declare var StringListFilterExpression$: StaticStructureSchema;
297
299
  export declare var SyncInputJobAttachmentsSessionActionDefinition$: StaticStructureSchema;
298
300
  export declare var SyncInputJobAttachmentsSessionActionDefinitionSummary$: StaticStructureSchema;
299
301
  export declare var TagResourceRequest$: StaticStructureSchema;
@@ -1,5 +1,7 @@
1
1
  export * from "./waitForFleetActive";
2
2
  export * from "./waitForJobCreateComplete";
3
+ export * from "./waitForJobComplete";
4
+ export * from "./waitForJobSucceeded";
3
5
  export * from "./waitForLicenseEndpointValid";
4
6
  export * from "./waitForLicenseEndpointDeleted";
5
7
  export * from "./waitForQueueSchedulingBlocked";
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { GetJobCommandInput } from "../commands/GetJobCommand";
3
+ import { DeadlineClient } from "../DeadlineClient";
4
+ export declare const waitForJobComplete: (
5
+ params: WaiterConfiguration<DeadlineClient>,
6
+ input: GetJobCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilJobComplete: (
9
+ params: WaiterConfiguration<DeadlineClient>,
10
+ input: GetJobCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { GetJobCommandInput } from "../commands/GetJobCommand";
3
+ import { DeadlineClient } from "../DeadlineClient";
4
+ export declare const waitForJobSucceeded: (
5
+ params: WaiterConfiguration<DeadlineClient>,
6
+ input: GetJobCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilJobSucceeded: (
9
+ params: WaiterConfiguration<DeadlineClient>,
10
+ input: GetJobCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -1,5 +1,7 @@
1
1
  export * from "./waitForFleetActive";
2
2
  export * from "./waitForJobCreateComplete";
3
+ export * from "./waitForJobComplete";
4
+ export * from "./waitForJobSucceeded";
3
5
  export * from "./waitForLicenseEndpointValid";
4
6
  export * from "./waitForLicenseEndpointDeleted";
5
7
  export * from "./waitForQueueSchedulingBlocked";
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { GetJobCommandInput } from "../commands/GetJobCommand";
3
+ import { DeadlineClient } from "../DeadlineClient";
4
+ /**
5
+ * Wait until a job reaches any terminal status. Waits up to 1 hour by default.
6
+ * @deprecated Use waitUntilJobComplete instead. waitForJobComplete does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForJobComplete: (params: WaiterConfiguration<DeadlineClient>, input: GetJobCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ * Wait until a job reaches any terminal status. Waits up to 1 hour by default.
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to GetJobCommand for polling.
13
+ */
14
+ export declare const waitUntilJobComplete: (params: WaiterConfiguration<DeadlineClient>, input: GetJobCommandInput) => Promise<WaiterResult>;
@@ -2,12 +2,12 @@ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
2
  import { GetJobCommandInput } from "../commands/GetJobCommand";
3
3
  import { DeadlineClient } from "../DeadlineClient";
4
4
  /**
5
- * Wait until a Job is created. Use this after invoking CreateJob.
5
+ * Wait until a job is created. Use this after invoking CreateJob.
6
6
  * @deprecated Use waitUntilJobCreateComplete instead. waitForJobCreateComplete does not throw error in non-success cases.
7
7
  */
8
8
  export declare const waitForJobCreateComplete: (params: WaiterConfiguration<DeadlineClient>, input: GetJobCommandInput) => Promise<WaiterResult>;
9
9
  /**
10
- * Wait until a Job is created. Use this after invoking CreateJob.
10
+ * Wait until a job is created. Use this after invoking CreateJob.
11
11
  * @param params - Waiter configuration options.
12
12
  * @param input - The input to GetJobCommand for polling.
13
13
  */
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { GetJobCommandInput } from "../commands/GetJobCommand";
3
+ import { DeadlineClient } from "../DeadlineClient";
4
+ /**
5
+ * Wait until a job has succeeded. Fails if the job reaches a non-successful terminal status. Waits up to 1 hour by default.
6
+ * @deprecated Use waitUntilJobSucceeded instead. waitForJobSucceeded does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForJobSucceeded: (params: WaiterConfiguration<DeadlineClient>, input: GetJobCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ * Wait until a job has succeeded. Fails if the job reaches a non-successful terminal status. Waits up to 1 hour by default.
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to GetJobCommand for polling.
13
+ */
14
+ export declare const waitUntilJobSucceeded: (params: WaiterConfiguration<DeadlineClient>, input: GetJobCommandInput) => Promise<WaiterResult>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-deadline",
3
3
  "description": "AWS SDK for JavaScript Deadline Client for Node.js, Browser and React Native",
4
- "version": "3.969.0",
4
+ "version": "3.970.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-deadline",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.969.0",
25
- "@aws-sdk/credential-provider-node": "3.969.0",
24
+ "@aws-sdk/core": "3.970.0",
25
+ "@aws-sdk/credential-provider-node": "3.970.0",
26
26
  "@aws-sdk/middleware-host-header": "3.969.0",
27
27
  "@aws-sdk/middleware-logger": "3.969.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.969.0",
29
- "@aws-sdk/middleware-user-agent": "3.969.0",
29
+ "@aws-sdk/middleware-user-agent": "3.970.0",
30
30
  "@aws-sdk/region-config-resolver": "3.969.0",
31
31
  "@aws-sdk/types": "3.969.0",
32
- "@aws-sdk/util-endpoints": "3.969.0",
32
+ "@aws-sdk/util-endpoints": "3.970.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.969.0",
34
- "@aws-sdk/util-user-agent-node": "3.969.0",
34
+ "@aws-sdk/util-user-agent-node": "3.970.0",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.20.5",
36
+ "@smithy/core": "^3.20.6",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.6",
42
- "@smithy/middleware-retry": "^4.4.22",
41
+ "@smithy/middleware-endpoint": "^4.4.7",
42
+ "@smithy/middleware-retry": "^4.4.23",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
46
  "@smithy/node-http-handler": "^4.4.8",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.10.7",
48
+ "@smithy/smithy-client": "^4.10.8",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.21",
55
- "@smithy/util-defaults-mode-node": "^4.2.24",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.22",
55
+ "@smithy/util-defaults-mode-node": "^4.2.25",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",