@aws-sdk/client-workdocs 3.121.0 → 3.127.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 +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +89 -133
- package/dist-es/protocols/Aws_restJson1.js +57 -101
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-workdocs
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -93,12 +93,12 @@ const serializeAws_restJson1AddResourcePermissionsCommand = async (input, contex
|
|
|
93
93
|
}
|
|
94
94
|
let body;
|
|
95
95
|
body = JSON.stringify({
|
|
96
|
-
...(input.NotificationOptions
|
|
97
|
-
input.NotificationOptions !== null && {
|
|
96
|
+
...(input.NotificationOptions != null && {
|
|
98
97
|
NotificationOptions: serializeAws_restJson1NotificationOptions(input.NotificationOptions, context),
|
|
99
98
|
}),
|
|
100
|
-
...(input.Principals
|
|
101
|
-
|
|
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
|
|
145
|
-
|
|
146
|
-
...(input.
|
|
147
|
-
...(input.
|
|
148
|
-
...(input.
|
|
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
|
|
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
|
|
212
|
-
...(input.ParentFolderId
|
|
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
|
|
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
|
|
279
|
-
...(input.Protocol
|
|
280
|
-
...(input.SubscriptionType
|
|
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
|
|
304
|
-
...(input.GivenName
|
|
305
|
-
...(input.OrganizationId
|
|
306
|
-
|
|
307
|
-
...(input.
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
...(input.Surname
|
|
311
|
-
...(input.TimeZoneId
|
|
312
|
-
...(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
|
|
1141
|
-
input.ContentCreatedTimestamp !== null && {
|
|
1135
|
+
...(input.ContentCreatedTimestamp != null && {
|
|
1142
1136
|
ContentCreatedTimestamp: Math.round(input.ContentCreatedTimestamp.getTime() / 1000),
|
|
1143
1137
|
}),
|
|
1144
|
-
...(input.ContentModifiedTimestamp
|
|
1145
|
-
input.ContentModifiedTimestamp !== null && {
|
|
1138
|
+
...(input.ContentModifiedTimestamp != null && {
|
|
1146
1139
|
ContentModifiedTimestamp: Math.round(input.ContentModifiedTimestamp.getTime() / 1000),
|
|
1147
1140
|
}),
|
|
1148
|
-
...(input.ContentType
|
|
1149
|
-
...(input.DocumentSizeInBytes
|
|
1150
|
-
|
|
1151
|
-
...(input.
|
|
1152
|
-
...(input.
|
|
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
|
|
1259
|
-
...(input.ParentFolderId
|
|
1260
|
-
|
|
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
|
|
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
|
|
1337
|
-
...(input.ParentFolderId
|
|
1338
|
-
|
|
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
|
|
1372
|
-
...(input.GrantPoweruserPrivileges
|
|
1373
|
-
|
|
1374
|
-
...(input.
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
...(input.Surname
|
|
1378
|
-
...(input.TimeZoneId
|
|
1379
|
-
...(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
|
|
3903
|
-
...(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
|
|
3919
|
-
...(input.Role
|
|
3920
|
-
...(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
|
|
3936
|
-
|
|
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
|
|
3930
|
+
CommentMetadata: output.CommentMetadata != null
|
|
3943
3931
|
? deserializeAws_restJson1CommentMetadata(output.CommentMetadata, context)
|
|
3944
3932
|
: undefined,
|
|
3945
|
-
Initiator: output.Initiator
|
|
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
|
|
3936
|
+
OriginalParent: output.OriginalParent != null
|
|
3951
3937
|
? deserializeAws_restJson1ResourceMetadata(output.OriginalParent, context)
|
|
3952
3938
|
: undefined,
|
|
3953
|
-
Participants: output.Participants
|
|
3954
|
-
|
|
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
|
|
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
|
|
3969
|
-
|
|
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
|
|
3998
|
-
|
|
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
|
|
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
|
|
4025
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
4184
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
};
|
|
@@ -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
|
|
100
|
-
input.NotificationOptions !== null && {
|
|
99
|
+
body = JSON.stringify(__assign(__assign({}, (input.NotificationOptions != null && {
|
|
101
100
|
NotificationOptions: serializeAws_restJson1NotificationOptions(input.NotificationOptions, context),
|
|
102
|
-
})), (input.Principals
|
|
103
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
300
|
-
|
|
301
|
-
|
|
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
|
|
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
|
|
1135
|
-
input.ContentModifiedTimestamp !== null && {
|
|
1128
|
+
})), (input.ContentModifiedTimestamp != null && {
|
|
1136
1129
|
ContentModifiedTimestamp: Math.round(input.ContentModifiedTimestamp.getTime() / 1000),
|
|
1137
|
-
})), (input.ContentType
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1357
|
-
|
|
1358
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
4853
|
+
CommentMetadata: output.CommentMetadata != null
|
|
4866
4854
|
? deserializeAws_restJson1CommentMetadata(output.CommentMetadata, context)
|
|
4867
4855
|
: undefined,
|
|
4868
|
-
Initiator: output.Initiator
|
|
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
|
|
4859
|
+
OriginalParent: output.OriginalParent != null
|
|
4874
4860
|
? deserializeAws_restJson1ResourceMetadata(output.OriginalParent, context)
|
|
4875
4861
|
: undefined,
|
|
4876
|
-
Participants: output.Participants
|
|
4877
|
-
|
|
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
|
|
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
|
|
4892
|
-
|
|
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
|
|
4921
|
-
|
|
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
|
|
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
|
|
4947
|
-
|
|
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
|
|
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
|
|
4968
|
+
ContentCreatedTimestamp: output.ContentCreatedTimestamp != null
|
|
4993
4969
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ContentCreatedTimestamp)))
|
|
4994
4970
|
: undefined,
|
|
4995
|
-
ContentModifiedTimestamp: output.ContentModifiedTimestamp
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
5104
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
};
|
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.
|
|
4
|
+
"version": "3.127.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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.127.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.127.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.127.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.127.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.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.127.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"
|