@aws-sdk/client-deadline 3.654.0 → 3.658.1

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.
@@ -273,7 +273,7 @@ const se_CopyJobTemplateCommand = async (input, context) => {
273
273
  exports.se_CopyJobTemplateCommand = se_CopyJobTemplateCommand;
274
274
  const se_CreateBudgetCommand = async (input, context) => {
275
275
  const b = (0, core_2.requestBuilder)(input, context);
276
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
276
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
277
277
  "content-type": "application/json",
278
278
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
279
279
  });
@@ -302,7 +302,7 @@ const se_CreateBudgetCommand = async (input, context) => {
302
302
  exports.se_CreateBudgetCommand = se_CreateBudgetCommand;
303
303
  const se_CreateFarmCommand = async (input, context) => {
304
304
  const b = (0, core_2.requestBuilder)(input, context);
305
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
305
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
306
306
  "content-type": "application/json",
307
307
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
308
308
  });
@@ -328,7 +328,7 @@ const se_CreateFarmCommand = async (input, context) => {
328
328
  exports.se_CreateFarmCommand = se_CreateFarmCommand;
329
329
  const se_CreateFleetCommand = async (input, context) => {
330
330
  const b = (0, core_2.requestBuilder)(input, context);
331
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
331
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
332
332
  "content-type": "application/json",
333
333
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
334
334
  });
@@ -358,7 +358,7 @@ const se_CreateFleetCommand = async (input, context) => {
358
358
  exports.se_CreateFleetCommand = se_CreateFleetCommand;
359
359
  const se_CreateJobCommand = async (input, context) => {
360
360
  const b = (0, core_2.requestBuilder)(input, context);
361
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
361
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
362
362
  "content-type": "application/json",
363
363
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
364
364
  });
@@ -391,7 +391,7 @@ const se_CreateJobCommand = async (input, context) => {
391
391
  exports.se_CreateJobCommand = se_CreateJobCommand;
392
392
  const se_CreateLicenseEndpointCommand = async (input, context) => {
393
393
  const b = (0, core_2.requestBuilder)(input, context);
394
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
394
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
395
395
  "content-type": "application/json",
396
396
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
397
397
  });
@@ -417,7 +417,7 @@ const se_CreateLicenseEndpointCommand = async (input, context) => {
417
417
  exports.se_CreateLicenseEndpointCommand = se_CreateLicenseEndpointCommand;
418
418
  const se_CreateMonitorCommand = async (input, context) => {
419
419
  const b = (0, core_2.requestBuilder)(input, context);
420
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
420
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
421
421
  "content-type": "application/json",
422
422
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
423
423
  });
@@ -443,7 +443,7 @@ const se_CreateMonitorCommand = async (input, context) => {
443
443
  exports.se_CreateMonitorCommand = se_CreateMonitorCommand;
444
444
  const se_CreateQueueCommand = async (input, context) => {
445
445
  const b = (0, core_2.requestBuilder)(input, context);
446
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
446
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
447
447
  "content-type": "application/json",
448
448
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
449
449
  });
@@ -475,7 +475,7 @@ const se_CreateQueueCommand = async (input, context) => {
475
475
  exports.se_CreateQueueCommand = se_CreateQueueCommand;
476
476
  const se_CreateQueueEnvironmentCommand = async (input, context) => {
477
477
  const b = (0, core_2.requestBuilder)(input, context);
478
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
478
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
479
479
  "content-type": "application/json",
480
480
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
481
481
  });
@@ -526,7 +526,7 @@ const se_CreateQueueFleetAssociationCommand = async (input, context) => {
526
526
  exports.se_CreateQueueFleetAssociationCommand = se_CreateQueueFleetAssociationCommand;
527
527
  const se_CreateStorageProfileCommand = async (input, context) => {
528
528
  const b = (0, core_2.requestBuilder)(input, context);
529
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
529
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
530
530
  "content-type": "application/json",
531
531
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
532
532
  });
@@ -552,7 +552,7 @@ const se_CreateStorageProfileCommand = async (input, context) => {
552
552
  exports.se_CreateStorageProfileCommand = se_CreateStorageProfileCommand;
553
553
  const se_CreateWorkerCommand = async (input, context) => {
554
554
  const b = (0, core_2.requestBuilder)(input, context);
555
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
555
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
556
556
  "content-type": "application/json",
557
557
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
558
558
  });
@@ -614,7 +614,7 @@ const se_DeleteFarmCommand = async (input, context) => {
614
614
  exports.se_DeleteFarmCommand = se_DeleteFarmCommand;
615
615
  const se_DeleteFleetCommand = async (input, context) => {
616
616
  const b = (0, core_2.requestBuilder)(input, context);
617
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
617
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
618
618
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
619
619
  });
620
620
  b.bp("/2023-10-12/farms/{farmId}/fleets/{fleetId}");
@@ -1992,10 +1992,7 @@ const se_UntagResourceCommand = async (input, context) => {
1992
1992
  b.bp("/2023-10-12/tags/{resourceArn}");
1993
1993
  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
1994
1994
  const query = (0, smithy_client_1.map)({
1995
- [_tK]: [
1996
- (0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
1997
- () => (input[_tK] || []).map((_entry) => _entry),
1998
- ],
1995
+ [_tK]: [(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
1999
1996
  });
2000
1997
  let body;
2001
1998
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -2012,7 +2009,7 @@ const se_UntagResourceCommand = async (input, context) => {
2012
2009
  exports.se_UntagResourceCommand = se_UntagResourceCommand;
2013
2010
  const se_UpdateBudgetCommand = async (input, context) => {
2014
2011
  const b = (0, core_2.requestBuilder)(input, context);
2015
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2012
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
2016
2013
  "content-type": "application/json",
2017
2014
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2018
2015
  });
@@ -2067,7 +2064,7 @@ const se_UpdateFarmCommand = async (input, context) => {
2067
2064
  exports.se_UpdateFarmCommand = se_UpdateFarmCommand;
2068
2065
  const se_UpdateFleetCommand = async (input, context) => {
2069
2066
  const b = (0, core_2.requestBuilder)(input, context);
2070
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2067
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
2071
2068
  "content-type": "application/json",
2072
2069
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2073
2070
  });
@@ -2097,7 +2094,7 @@ const se_UpdateFleetCommand = async (input, context) => {
2097
2094
  exports.se_UpdateFleetCommand = se_UpdateFleetCommand;
2098
2095
  const se_UpdateJobCommand = async (input, context) => {
2099
2096
  const b = (0, core_2.requestBuilder)(input, context);
2100
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2097
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
2101
2098
  "content-type": "application/json",
2102
2099
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2103
2100
  });
@@ -2152,7 +2149,7 @@ const se_UpdateMonitorCommand = async (input, context) => {
2152
2149
  exports.se_UpdateMonitorCommand = se_UpdateMonitorCommand;
2153
2150
  const se_UpdateQueueCommand = async (input, context) => {
2154
2151
  const b = (0, core_2.requestBuilder)(input, context);
2155
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2152
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
2156
2153
  "content-type": "application/json",
2157
2154
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2158
2155
  });
@@ -2186,7 +2183,7 @@ const se_UpdateQueueCommand = async (input, context) => {
2186
2183
  exports.se_UpdateQueueCommand = se_UpdateQueueCommand;
2187
2184
  const se_UpdateQueueEnvironmentCommand = async (input, context) => {
2188
2185
  const b = (0, core_2.requestBuilder)(input, context);
2189
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2186
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
2190
2187
  "content-type": "application/json",
2191
2188
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2192
2189
  });
@@ -2239,7 +2236,7 @@ const se_UpdateQueueFleetAssociationCommand = async (input, context) => {
2239
2236
  exports.se_UpdateQueueFleetAssociationCommand = se_UpdateQueueFleetAssociationCommand;
2240
2237
  const se_UpdateSessionCommand = async (input, context) => {
2241
2238
  const b = (0, core_2.requestBuilder)(input, context);
2242
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2239
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
2243
2240
  "content-type": "application/json",
2244
2241
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2245
2242
  });
@@ -2266,7 +2263,7 @@ const se_UpdateSessionCommand = async (input, context) => {
2266
2263
  exports.se_UpdateSessionCommand = se_UpdateSessionCommand;
2267
2264
  const se_UpdateStepCommand = async (input, context) => {
2268
2265
  const b = (0, core_2.requestBuilder)(input, context);
2269
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2266
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
2270
2267
  "content-type": "application/json",
2271
2268
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2272
2269
  });
@@ -2293,7 +2290,7 @@ const se_UpdateStepCommand = async (input, context) => {
2293
2290
  exports.se_UpdateStepCommand = se_UpdateStepCommand;
2294
2291
  const se_UpdateStorageProfileCommand = async (input, context) => {
2295
2292
  const b = (0, core_2.requestBuilder)(input, context);
2296
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2293
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
2297
2294
  "content-type": "application/json",
2298
2295
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2299
2296
  });
@@ -2321,7 +2318,7 @@ const se_UpdateStorageProfileCommand = async (input, context) => {
2321
2318
  exports.se_UpdateStorageProfileCommand = se_UpdateStorageProfileCommand;
2322
2319
  const se_UpdateTaskCommand = async (input, context) => {
2323
2320
  const b = (0, core_2.requestBuilder)(input, context);
2324
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
2321
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
2325
2322
  "content-type": "application/json",
2326
2323
  [_xact]: input[_cT] ?? (0, uuid_1.v4)(),
2327
2324
  });
@@ -4939,11 +4936,6 @@ const deserializeMetadata = (output) => ({
4939
4936
  cfId: output.headers["x-amz-cf-id"],
4940
4937
  });
4941
4938
  const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
4942
- const isSerializableHeaderValue = (value) => value !== undefined &&
4943
- value !== null &&
4944
- value !== "" &&
4945
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
4946
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
4947
4939
  const _aI = "aggregationId";
4948
4940
  const _cT = "clientToken";
4949
4941
  const _dN = "displayName";
@@ -1,7 +1,7 @@
1
1
  import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
3
  import { isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
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";
4
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, 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
5
  import { v4 as generateIdempotencyToken } from "uuid";
6
6
  import { DeadlineServiceException as __BaseException } from "../models/DeadlineServiceException";
7
7
  import { AccessDeniedException, BudgetSchedule, ConflictException, FleetConfiguration, InternalServerErrorException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
@@ -1898,10 +1898,7 @@ export const se_UntagResourceCommand = async (input, context) => {
1898
1898
  b.bp("/2023-10-12/tags/{resourceArn}");
1899
1899
  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
1900
1900
  const query = map({
1901
- [_tK]: [
1902
- __expectNonNull(input.tagKeys, `tagKeys`) != null,
1903
- () => (input[_tK] || []).map((_entry) => _entry),
1904
- ],
1901
+ [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
1905
1902
  });
1906
1903
  let body;
1907
1904
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -4728,11 +4725,6 @@ const deserializeMetadata = (output) => ({
4728
4725
  cfId: output.headers["x-amz-cf-id"],
4729
4726
  });
4730
4727
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
4731
- const isSerializableHeaderValue = (value) => value !== undefined &&
4732
- value !== null &&
4733
- value !== "" &&
4734
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
4735
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
4736
4728
  const _aI = "aggregationId";
4737
4729
  const _cT = "clientToken";
4738
4730
  const _dN = "displayName";
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.654.0",
4
+ "version": "3.658.1",
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,10 +20,10 @@
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.654.0",
24
- "@aws-sdk/client-sts": "3.654.0",
25
- "@aws-sdk/core": "3.654.0",
26
- "@aws-sdk/credential-provider-node": "3.654.0",
23
+ "@aws-sdk/client-sso-oidc": "3.658.1",
24
+ "@aws-sdk/client-sts": "3.658.1",
25
+ "@aws-sdk/core": "3.658.1",
26
+ "@aws-sdk/credential-provider-node": "3.658.1",
27
27
  "@aws-sdk/middleware-host-header": "3.654.0",
28
28
  "@aws-sdk/middleware-logger": "3.654.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.654.0",
@@ -34,26 +34,26 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.654.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.654.0",
36
36
  "@smithy/config-resolver": "^3.0.8",
37
- "@smithy/core": "^2.4.3",
38
- "@smithy/fetch-http-handler": "^3.2.7",
37
+ "@smithy/core": "^2.4.6",
38
+ "@smithy/fetch-http-handler": "^3.2.8",
39
39
  "@smithy/hash-node": "^3.0.6",
40
40
  "@smithy/invalid-dependency": "^3.0.6",
41
41
  "@smithy/middleware-content-length": "^3.0.8",
42
42
  "@smithy/middleware-endpoint": "^3.1.3",
43
- "@smithy/middleware-retry": "^3.0.18",
43
+ "@smithy/middleware-retry": "^3.0.21",
44
44
  "@smithy/middleware-serde": "^3.0.6",
45
45
  "@smithy/middleware-stack": "^3.0.6",
46
46
  "@smithy/node-config-provider": "^3.1.7",
47
- "@smithy/node-http-handler": "^3.2.2",
47
+ "@smithy/node-http-handler": "^3.2.3",
48
48
  "@smithy/protocol-http": "^4.1.3",
49
- "@smithy/smithy-client": "^3.3.2",
49
+ "@smithy/smithy-client": "^3.3.5",
50
50
  "@smithy/types": "^3.4.2",
51
51
  "@smithy/url-parser": "^3.0.6",
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.18",
56
- "@smithy/util-defaults-mode-node": "^3.0.18",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.21",
56
+ "@smithy/util-defaults-mode-node": "^3.0.21",
57
57
  "@smithy/util-endpoints": "^2.1.2",
58
58
  "@smithy/util-middleware": "^3.0.6",
59
59
  "@smithy/util-retry": "^3.0.6",