@aws-sdk/client-codecatalyst 3.261.0 → 3.264.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.
@@ -561,7 +561,7 @@ const deserializeAws_restJson1CreateAccessTokenCommand = async (output, context)
561
561
  });
562
562
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
563
563
  if (data.expiresTime != null) {
564
- contents.expiresTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.expiresTime));
564
+ contents.expiresTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.expiresTime));
565
565
  }
566
566
  if (data.name != null) {
567
567
  contents.name = (0, smithy_client_1.expectString)(data.name);
@@ -732,7 +732,7 @@ const deserializeAws_restJson1CreateSourceRepositoryBranchCommand = async (outpu
732
732
  contents.headCommitId = (0, smithy_client_1.expectString)(data.headCommitId);
733
733
  }
734
734
  if (data.lastUpdatedTime != null) {
735
- contents.lastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.lastUpdatedTime));
735
+ contents.lastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.lastUpdatedTime));
736
736
  }
737
737
  if (data.name != null) {
738
738
  contents.name = (0, smithy_client_1.expectString)(data.name);
@@ -906,7 +906,7 @@ const deserializeAws_restJson1GetDevEnvironmentCommand = async (output, context)
906
906
  contents.instanceType = (0, smithy_client_1.expectString)(data.instanceType);
907
907
  }
908
908
  if (data.lastUpdatedTime != null) {
909
- contents.lastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.lastUpdatedTime));
909
+ contents.lastUpdatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.lastUpdatedTime));
910
910
  }
911
911
  if (data.persistentStorage != null) {
912
912
  contents.persistentStorage = deserializeAws_restJson1PersistentStorage(data.persistentStorage, context);
@@ -2077,7 +2077,7 @@ const deserializeAws_restJson1AccessTokenSummaries = (output, context) => {
2077
2077
  };
2078
2078
  const deserializeAws_restJson1AccessTokenSummary = (output, context) => {
2079
2079
  return {
2080
- expiresTime: output.expiresTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.expiresTime)) : undefined,
2080
+ expiresTime: output.expiresTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.expiresTime)) : undefined,
2081
2081
  id: (0, smithy_client_1.expectString)(output.id),
2082
2082
  name: (0, smithy_client_1.expectString)(output.name),
2083
2083
  };
@@ -2113,7 +2113,9 @@ const deserializeAws_restJson1DevEnvironmentSummary = (output, context) => {
2113
2113
  ides: output.ides != null ? deserializeAws_restJson1Ides(output.ides, context) : undefined,
2114
2114
  inactivityTimeoutMinutes: (0, smithy_client_1.expectInt32)(output.inactivityTimeoutMinutes),
2115
2115
  instanceType: (0, smithy_client_1.expectString)(output.instanceType),
2116
- lastUpdatedTime: output.lastUpdatedTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdatedTime)) : undefined,
2116
+ lastUpdatedTime: output.lastUpdatedTime != null
2117
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastUpdatedTime))
2118
+ : undefined,
2117
2119
  persistentStorage: output.persistentStorage != null
2118
2120
  ? deserializeAws_restJson1PersistentStorage(output.persistentStorage, context)
2119
2121
  : undefined,
@@ -2160,7 +2162,7 @@ const deserializeAws_restJson1EventLogEntry = (output, context) => {
2160
2162
  eventCategory: (0, smithy_client_1.expectString)(output.eventCategory),
2161
2163
  eventName: (0, smithy_client_1.expectString)(output.eventName),
2162
2164
  eventSource: (0, smithy_client_1.expectString)(output.eventSource),
2163
- eventTime: output.eventTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.eventTime)) : undefined,
2165
+ eventTime: output.eventTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.eventTime)) : undefined,
2164
2166
  eventType: (0, smithy_client_1.expectString)(output.eventType),
2165
2167
  id: (0, smithy_client_1.expectString)(output.id),
2166
2168
  operationType: (0, smithy_client_1.expectString)(output.operationType),
@@ -2219,10 +2221,12 @@ const deserializeAws_restJson1Ides = (output, context) => {
2219
2221
  };
2220
2222
  const deserializeAws_restJson1ListSourceRepositoriesItem = (output, context) => {
2221
2223
  return {
2222
- createdTime: output.createdTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdTime)) : undefined,
2224
+ createdTime: output.createdTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdTime)) : undefined,
2223
2225
  description: (0, smithy_client_1.expectString)(output.description),
2224
2226
  id: (0, smithy_client_1.expectString)(output.id),
2225
- lastUpdatedTime: output.lastUpdatedTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdatedTime)) : undefined,
2227
+ lastUpdatedTime: output.lastUpdatedTime != null
2228
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastUpdatedTime))
2229
+ : undefined,
2226
2230
  name: (0, smithy_client_1.expectString)(output.name),
2227
2231
  };
2228
2232
  };
@@ -2240,7 +2244,9 @@ const deserializeAws_restJson1ListSourceRepositoriesItems = (output, context) =>
2240
2244
  const deserializeAws_restJson1ListSourceRepositoryBranchesItem = (output, context) => {
2241
2245
  return {
2242
2246
  headCommitId: (0, smithy_client_1.expectString)(output.headCommitId),
2243
- lastUpdatedTime: output.lastUpdatedTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdatedTime)) : undefined,
2247
+ lastUpdatedTime: output.lastUpdatedTime != null
2248
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.lastUpdatedTime))
2249
+ : undefined,
2244
2250
  name: (0, smithy_client_1.expectString)(output.name),
2245
2251
  ref: (0, smithy_client_1.expectString)(output.ref),
2246
2252
  };
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTime as __parseRfc3339DateTime, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { CodeCatalystServiceException as __BaseException } from "../models/CodeCatalystServiceException";
4
4
  import { AccessDeniedException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
5
5
  export const serializeAws_restJson1CreateAccessTokenCommand = async (input, context) => {
@@ -534,7 +534,7 @@ export const deserializeAws_restJson1CreateAccessTokenCommand = async (output, c
534
534
  });
535
535
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
536
536
  if (data.expiresTime != null) {
537
- contents.expiresTime = __expectNonNull(__parseRfc3339DateTime(data.expiresTime));
537
+ contents.expiresTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.expiresTime));
538
538
  }
539
539
  if (data.name != null) {
540
540
  contents.name = __expectString(data.name);
@@ -702,7 +702,7 @@ export const deserializeAws_restJson1CreateSourceRepositoryBranchCommand = async
702
702
  contents.headCommitId = __expectString(data.headCommitId);
703
703
  }
704
704
  if (data.lastUpdatedTime != null) {
705
- contents.lastUpdatedTime = __expectNonNull(__parseRfc3339DateTime(data.lastUpdatedTime));
705
+ contents.lastUpdatedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.lastUpdatedTime));
706
706
  }
707
707
  if (data.name != null) {
708
708
  contents.name = __expectString(data.name);
@@ -873,7 +873,7 @@ export const deserializeAws_restJson1GetDevEnvironmentCommand = async (output, c
873
873
  contents.instanceType = __expectString(data.instanceType);
874
874
  }
875
875
  if (data.lastUpdatedTime != null) {
876
- contents.lastUpdatedTime = __expectNonNull(__parseRfc3339DateTime(data.lastUpdatedTime));
876
+ contents.lastUpdatedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.lastUpdatedTime));
877
877
  }
878
878
  if (data.persistentStorage != null) {
879
879
  contents.persistentStorage = deserializeAws_restJson1PersistentStorage(data.persistentStorage, context);
@@ -2026,7 +2026,7 @@ const deserializeAws_restJson1AccessTokenSummaries = (output, context) => {
2026
2026
  };
2027
2027
  const deserializeAws_restJson1AccessTokenSummary = (output, context) => {
2028
2028
  return {
2029
- expiresTime: output.expiresTime != null ? __expectNonNull(__parseRfc3339DateTime(output.expiresTime)) : undefined,
2029
+ expiresTime: output.expiresTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.expiresTime)) : undefined,
2030
2030
  id: __expectString(output.id),
2031
2031
  name: __expectString(output.name),
2032
2032
  };
@@ -2062,7 +2062,9 @@ const deserializeAws_restJson1DevEnvironmentSummary = (output, context) => {
2062
2062
  ides: output.ides != null ? deserializeAws_restJson1Ides(output.ides, context) : undefined,
2063
2063
  inactivityTimeoutMinutes: __expectInt32(output.inactivityTimeoutMinutes),
2064
2064
  instanceType: __expectString(output.instanceType),
2065
- lastUpdatedTime: output.lastUpdatedTime != null ? __expectNonNull(__parseRfc3339DateTime(output.lastUpdatedTime)) : undefined,
2065
+ lastUpdatedTime: output.lastUpdatedTime != null
2066
+ ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastUpdatedTime))
2067
+ : undefined,
2066
2068
  persistentStorage: output.persistentStorage != null
2067
2069
  ? deserializeAws_restJson1PersistentStorage(output.persistentStorage, context)
2068
2070
  : undefined,
@@ -2109,7 +2111,7 @@ const deserializeAws_restJson1EventLogEntry = (output, context) => {
2109
2111
  eventCategory: __expectString(output.eventCategory),
2110
2112
  eventName: __expectString(output.eventName),
2111
2113
  eventSource: __expectString(output.eventSource),
2112
- eventTime: output.eventTime != null ? __expectNonNull(__parseRfc3339DateTime(output.eventTime)) : undefined,
2114
+ eventTime: output.eventTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.eventTime)) : undefined,
2113
2115
  eventType: __expectString(output.eventType),
2114
2116
  id: __expectString(output.id),
2115
2117
  operationType: __expectString(output.operationType),
@@ -2168,10 +2170,12 @@ const deserializeAws_restJson1Ides = (output, context) => {
2168
2170
  };
2169
2171
  const deserializeAws_restJson1ListSourceRepositoriesItem = (output, context) => {
2170
2172
  return {
2171
- createdTime: output.createdTime != null ? __expectNonNull(__parseRfc3339DateTime(output.createdTime)) : undefined,
2173
+ createdTime: output.createdTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdTime)) : undefined,
2172
2174
  description: __expectString(output.description),
2173
2175
  id: __expectString(output.id),
2174
- lastUpdatedTime: output.lastUpdatedTime != null ? __expectNonNull(__parseRfc3339DateTime(output.lastUpdatedTime)) : undefined,
2176
+ lastUpdatedTime: output.lastUpdatedTime != null
2177
+ ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastUpdatedTime))
2178
+ : undefined,
2175
2179
  name: __expectString(output.name),
2176
2180
  };
2177
2181
  };
@@ -2189,7 +2193,9 @@ const deserializeAws_restJson1ListSourceRepositoriesItems = (output, context) =>
2189
2193
  const deserializeAws_restJson1ListSourceRepositoryBranchesItem = (output, context) => {
2190
2194
  return {
2191
2195
  headCommitId: __expectString(output.headCommitId),
2192
- lastUpdatedTime: output.lastUpdatedTime != null ? __expectNonNull(__parseRfc3339DateTime(output.lastUpdatedTime)) : undefined,
2196
+ lastUpdatedTime: output.lastUpdatedTime != null
2197
+ ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.lastUpdatedTime))
2198
+ : undefined,
2193
2199
  name: __expectString(output.name),
2194
2200
  ref: __expectString(output.ref),
2195
2201
  };
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.261.0",
4
+ "version": "3.264.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",
@@ -25,14 +25,14 @@
25
25
  "@aws-sdk/hash-node": "3.257.0",
26
26
  "@aws-sdk/invalid-dependency": "3.257.0",
27
27
  "@aws-sdk/middleware-content-length": "3.257.0",
28
- "@aws-sdk/middleware-endpoint": "3.257.0",
28
+ "@aws-sdk/middleware-endpoint": "3.264.0",
29
29
  "@aws-sdk/middleware-host-header": "3.257.0",
30
30
  "@aws-sdk/middleware-logger": "3.257.0",
31
31
  "@aws-sdk/middleware-recursion-detection": "3.257.0",
32
32
  "@aws-sdk/middleware-retry": "3.259.0",
33
33
  "@aws-sdk/middleware-serde": "3.257.0",
34
34
  "@aws-sdk/middleware-stack": "3.257.0",
35
- "@aws-sdk/middleware-token": "3.261.0",
35
+ "@aws-sdk/middleware-token": "3.264.0",
36
36
  "@aws-sdk/middleware-user-agent": "3.257.0",
37
37
  "@aws-sdk/node-config-provider": "3.259.0",
38
38
  "@aws-sdk/node-http-handler": "3.257.0",