@aws-sdk/client-codecatalyst 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.
package/dist-cjs/index.js CHANGED
@@ -457,7 +457,7 @@ var se_CreateAccessTokenCommand = /* @__PURE__ */ __name(async (input, context)
457
457
  let body;
458
458
  body = JSON.stringify(
459
459
  (0, import_smithy_client.take)(input, {
460
- expiresTime: (_) => _.toISOString().split(".")[0] + "Z",
460
+ expiresTime: (_) => (0, import_smithy_client.serializeDateTime)(_),
461
461
  name: []
462
462
  })
463
463
  );
@@ -751,11 +751,11 @@ var se_ListEventLogsCommand = /* @__PURE__ */ __name(async (input, context) => {
751
751
  let body;
752
752
  body = JSON.stringify(
753
753
  (0, import_smithy_client.take)(input, {
754
- endTime: (_) => _.toISOString().split(".")[0] + "Z",
754
+ endTime: (_) => (0, import_smithy_client.serializeDateTime)(_),
755
755
  eventName: [],
756
756
  maxResults: [],
757
757
  nextToken: [],
758
- startTime: (_) => _.toISOString().split(".")[0] + "Z"
758
+ startTime: (_) => (0, import_smithy_client.serializeDateTime)(_)
759
759
  })
760
760
  );
761
761
  b.m("POST").h(headers).b(body);
@@ -1,6 +1,6 @@
1
1
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { CodeCatalystServiceException as __BaseException } from "../models/CodeCatalystServiceException";
6
6
  import { AccessDeniedException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
@@ -12,7 +12,7 @@ export const se_CreateAccessTokenCommand = async (input, context) => {
12
12
  b.bp("/v1/accessTokens");
13
13
  let body;
14
14
  body = JSON.stringify(take(input, {
15
- expiresTime: (_) => _.toISOString().split(".")[0] + "Z",
15
+ expiresTime: (_) => __serializeDateTime(_),
16
16
  name: [],
17
17
  }));
18
18
  b.m("PUT").h(headers).b(body);
@@ -290,11 +290,11 @@ export const se_ListEventLogsCommand = async (input, context) => {
290
290
  b.p("spaceName", () => input.spaceName, "{spaceName}", false);
291
291
  let body;
292
292
  body = JSON.stringify(take(input, {
293
- endTime: (_) => _.toISOString().split(".")[0] + "Z",
293
+ endTime: (_) => __serializeDateTime(_),
294
294
  eventName: [],
295
295
  maxResults: [],
296
296
  nextToken: [],
297
- startTime: (_) => _.toISOString().split(".")[0] + "Z",
297
+ startTime: (_) => __serializeDateTime(_),
298
298
  }));
299
299
  b.m("POST").h(headers).b(body);
300
300
  return b.build();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codecatalyst",
3
3
  "description": "AWS SDK for JavaScript Codecatalyst 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": "node ../../scripts/compilation/inline client-codecatalyst",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/core": "3.582.0",
23
+ "@aws-sdk/core": "3.588.0",
24
24
  "@aws-sdk/middleware-host-header": "3.577.0",
25
25
  "@aws-sdk/middleware-logger": "3.577.0",
26
26
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
27
- "@aws-sdk/middleware-user-agent": "3.583.0",
28
- "@aws-sdk/region-config-resolver": "3.577.0",
29
- "@aws-sdk/token-providers": "3.577.0",
27
+ "@aws-sdk/middleware-user-agent": "3.587.0",
28
+ "@aws-sdk/region-config-resolver": "3.587.0",
29
+ "@aws-sdk/token-providers": "3.587.0",
30
30
  "@aws-sdk/types": "3.577.0",
31
- "@aws-sdk/util-endpoints": "3.583.0",
31
+ "@aws-sdk/util-endpoints": "3.587.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.577.0",
33
- "@aws-sdk/util-user-agent-node": "3.577.0",
34
- "@smithy/config-resolver": "^3.0.0",
35
- "@smithy/core": "^2.0.1",
33
+ "@aws-sdk/util-user-agent-node": "3.587.0",
34
+ "@smithy/config-resolver": "^3.0.1",
35
+ "@smithy/core": "^2.1.1",
36
36
  "@smithy/fetch-http-handler": "^3.0.1",
37
37
  "@smithy/hash-node": "^3.0.0",
38
38
  "@smithy/invalid-dependency": "^3.0.0",
39
39
  "@smithy/middleware-content-length": "^3.0.0",
40
- "@smithy/middleware-endpoint": "^3.0.0",
41
- "@smithy/middleware-retry": "^3.0.1",
40
+ "@smithy/middleware-endpoint": "^3.0.1",
41
+ "@smithy/middleware-retry": "^3.0.3",
42
42
  "@smithy/middleware-serde": "^3.0.0",
43
43
  "@smithy/middleware-stack": "^3.0.0",
44
- "@smithy/node-config-provider": "^3.0.0",
44
+ "@smithy/node-config-provider": "^3.1.0",
45
45
  "@smithy/node-http-handler": "^3.0.0",
46
46
  "@smithy/protocol-http": "^4.0.0",
47
- "@smithy/smithy-client": "^3.0.1",
47
+ "@smithy/smithy-client": "^3.1.1",
48
48
  "@smithy/types": "^3.0.0",
49
49
  "@smithy/url-parser": "^3.0.0",
50
50
  "@smithy/util-base64": "^3.0.0",
51
51
  "@smithy/util-body-length-browser": "^3.0.0",
52
52
  "@smithy/util-body-length-node": "^3.0.0",
53
- "@smithy/util-defaults-mode-browser": "^3.0.1",
54
- "@smithy/util-defaults-mode-node": "^3.0.1",
55
- "@smithy/util-endpoints": "^2.0.0",
53
+ "@smithy/util-defaults-mode-browser": "^3.0.3",
54
+ "@smithy/util-defaults-mode-node": "^3.0.3",
55
+ "@smithy/util-endpoints": "^2.0.1",
56
56
  "@smithy/util-middleware": "^3.0.0",
57
57
  "@smithy/util-retry": "^3.0.0",
58
58
  "@smithy/util-utf8": "^3.0.0",