@aws-sdk/client-workdocs 3.121.0 → 3.130.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-workdocs
20
+
21
+
22
+
23
+
24
+
25
+ # [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-workdocs
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
7
34
 
8
35
 
@@ -93,12 +93,12 @@ const serializeAws_restJson1AddResourcePermissionsCommand = async (input, contex
93
93
  }
94
94
  let body;
95
95
  body = JSON.stringify({
96
- ...(input.NotificationOptions !== undefined &&
97
- input.NotificationOptions !== null && {
96
+ ...(input.NotificationOptions != null && {
98
97
  NotificationOptions: serializeAws_restJson1NotificationOptions(input.NotificationOptions, context),
99
98
  }),
100
- ...(input.Principals !== undefined &&
101
- input.Principals !== null && { Principals: serializeAws_restJson1SharePrincipalList(input.Principals, context) }),
99
+ ...(input.Principals != null && {
100
+ Principals: serializeAws_restJson1SharePrincipalList(input.Principals, context),
101
+ }),
102
102
  });
103
103
  return new protocol_http_1.HttpRequest({
104
104
  protocol,
@@ -141,12 +141,11 @@ const serializeAws_restJson1CreateCommentCommand = async (input, context) => {
141
141
  }
142
142
  let body;
143
143
  body = JSON.stringify({
144
- ...(input.NotifyCollaborators !== undefined &&
145
- input.NotifyCollaborators !== null && { NotifyCollaborators: input.NotifyCollaborators }),
146
- ...(input.ParentId !== undefined && input.ParentId !== null && { ParentId: input.ParentId }),
147
- ...(input.Text !== undefined && input.Text !== null && { Text: input.Text }),
148
- ...(input.ThreadId !== undefined && input.ThreadId !== null && { ThreadId: input.ThreadId }),
149
- ...(input.Visibility !== undefined && input.Visibility !== null && { Visibility: input.Visibility }),
144
+ ...(input.NotifyCollaborators != null && { NotifyCollaborators: input.NotifyCollaborators }),
145
+ ...(input.ParentId != null && { ParentId: input.ParentId }),
146
+ ...(input.Text != null && { Text: input.Text }),
147
+ ...(input.ThreadId != null && { ThreadId: input.ThreadId }),
148
+ ...(input.Visibility != null && { Visibility: input.Visibility }),
150
149
  });
151
150
  return new protocol_http_1.HttpRequest({
152
151
  protocol,
@@ -182,8 +181,7 @@ const serializeAws_restJson1CreateCustomMetadataCommand = async (input, context)
182
181
  };
183
182
  let body;
184
183
  body = JSON.stringify({
185
- ...(input.CustomMetadata !== undefined &&
186
- input.CustomMetadata !== null && {
184
+ ...(input.CustomMetadata != null && {
187
185
  CustomMetadata: serializeAws_restJson1CustomMetadataMap(input.CustomMetadata, context),
188
186
  }),
189
187
  });
@@ -208,9 +206,8 @@ const serializeAws_restJson1CreateFolderCommand = async (input, context) => {
208
206
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/folders";
209
207
  let body;
210
208
  body = JSON.stringify({
211
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
212
- ...(input.ParentFolderId !== undefined &&
213
- input.ParentFolderId !== null && { ParentFolderId: input.ParentFolderId }),
209
+ ...(input.Name != null && { Name: input.Name }),
210
+ ...(input.ParentFolderId != null && { ParentFolderId: input.ParentFolderId }),
214
211
  });
215
212
  return new protocol_http_1.HttpRequest({
216
213
  protocol,
@@ -242,8 +239,7 @@ const serializeAws_restJson1CreateLabelsCommand = async (input, context) => {
242
239
  }
243
240
  let body;
244
241
  body = JSON.stringify({
245
- ...(input.Labels !== undefined &&
246
- input.Labels !== null && { Labels: serializeAws_restJson1SharedLabels(input.Labels, context) }),
242
+ ...(input.Labels != null && { Labels: serializeAws_restJson1SharedLabels(input.Labels, context) }),
247
243
  });
248
244
  return new protocol_http_1.HttpRequest({
249
245
  protocol,
@@ -275,10 +271,9 @@ const serializeAws_restJson1CreateNotificationSubscriptionCommand = async (input
275
271
  }
276
272
  let body;
277
273
  body = JSON.stringify({
278
- ...(input.Endpoint !== undefined && input.Endpoint !== null && { Endpoint: input.Endpoint }),
279
- ...(input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol }),
280
- ...(input.SubscriptionType !== undefined &&
281
- input.SubscriptionType !== null && { SubscriptionType: input.SubscriptionType }),
274
+ ...(input.Endpoint != null && { Endpoint: input.Endpoint }),
275
+ ...(input.Protocol != null && { Protocol: input.Protocol }),
276
+ ...(input.SubscriptionType != null && { SubscriptionType: input.SubscriptionType }),
282
277
  });
283
278
  return new protocol_http_1.HttpRequest({
284
279
  protocol,
@@ -300,16 +295,16 @@ const serializeAws_restJson1CreateUserCommand = async (input, context) => {
300
295
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/users";
301
296
  let body;
302
297
  body = JSON.stringify({
303
- ...(input.EmailAddress !== undefined && input.EmailAddress !== null && { EmailAddress: input.EmailAddress }),
304
- ...(input.GivenName !== undefined && input.GivenName !== null && { GivenName: input.GivenName }),
305
- ...(input.OrganizationId !== undefined &&
306
- input.OrganizationId !== null && { OrganizationId: input.OrganizationId }),
307
- ...(input.Password !== undefined && input.Password !== null && { Password: input.Password }),
308
- ...(input.StorageRule !== undefined &&
309
- input.StorageRule !== null && { StorageRule: serializeAws_restJson1StorageRuleType(input.StorageRule, context) }),
310
- ...(input.Surname !== undefined && input.Surname !== null && { Surname: input.Surname }),
311
- ...(input.TimeZoneId !== undefined && input.TimeZoneId !== null && { TimeZoneId: input.TimeZoneId }),
312
- ...(input.Username !== undefined && input.Username !== null && { Username: input.Username }),
298
+ ...(input.EmailAddress != null && { EmailAddress: input.EmailAddress }),
299
+ ...(input.GivenName != null && { GivenName: input.GivenName }),
300
+ ...(input.OrganizationId != null && { OrganizationId: input.OrganizationId }),
301
+ ...(input.Password != null && { Password: input.Password }),
302
+ ...(input.StorageRule != null && {
303
+ StorageRule: serializeAws_restJson1StorageRuleType(input.StorageRule, context),
304
+ }),
305
+ ...(input.Surname != null && { Surname: input.Surname }),
306
+ ...(input.TimeZoneId != null && { TimeZoneId: input.TimeZoneId }),
307
+ ...(input.Username != null && { Username: input.Username }),
313
308
  });
314
309
  return new protocol_http_1.HttpRequest({
315
310
  protocol,
@@ -1137,21 +1132,17 @@ const serializeAws_restJson1InitiateDocumentVersionUploadCommand = async (input,
1137
1132
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/documents";
1138
1133
  let body;
1139
1134
  body = JSON.stringify({
1140
- ...(input.ContentCreatedTimestamp !== undefined &&
1141
- input.ContentCreatedTimestamp !== null && {
1135
+ ...(input.ContentCreatedTimestamp != null && {
1142
1136
  ContentCreatedTimestamp: Math.round(input.ContentCreatedTimestamp.getTime() / 1000),
1143
1137
  }),
1144
- ...(input.ContentModifiedTimestamp !== undefined &&
1145
- input.ContentModifiedTimestamp !== null && {
1138
+ ...(input.ContentModifiedTimestamp != null && {
1146
1139
  ContentModifiedTimestamp: Math.round(input.ContentModifiedTimestamp.getTime() / 1000),
1147
1140
  }),
1148
- ...(input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType }),
1149
- ...(input.DocumentSizeInBytes !== undefined &&
1150
- input.DocumentSizeInBytes !== null && { DocumentSizeInBytes: input.DocumentSizeInBytes }),
1151
- ...(input.Id !== undefined && input.Id !== null && { Id: input.Id }),
1152
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
1153
- ...(input.ParentFolderId !== undefined &&
1154
- input.ParentFolderId !== null && { ParentFolderId: input.ParentFolderId }),
1141
+ ...(input.ContentType != null && { ContentType: input.ContentType }),
1142
+ ...(input.DocumentSizeInBytes != null && { DocumentSizeInBytes: input.DocumentSizeInBytes }),
1143
+ ...(input.Id != null && { Id: input.Id }),
1144
+ ...(input.Name != null && { Name: input.Name }),
1145
+ ...(input.ParentFolderId != null && { ParentFolderId: input.ParentFolderId }),
1155
1146
  });
1156
1147
  return new protocol_http_1.HttpRequest({
1157
1148
  protocol,
@@ -1255,10 +1246,9 @@ const serializeAws_restJson1UpdateDocumentCommand = async (input, context) => {
1255
1246
  }
1256
1247
  let body;
1257
1248
  body = JSON.stringify({
1258
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
1259
- ...(input.ParentFolderId !== undefined &&
1260
- input.ParentFolderId !== null && { ParentFolderId: input.ParentFolderId }),
1261
- ...(input.ResourceState !== undefined && input.ResourceState !== null && { ResourceState: input.ResourceState }),
1249
+ ...(input.Name != null && { Name: input.Name }),
1250
+ ...(input.ParentFolderId != null && { ParentFolderId: input.ParentFolderId }),
1251
+ ...(input.ResourceState != null && { ResourceState: input.ResourceState }),
1262
1252
  });
1263
1253
  return new protocol_http_1.HttpRequest({
1264
1254
  protocol,
@@ -1301,7 +1291,7 @@ const serializeAws_restJson1UpdateDocumentVersionCommand = async (input, context
1301
1291
  }
1302
1292
  let body;
1303
1293
  body = JSON.stringify({
1304
- ...(input.VersionStatus !== undefined && input.VersionStatus !== null && { VersionStatus: input.VersionStatus }),
1294
+ ...(input.VersionStatus != null && { VersionStatus: input.VersionStatus }),
1305
1295
  });
1306
1296
  return new protocol_http_1.HttpRequest({
1307
1297
  protocol,
@@ -1333,10 +1323,9 @@ const serializeAws_restJson1UpdateFolderCommand = async (input, context) => {
1333
1323
  }
1334
1324
  let body;
1335
1325
  body = JSON.stringify({
1336
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
1337
- ...(input.ParentFolderId !== undefined &&
1338
- input.ParentFolderId !== null && { ParentFolderId: input.ParentFolderId }),
1339
- ...(input.ResourceState !== undefined && input.ResourceState !== null && { ResourceState: input.ResourceState }),
1326
+ ...(input.Name != null && { Name: input.Name }),
1327
+ ...(input.ParentFolderId != null && { ParentFolderId: input.ParentFolderId }),
1328
+ ...(input.ResourceState != null && { ResourceState: input.ResourceState }),
1340
1329
  });
1341
1330
  return new protocol_http_1.HttpRequest({
1342
1331
  protocol,
@@ -1368,15 +1357,15 @@ const serializeAws_restJson1UpdateUserCommand = async (input, context) => {
1368
1357
  }
1369
1358
  let body;
1370
1359
  body = JSON.stringify({
1371
- ...(input.GivenName !== undefined && input.GivenName !== null && { GivenName: input.GivenName }),
1372
- ...(input.GrantPoweruserPrivileges !== undefined &&
1373
- input.GrantPoweruserPrivileges !== null && { GrantPoweruserPrivileges: input.GrantPoweruserPrivileges }),
1374
- ...(input.Locale !== undefined && input.Locale !== null && { Locale: input.Locale }),
1375
- ...(input.StorageRule !== undefined &&
1376
- input.StorageRule !== null && { StorageRule: serializeAws_restJson1StorageRuleType(input.StorageRule, context) }),
1377
- ...(input.Surname !== undefined && input.Surname !== null && { Surname: input.Surname }),
1378
- ...(input.TimeZoneId !== undefined && input.TimeZoneId !== null && { TimeZoneId: input.TimeZoneId }),
1379
- ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
1360
+ ...(input.GivenName != null && { GivenName: input.GivenName }),
1361
+ ...(input.GrantPoweruserPrivileges != null && { GrantPoweruserPrivileges: input.GrantPoweruserPrivileges }),
1362
+ ...(input.Locale != null && { Locale: input.Locale }),
1363
+ ...(input.StorageRule != null && {
1364
+ StorageRule: serializeAws_restJson1StorageRuleType(input.StorageRule, context),
1365
+ }),
1366
+ ...(input.Surname != null && { Surname: input.Surname }),
1367
+ ...(input.TimeZoneId != null && { TimeZoneId: input.TimeZoneId }),
1368
+ ...(input.Type != null && { Type: input.Type }),
1380
1369
  });
1381
1370
  return new protocol_http_1.HttpRequest({
1382
1371
  protocol,
@@ -3899,8 +3888,8 @@ const serializeAws_restJson1CustomMetadataMap = (input, context) => {
3899
3888
  };
3900
3889
  const serializeAws_restJson1NotificationOptions = (input, context) => {
3901
3890
  return {
3902
- ...(input.EmailMessage !== undefined && input.EmailMessage !== null && { EmailMessage: input.EmailMessage }),
3903
- ...(input.SendEmail !== undefined && input.SendEmail !== null && { SendEmail: input.SendEmail }),
3891
+ ...(input.EmailMessage != null && { EmailMessage: input.EmailMessage }),
3892
+ ...(input.SendEmail != null && { SendEmail: input.SendEmail }),
3904
3893
  };
3905
3894
  };
3906
3895
  const serializeAws_restJson1SharedLabels = (input, context) => {
@@ -3915,9 +3904,9 @@ const serializeAws_restJson1SharedLabels = (input, context) => {
3915
3904
  };
3916
3905
  const serializeAws_restJson1SharePrincipal = (input, context) => {
3917
3906
  return {
3918
- ...(input.Id !== undefined && input.Id !== null && { Id: input.Id }),
3919
- ...(input.Role !== undefined && input.Role !== null && { Role: input.Role }),
3920
- ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
3907
+ ...(input.Id != null && { Id: input.Id }),
3908
+ ...(input.Role != null && { Role: input.Role }),
3909
+ ...(input.Type != null && { Type: input.Type }),
3921
3910
  };
3922
3911
  };
3923
3912
  const serializeAws_restJson1SharePrincipalList = (input, context) => {
@@ -3932,43 +3921,34 @@ const serializeAws_restJson1SharePrincipalList = (input, context) => {
3932
3921
  };
3933
3922
  const serializeAws_restJson1StorageRuleType = (input, context) => {
3934
3923
  return {
3935
- ...(input.StorageAllocatedInBytes !== undefined &&
3936
- input.StorageAllocatedInBytes !== null && { StorageAllocatedInBytes: input.StorageAllocatedInBytes }),
3937
- ...(input.StorageType !== undefined && input.StorageType !== null && { StorageType: input.StorageType }),
3924
+ ...(input.StorageAllocatedInBytes != null && { StorageAllocatedInBytes: input.StorageAllocatedInBytes }),
3925
+ ...(input.StorageType != null && { StorageType: input.StorageType }),
3938
3926
  };
3939
3927
  };
3940
3928
  const deserializeAws_restJson1Activity = (output, context) => {
3941
3929
  return {
3942
- CommentMetadata: output.CommentMetadata !== undefined && output.CommentMetadata !== null
3930
+ CommentMetadata: output.CommentMetadata != null
3943
3931
  ? deserializeAws_restJson1CommentMetadata(output.CommentMetadata, context)
3944
3932
  : undefined,
3945
- Initiator: output.Initiator !== undefined && output.Initiator !== null
3946
- ? deserializeAws_restJson1UserMetadata(output.Initiator, context)
3947
- : undefined,
3933
+ Initiator: output.Initiator != null ? deserializeAws_restJson1UserMetadata(output.Initiator, context) : undefined,
3948
3934
  IsIndirectActivity: (0, smithy_client_1.expectBoolean)(output.IsIndirectActivity),
3949
3935
  OrganizationId: (0, smithy_client_1.expectString)(output.OrganizationId),
3950
- OriginalParent: output.OriginalParent !== undefined && output.OriginalParent !== null
3936
+ OriginalParent: output.OriginalParent != null
3951
3937
  ? deserializeAws_restJson1ResourceMetadata(output.OriginalParent, context)
3952
3938
  : undefined,
3953
- Participants: output.Participants !== undefined && output.Participants !== null
3954
- ? deserializeAws_restJson1Participants(output.Participants, context)
3955
- : undefined,
3956
- ResourceMetadata: output.ResourceMetadata !== undefined && output.ResourceMetadata !== null
3939
+ Participants: output.Participants != null ? deserializeAws_restJson1Participants(output.Participants, context) : undefined,
3940
+ ResourceMetadata: output.ResourceMetadata != null
3957
3941
  ? deserializeAws_restJson1ResourceMetadata(output.ResourceMetadata, context)
3958
3942
  : undefined,
3959
- TimeStamp: output.TimeStamp !== undefined && output.TimeStamp !== null
3960
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TimeStamp)))
3961
- : undefined,
3943
+ TimeStamp: output.TimeStamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TimeStamp))) : undefined,
3962
3944
  Type: (0, smithy_client_1.expectString)(output.Type),
3963
3945
  };
3964
3946
  };
3965
3947
  const deserializeAws_restJson1Comment = (output, context) => {
3966
3948
  return {
3967
3949
  CommentId: (0, smithy_client_1.expectString)(output.CommentId),
3968
- Contributor: output.Contributor !== undefined && output.Contributor !== null
3969
- ? deserializeAws_restJson1User(output.Contributor, context)
3970
- : undefined,
3971
- CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
3950
+ Contributor: output.Contributor != null ? deserializeAws_restJson1User(output.Contributor, context) : undefined,
3951
+ CreatedTimestamp: output.CreatedTimestamp != null
3972
3952
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
3973
3953
  : undefined,
3974
3954
  ParentId: (0, smithy_client_1.expectString)(output.ParentId),
@@ -3994,10 +3974,8 @@ const deserializeAws_restJson1CommentMetadata = (output, context) => {
3994
3974
  return {
3995
3975
  CommentId: (0, smithy_client_1.expectString)(output.CommentId),
3996
3976
  CommentStatus: (0, smithy_client_1.expectString)(output.CommentStatus),
3997
- Contributor: output.Contributor !== undefined && output.Contributor !== null
3998
- ? deserializeAws_restJson1User(output.Contributor, context)
3999
- : undefined,
4000
- CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
3977
+ Contributor: output.Contributor != null ? deserializeAws_restJson1User(output.Contributor, context) : undefined,
3978
+ CreatedTimestamp: output.CreatedTimestamp != null
4001
3979
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
4002
3980
  : undefined,
4003
3981
  RecipientId: (0, smithy_client_1.expectString)(output.RecipientId),
@@ -4016,18 +3994,16 @@ const deserializeAws_restJson1CustomMetadataMap = (output, context) => {
4016
3994
  };
4017
3995
  const deserializeAws_restJson1DocumentMetadata = (output, context) => {
4018
3996
  return {
4019
- CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
3997
+ CreatedTimestamp: output.CreatedTimestamp != null
4020
3998
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
4021
3999
  : undefined,
4022
4000
  CreatorId: (0, smithy_client_1.expectString)(output.CreatorId),
4023
4001
  Id: (0, smithy_client_1.expectString)(output.Id),
4024
- Labels: output.Labels !== undefined && output.Labels !== null
4025
- ? deserializeAws_restJson1SharedLabels(output.Labels, context)
4026
- : undefined,
4027
- LatestVersionMetadata: output.LatestVersionMetadata !== undefined && output.LatestVersionMetadata !== null
4002
+ Labels: output.Labels != null ? deserializeAws_restJson1SharedLabels(output.Labels, context) : undefined,
4003
+ LatestVersionMetadata: output.LatestVersionMetadata != null
4028
4004
  ? deserializeAws_restJson1DocumentVersionMetadata(output.LatestVersionMetadata, context)
4029
4005
  : undefined,
4030
- ModifiedTimestamp: output.ModifiedTimestamp !== undefined && output.ModifiedTimestamp !== null
4006
+ ModifiedTimestamp: output.ModifiedTimestamp != null
4031
4007
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ModifiedTimestamp)))
4032
4008
  : undefined,
4033
4009
  ParentFolderId: (0, smithy_client_1.expectString)(output.ParentFolderId),
@@ -4069,31 +4045,27 @@ const deserializeAws_restJson1DocumentThumbnailUrlMap = (output, context) => {
4069
4045
  };
4070
4046
  const deserializeAws_restJson1DocumentVersionMetadata = (output, context) => {
4071
4047
  return {
4072
- ContentCreatedTimestamp: output.ContentCreatedTimestamp !== undefined && output.ContentCreatedTimestamp !== null
4048
+ ContentCreatedTimestamp: output.ContentCreatedTimestamp != null
4073
4049
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ContentCreatedTimestamp)))
4074
4050
  : undefined,
4075
- ContentModifiedTimestamp: output.ContentModifiedTimestamp !== undefined && output.ContentModifiedTimestamp !== null
4051
+ ContentModifiedTimestamp: output.ContentModifiedTimestamp != null
4076
4052
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ContentModifiedTimestamp)))
4077
4053
  : undefined,
4078
4054
  ContentType: (0, smithy_client_1.expectString)(output.ContentType),
4079
- CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
4055
+ CreatedTimestamp: output.CreatedTimestamp != null
4080
4056
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
4081
4057
  : undefined,
4082
4058
  CreatorId: (0, smithy_client_1.expectString)(output.CreatorId),
4083
4059
  Id: (0, smithy_client_1.expectString)(output.Id),
4084
- ModifiedTimestamp: output.ModifiedTimestamp !== undefined && output.ModifiedTimestamp !== null
4060
+ ModifiedTimestamp: output.ModifiedTimestamp != null
4085
4061
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ModifiedTimestamp)))
4086
4062
  : undefined,
4087
4063
  Name: (0, smithy_client_1.expectString)(output.Name),
4088
4064
  Signature: (0, smithy_client_1.expectString)(output.Signature),
4089
4065
  Size: (0, smithy_client_1.expectLong)(output.Size),
4090
- Source: output.Source !== undefined && output.Source !== null
4091
- ? deserializeAws_restJson1DocumentSourceUrlMap(output.Source, context)
4092
- : undefined,
4066
+ Source: output.Source != null ? deserializeAws_restJson1DocumentSourceUrlMap(output.Source, context) : undefined,
4093
4067
  Status: (0, smithy_client_1.expectString)(output.Status),
4094
- Thumbnail: output.Thumbnail !== undefined && output.Thumbnail !== null
4095
- ? deserializeAws_restJson1DocumentThumbnailUrlMap(output.Thumbnail, context)
4096
- : undefined,
4068
+ Thumbnail: output.Thumbnail != null ? deserializeAws_restJson1DocumentThumbnailUrlMap(output.Thumbnail, context) : undefined,
4097
4069
  };
4098
4070
  };
4099
4071
  const deserializeAws_restJson1DocumentVersionMetadataList = (output, context) => {
@@ -4120,16 +4092,14 @@ const deserializeAws_restJson1EntityIdList = (output, context) => {
4120
4092
  };
4121
4093
  const deserializeAws_restJson1FolderMetadata = (output, context) => {
4122
4094
  return {
4123
- CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
4095
+ CreatedTimestamp: output.CreatedTimestamp != null
4124
4096
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
4125
4097
  : undefined,
4126
4098
  CreatorId: (0, smithy_client_1.expectString)(output.CreatorId),
4127
4099
  Id: (0, smithy_client_1.expectString)(output.Id),
4128
- Labels: output.Labels !== undefined && output.Labels !== null
4129
- ? deserializeAws_restJson1SharedLabels(output.Labels, context)
4130
- : undefined,
4100
+ Labels: output.Labels != null ? deserializeAws_restJson1SharedLabels(output.Labels, context) : undefined,
4131
4101
  LatestVersionSize: (0, smithy_client_1.expectLong)(output.LatestVersionSize),
4132
- ModifiedTimestamp: output.ModifiedTimestamp !== undefined && output.ModifiedTimestamp !== null
4102
+ ModifiedTimestamp: output.ModifiedTimestamp != null
4133
4103
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ModifiedTimestamp)))
4134
4104
  : undefined,
4135
4105
  Name: (0, smithy_client_1.expectString)(output.Name),
@@ -4180,12 +4150,8 @@ const deserializeAws_restJson1OrganizationUserList = (output, context) => {
4180
4150
  };
4181
4151
  const deserializeAws_restJson1Participants = (output, context) => {
4182
4152
  return {
4183
- Groups: output.Groups !== undefined && output.Groups !== null
4184
- ? deserializeAws_restJson1GroupMetadataList(output.Groups, context)
4185
- : undefined,
4186
- Users: output.Users !== undefined && output.Users !== null
4187
- ? deserializeAws_restJson1UserMetadataList(output.Users, context)
4188
- : undefined,
4153
+ Groups: output.Groups != null ? deserializeAws_restJson1GroupMetadataList(output.Groups, context) : undefined,
4154
+ Users: output.Users != null ? deserializeAws_restJson1UserMetadataList(output.Users, context) : undefined,
4189
4155
  };
4190
4156
  };
4191
4157
  const deserializeAws_restJson1PermissionInfo = (output, context) => {
@@ -4208,9 +4174,7 @@ const deserializeAws_restJson1PermissionInfoList = (output, context) => {
4208
4174
  const deserializeAws_restJson1Principal = (output, context) => {
4209
4175
  return {
4210
4176
  Id: (0, smithy_client_1.expectString)(output.Id),
4211
- Roles: output.Roles !== undefined && output.Roles !== null
4212
- ? deserializeAws_restJson1PermissionInfoList(output.Roles, context)
4213
- : undefined,
4177
+ Roles: output.Roles != null ? deserializeAws_restJson1PermissionInfoList(output.Roles, context) : undefined,
4214
4178
  Type: (0, smithy_client_1.expectString)(output.Type),
4215
4179
  };
4216
4180
  };
@@ -4230,9 +4194,7 @@ const deserializeAws_restJson1ResourceMetadata = (output, context) => {
4230
4194
  Id: (0, smithy_client_1.expectString)(output.Id),
4231
4195
  Name: (0, smithy_client_1.expectString)(output.Name),
4232
4196
  OriginalName: (0, smithy_client_1.expectString)(output.OriginalName),
4233
- Owner: output.Owner !== undefined && output.Owner !== null
4234
- ? deserializeAws_restJson1UserMetadata(output.Owner, context)
4235
- : undefined,
4197
+ Owner: output.Owner != null ? deserializeAws_restJson1UserMetadata(output.Owner, context) : undefined,
4236
4198
  ParentId: (0, smithy_client_1.expectString)(output.ParentId),
4237
4199
  Type: (0, smithy_client_1.expectString)(output.Type),
4238
4200
  VersionId: (0, smithy_client_1.expectString)(output.VersionId),
@@ -4240,7 +4202,7 @@ const deserializeAws_restJson1ResourceMetadata = (output, context) => {
4240
4202
  };
4241
4203
  const deserializeAws_restJson1ResourcePath = (output, context) => {
4242
4204
  return {
4243
- Components: output.Components !== undefined && output.Components !== null
4205
+ Components: output.Components != null
4244
4206
  ? deserializeAws_restJson1ResourcePathComponentList(output.Components, context)
4245
4207
  : undefined,
4246
4208
  };
@@ -4331,31 +4293,27 @@ const deserializeAws_restJson1SubscriptionList = (output, context) => {
4331
4293
  };
4332
4294
  const deserializeAws_restJson1UploadMetadata = (output, context) => {
4333
4295
  return {
4334
- SignedHeaders: output.SignedHeaders !== undefined && output.SignedHeaders !== null
4335
- ? deserializeAws_restJson1SignedHeaderMap(output.SignedHeaders, context)
4336
- : undefined,
4296
+ SignedHeaders: output.SignedHeaders != null ? deserializeAws_restJson1SignedHeaderMap(output.SignedHeaders, context) : undefined,
4337
4297
  UploadUrl: (0, smithy_client_1.expectString)(output.UploadUrl),
4338
4298
  };
4339
4299
  };
4340
4300
  const deserializeAws_restJson1User = (output, context) => {
4341
4301
  return {
4342
- CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
4302
+ CreatedTimestamp: output.CreatedTimestamp != null
4343
4303
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
4344
4304
  : undefined,
4345
4305
  EmailAddress: (0, smithy_client_1.expectString)(output.EmailAddress),
4346
4306
  GivenName: (0, smithy_client_1.expectString)(output.GivenName),
4347
4307
  Id: (0, smithy_client_1.expectString)(output.Id),
4348
4308
  Locale: (0, smithy_client_1.expectString)(output.Locale),
4349
- ModifiedTimestamp: output.ModifiedTimestamp !== undefined && output.ModifiedTimestamp !== null
4309
+ ModifiedTimestamp: output.ModifiedTimestamp != null
4350
4310
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ModifiedTimestamp)))
4351
4311
  : undefined,
4352
4312
  OrganizationId: (0, smithy_client_1.expectString)(output.OrganizationId),
4353
4313
  RecycleBinFolderId: (0, smithy_client_1.expectString)(output.RecycleBinFolderId),
4354
4314
  RootFolderId: (0, smithy_client_1.expectString)(output.RootFolderId),
4355
4315
  Status: (0, smithy_client_1.expectString)(output.Status),
4356
- Storage: output.Storage !== undefined && output.Storage !== null
4357
- ? deserializeAws_restJson1UserStorageMetadata(output.Storage, context)
4358
- : undefined,
4316
+ Storage: output.Storage != null ? deserializeAws_restJson1UserStorageMetadata(output.Storage, context) : undefined,
4359
4317
  Surname: (0, smithy_client_1.expectString)(output.Surname),
4360
4318
  TimeZoneId: (0, smithy_client_1.expectString)(output.TimeZoneId),
4361
4319
  Type: (0, smithy_client_1.expectString)(output.Type),
@@ -4395,9 +4353,7 @@ const deserializeAws_restJson1UserMetadataList = (output, context) => {
4395
4353
  };
4396
4354
  const deserializeAws_restJson1UserStorageMetadata = (output, context) => {
4397
4355
  return {
4398
- StorageRule: output.StorageRule !== undefined && output.StorageRule !== null
4399
- ? deserializeAws_restJson1StorageRuleType(output.StorageRule, context)
4400
- : undefined,
4356
+ StorageRule: output.StorageRule != null ? deserializeAws_restJson1StorageRuleType(output.StorageRule, context) : undefined,
4401
4357
  StorageUtilizedInBytes: (0, smithy_client_1.expectLong)(output.StorageUtilizedInBytes),
4402
4358
  };
4403
4359
  };
@@ -4432,6 +4388,9 @@ const loadRestJsonErrorCode = (output, data) => {
4432
4388
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
4433
4389
  const sanitizeErrorCode = (rawValue) => {
4434
4390
  let cleanValue = rawValue;
4391
+ if (typeof cleanValue === "number") {
4392
+ cleanValue = cleanValue.toString();
4393
+ }
4435
4394
  if (cleanValue.indexOf(":") >= 0) {
4436
4395
  cleanValue = cleanValue.split(":")[0];
4437
4396
  }
@@ -96,11 +96,11 @@ export var serializeAws_restJson1AddResourcePermissionsCommand = function (input
96
96
  else {
97
97
  throw new Error("No value provided for input HTTP label: ResourceId.");
98
98
  }
99
- body = JSON.stringify(__assign(__assign({}, (input.NotificationOptions !== undefined &&
100
- input.NotificationOptions !== null && {
99
+ body = JSON.stringify(__assign(__assign({}, (input.NotificationOptions != null && {
101
100
  NotificationOptions: serializeAws_restJson1NotificationOptions(input.NotificationOptions, context),
102
- })), (input.Principals !== undefined &&
103
- input.Principals !== null && { Principals: serializeAws_restJson1SharePrincipalList(input.Principals, context) })));
101
+ })), (input.Principals != null && {
102
+ Principals: serializeAws_restJson1SharePrincipalList(input.Principals, context),
103
+ })));
104
104
  return [2, new __HttpRequest({
105
105
  protocol: protocol,
106
106
  hostname: hostname,
@@ -143,8 +143,7 @@ export var serializeAws_restJson1CreateCommentCommand = function (input, context
143
143
  else {
144
144
  throw new Error("No value provided for input HTTP label: VersionId.");
145
145
  }
146
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.NotifyCollaborators !== undefined &&
147
- input.NotifyCollaborators !== null && { NotifyCollaborators: input.NotifyCollaborators })), (input.ParentId !== undefined && input.ParentId !== null && { ParentId: input.ParentId })), (input.Text !== undefined && input.Text !== null && { Text: input.Text })), (input.ThreadId !== undefined && input.ThreadId !== null && { ThreadId: input.ThreadId })), (input.Visibility !== undefined && input.Visibility !== null && { Visibility: input.Visibility })));
146
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.NotifyCollaborators != null && { NotifyCollaborators: input.NotifyCollaborators })), (input.ParentId != null && { ParentId: input.ParentId })), (input.Text != null && { Text: input.Text })), (input.ThreadId != null && { ThreadId: input.ThreadId })), (input.Visibility != null && { Visibility: input.Visibility })));
148
147
  return [2, new __HttpRequest({
149
148
  protocol: protocol,
150
149
  hostname: hostname,
@@ -178,8 +177,7 @@ export var serializeAws_restJson1CreateCustomMetadataCommand = function (input,
178
177
  throw new Error("No value provided for input HTTP label: ResourceId.");
179
178
  }
180
179
  query = __assign({}, (input.VersionId !== undefined && { versionid: input.VersionId }));
181
- body = JSON.stringify(__assign({}, (input.CustomMetadata !== undefined &&
182
- input.CustomMetadata !== null && {
180
+ body = JSON.stringify(__assign({}, (input.CustomMetadata != null && {
183
181
  CustomMetadata: serializeAws_restJson1CustomMetadataMap(input.CustomMetadata, context),
184
182
  })));
185
183
  return [2, new __HttpRequest({
@@ -204,8 +202,7 @@ export var serializeAws_restJson1CreateFolderCommand = function (input, context)
204
202
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
205
203
  headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
206
204
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders";
207
- body = JSON.stringify(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ParentFolderId !== undefined &&
208
- input.ParentFolderId !== null && { ParentFolderId: input.ParentFolderId })));
205
+ body = JSON.stringify(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.ParentFolderId != null && { ParentFolderId: input.ParentFolderId })));
209
206
  return [2, new __HttpRequest({
210
207
  protocol: protocol,
211
208
  hostname: hostname,
@@ -237,8 +234,7 @@ export var serializeAws_restJson1CreateLabelsCommand = function (input, context)
237
234
  else {
238
235
  throw new Error("No value provided for input HTTP label: ResourceId.");
239
236
  }
240
- body = JSON.stringify(__assign({}, (input.Labels !== undefined &&
241
- input.Labels !== null && { Labels: serializeAws_restJson1SharedLabels(input.Labels, context) })));
237
+ body = JSON.stringify(__assign({}, (input.Labels != null && { Labels: serializeAws_restJson1SharedLabels(input.Labels, context) })));
242
238
  return [2, new __HttpRequest({
243
239
  protocol: protocol,
244
240
  hostname: hostname,
@@ -273,8 +269,7 @@ export var serializeAws_restJson1CreateNotificationSubscriptionCommand = functio
273
269
  else {
274
270
  throw new Error("No value provided for input HTTP label: OrganizationId.");
275
271
  }
276
- body = JSON.stringify(__assign(__assign(__assign({}, (input.Endpoint !== undefined && input.Endpoint !== null && { Endpoint: input.Endpoint })), (input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol })), (input.SubscriptionType !== undefined &&
277
- input.SubscriptionType !== null && { SubscriptionType: input.SubscriptionType })));
272
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.Endpoint != null && { Endpoint: input.Endpoint })), (input.Protocol != null && { Protocol: input.Protocol })), (input.SubscriptionType != null && { SubscriptionType: input.SubscriptionType })));
278
273
  return [2, new __HttpRequest({
279
274
  protocol: protocol,
280
275
  hostname: hostname,
@@ -296,9 +291,9 @@ export var serializeAws_restJson1CreateUserCommand = function (input, context) {
296
291
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
297
292
  headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
298
293
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/users";
299
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.EmailAddress !== undefined && input.EmailAddress !== null && { EmailAddress: input.EmailAddress })), (input.GivenName !== undefined && input.GivenName !== null && { GivenName: input.GivenName })), (input.OrganizationId !== undefined &&
300
- input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.StorageRule !== undefined &&
301
- input.StorageRule !== null && { StorageRule: serializeAws_restJson1StorageRuleType(input.StorageRule, context) })), (input.Surname !== undefined && input.Surname !== null && { Surname: input.Surname })), (input.TimeZoneId !== undefined && input.TimeZoneId !== null && { TimeZoneId: input.TimeZoneId })), (input.Username !== undefined && input.Username !== null && { Username: input.Username })));
294
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.EmailAddress != null && { EmailAddress: input.EmailAddress })), (input.GivenName != null && { GivenName: input.GivenName })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.Password != null && { Password: input.Password })), (input.StorageRule != null && {
295
+ StorageRule: serializeAws_restJson1StorageRuleType(input.StorageRule, context),
296
+ })), (input.Surname != null && { Surname: input.Surname })), (input.TimeZoneId != null && { TimeZoneId: input.TimeZoneId })), (input.Username != null && { Username: input.Username })));
302
297
  return [2, new __HttpRequest({
303
298
  protocol: protocol,
304
299
  hostname: hostname,
@@ -1128,15 +1123,11 @@ export var serializeAws_restJson1InitiateDocumentVersionUploadCommand = function
1128
1123
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1129
1124
  headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
1130
1125
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/documents";
1131
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentCreatedTimestamp !== undefined &&
1132
- input.ContentCreatedTimestamp !== null && {
1126
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentCreatedTimestamp != null && {
1133
1127
  ContentCreatedTimestamp: Math.round(input.ContentCreatedTimestamp.getTime() / 1000),
1134
- })), (input.ContentModifiedTimestamp !== undefined &&
1135
- input.ContentModifiedTimestamp !== null && {
1128
+ })), (input.ContentModifiedTimestamp != null && {
1136
1129
  ContentModifiedTimestamp: Math.round(input.ContentModifiedTimestamp.getTime() / 1000),
1137
- })), (input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType })), (input.DocumentSizeInBytes !== undefined &&
1138
- input.DocumentSizeInBytes !== null && { DocumentSizeInBytes: input.DocumentSizeInBytes })), (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ParentFolderId !== undefined &&
1139
- input.ParentFolderId !== null && { ParentFolderId: input.ParentFolderId })));
1130
+ })), (input.ContentType != null && { ContentType: input.ContentType })), (input.DocumentSizeInBytes != null && { DocumentSizeInBytes: input.DocumentSizeInBytes })), (input.Id != null && { Id: input.Id })), (input.Name != null && { Name: input.Name })), (input.ParentFolderId != null && { ParentFolderId: input.ParentFolderId })));
1140
1131
  return [2, new __HttpRequest({
1141
1132
  protocol: protocol,
1142
1133
  hostname: hostname,
@@ -1244,8 +1235,7 @@ export var serializeAws_restJson1UpdateDocumentCommand = function (input, contex
1244
1235
  else {
1245
1236
  throw new Error("No value provided for input HTTP label: DocumentId.");
1246
1237
  }
1247
- body = JSON.stringify(__assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ParentFolderId !== undefined &&
1248
- input.ParentFolderId !== null && { ParentFolderId: input.ParentFolderId })), (input.ResourceState !== undefined && input.ResourceState !== null && { ResourceState: input.ResourceState })));
1238
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.ParentFolderId != null && { ParentFolderId: input.ParentFolderId })), (input.ResourceState != null && { ResourceState: input.ResourceState })));
1249
1239
  return [2, new __HttpRequest({
1250
1240
  protocol: protocol,
1251
1241
  hostname: hostname,
@@ -1288,7 +1278,7 @@ export var serializeAws_restJson1UpdateDocumentVersionCommand = function (input,
1288
1278
  else {
1289
1279
  throw new Error("No value provided for input HTTP label: VersionId.");
1290
1280
  }
1291
- body = JSON.stringify(__assign({}, (input.VersionStatus !== undefined && input.VersionStatus !== null && { VersionStatus: input.VersionStatus })));
1281
+ body = JSON.stringify(__assign({}, (input.VersionStatus != null && { VersionStatus: input.VersionStatus })));
1292
1282
  return [2, new __HttpRequest({
1293
1283
  protocol: protocol,
1294
1284
  hostname: hostname,
@@ -1320,8 +1310,7 @@ export var serializeAws_restJson1UpdateFolderCommand = function (input, context)
1320
1310
  else {
1321
1311
  throw new Error("No value provided for input HTTP label: FolderId.");
1322
1312
  }
1323
- body = JSON.stringify(__assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ParentFolderId !== undefined &&
1324
- input.ParentFolderId !== null && { ParentFolderId: input.ParentFolderId })), (input.ResourceState !== undefined && input.ResourceState !== null && { ResourceState: input.ResourceState })));
1313
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.ParentFolderId != null && { ParentFolderId: input.ParentFolderId })), (input.ResourceState != null && { ResourceState: input.ResourceState })));
1325
1314
  return [2, new __HttpRequest({
1326
1315
  protocol: protocol,
1327
1316
  hostname: hostname,
@@ -1353,9 +1342,9 @@ export var serializeAws_restJson1UpdateUserCommand = function (input, context) {
1353
1342
  else {
1354
1343
  throw new Error("No value provided for input HTTP label: UserId.");
1355
1344
  }
1356
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.GivenName !== undefined && input.GivenName !== null && { GivenName: input.GivenName })), (input.GrantPoweruserPrivileges !== undefined &&
1357
- input.GrantPoweruserPrivileges !== null && { GrantPoweruserPrivileges: input.GrantPoweruserPrivileges })), (input.Locale !== undefined && input.Locale !== null && { Locale: input.Locale })), (input.StorageRule !== undefined &&
1358
- input.StorageRule !== null && { StorageRule: serializeAws_restJson1StorageRuleType(input.StorageRule, context) })), (input.Surname !== undefined && input.Surname !== null && { Surname: input.Surname })), (input.TimeZoneId !== undefined && input.TimeZoneId !== null && { TimeZoneId: input.TimeZoneId })), (input.Type !== undefined && input.Type !== null && { Type: input.Type })));
1345
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.GivenName != null && { GivenName: input.GivenName })), (input.GrantPoweruserPrivileges != null && { GrantPoweruserPrivileges: input.GrantPoweruserPrivileges })), (input.Locale != null && { Locale: input.Locale })), (input.StorageRule != null && {
1346
+ StorageRule: serializeAws_restJson1StorageRuleType(input.StorageRule, context),
1347
+ })), (input.Surname != null && { Surname: input.Surname })), (input.TimeZoneId != null && { TimeZoneId: input.TimeZoneId })), (input.Type != null && { Type: input.Type })));
1359
1348
  return [2, new __HttpRequest({
1360
1349
  protocol: protocol,
1361
1350
  hostname: hostname,
@@ -4831,7 +4820,7 @@ var serializeAws_restJson1CustomMetadataMap = function (input, context) {
4831
4820
  }, {});
4832
4821
  };
4833
4822
  var serializeAws_restJson1NotificationOptions = function (input, context) {
4834
- return __assign(__assign({}, (input.EmailMessage !== undefined && input.EmailMessage !== null && { EmailMessage: input.EmailMessage })), (input.SendEmail !== undefined && input.SendEmail !== null && { SendEmail: input.SendEmail }));
4823
+ return __assign(__assign({}, (input.EmailMessage != null && { EmailMessage: input.EmailMessage })), (input.SendEmail != null && { SendEmail: input.SendEmail }));
4835
4824
  };
4836
4825
  var serializeAws_restJson1SharedLabels = function (input, context) {
4837
4826
  return input
@@ -4844,7 +4833,7 @@ var serializeAws_restJson1SharedLabels = function (input, context) {
4844
4833
  });
4845
4834
  };
4846
4835
  var serializeAws_restJson1SharePrincipal = function (input, context) {
4847
- return __assign(__assign(__assign({}, (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.Role !== undefined && input.Role !== null && { Role: input.Role })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
4836
+ return __assign(__assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.Role != null && { Role: input.Role })), (input.Type != null && { Type: input.Type }));
4848
4837
  };
4849
4838
  var serializeAws_restJson1SharePrincipalList = function (input, context) {
4850
4839
  return input
@@ -4857,41 +4846,32 @@ var serializeAws_restJson1SharePrincipalList = function (input, context) {
4857
4846
  });
4858
4847
  };
4859
4848
  var serializeAws_restJson1StorageRuleType = function (input, context) {
4860
- return __assign(__assign({}, (input.StorageAllocatedInBytes !== undefined &&
4861
- input.StorageAllocatedInBytes !== null && { StorageAllocatedInBytes: input.StorageAllocatedInBytes })), (input.StorageType !== undefined && input.StorageType !== null && { StorageType: input.StorageType }));
4849
+ return __assign(__assign({}, (input.StorageAllocatedInBytes != null && { StorageAllocatedInBytes: input.StorageAllocatedInBytes })), (input.StorageType != null && { StorageType: input.StorageType }));
4862
4850
  };
4863
4851
  var deserializeAws_restJson1Activity = function (output, context) {
4864
4852
  return {
4865
- CommentMetadata: output.CommentMetadata !== undefined && output.CommentMetadata !== null
4853
+ CommentMetadata: output.CommentMetadata != null
4866
4854
  ? deserializeAws_restJson1CommentMetadata(output.CommentMetadata, context)
4867
4855
  : undefined,
4868
- Initiator: output.Initiator !== undefined && output.Initiator !== null
4869
- ? deserializeAws_restJson1UserMetadata(output.Initiator, context)
4870
- : undefined,
4856
+ Initiator: output.Initiator != null ? deserializeAws_restJson1UserMetadata(output.Initiator, context) : undefined,
4871
4857
  IsIndirectActivity: __expectBoolean(output.IsIndirectActivity),
4872
4858
  OrganizationId: __expectString(output.OrganizationId),
4873
- OriginalParent: output.OriginalParent !== undefined && output.OriginalParent !== null
4859
+ OriginalParent: output.OriginalParent != null
4874
4860
  ? deserializeAws_restJson1ResourceMetadata(output.OriginalParent, context)
4875
4861
  : undefined,
4876
- Participants: output.Participants !== undefined && output.Participants !== null
4877
- ? deserializeAws_restJson1Participants(output.Participants, context)
4878
- : undefined,
4879
- ResourceMetadata: output.ResourceMetadata !== undefined && output.ResourceMetadata !== null
4862
+ Participants: output.Participants != null ? deserializeAws_restJson1Participants(output.Participants, context) : undefined,
4863
+ ResourceMetadata: output.ResourceMetadata != null
4880
4864
  ? deserializeAws_restJson1ResourceMetadata(output.ResourceMetadata, context)
4881
4865
  : undefined,
4882
- TimeStamp: output.TimeStamp !== undefined && output.TimeStamp !== null
4883
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TimeStamp)))
4884
- : undefined,
4866
+ TimeStamp: output.TimeStamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TimeStamp))) : undefined,
4885
4867
  Type: __expectString(output.Type),
4886
4868
  };
4887
4869
  };
4888
4870
  var deserializeAws_restJson1Comment = function (output, context) {
4889
4871
  return {
4890
4872
  CommentId: __expectString(output.CommentId),
4891
- Contributor: output.Contributor !== undefined && output.Contributor !== null
4892
- ? deserializeAws_restJson1User(output.Contributor, context)
4893
- : undefined,
4894
- CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
4873
+ Contributor: output.Contributor != null ? deserializeAws_restJson1User(output.Contributor, context) : undefined,
4874
+ CreatedTimestamp: output.CreatedTimestamp != null
4895
4875
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
4896
4876
  : undefined,
4897
4877
  ParentId: __expectString(output.ParentId),
@@ -4917,10 +4897,8 @@ var deserializeAws_restJson1CommentMetadata = function (output, context) {
4917
4897
  return {
4918
4898
  CommentId: __expectString(output.CommentId),
4919
4899
  CommentStatus: __expectString(output.CommentStatus),
4920
- Contributor: output.Contributor !== undefined && output.Contributor !== null
4921
- ? deserializeAws_restJson1User(output.Contributor, context)
4922
- : undefined,
4923
- CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
4900
+ Contributor: output.Contributor != null ? deserializeAws_restJson1User(output.Contributor, context) : undefined,
4901
+ CreatedTimestamp: output.CreatedTimestamp != null
4924
4902
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
4925
4903
  : undefined,
4926
4904
  RecipientId: __expectString(output.RecipientId),
@@ -4938,18 +4916,16 @@ var deserializeAws_restJson1CustomMetadataMap = function (output, context) {
4938
4916
  };
4939
4917
  var deserializeAws_restJson1DocumentMetadata = function (output, context) {
4940
4918
  return {
4941
- CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
4919
+ CreatedTimestamp: output.CreatedTimestamp != null
4942
4920
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
4943
4921
  : undefined,
4944
4922
  CreatorId: __expectString(output.CreatorId),
4945
4923
  Id: __expectString(output.Id),
4946
- Labels: output.Labels !== undefined && output.Labels !== null
4947
- ? deserializeAws_restJson1SharedLabels(output.Labels, context)
4948
- : undefined,
4949
- LatestVersionMetadata: output.LatestVersionMetadata !== undefined && output.LatestVersionMetadata !== null
4924
+ Labels: output.Labels != null ? deserializeAws_restJson1SharedLabels(output.Labels, context) : undefined,
4925
+ LatestVersionMetadata: output.LatestVersionMetadata != null
4950
4926
  ? deserializeAws_restJson1DocumentVersionMetadata(output.LatestVersionMetadata, context)
4951
4927
  : undefined,
4952
- ModifiedTimestamp: output.ModifiedTimestamp !== undefined && output.ModifiedTimestamp !== null
4928
+ ModifiedTimestamp: output.ModifiedTimestamp != null
4953
4929
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ModifiedTimestamp)))
4954
4930
  : undefined,
4955
4931
  ParentFolderId: __expectString(output.ParentFolderId),
@@ -4989,31 +4965,27 @@ var deserializeAws_restJson1DocumentThumbnailUrlMap = function (output, context)
4989
4965
  };
4990
4966
  var deserializeAws_restJson1DocumentVersionMetadata = function (output, context) {
4991
4967
  return {
4992
- ContentCreatedTimestamp: output.ContentCreatedTimestamp !== undefined && output.ContentCreatedTimestamp !== null
4968
+ ContentCreatedTimestamp: output.ContentCreatedTimestamp != null
4993
4969
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ContentCreatedTimestamp)))
4994
4970
  : undefined,
4995
- ContentModifiedTimestamp: output.ContentModifiedTimestamp !== undefined && output.ContentModifiedTimestamp !== null
4971
+ ContentModifiedTimestamp: output.ContentModifiedTimestamp != null
4996
4972
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ContentModifiedTimestamp)))
4997
4973
  : undefined,
4998
4974
  ContentType: __expectString(output.ContentType),
4999
- CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
4975
+ CreatedTimestamp: output.CreatedTimestamp != null
5000
4976
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
5001
4977
  : undefined,
5002
4978
  CreatorId: __expectString(output.CreatorId),
5003
4979
  Id: __expectString(output.Id),
5004
- ModifiedTimestamp: output.ModifiedTimestamp !== undefined && output.ModifiedTimestamp !== null
4980
+ ModifiedTimestamp: output.ModifiedTimestamp != null
5005
4981
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ModifiedTimestamp)))
5006
4982
  : undefined,
5007
4983
  Name: __expectString(output.Name),
5008
4984
  Signature: __expectString(output.Signature),
5009
4985
  Size: __expectLong(output.Size),
5010
- Source: output.Source !== undefined && output.Source !== null
5011
- ? deserializeAws_restJson1DocumentSourceUrlMap(output.Source, context)
5012
- : undefined,
4986
+ Source: output.Source != null ? deserializeAws_restJson1DocumentSourceUrlMap(output.Source, context) : undefined,
5013
4987
  Status: __expectString(output.Status),
5014
- Thumbnail: output.Thumbnail !== undefined && output.Thumbnail !== null
5015
- ? deserializeAws_restJson1DocumentThumbnailUrlMap(output.Thumbnail, context)
5016
- : undefined,
4988
+ Thumbnail: output.Thumbnail != null ? deserializeAws_restJson1DocumentThumbnailUrlMap(output.Thumbnail, context) : undefined,
5017
4989
  };
5018
4990
  };
5019
4991
  var deserializeAws_restJson1DocumentVersionMetadataList = function (output, context) {
@@ -5040,16 +5012,14 @@ var deserializeAws_restJson1EntityIdList = function (output, context) {
5040
5012
  };
5041
5013
  var deserializeAws_restJson1FolderMetadata = function (output, context) {
5042
5014
  return {
5043
- CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
5015
+ CreatedTimestamp: output.CreatedTimestamp != null
5044
5016
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
5045
5017
  : undefined,
5046
5018
  CreatorId: __expectString(output.CreatorId),
5047
5019
  Id: __expectString(output.Id),
5048
- Labels: output.Labels !== undefined && output.Labels !== null
5049
- ? deserializeAws_restJson1SharedLabels(output.Labels, context)
5050
- : undefined,
5020
+ Labels: output.Labels != null ? deserializeAws_restJson1SharedLabels(output.Labels, context) : undefined,
5051
5021
  LatestVersionSize: __expectLong(output.LatestVersionSize),
5052
- ModifiedTimestamp: output.ModifiedTimestamp !== undefined && output.ModifiedTimestamp !== null
5022
+ ModifiedTimestamp: output.ModifiedTimestamp != null
5053
5023
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ModifiedTimestamp)))
5054
5024
  : undefined,
5055
5025
  Name: __expectString(output.Name),
@@ -5100,12 +5070,8 @@ var deserializeAws_restJson1OrganizationUserList = function (output, context) {
5100
5070
  };
5101
5071
  var deserializeAws_restJson1Participants = function (output, context) {
5102
5072
  return {
5103
- Groups: output.Groups !== undefined && output.Groups !== null
5104
- ? deserializeAws_restJson1GroupMetadataList(output.Groups, context)
5105
- : undefined,
5106
- Users: output.Users !== undefined && output.Users !== null
5107
- ? deserializeAws_restJson1UserMetadataList(output.Users, context)
5108
- : undefined,
5073
+ Groups: output.Groups != null ? deserializeAws_restJson1GroupMetadataList(output.Groups, context) : undefined,
5074
+ Users: output.Users != null ? deserializeAws_restJson1UserMetadataList(output.Users, context) : undefined,
5109
5075
  };
5110
5076
  };
5111
5077
  var deserializeAws_restJson1PermissionInfo = function (output, context) {
@@ -5128,9 +5094,7 @@ var deserializeAws_restJson1PermissionInfoList = function (output, context) {
5128
5094
  var deserializeAws_restJson1Principal = function (output, context) {
5129
5095
  return {
5130
5096
  Id: __expectString(output.Id),
5131
- Roles: output.Roles !== undefined && output.Roles !== null
5132
- ? deserializeAws_restJson1PermissionInfoList(output.Roles, context)
5133
- : undefined,
5097
+ Roles: output.Roles != null ? deserializeAws_restJson1PermissionInfoList(output.Roles, context) : undefined,
5134
5098
  Type: __expectString(output.Type),
5135
5099
  };
5136
5100
  };
@@ -5150,9 +5114,7 @@ var deserializeAws_restJson1ResourceMetadata = function (output, context) {
5150
5114
  Id: __expectString(output.Id),
5151
5115
  Name: __expectString(output.Name),
5152
5116
  OriginalName: __expectString(output.OriginalName),
5153
- Owner: output.Owner !== undefined && output.Owner !== null
5154
- ? deserializeAws_restJson1UserMetadata(output.Owner, context)
5155
- : undefined,
5117
+ Owner: output.Owner != null ? deserializeAws_restJson1UserMetadata(output.Owner, context) : undefined,
5156
5118
  ParentId: __expectString(output.ParentId),
5157
5119
  Type: __expectString(output.Type),
5158
5120
  VersionId: __expectString(output.VersionId),
@@ -5160,7 +5122,7 @@ var deserializeAws_restJson1ResourceMetadata = function (output, context) {
5160
5122
  };
5161
5123
  var deserializeAws_restJson1ResourcePath = function (output, context) {
5162
5124
  return {
5163
- Components: output.Components !== undefined && output.Components !== null
5125
+ Components: output.Components != null
5164
5126
  ? deserializeAws_restJson1ResourcePathComponentList(output.Components, context)
5165
5127
  : undefined,
5166
5128
  };
@@ -5250,31 +5212,27 @@ var deserializeAws_restJson1SubscriptionList = function (output, context) {
5250
5212
  };
5251
5213
  var deserializeAws_restJson1UploadMetadata = function (output, context) {
5252
5214
  return {
5253
- SignedHeaders: output.SignedHeaders !== undefined && output.SignedHeaders !== null
5254
- ? deserializeAws_restJson1SignedHeaderMap(output.SignedHeaders, context)
5255
- : undefined,
5215
+ SignedHeaders: output.SignedHeaders != null ? deserializeAws_restJson1SignedHeaderMap(output.SignedHeaders, context) : undefined,
5256
5216
  UploadUrl: __expectString(output.UploadUrl),
5257
5217
  };
5258
5218
  };
5259
5219
  var deserializeAws_restJson1User = function (output, context) {
5260
5220
  return {
5261
- CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
5221
+ CreatedTimestamp: output.CreatedTimestamp != null
5262
5222
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
5263
5223
  : undefined,
5264
5224
  EmailAddress: __expectString(output.EmailAddress),
5265
5225
  GivenName: __expectString(output.GivenName),
5266
5226
  Id: __expectString(output.Id),
5267
5227
  Locale: __expectString(output.Locale),
5268
- ModifiedTimestamp: output.ModifiedTimestamp !== undefined && output.ModifiedTimestamp !== null
5228
+ ModifiedTimestamp: output.ModifiedTimestamp != null
5269
5229
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ModifiedTimestamp)))
5270
5230
  : undefined,
5271
5231
  OrganizationId: __expectString(output.OrganizationId),
5272
5232
  RecycleBinFolderId: __expectString(output.RecycleBinFolderId),
5273
5233
  RootFolderId: __expectString(output.RootFolderId),
5274
5234
  Status: __expectString(output.Status),
5275
- Storage: output.Storage !== undefined && output.Storage !== null
5276
- ? deserializeAws_restJson1UserStorageMetadata(output.Storage, context)
5277
- : undefined,
5235
+ Storage: output.Storage != null ? deserializeAws_restJson1UserStorageMetadata(output.Storage, context) : undefined,
5278
5236
  Surname: __expectString(output.Surname),
5279
5237
  TimeZoneId: __expectString(output.TimeZoneId),
5280
5238
  Type: __expectString(output.Type),
@@ -5314,9 +5272,7 @@ var deserializeAws_restJson1UserMetadataList = function (output, context) {
5314
5272
  };
5315
5273
  var deserializeAws_restJson1UserStorageMetadata = function (output, context) {
5316
5274
  return {
5317
- StorageRule: output.StorageRule !== undefined && output.StorageRule !== null
5318
- ? deserializeAws_restJson1StorageRuleType(output.StorageRule, context)
5319
- : undefined,
5275
+ StorageRule: output.StorageRule != null ? deserializeAws_restJson1StorageRuleType(output.StorageRule, context) : undefined,
5320
5276
  StorageUtilizedInBytes: __expectLong(output.StorageUtilizedInBytes),
5321
5277
  };
5322
5278
  };
@@ -5358,6 +5314,9 @@ var loadRestJsonErrorCode = function (output, data) {
5358
5314
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
5359
5315
  var sanitizeErrorCode = function (rawValue) {
5360
5316
  var cleanValue = rawValue;
5317
+ if (typeof cleanValue === "number") {
5318
+ cleanValue = cleanValue.toString();
5319
+ }
5361
5320
  if (cleanValue.indexOf(":") >= 0) {
5362
5321
  cleanValue = cleanValue.split(":")[0];
5363
5322
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workdocs",
3
3
  "description": "AWS SDK for JavaScript Workdocs Client for Node.js, Browser and React Native",
4
- "version": "3.121.0",
4
+ "version": "3.130.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",
@@ -18,35 +18,35 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.121.0",
22
- "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.121.0",
24
- "@aws-sdk/fetch-http-handler": "3.110.0",
25
- "@aws-sdk/hash-node": "3.110.0",
26
- "@aws-sdk/invalid-dependency": "3.110.0",
27
- "@aws-sdk/middleware-content-length": "3.110.0",
28
- "@aws-sdk/middleware-host-header": "3.110.0",
29
- "@aws-sdk/middleware-logger": "3.110.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.118.1",
32
- "@aws-sdk/middleware-serde": "3.110.0",
33
- "@aws-sdk/middleware-signing": "3.110.0",
34
- "@aws-sdk/middleware-stack": "3.110.0",
35
- "@aws-sdk/middleware-user-agent": "3.110.0",
36
- "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.118.1",
38
- "@aws-sdk/protocol-http": "3.110.0",
39
- "@aws-sdk/smithy-client": "3.110.0",
40
- "@aws-sdk/types": "3.110.0",
41
- "@aws-sdk/url-parser": "3.110.0",
21
+ "@aws-sdk/client-sts": "3.130.0",
22
+ "@aws-sdk/config-resolver": "3.130.0",
23
+ "@aws-sdk/credential-provider-node": "3.130.0",
24
+ "@aws-sdk/fetch-http-handler": "3.127.0",
25
+ "@aws-sdk/hash-node": "3.127.0",
26
+ "@aws-sdk/invalid-dependency": "3.127.0",
27
+ "@aws-sdk/middleware-content-length": "3.127.0",
28
+ "@aws-sdk/middleware-host-header": "3.127.0",
29
+ "@aws-sdk/middleware-logger": "3.127.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
+ "@aws-sdk/middleware-retry": "3.127.0",
32
+ "@aws-sdk/middleware-serde": "3.127.0",
33
+ "@aws-sdk/middleware-signing": "3.130.0",
34
+ "@aws-sdk/middleware-stack": "3.127.0",
35
+ "@aws-sdk/middleware-user-agent": "3.127.0",
36
+ "@aws-sdk/node-config-provider": "3.127.0",
37
+ "@aws-sdk/node-http-handler": "3.127.0",
38
+ "@aws-sdk/protocol-http": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.127.0",
40
+ "@aws-sdk/types": "3.127.0",
41
+ "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
- "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.118.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.130.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.127.0",
49
+ "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1"