@aws-sdk/client-deadline 3.606.0 → 3.613.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.
@@ -9,6 +9,7 @@ const core_1 = require("@aws-sdk/core");
9
9
  const core_2 = require("@smithy/core");
10
10
  const protocol_http_1 = require("@smithy/protocol-http");
11
11
  const smithy_client_1 = require("@smithy/smithy-client");
12
+ const uuid_1 = require("uuid");
12
13
  const DeadlineServiceException_1 = require("../models/DeadlineServiceException");
13
14
  const models_0_1 = require("../models/models_0");
14
15
  const models_1_1 = require("../models/models_1");
@@ -274,7 +275,7 @@ const se_CreateBudgetCommand = async (input, context) => {
274
275
  const b = (0, core_2.requestBuilder)(input, context);
275
276
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
276
277
  "content-type": "application/json",
277
- [_xact]: input[_cT],
278
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
278
279
  });
279
280
  b.bp("/2023-10-12/farms/{farmId}/budgets");
280
281
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -303,7 +304,7 @@ const se_CreateFarmCommand = async (input, context) => {
303
304
  const b = (0, core_2.requestBuilder)(input, context);
304
305
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
305
306
  "content-type": "application/json",
306
- [_xact]: input[_cT],
307
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
307
308
  });
308
309
  b.bp("/2023-10-12/farms");
309
310
  let body;
@@ -329,7 +330,7 @@ const se_CreateFleetCommand = async (input, context) => {
329
330
  const b = (0, core_2.requestBuilder)(input, context);
330
331
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
331
332
  "content-type": "application/json",
332
- [_xact]: input[_cT],
333
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
333
334
  });
334
335
  b.bp("/2023-10-12/farms/{farmId}/fleets");
335
336
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -359,7 +360,7 @@ const se_CreateJobCommand = async (input, context) => {
359
360
  const b = (0, core_2.requestBuilder)(input, context);
360
361
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
361
362
  "content-type": "application/json",
362
- [_xact]: input[_cT],
363
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
363
364
  });
364
365
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/jobs");
365
366
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -392,7 +393,7 @@ const se_CreateLicenseEndpointCommand = async (input, context) => {
392
393
  const b = (0, core_2.requestBuilder)(input, context);
393
394
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
394
395
  "content-type": "application/json",
395
- [_xact]: input[_cT],
396
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
396
397
  });
397
398
  b.bp("/2023-10-12/license-endpoints");
398
399
  let body;
@@ -418,7 +419,7 @@ const se_CreateMonitorCommand = async (input, context) => {
418
419
  const b = (0, core_2.requestBuilder)(input, context);
419
420
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
420
421
  "content-type": "application/json",
421
- [_xact]: input[_cT],
422
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
422
423
  });
423
424
  b.bp("/2023-10-12/monitors");
424
425
  let body;
@@ -444,7 +445,7 @@ const se_CreateQueueCommand = async (input, context) => {
444
445
  const b = (0, core_2.requestBuilder)(input, context);
445
446
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
446
447
  "content-type": "application/json",
447
- [_xact]: input[_cT],
448
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
448
449
  });
449
450
  b.bp("/2023-10-12/farms/{farmId}/queues");
450
451
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -476,7 +477,7 @@ const se_CreateQueueEnvironmentCommand = async (input, context) => {
476
477
  const b = (0, core_2.requestBuilder)(input, context);
477
478
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
478
479
  "content-type": "application/json",
479
- [_xact]: input[_cT],
480
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
480
481
  });
481
482
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/environments");
482
483
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -527,7 +528,7 @@ const se_CreateStorageProfileCommand = async (input, context) => {
527
528
  const b = (0, core_2.requestBuilder)(input, context);
528
529
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
529
530
  "content-type": "application/json",
530
- [_xact]: input[_cT],
531
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
531
532
  });
532
533
  b.bp("/2023-10-12/farms/{farmId}/storage-profiles");
533
534
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -553,7 +554,7 @@ const se_CreateWorkerCommand = async (input, context) => {
553
554
  const b = (0, core_2.requestBuilder)(input, context);
554
555
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
555
556
  "content-type": "application/json",
556
- [_xact]: input[_cT],
557
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
557
558
  });
558
559
  b.bp("/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers");
559
560
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -614,7 +615,7 @@ exports.se_DeleteFarmCommand = se_DeleteFarmCommand;
614
615
  const se_DeleteFleetCommand = async (input, context) => {
615
616
  const b = (0, core_2.requestBuilder)(input, context);
616
617
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
617
- [_xact]: input[_cT],
618
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
618
619
  });
619
620
  b.bp("/2023-10-12/farms/{farmId}/fleets/{fleetId}");
620
621
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2013,7 +2014,7 @@ const se_UpdateBudgetCommand = async (input, context) => {
2013
2014
  const b = (0, core_2.requestBuilder)(input, context);
2014
2015
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2015
2016
  "content-type": "application/json",
2016
- [_xact]: input[_cT],
2017
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2017
2018
  });
2018
2019
  b.bp("/2023-10-12/farms/{farmId}/budgets/{budgetId}");
2019
2020
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2068,7 +2069,7 @@ const se_UpdateFleetCommand = async (input, context) => {
2068
2069
  const b = (0, core_2.requestBuilder)(input, context);
2069
2070
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2070
2071
  "content-type": "application/json",
2071
- [_xact]: input[_cT],
2072
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2072
2073
  });
2073
2074
  b.bp("/2023-10-12/farms/{farmId}/fleets/{fleetId}");
2074
2075
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2098,7 +2099,7 @@ const se_UpdateJobCommand = async (input, context) => {
2098
2099
  const b = (0, core_2.requestBuilder)(input, context);
2099
2100
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2100
2101
  "content-type": "application/json",
2101
- [_xact]: input[_cT],
2102
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2102
2103
  });
2103
2104
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}");
2104
2105
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2153,7 +2154,7 @@ const se_UpdateQueueCommand = async (input, context) => {
2153
2154
  const b = (0, core_2.requestBuilder)(input, context);
2154
2155
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2155
2156
  "content-type": "application/json",
2156
- [_xact]: input[_cT],
2157
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2157
2158
  });
2158
2159
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}");
2159
2160
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2187,7 +2188,7 @@ const se_UpdateQueueEnvironmentCommand = async (input, context) => {
2187
2188
  const b = (0, core_2.requestBuilder)(input, context);
2188
2189
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2189
2190
  "content-type": "application/json",
2190
- [_xact]: input[_cT],
2191
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2191
2192
  });
2192
2193
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}");
2193
2194
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2240,7 +2241,7 @@ const se_UpdateSessionCommand = async (input, context) => {
2240
2241
  const b = (0, core_2.requestBuilder)(input, context);
2241
2242
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2242
2243
  "content-type": "application/json",
2243
- [_xact]: input[_cT],
2244
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2244
2245
  });
2245
2246
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/sessions/{sessionId}");
2246
2247
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2267,7 +2268,7 @@ const se_UpdateStepCommand = async (input, context) => {
2267
2268
  const b = (0, core_2.requestBuilder)(input, context);
2268
2269
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2269
2270
  "content-type": "application/json",
2270
- [_xact]: input[_cT],
2271
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2271
2272
  });
2272
2273
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}");
2273
2274
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2294,7 +2295,7 @@ const se_UpdateStorageProfileCommand = async (input, context) => {
2294
2295
  const b = (0, core_2.requestBuilder)(input, context);
2295
2296
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2296
2297
  "content-type": "application/json",
2297
- [_xact]: input[_cT],
2298
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2298
2299
  });
2299
2300
  b.bp("/2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}");
2300
2301
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2322,7 +2323,7 @@ const se_UpdateTaskCommand = async (input, context) => {
2322
2323
  const b = (0, core_2.requestBuilder)(input, context);
2323
2324
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2324
2325
  "content-type": "application/json",
2325
- [_xact]: input[_cT],
2326
+ [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2326
2327
  });
2327
2328
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/tasks/{taskId}");
2328
2329
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2,6 +2,7 @@ import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody a
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
3
  import { isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
4
4
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
5
+ import { v4 as generateIdempotencyToken } from "uuid";
5
6
  import { DeadlineServiceException as __BaseException } from "../models/DeadlineServiceException";
6
7
  import { AccessDeniedException, BudgetSchedule, ConflictException, FleetConfiguration, InternalServerErrorException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
7
8
  import { SearchFilterExpression, } from "../models/models_1";
@@ -256,7 +257,7 @@ export const se_CreateBudgetCommand = async (input, context) => {
256
257
  const b = rb(input, context);
257
258
  const headers = map({}, isSerializableHeaderValue, {
258
259
  "content-type": "application/json",
259
- [_xact]: input[_cT],
260
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
260
261
  });
261
262
  b.bp("/2023-10-12/farms/{farmId}/budgets");
262
263
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -284,7 +285,7 @@ export const se_CreateFarmCommand = async (input, context) => {
284
285
  const b = rb(input, context);
285
286
  const headers = map({}, isSerializableHeaderValue, {
286
287
  "content-type": "application/json",
287
- [_xact]: input[_cT],
288
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
288
289
  });
289
290
  b.bp("/2023-10-12/farms");
290
291
  let body;
@@ -309,7 +310,7 @@ export const se_CreateFleetCommand = async (input, context) => {
309
310
  const b = rb(input, context);
310
311
  const headers = map({}, isSerializableHeaderValue, {
311
312
  "content-type": "application/json",
312
- [_xact]: input[_cT],
313
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
313
314
  });
314
315
  b.bp("/2023-10-12/farms/{farmId}/fleets");
315
316
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -338,7 +339,7 @@ export const se_CreateJobCommand = async (input, context) => {
338
339
  const b = rb(input, context);
339
340
  const headers = map({}, isSerializableHeaderValue, {
340
341
  "content-type": "application/json",
341
- [_xact]: input[_cT],
342
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
342
343
  });
343
344
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/jobs");
344
345
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -370,7 +371,7 @@ export const se_CreateLicenseEndpointCommand = async (input, context) => {
370
371
  const b = rb(input, context);
371
372
  const headers = map({}, isSerializableHeaderValue, {
372
373
  "content-type": "application/json",
373
- [_xact]: input[_cT],
374
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
374
375
  });
375
376
  b.bp("/2023-10-12/license-endpoints");
376
377
  let body;
@@ -395,7 +396,7 @@ export const se_CreateMonitorCommand = async (input, context) => {
395
396
  const b = rb(input, context);
396
397
  const headers = map({}, isSerializableHeaderValue, {
397
398
  "content-type": "application/json",
398
- [_xact]: input[_cT],
399
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
399
400
  });
400
401
  b.bp("/2023-10-12/monitors");
401
402
  let body;
@@ -420,7 +421,7 @@ export const se_CreateQueueCommand = async (input, context) => {
420
421
  const b = rb(input, context);
421
422
  const headers = map({}, isSerializableHeaderValue, {
422
423
  "content-type": "application/json",
423
- [_xact]: input[_cT],
424
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
424
425
  });
425
426
  b.bp("/2023-10-12/farms/{farmId}/queues");
426
427
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -451,7 +452,7 @@ export const se_CreateQueueEnvironmentCommand = async (input, context) => {
451
452
  const b = rb(input, context);
452
453
  const headers = map({}, isSerializableHeaderValue, {
453
454
  "content-type": "application/json",
454
- [_xact]: input[_cT],
455
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
455
456
  });
456
457
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/environments");
457
458
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -500,7 +501,7 @@ export const se_CreateStorageProfileCommand = async (input, context) => {
500
501
  const b = rb(input, context);
501
502
  const headers = map({}, isSerializableHeaderValue, {
502
503
  "content-type": "application/json",
503
- [_xact]: input[_cT],
504
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
504
505
  });
505
506
  b.bp("/2023-10-12/farms/{farmId}/storage-profiles");
506
507
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -525,7 +526,7 @@ export const se_CreateWorkerCommand = async (input, context) => {
525
526
  const b = rb(input, context);
526
527
  const headers = map({}, isSerializableHeaderValue, {
527
528
  "content-type": "application/json",
528
- [_xact]: input[_cT],
529
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
529
530
  });
530
531
  b.bp("/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers");
531
532
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -583,7 +584,7 @@ export const se_DeleteFarmCommand = async (input, context) => {
583
584
  export const se_DeleteFleetCommand = async (input, context) => {
584
585
  const b = rb(input, context);
585
586
  const headers = map({}, isSerializableHeaderValue, {
586
- [_xact]: input[_cT],
587
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
587
588
  });
588
589
  b.bp("/2023-10-12/farms/{farmId}/fleets/{fleetId}");
589
590
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -1918,7 +1919,7 @@ export const se_UpdateBudgetCommand = async (input, context) => {
1918
1919
  const b = rb(input, context);
1919
1920
  const headers = map({}, isSerializableHeaderValue, {
1920
1921
  "content-type": "application/json",
1921
- [_xact]: input[_cT],
1922
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
1922
1923
  });
1923
1924
  b.bp("/2023-10-12/farms/{farmId}/budgets/{budgetId}");
1924
1925
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -1971,7 +1972,7 @@ export const se_UpdateFleetCommand = async (input, context) => {
1971
1972
  const b = rb(input, context);
1972
1973
  const headers = map({}, isSerializableHeaderValue, {
1973
1974
  "content-type": "application/json",
1974
- [_xact]: input[_cT],
1975
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
1975
1976
  });
1976
1977
  b.bp("/2023-10-12/farms/{farmId}/fleets/{fleetId}");
1977
1978
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2000,7 +2001,7 @@ export const se_UpdateJobCommand = async (input, context) => {
2000
2001
  const b = rb(input, context);
2001
2002
  const headers = map({}, isSerializableHeaderValue, {
2002
2003
  "content-type": "application/json",
2003
- [_xact]: input[_cT],
2004
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
2004
2005
  });
2005
2006
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}");
2006
2007
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2053,7 +2054,7 @@ export const se_UpdateQueueCommand = async (input, context) => {
2053
2054
  const b = rb(input, context);
2054
2055
  const headers = map({}, isSerializableHeaderValue, {
2055
2056
  "content-type": "application/json",
2056
- [_xact]: input[_cT],
2057
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
2057
2058
  });
2058
2059
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}");
2059
2060
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2086,7 +2087,7 @@ export const se_UpdateQueueEnvironmentCommand = async (input, context) => {
2086
2087
  const b = rb(input, context);
2087
2088
  const headers = map({}, isSerializableHeaderValue, {
2088
2089
  "content-type": "application/json",
2089
- [_xact]: input[_cT],
2090
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
2090
2091
  });
2091
2092
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}");
2092
2093
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2137,7 +2138,7 @@ export const se_UpdateSessionCommand = async (input, context) => {
2137
2138
  const b = rb(input, context);
2138
2139
  const headers = map({}, isSerializableHeaderValue, {
2139
2140
  "content-type": "application/json",
2140
- [_xact]: input[_cT],
2141
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
2141
2142
  });
2142
2143
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/sessions/{sessionId}");
2143
2144
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2163,7 +2164,7 @@ export const se_UpdateStepCommand = async (input, context) => {
2163
2164
  const b = rb(input, context);
2164
2165
  const headers = map({}, isSerializableHeaderValue, {
2165
2166
  "content-type": "application/json",
2166
- [_xact]: input[_cT],
2167
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
2167
2168
  });
2168
2169
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}");
2169
2170
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2189,7 +2190,7 @@ export const se_UpdateStorageProfileCommand = async (input, context) => {
2189
2190
  const b = rb(input, context);
2190
2191
  const headers = map({}, isSerializableHeaderValue, {
2191
2192
  "content-type": "application/json",
2192
- [_xact]: input[_cT],
2193
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
2193
2194
  });
2194
2195
  b.bp("/2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}");
2195
2196
  b.p("farmId", () => input.farmId, "{farmId}", false);
@@ -2216,7 +2217,7 @@ export const se_UpdateTaskCommand = async (input, context) => {
2216
2217
  const b = rb(input, context);
2217
2218
  const headers = map({}, isSerializableHeaderValue, {
2218
2219
  "content-type": "application/json",
2219
- [_xact]: input[_cT],
2220
+ [_xact]: input[_cT] ?? generateIdempotencyToken(),
2220
2221
  });
2221
2222
  b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/tasks/{taskId}");
2222
2223
  b.p("farmId", () => input.farmId, "{farmId}", false);
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.606.0",
4
+ "version": "3.613.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,45 +20,45 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.606.0",
24
- "@aws-sdk/client-sts": "3.606.0",
25
- "@aws-sdk/core": "3.598.0",
26
- "@aws-sdk/credential-provider-node": "3.600.0",
27
- "@aws-sdk/middleware-host-header": "3.598.0",
28
- "@aws-sdk/middleware-logger": "3.598.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.598.0",
30
- "@aws-sdk/middleware-user-agent": "3.598.0",
31
- "@aws-sdk/region-config-resolver": "3.598.0",
32
- "@aws-sdk/types": "3.598.0",
33
- "@aws-sdk/util-endpoints": "3.598.0",
34
- "@aws-sdk/util-user-agent-browser": "3.598.0",
35
- "@aws-sdk/util-user-agent-node": "3.598.0",
36
- "@smithy/config-resolver": "^3.0.2",
37
- "@smithy/core": "^2.2.1",
38
- "@smithy/fetch-http-handler": "^3.0.2",
39
- "@smithy/hash-node": "^3.0.1",
40
- "@smithy/invalid-dependency": "^3.0.1",
41
- "@smithy/middleware-content-length": "^3.0.1",
42
- "@smithy/middleware-endpoint": "^3.0.2",
43
- "@smithy/middleware-retry": "^3.0.4",
44
- "@smithy/middleware-serde": "^3.0.1",
45
- "@smithy/middleware-stack": "^3.0.1",
46
- "@smithy/node-config-provider": "^3.1.1",
47
- "@smithy/node-http-handler": "^3.0.1",
48
- "@smithy/protocol-http": "^4.0.1",
49
- "@smithy/smithy-client": "^3.1.2",
50
- "@smithy/types": "^3.1.0",
51
- "@smithy/url-parser": "^3.0.1",
23
+ "@aws-sdk/client-sso-oidc": "3.613.0",
24
+ "@aws-sdk/client-sts": "3.613.0",
25
+ "@aws-sdk/core": "3.609.0",
26
+ "@aws-sdk/credential-provider-node": "3.613.0",
27
+ "@aws-sdk/middleware-host-header": "3.609.0",
28
+ "@aws-sdk/middleware-logger": "3.609.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.609.0",
30
+ "@aws-sdk/middleware-user-agent": "3.609.0",
31
+ "@aws-sdk/region-config-resolver": "3.609.0",
32
+ "@aws-sdk/types": "3.609.0",
33
+ "@aws-sdk/util-endpoints": "3.609.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.609.0",
35
+ "@aws-sdk/util-user-agent-node": "3.609.0",
36
+ "@smithy/config-resolver": "^3.0.4",
37
+ "@smithy/core": "^2.2.4",
38
+ "@smithy/fetch-http-handler": "^3.2.0",
39
+ "@smithy/hash-node": "^3.0.3",
40
+ "@smithy/invalid-dependency": "^3.0.3",
41
+ "@smithy/middleware-content-length": "^3.0.3",
42
+ "@smithy/middleware-endpoint": "^3.0.4",
43
+ "@smithy/middleware-retry": "^3.0.7",
44
+ "@smithy/middleware-serde": "^3.0.3",
45
+ "@smithy/middleware-stack": "^3.0.3",
46
+ "@smithy/node-config-provider": "^3.1.3",
47
+ "@smithy/node-http-handler": "^3.1.1",
48
+ "@smithy/protocol-http": "^4.0.3",
49
+ "@smithy/smithy-client": "^3.1.5",
50
+ "@smithy/types": "^3.3.0",
51
+ "@smithy/url-parser": "^3.0.3",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.4",
56
- "@smithy/util-defaults-mode-node": "^3.0.4",
57
- "@smithy/util-endpoints": "^2.0.2",
58
- "@smithy/util-middleware": "^3.0.1",
59
- "@smithy/util-retry": "^3.0.1",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.7",
56
+ "@smithy/util-defaults-mode-node": "^3.0.7",
57
+ "@smithy/util-endpoints": "^2.0.4",
58
+ "@smithy/util-middleware": "^3.0.3",
59
+ "@smithy/util-retry": "^3.0.3",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
- "@smithy/util-waiter": "^3.0.1",
61
+ "@smithy/util-waiter": "^3.1.2",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },