@aws-sdk/client-deadline 3.583.0 → 3.588.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.
@@ -1942,11 +1942,11 @@ const se_StartSessionsStatisticsAggregationCommand = async (input, context) => {
1942
1942
  b.p("farmId", () => input.farmId, "{farmId}", false);
1943
1943
  let body;
1944
1944
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1945
- endTime: (_) => _.toISOString().split(".")[0] + "Z",
1945
+ endTime: (_) => (0, smithy_client_1.serializeDateTime)(_),
1946
1946
  groupBy: (_) => (0, smithy_client_1._json)(_),
1947
1947
  period: [],
1948
1948
  resourceIds: (_) => (0, smithy_client_1._json)(_),
1949
- startTime: (_) => _.toISOString().split(".")[0] + "Z",
1949
+ startTime: (_) => (0, smithy_client_1.serializeDateTime)(_),
1950
1950
  statistics: (_) => (0, smithy_client_1._json)(_),
1951
1951
  timezone: [],
1952
1952
  }));
@@ -4210,15 +4210,15 @@ const se_CustomFleetAmountCapabilities = (input, context) => {
4210
4210
  };
4211
4211
  const se_DateTimeFilterExpression = (input, context) => {
4212
4212
  return (0, smithy_client_1.take)(input, {
4213
- dateTime: (_) => _.toISOString().split(".")[0] + "Z",
4213
+ dateTime: smithy_client_1.serializeDateTime,
4214
4214
  name: [],
4215
4215
  operator: [],
4216
4216
  });
4217
4217
  };
4218
4218
  const se_FixedBudgetSchedule = (input, context) => {
4219
4219
  return (0, smithy_client_1.take)(input, {
4220
- endTime: (_) => _.toISOString().split(".")[0] + "Z",
4221
- startTime: (_) => _.toISOString().split(".")[0] + "Z",
4220
+ endTime: smithy_client_1.serializeDateTime,
4221
+ startTime: smithy_client_1.serializeDateTime,
4222
4222
  });
4223
4223
  };
4224
4224
  const se_FleetAmountCapability = (input, context) => {
@@ -4280,12 +4280,12 @@ const se_ServiceManagedEc2InstanceCapabilities = (input, context) => {
4280
4280
  const se_UpdatedSessionActionInfo = (input, context) => {
4281
4281
  return (0, smithy_client_1.take)(input, {
4282
4282
  completedStatus: [],
4283
- endedAt: (_) => _.toISOString().split(".")[0] + "Z",
4283
+ endedAt: smithy_client_1.serializeDateTime,
4284
4284
  processExitCode: [],
4285
4285
  progressMessage: [],
4286
4286
  progressPercent: smithy_client_1.serializeFloat,
4287
- startedAt: (_) => _.toISOString().split(".")[0] + "Z",
4288
- updatedAt: (_) => _.toISOString().split(".")[0] + "Z",
4287
+ startedAt: smithy_client_1.serializeDateTime,
4288
+ updatedAt: smithy_client_1.serializeDateTime,
4289
4289
  });
4290
4290
  };
4291
4291
  const se_UpdatedSessionActions = (input, context) => {
@@ -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, 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, 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 { DeadlineServiceException as __BaseException } from "../models/DeadlineServiceException";
6
6
  import { AccessDeniedException, BudgetSchedule, ConflictException, FleetConfiguration, InternalServerErrorException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
7
7
  import { SearchFilterExpression, } from "../models/models_1";
@@ -1850,11 +1850,11 @@ export const se_StartSessionsStatisticsAggregationCommand = async (input, contex
1850
1850
  b.p("farmId", () => input.farmId, "{farmId}", false);
1851
1851
  let body;
1852
1852
  body = JSON.stringify(take(input, {
1853
- endTime: (_) => _.toISOString().split(".")[0] + "Z",
1853
+ endTime: (_) => __serializeDateTime(_),
1854
1854
  groupBy: (_) => _json(_),
1855
1855
  period: [],
1856
1856
  resourceIds: (_) => _json(_),
1857
- startTime: (_) => _.toISOString().split(".")[0] + "Z",
1857
+ startTime: (_) => __serializeDateTime(_),
1858
1858
  statistics: (_) => _json(_),
1859
1859
  timezone: [],
1860
1860
  }));
@@ -3999,15 +3999,15 @@ const se_CustomFleetAmountCapabilities = (input, context) => {
3999
3999
  };
4000
4000
  const se_DateTimeFilterExpression = (input, context) => {
4001
4001
  return take(input, {
4002
- dateTime: (_) => _.toISOString().split(".")[0] + "Z",
4002
+ dateTime: __serializeDateTime,
4003
4003
  name: [],
4004
4004
  operator: [],
4005
4005
  });
4006
4006
  };
4007
4007
  const se_FixedBudgetSchedule = (input, context) => {
4008
4008
  return take(input, {
4009
- endTime: (_) => _.toISOString().split(".")[0] + "Z",
4010
- startTime: (_) => _.toISOString().split(".")[0] + "Z",
4009
+ endTime: __serializeDateTime,
4010
+ startTime: __serializeDateTime,
4011
4011
  });
4012
4012
  };
4013
4013
  const se_FleetAmountCapability = (input, context) => {
@@ -4069,12 +4069,12 @@ const se_ServiceManagedEc2InstanceCapabilities = (input, context) => {
4069
4069
  const se_UpdatedSessionActionInfo = (input, context) => {
4070
4070
  return take(input, {
4071
4071
  completedStatus: [],
4072
- endedAt: (_) => _.toISOString().split(".")[0] + "Z",
4072
+ endedAt: __serializeDateTime,
4073
4073
  processExitCode: [],
4074
4074
  progressMessage: [],
4075
4075
  progressPercent: __serializeFloat,
4076
- startedAt: (_) => _.toISOString().split(".")[0] + "Z",
4077
- updatedAt: (_) => _.toISOString().split(".")[0] + "Z",
4076
+ startedAt: __serializeDateTime,
4077
+ updatedAt: __serializeDateTime,
4078
4078
  });
4079
4079
  };
4080
4080
  const se_UpdatedSessionActions = (input, context) => {
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.583.0",
4
+ "version": "3.588.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,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.583.0",
24
- "@aws-sdk/client-sts": "3.583.0",
25
- "@aws-sdk/core": "3.582.0",
26
- "@aws-sdk/credential-provider-node": "3.583.0",
23
+ "@aws-sdk/client-sso-oidc": "3.588.0",
24
+ "@aws-sdk/client-sts": "3.588.0",
25
+ "@aws-sdk/core": "3.588.0",
26
+ "@aws-sdk/credential-provider-node": "3.588.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
- "@aws-sdk/middleware-user-agent": "3.583.0",
31
- "@aws-sdk/region-config-resolver": "3.577.0",
30
+ "@aws-sdk/middleware-user-agent": "3.587.0",
31
+ "@aws-sdk/region-config-resolver": "3.587.0",
32
32
  "@aws-sdk/types": "3.577.0",
33
- "@aws-sdk/util-endpoints": "3.583.0",
33
+ "@aws-sdk/util-endpoints": "3.587.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
- "@aws-sdk/util-user-agent-node": "3.577.0",
36
- "@smithy/config-resolver": "^3.0.0",
37
- "@smithy/core": "^2.0.1",
35
+ "@aws-sdk/util-user-agent-node": "3.587.0",
36
+ "@smithy/config-resolver": "^3.0.1",
37
+ "@smithy/core": "^2.1.1",
38
38
  "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",
41
41
  "@smithy/middleware-content-length": "^3.0.0",
42
- "@smithy/middleware-endpoint": "^3.0.0",
43
- "@smithy/middleware-retry": "^3.0.1",
42
+ "@smithy/middleware-endpoint": "^3.0.1",
43
+ "@smithy/middleware-retry": "^3.0.3",
44
44
  "@smithy/middleware-serde": "^3.0.0",
45
45
  "@smithy/middleware-stack": "^3.0.0",
46
- "@smithy/node-config-provider": "^3.0.0",
46
+ "@smithy/node-config-provider": "^3.1.0",
47
47
  "@smithy/node-http-handler": "^3.0.0",
48
48
  "@smithy/protocol-http": "^4.0.0",
49
- "@smithy/smithy-client": "^3.0.1",
49
+ "@smithy/smithy-client": "^3.1.1",
50
50
  "@smithy/types": "^3.0.0",
51
51
  "@smithy/url-parser": "^3.0.0",
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.1",
56
- "@smithy/util-defaults-mode-node": "^3.0.1",
57
- "@smithy/util-endpoints": "^2.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.3",
56
+ "@smithy/util-defaults-mode-node": "^3.0.3",
57
+ "@smithy/util-endpoints": "^2.0.1",
58
58
  "@smithy/util-middleware": "^3.0.0",
59
59
  "@smithy/util-retry": "^3.0.0",
60
60
  "@smithy/util-utf8": "^3.0.0",