@aws-sdk/client-workdocs 3.31.0 → 3.32.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/WorkDocsClient.js +13 -13
- package/dist/cjs/WorkDocsClient.js.map +1 -1
- package/dist/cjs/commands/AbortDocumentVersionUploadCommand.js +3 -3
- package/dist/cjs/commands/AbortDocumentVersionUploadCommand.js.map +1 -1
- package/dist/cjs/commands/ActivateUserCommand.js +3 -3
- package/dist/cjs/commands/ActivateUserCommand.js.map +1 -1
- package/dist/cjs/commands/AddResourcePermissionsCommand.js +3 -3
- package/dist/cjs/commands/AddResourcePermissionsCommand.js.map +1 -1
- package/dist/cjs/commands/CreateCommentCommand.js +3 -3
- package/dist/cjs/commands/CreateCommentCommand.js.map +1 -1
- package/dist/cjs/commands/CreateCustomMetadataCommand.js +3 -3
- package/dist/cjs/commands/CreateCustomMetadataCommand.js.map +1 -1
- package/dist/cjs/commands/CreateFolderCommand.js +3 -3
- package/dist/cjs/commands/CreateFolderCommand.js.map +1 -1
- package/dist/cjs/commands/CreateLabelsCommand.js +3 -3
- package/dist/cjs/commands/CreateLabelsCommand.js.map +1 -1
- package/dist/cjs/commands/CreateNotificationSubscriptionCommand.js +3 -3
- package/dist/cjs/commands/CreateNotificationSubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateUserCommand.js +3 -3
- package/dist/cjs/commands/CreateUserCommand.js.map +1 -1
- package/dist/cjs/commands/DeactivateUserCommand.js +3 -3
- package/dist/cjs/commands/DeactivateUserCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteCommentCommand.js +3 -3
- package/dist/cjs/commands/DeleteCommentCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteCustomMetadataCommand.js +3 -3
- package/dist/cjs/commands/DeleteCustomMetadataCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDocumentCommand.js +3 -3
- package/dist/cjs/commands/DeleteDocumentCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteFolderCommand.js +3 -3
- package/dist/cjs/commands/DeleteFolderCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteFolderContentsCommand.js +3 -3
- package/dist/cjs/commands/DeleteFolderContentsCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteLabelsCommand.js +3 -3
- package/dist/cjs/commands/DeleteLabelsCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteNotificationSubscriptionCommand.js +3 -3
- package/dist/cjs/commands/DeleteNotificationSubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUserCommand.js +3 -3
- package/dist/cjs/commands/DeleteUserCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeActivitiesCommand.js +3 -3
- package/dist/cjs/commands/DescribeActivitiesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeCommentsCommand.js +3 -3
- package/dist/cjs/commands/DescribeCommentsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDocumentVersionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeDocumentVersionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeFolderContentsCommand.js +3 -3
- package/dist/cjs/commands/DescribeFolderContentsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeGroupsCommand.js +3 -3
- package/dist/cjs/commands/DescribeGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeNotificationSubscriptionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeNotificationSubscriptionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeResourcePermissionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeResourcePermissionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeRootFoldersCommand.js +3 -3
- package/dist/cjs/commands/DescribeRootFoldersCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeUsersCommand.js +3 -3
- package/dist/cjs/commands/DescribeUsersCommand.js.map +1 -1
- package/dist/cjs/commands/GetCurrentUserCommand.js +3 -3
- package/dist/cjs/commands/GetCurrentUserCommand.js.map +1 -1
- package/dist/cjs/commands/GetDocumentCommand.js +3 -3
- package/dist/cjs/commands/GetDocumentCommand.js.map +1 -1
- package/dist/cjs/commands/GetDocumentPathCommand.js +3 -3
- package/dist/cjs/commands/GetDocumentPathCommand.js.map +1 -1
- package/dist/cjs/commands/GetDocumentVersionCommand.js +3 -3
- package/dist/cjs/commands/GetDocumentVersionCommand.js.map +1 -1
- package/dist/cjs/commands/GetFolderCommand.js +3 -3
- package/dist/cjs/commands/GetFolderCommand.js.map +1 -1
- package/dist/cjs/commands/GetFolderPathCommand.js +3 -3
- package/dist/cjs/commands/GetFolderPathCommand.js.map +1 -1
- package/dist/cjs/commands/GetResourcesCommand.js +3 -3
- package/dist/cjs/commands/GetResourcesCommand.js.map +1 -1
- package/dist/cjs/commands/InitiateDocumentVersionUploadCommand.js +3 -3
- package/dist/cjs/commands/InitiateDocumentVersionUploadCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveAllResourcePermissionsCommand.js +3 -3
- package/dist/cjs/commands/RemoveAllResourcePermissionsCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveResourcePermissionCommand.js +3 -3
- package/dist/cjs/commands/RemoveResourcePermissionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateDocumentCommand.js +3 -3
- package/dist/cjs/commands/UpdateDocumentCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateDocumentVersionCommand.js +3 -3
- package/dist/cjs/commands/UpdateDocumentVersionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateFolderCommand.js +3 -3
- package/dist/cjs/commands/UpdateFolderCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUserCommand.js +3 -3
- package/dist/cjs/commands/UpdateUserCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +48 -48
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +198 -198
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/DescribeDocumentVersionsPaginator.js +4 -4
- package/dist/es/pagination/DescribeDocumentVersionsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeFolderContentsPaginator.js +4 -4
- package/dist/es/pagination/DescribeFolderContentsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeUsersPaginator.js +4 -4
- package/dist/es/pagination/DescribeUsersPaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
|
@@ -16,7 +16,7 @@ const serializeAws_restJson1AbortDocumentVersionUploadCommand = async (input, co
|
|
|
16
16
|
if (labelValue.length <= 0) {
|
|
17
17
|
throw new Error("Empty value provided for input HTTP label: DocumentId.");
|
|
18
18
|
}
|
|
19
|
-
resolvedPath = resolvedPath.replace("{DocumentId}",
|
|
19
|
+
resolvedPath = resolvedPath.replace("{DocumentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
20
20
|
}
|
|
21
21
|
else {
|
|
22
22
|
throw new Error("No value provided for input HTTP label: DocumentId.");
|
|
@@ -26,7 +26,7 @@ const serializeAws_restJson1AbortDocumentVersionUploadCommand = async (input, co
|
|
|
26
26
|
if (labelValue.length <= 0) {
|
|
27
27
|
throw new Error("Empty value provided for input HTTP label: VersionId.");
|
|
28
28
|
}
|
|
29
|
-
resolvedPath = resolvedPath.replace("{VersionId}",
|
|
29
|
+
resolvedPath = resolvedPath.replace("{VersionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
30
30
|
}
|
|
31
31
|
else {
|
|
32
32
|
throw new Error("No value provided for input HTTP label: VersionId.");
|
|
@@ -54,7 +54,7 @@ const serializeAws_restJson1ActivateUserCommand = async (input, context) => {
|
|
|
54
54
|
if (labelValue.length <= 0) {
|
|
55
55
|
throw new Error("Empty value provided for input HTTP label: UserId.");
|
|
56
56
|
}
|
|
57
|
-
resolvedPath = resolvedPath.replace("{UserId}",
|
|
57
|
+
resolvedPath = resolvedPath.replace("{UserId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
58
58
|
}
|
|
59
59
|
else {
|
|
60
60
|
throw new Error("No value provided for input HTTP label: UserId.");
|
|
@@ -84,7 +84,7 @@ const serializeAws_restJson1AddResourcePermissionsCommand = async (input, contex
|
|
|
84
84
|
if (labelValue.length <= 0) {
|
|
85
85
|
throw new Error("Empty value provided for input HTTP label: ResourceId.");
|
|
86
86
|
}
|
|
87
|
-
resolvedPath = resolvedPath.replace("{ResourceId}",
|
|
87
|
+
resolvedPath = resolvedPath.replace("{ResourceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
88
88
|
}
|
|
89
89
|
else {
|
|
90
90
|
throw new Error("No value provided for input HTTP label: ResourceId.");
|
|
@@ -122,7 +122,7 @@ const serializeAws_restJson1CreateCommentCommand = async (input, context) => {
|
|
|
122
122
|
if (labelValue.length <= 0) {
|
|
123
123
|
throw new Error("Empty value provided for input HTTP label: DocumentId.");
|
|
124
124
|
}
|
|
125
|
-
resolvedPath = resolvedPath.replace("{DocumentId}",
|
|
125
|
+
resolvedPath = resolvedPath.replace("{DocumentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
126
126
|
}
|
|
127
127
|
else {
|
|
128
128
|
throw new Error("No value provided for input HTTP label: DocumentId.");
|
|
@@ -132,7 +132,7 @@ const serializeAws_restJson1CreateCommentCommand = async (input, context) => {
|
|
|
132
132
|
if (labelValue.length <= 0) {
|
|
133
133
|
throw new Error("Empty value provided for input HTTP label: VersionId.");
|
|
134
134
|
}
|
|
135
|
-
resolvedPath = resolvedPath.replace("{VersionId}",
|
|
135
|
+
resolvedPath = resolvedPath.replace("{VersionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
136
136
|
}
|
|
137
137
|
else {
|
|
138
138
|
throw new Error("No value provided for input HTTP label: VersionId.");
|
|
@@ -170,7 +170,7 @@ const serializeAws_restJson1CreateCustomMetadataCommand = async (input, context)
|
|
|
170
170
|
if (labelValue.length <= 0) {
|
|
171
171
|
throw new Error("Empty value provided for input HTTP label: ResourceId.");
|
|
172
172
|
}
|
|
173
|
-
resolvedPath = resolvedPath.replace("{ResourceId}",
|
|
173
|
+
resolvedPath = resolvedPath.replace("{ResourceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
174
174
|
}
|
|
175
175
|
else {
|
|
176
176
|
throw new Error("No value provided for input HTTP label: ResourceId.");
|
|
@@ -233,7 +233,7 @@ const serializeAws_restJson1CreateLabelsCommand = async (input, context) => {
|
|
|
233
233
|
if (labelValue.length <= 0) {
|
|
234
234
|
throw new Error("Empty value provided for input HTTP label: ResourceId.");
|
|
235
235
|
}
|
|
236
|
-
resolvedPath = resolvedPath.replace("{ResourceId}",
|
|
236
|
+
resolvedPath = resolvedPath.replace("{ResourceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
237
237
|
}
|
|
238
238
|
else {
|
|
239
239
|
throw new Error("No value provided for input HTTP label: ResourceId.");
|
|
@@ -266,7 +266,7 @@ const serializeAws_restJson1CreateNotificationSubscriptionCommand = async (input
|
|
|
266
266
|
if (labelValue.length <= 0) {
|
|
267
267
|
throw new Error("Empty value provided for input HTTP label: OrganizationId.");
|
|
268
268
|
}
|
|
269
|
-
resolvedPath = resolvedPath.replace("{OrganizationId}",
|
|
269
|
+
resolvedPath = resolvedPath.replace("{OrganizationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
270
270
|
}
|
|
271
271
|
else {
|
|
272
272
|
throw new Error("No value provided for input HTTP label: OrganizationId.");
|
|
@@ -331,7 +331,7 @@ const serializeAws_restJson1DeactivateUserCommand = async (input, context) => {
|
|
|
331
331
|
if (labelValue.length <= 0) {
|
|
332
332
|
throw new Error("Empty value provided for input HTTP label: UserId.");
|
|
333
333
|
}
|
|
334
|
-
resolvedPath = resolvedPath.replace("{UserId}",
|
|
334
|
+
resolvedPath = resolvedPath.replace("{UserId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
335
335
|
}
|
|
336
336
|
else {
|
|
337
337
|
throw new Error("No value provided for input HTTP label: UserId.");
|
|
@@ -360,7 +360,7 @@ const serializeAws_restJson1DeleteCommentCommand = async (input, context) => {
|
|
|
360
360
|
if (labelValue.length <= 0) {
|
|
361
361
|
throw new Error("Empty value provided for input HTTP label: DocumentId.");
|
|
362
362
|
}
|
|
363
|
-
resolvedPath = resolvedPath.replace("{DocumentId}",
|
|
363
|
+
resolvedPath = resolvedPath.replace("{DocumentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
364
364
|
}
|
|
365
365
|
else {
|
|
366
366
|
throw new Error("No value provided for input HTTP label: DocumentId.");
|
|
@@ -370,7 +370,7 @@ const serializeAws_restJson1DeleteCommentCommand = async (input, context) => {
|
|
|
370
370
|
if (labelValue.length <= 0) {
|
|
371
371
|
throw new Error("Empty value provided for input HTTP label: VersionId.");
|
|
372
372
|
}
|
|
373
|
-
resolvedPath = resolvedPath.replace("{VersionId}",
|
|
373
|
+
resolvedPath = resolvedPath.replace("{VersionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
374
374
|
}
|
|
375
375
|
else {
|
|
376
376
|
throw new Error("No value provided for input HTTP label: VersionId.");
|
|
@@ -380,7 +380,7 @@ const serializeAws_restJson1DeleteCommentCommand = async (input, context) => {
|
|
|
380
380
|
if (labelValue.length <= 0) {
|
|
381
381
|
throw new Error("Empty value provided for input HTTP label: CommentId.");
|
|
382
382
|
}
|
|
383
|
-
resolvedPath = resolvedPath.replace("{CommentId}",
|
|
383
|
+
resolvedPath = resolvedPath.replace("{CommentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
384
384
|
}
|
|
385
385
|
else {
|
|
386
386
|
throw new Error("No value provided for input HTTP label: CommentId.");
|
|
@@ -409,7 +409,7 @@ const serializeAws_restJson1DeleteCustomMetadataCommand = async (input, context)
|
|
|
409
409
|
if (labelValue.length <= 0) {
|
|
410
410
|
throw new Error("Empty value provided for input HTTP label: ResourceId.");
|
|
411
411
|
}
|
|
412
|
-
resolvedPath = resolvedPath.replace("{ResourceId}",
|
|
412
|
+
resolvedPath = resolvedPath.replace("{ResourceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
413
413
|
}
|
|
414
414
|
else {
|
|
415
415
|
throw new Error("No value provided for input HTTP label: ResourceId.");
|
|
@@ -443,7 +443,7 @@ const serializeAws_restJson1DeleteDocumentCommand = async (input, context) => {
|
|
|
443
443
|
if (labelValue.length <= 0) {
|
|
444
444
|
throw new Error("Empty value provided for input HTTP label: DocumentId.");
|
|
445
445
|
}
|
|
446
|
-
resolvedPath = resolvedPath.replace("{DocumentId}",
|
|
446
|
+
resolvedPath = resolvedPath.replace("{DocumentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
447
447
|
}
|
|
448
448
|
else {
|
|
449
449
|
throw new Error("No value provided for input HTTP label: DocumentId.");
|
|
@@ -471,7 +471,7 @@ const serializeAws_restJson1DeleteFolderCommand = async (input, context) => {
|
|
|
471
471
|
if (labelValue.length <= 0) {
|
|
472
472
|
throw new Error("Empty value provided for input HTTP label: FolderId.");
|
|
473
473
|
}
|
|
474
|
-
resolvedPath = resolvedPath.replace("{FolderId}",
|
|
474
|
+
resolvedPath = resolvedPath.replace("{FolderId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
475
475
|
}
|
|
476
476
|
else {
|
|
477
477
|
throw new Error("No value provided for input HTTP label: FolderId.");
|
|
@@ -499,7 +499,7 @@ const serializeAws_restJson1DeleteFolderContentsCommand = async (input, context)
|
|
|
499
499
|
if (labelValue.length <= 0) {
|
|
500
500
|
throw new Error("Empty value provided for input HTTP label: FolderId.");
|
|
501
501
|
}
|
|
502
|
-
resolvedPath = resolvedPath.replace("{FolderId}",
|
|
502
|
+
resolvedPath = resolvedPath.replace("{FolderId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
503
503
|
}
|
|
504
504
|
else {
|
|
505
505
|
throw new Error("No value provided for input HTTP label: FolderId.");
|
|
@@ -527,7 +527,7 @@ const serializeAws_restJson1DeleteLabelsCommand = async (input, context) => {
|
|
|
527
527
|
if (labelValue.length <= 0) {
|
|
528
528
|
throw new Error("Empty value provided for input HTTP label: ResourceId.");
|
|
529
529
|
}
|
|
530
|
-
resolvedPath = resolvedPath.replace("{ResourceId}",
|
|
530
|
+
resolvedPath = resolvedPath.replace("{ResourceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
531
531
|
}
|
|
532
532
|
else {
|
|
533
533
|
throw new Error("No value provided for input HTTP label: ResourceId.");
|
|
@@ -559,7 +559,7 @@ const serializeAws_restJson1DeleteNotificationSubscriptionCommand = async (input
|
|
|
559
559
|
if (labelValue.length <= 0) {
|
|
560
560
|
throw new Error("Empty value provided for input HTTP label: SubscriptionId.");
|
|
561
561
|
}
|
|
562
|
-
resolvedPath = resolvedPath.replace("{SubscriptionId}",
|
|
562
|
+
resolvedPath = resolvedPath.replace("{SubscriptionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
563
563
|
}
|
|
564
564
|
else {
|
|
565
565
|
throw new Error("No value provided for input HTTP label: SubscriptionId.");
|
|
@@ -569,7 +569,7 @@ const serializeAws_restJson1DeleteNotificationSubscriptionCommand = async (input
|
|
|
569
569
|
if (labelValue.length <= 0) {
|
|
570
570
|
throw new Error("Empty value provided for input HTTP label: OrganizationId.");
|
|
571
571
|
}
|
|
572
|
-
resolvedPath = resolvedPath.replace("{OrganizationId}",
|
|
572
|
+
resolvedPath = resolvedPath.replace("{OrganizationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
573
573
|
}
|
|
574
574
|
else {
|
|
575
575
|
throw new Error("No value provided for input HTTP label: OrganizationId.");
|
|
@@ -597,7 +597,7 @@ const serializeAws_restJson1DeleteUserCommand = async (input, context) => {
|
|
|
597
597
|
if (labelValue.length <= 0) {
|
|
598
598
|
throw new Error("Empty value provided for input HTTP label: UserId.");
|
|
599
599
|
}
|
|
600
|
-
resolvedPath = resolvedPath.replace("{UserId}",
|
|
600
|
+
resolvedPath = resolvedPath.replace("{UserId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
601
601
|
}
|
|
602
602
|
else {
|
|
603
603
|
throw new Error("No value provided for input HTTP label: UserId.");
|
|
@@ -658,7 +658,7 @@ const serializeAws_restJson1DescribeCommentsCommand = async (input, context) =>
|
|
|
658
658
|
if (labelValue.length <= 0) {
|
|
659
659
|
throw new Error("Empty value provided for input HTTP label: DocumentId.");
|
|
660
660
|
}
|
|
661
|
-
resolvedPath = resolvedPath.replace("{DocumentId}",
|
|
661
|
+
resolvedPath = resolvedPath.replace("{DocumentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
662
662
|
}
|
|
663
663
|
else {
|
|
664
664
|
throw new Error("No value provided for input HTTP label: DocumentId.");
|
|
@@ -668,7 +668,7 @@ const serializeAws_restJson1DescribeCommentsCommand = async (input, context) =>
|
|
|
668
668
|
if (labelValue.length <= 0) {
|
|
669
669
|
throw new Error("Empty value provided for input HTTP label: VersionId.");
|
|
670
670
|
}
|
|
671
|
-
resolvedPath = resolvedPath.replace("{VersionId}",
|
|
671
|
+
resolvedPath = resolvedPath.replace("{VersionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
672
672
|
}
|
|
673
673
|
else {
|
|
674
674
|
throw new Error("No value provided for input HTTP label: VersionId.");
|
|
@@ -701,7 +701,7 @@ const serializeAws_restJson1DescribeDocumentVersionsCommand = async (input, cont
|
|
|
701
701
|
if (labelValue.length <= 0) {
|
|
702
702
|
throw new Error("Empty value provided for input HTTP label: DocumentId.");
|
|
703
703
|
}
|
|
704
|
-
resolvedPath = resolvedPath.replace("{DocumentId}",
|
|
704
|
+
resolvedPath = resolvedPath.replace("{DocumentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
705
705
|
}
|
|
706
706
|
else {
|
|
707
707
|
throw new Error("No value provided for input HTTP label: DocumentId.");
|
|
@@ -736,7 +736,7 @@ const serializeAws_restJson1DescribeFolderContentsCommand = async (input, contex
|
|
|
736
736
|
if (labelValue.length <= 0) {
|
|
737
737
|
throw new Error("Empty value provided for input HTTP label: FolderId.");
|
|
738
738
|
}
|
|
739
|
-
resolvedPath = resolvedPath.replace("{FolderId}",
|
|
739
|
+
resolvedPath = resolvedPath.replace("{FolderId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
740
740
|
}
|
|
741
741
|
else {
|
|
742
742
|
throw new Error("No value provided for input HTTP label: FolderId.");
|
|
@@ -797,7 +797,7 @@ const serializeAws_restJson1DescribeNotificationSubscriptionsCommand = async (in
|
|
|
797
797
|
if (labelValue.length <= 0) {
|
|
798
798
|
throw new Error("Empty value provided for input HTTP label: OrganizationId.");
|
|
799
799
|
}
|
|
800
|
-
resolvedPath = resolvedPath.replace("{OrganizationId}",
|
|
800
|
+
resolvedPath = resolvedPath.replace("{OrganizationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
801
801
|
}
|
|
802
802
|
else {
|
|
803
803
|
throw new Error("No value provided for input HTTP label: OrganizationId.");
|
|
@@ -831,7 +831,7 @@ const serializeAws_restJson1DescribeResourcePermissionsCommand = async (input, c
|
|
|
831
831
|
if (labelValue.length <= 0) {
|
|
832
832
|
throw new Error("Empty value provided for input HTTP label: ResourceId.");
|
|
833
833
|
}
|
|
834
|
-
resolvedPath = resolvedPath.replace("{ResourceId}",
|
|
834
|
+
resolvedPath = resolvedPath.replace("{ResourceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
835
835
|
}
|
|
836
836
|
else {
|
|
837
837
|
throw new Error("No value provided for input HTTP label: ResourceId.");
|
|
@@ -936,7 +936,7 @@ const serializeAws_restJson1GetDocumentCommand = async (input, context) => {
|
|
|
936
936
|
if (labelValue.length <= 0) {
|
|
937
937
|
throw new Error("Empty value provided for input HTTP label: DocumentId.");
|
|
938
938
|
}
|
|
939
|
-
resolvedPath = resolvedPath.replace("{DocumentId}",
|
|
939
|
+
resolvedPath = resolvedPath.replace("{DocumentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
940
940
|
}
|
|
941
941
|
else {
|
|
942
942
|
throw new Error("No value provided for input HTTP label: DocumentId.");
|
|
@@ -968,7 +968,7 @@ const serializeAws_restJson1GetDocumentPathCommand = async (input, context) => {
|
|
|
968
968
|
if (labelValue.length <= 0) {
|
|
969
969
|
throw new Error("Empty value provided for input HTTP label: DocumentId.");
|
|
970
970
|
}
|
|
971
|
-
resolvedPath = resolvedPath.replace("{DocumentId}",
|
|
971
|
+
resolvedPath = resolvedPath.replace("{DocumentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
972
972
|
}
|
|
973
973
|
else {
|
|
974
974
|
throw new Error("No value provided for input HTTP label: DocumentId.");
|
|
@@ -1003,7 +1003,7 @@ const serializeAws_restJson1GetDocumentVersionCommand = async (input, context) =
|
|
|
1003
1003
|
if (labelValue.length <= 0) {
|
|
1004
1004
|
throw new Error("Empty value provided for input HTTP label: DocumentId.");
|
|
1005
1005
|
}
|
|
1006
|
-
resolvedPath = resolvedPath.replace("{DocumentId}",
|
|
1006
|
+
resolvedPath = resolvedPath.replace("{DocumentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1007
1007
|
}
|
|
1008
1008
|
else {
|
|
1009
1009
|
throw new Error("No value provided for input HTTP label: DocumentId.");
|
|
@@ -1013,7 +1013,7 @@ const serializeAws_restJson1GetDocumentVersionCommand = async (input, context) =
|
|
|
1013
1013
|
if (labelValue.length <= 0) {
|
|
1014
1014
|
throw new Error("Empty value provided for input HTTP label: VersionId.");
|
|
1015
1015
|
}
|
|
1016
|
-
resolvedPath = resolvedPath.replace("{VersionId}",
|
|
1016
|
+
resolvedPath = resolvedPath.replace("{VersionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1017
1017
|
}
|
|
1018
1018
|
else {
|
|
1019
1019
|
throw new Error("No value provided for input HTTP label: VersionId.");
|
|
@@ -1046,7 +1046,7 @@ const serializeAws_restJson1GetFolderCommand = async (input, context) => {
|
|
|
1046
1046
|
if (labelValue.length <= 0) {
|
|
1047
1047
|
throw new Error("Empty value provided for input HTTP label: FolderId.");
|
|
1048
1048
|
}
|
|
1049
|
-
resolvedPath = resolvedPath.replace("{FolderId}",
|
|
1049
|
+
resolvedPath = resolvedPath.replace("{FolderId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1050
1050
|
}
|
|
1051
1051
|
else {
|
|
1052
1052
|
throw new Error("No value provided for input HTTP label: FolderId.");
|
|
@@ -1078,7 +1078,7 @@ const serializeAws_restJson1GetFolderPathCommand = async (input, context) => {
|
|
|
1078
1078
|
if (labelValue.length <= 0) {
|
|
1079
1079
|
throw new Error("Empty value provided for input HTTP label: FolderId.");
|
|
1080
1080
|
}
|
|
1081
|
-
resolvedPath = resolvedPath.replace("{FolderId}",
|
|
1081
|
+
resolvedPath = resolvedPath.replace("{FolderId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1082
1082
|
}
|
|
1083
1083
|
else {
|
|
1084
1084
|
throw new Error("No value provided for input HTTP label: FolderId.");
|
|
@@ -1174,7 +1174,7 @@ const serializeAws_restJson1RemoveAllResourcePermissionsCommand = async (input,
|
|
|
1174
1174
|
if (labelValue.length <= 0) {
|
|
1175
1175
|
throw new Error("Empty value provided for input HTTP label: ResourceId.");
|
|
1176
1176
|
}
|
|
1177
|
-
resolvedPath = resolvedPath.replace("{ResourceId}",
|
|
1177
|
+
resolvedPath = resolvedPath.replace("{ResourceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1178
1178
|
}
|
|
1179
1179
|
else {
|
|
1180
1180
|
throw new Error("No value provided for input HTTP label: ResourceId.");
|
|
@@ -1203,7 +1203,7 @@ const serializeAws_restJson1RemoveResourcePermissionCommand = async (input, cont
|
|
|
1203
1203
|
if (labelValue.length <= 0) {
|
|
1204
1204
|
throw new Error("Empty value provided for input HTTP label: ResourceId.");
|
|
1205
1205
|
}
|
|
1206
|
-
resolvedPath = resolvedPath.replace("{ResourceId}",
|
|
1206
|
+
resolvedPath = resolvedPath.replace("{ResourceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1207
1207
|
}
|
|
1208
1208
|
else {
|
|
1209
1209
|
throw new Error("No value provided for input HTTP label: ResourceId.");
|
|
@@ -1213,7 +1213,7 @@ const serializeAws_restJson1RemoveResourcePermissionCommand = async (input, cont
|
|
|
1213
1213
|
if (labelValue.length <= 0) {
|
|
1214
1214
|
throw new Error("Empty value provided for input HTTP label: PrincipalId.");
|
|
1215
1215
|
}
|
|
1216
|
-
resolvedPath = resolvedPath.replace("{PrincipalId}",
|
|
1216
|
+
resolvedPath = resolvedPath.replace("{PrincipalId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1217
1217
|
}
|
|
1218
1218
|
else {
|
|
1219
1219
|
throw new Error("No value provided for input HTTP label: PrincipalId.");
|
|
@@ -1246,7 +1246,7 @@ const serializeAws_restJson1UpdateDocumentCommand = async (input, context) => {
|
|
|
1246
1246
|
if (labelValue.length <= 0) {
|
|
1247
1247
|
throw new Error("Empty value provided for input HTTP label: DocumentId.");
|
|
1248
1248
|
}
|
|
1249
|
-
resolvedPath = resolvedPath.replace("{DocumentId}",
|
|
1249
|
+
resolvedPath = resolvedPath.replace("{DocumentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1250
1250
|
}
|
|
1251
1251
|
else {
|
|
1252
1252
|
throw new Error("No value provided for input HTTP label: DocumentId.");
|
|
@@ -1282,7 +1282,7 @@ const serializeAws_restJson1UpdateDocumentVersionCommand = async (input, context
|
|
|
1282
1282
|
if (labelValue.length <= 0) {
|
|
1283
1283
|
throw new Error("Empty value provided for input HTTP label: DocumentId.");
|
|
1284
1284
|
}
|
|
1285
|
-
resolvedPath = resolvedPath.replace("{DocumentId}",
|
|
1285
|
+
resolvedPath = resolvedPath.replace("{DocumentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1286
1286
|
}
|
|
1287
1287
|
else {
|
|
1288
1288
|
throw new Error("No value provided for input HTTP label: DocumentId.");
|
|
@@ -1292,7 +1292,7 @@ const serializeAws_restJson1UpdateDocumentVersionCommand = async (input, context
|
|
|
1292
1292
|
if (labelValue.length <= 0) {
|
|
1293
1293
|
throw new Error("Empty value provided for input HTTP label: VersionId.");
|
|
1294
1294
|
}
|
|
1295
|
-
resolvedPath = resolvedPath.replace("{VersionId}",
|
|
1295
|
+
resolvedPath = resolvedPath.replace("{VersionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1296
1296
|
}
|
|
1297
1297
|
else {
|
|
1298
1298
|
throw new Error("No value provided for input HTTP label: VersionId.");
|
|
@@ -1324,7 +1324,7 @@ const serializeAws_restJson1UpdateFolderCommand = async (input, context) => {
|
|
|
1324
1324
|
if (labelValue.length <= 0) {
|
|
1325
1325
|
throw new Error("Empty value provided for input HTTP label: FolderId.");
|
|
1326
1326
|
}
|
|
1327
|
-
resolvedPath = resolvedPath.replace("{FolderId}",
|
|
1327
|
+
resolvedPath = resolvedPath.replace("{FolderId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1328
1328
|
}
|
|
1329
1329
|
else {
|
|
1330
1330
|
throw new Error("No value provided for input HTTP label: FolderId.");
|
|
@@ -1359,7 +1359,7 @@ const serializeAws_restJson1UpdateUserCommand = async (input, context) => {
|
|
|
1359
1359
|
if (labelValue.length <= 0) {
|
|
1360
1360
|
throw new Error("Empty value provided for input HTTP label: UserId.");
|
|
1361
1361
|
}
|
|
1362
|
-
resolvedPath = resolvedPath.replace("{UserId}",
|
|
1362
|
+
resolvedPath = resolvedPath.replace("{UserId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1363
1363
|
}
|
|
1364
1364
|
else {
|
|
1365
1365
|
throw new Error("No value provided for input HTTP label: UserId.");
|
|
@@ -1479,7 +1479,7 @@ const deserializeAws_restJson1ActivateUserCommand = async (output, context) => {
|
|
|
1479
1479
|
$metadata: deserializeMetadata(output),
|
|
1480
1480
|
User: undefined,
|
|
1481
1481
|
};
|
|
1482
|
-
const data =
|
|
1482
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1483
1483
|
if (data.User !== undefined && data.User !== null) {
|
|
1484
1484
|
contents.User = deserializeAws_restJson1User(data.User, context);
|
|
1485
1485
|
}
|
|
@@ -1559,7 +1559,7 @@ const deserializeAws_restJson1AddResourcePermissionsCommand = async (output, con
|
|
|
1559
1559
|
$metadata: deserializeMetadata(output),
|
|
1560
1560
|
ShareResults: undefined,
|
|
1561
1561
|
};
|
|
1562
|
-
const data =
|
|
1562
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1563
1563
|
if (data.ShareResults !== undefined && data.ShareResults !== null) {
|
|
1564
1564
|
contents.ShareResults = deserializeAws_restJson1ShareResultsList(data.ShareResults, context);
|
|
1565
1565
|
}
|
|
@@ -1631,7 +1631,7 @@ const deserializeAws_restJson1CreateCommentCommand = async (output, context) =>
|
|
|
1631
1631
|
$metadata: deserializeMetadata(output),
|
|
1632
1632
|
Comment: undefined,
|
|
1633
1633
|
};
|
|
1634
|
-
const data =
|
|
1634
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1635
1635
|
if (data.Comment !== undefined && data.Comment !== null) {
|
|
1636
1636
|
contents.Comment = deserializeAws_restJson1Comment(data.Comment, context);
|
|
1637
1637
|
}
|
|
@@ -1827,7 +1827,7 @@ const deserializeAws_restJson1CreateFolderCommand = async (output, context) => {
|
|
|
1827
1827
|
$metadata: deserializeMetadata(output),
|
|
1828
1828
|
Metadata: undefined,
|
|
1829
1829
|
};
|
|
1830
|
-
const data =
|
|
1830
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1831
1831
|
if (data.Metadata !== undefined && data.Metadata !== null) {
|
|
1832
1832
|
contents.Metadata = deserializeAws_restJson1FolderMetadata(data.Metadata, context);
|
|
1833
1833
|
}
|
|
@@ -2023,7 +2023,7 @@ const deserializeAws_restJson1CreateNotificationSubscriptionCommand = async (out
|
|
|
2023
2023
|
$metadata: deserializeMetadata(output),
|
|
2024
2024
|
Subscription: undefined,
|
|
2025
2025
|
};
|
|
2026
|
-
const data =
|
|
2026
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2027
2027
|
if (data.Subscription !== undefined && data.Subscription !== null) {
|
|
2028
2028
|
contents.Subscription = deserializeAws_restJson1Subscription(data.Subscription, context);
|
|
2029
2029
|
}
|
|
@@ -2087,7 +2087,7 @@ const deserializeAws_restJson1CreateUserCommand = async (output, context) => {
|
|
|
2087
2087
|
$metadata: deserializeMetadata(output),
|
|
2088
2088
|
User: undefined,
|
|
2089
2089
|
};
|
|
2090
|
-
const data =
|
|
2090
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2091
2091
|
if (data.User !== undefined && data.User !== null) {
|
|
2092
2092
|
contents.User = deserializeAws_restJson1User(data.User, context);
|
|
2093
2093
|
}
|
|
@@ -2932,9 +2932,9 @@ const deserializeAws_restJson1DescribeActivitiesCommand = async (output, context
|
|
|
2932
2932
|
Marker: undefined,
|
|
2933
2933
|
UserActivities: undefined,
|
|
2934
2934
|
};
|
|
2935
|
-
const data =
|
|
2935
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2936
2936
|
if (data.Marker !== undefined && data.Marker !== null) {
|
|
2937
|
-
contents.Marker =
|
|
2937
|
+
contents.Marker = smithy_client_1.expectString(data.Marker);
|
|
2938
2938
|
}
|
|
2939
2939
|
if (data.UserActivities !== undefined && data.UserActivities !== null) {
|
|
2940
2940
|
contents.UserActivities = deserializeAws_restJson1UserActivities(data.UserActivities, context);
|
|
@@ -3016,12 +3016,12 @@ const deserializeAws_restJson1DescribeCommentsCommand = async (output, context)
|
|
|
3016
3016
|
Comments: undefined,
|
|
3017
3017
|
Marker: undefined,
|
|
3018
3018
|
};
|
|
3019
|
-
const data =
|
|
3019
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3020
3020
|
if (data.Comments !== undefined && data.Comments !== null) {
|
|
3021
3021
|
contents.Comments = deserializeAws_restJson1CommentList(data.Comments, context);
|
|
3022
3022
|
}
|
|
3023
3023
|
if (data.Marker !== undefined && data.Marker !== null) {
|
|
3024
|
-
contents.Marker =
|
|
3024
|
+
contents.Marker = smithy_client_1.expectString(data.Marker);
|
|
3025
3025
|
}
|
|
3026
3026
|
return Promise.resolve(contents);
|
|
3027
3027
|
};
|
|
@@ -3108,12 +3108,12 @@ const deserializeAws_restJson1DescribeDocumentVersionsCommand = async (output, c
|
|
|
3108
3108
|
DocumentVersions: undefined,
|
|
3109
3109
|
Marker: undefined,
|
|
3110
3110
|
};
|
|
3111
|
-
const data =
|
|
3111
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3112
3112
|
if (data.DocumentVersions !== undefined && data.DocumentVersions !== null) {
|
|
3113
3113
|
contents.DocumentVersions = deserializeAws_restJson1DocumentVersionMetadataList(data.DocumentVersions, context);
|
|
3114
3114
|
}
|
|
3115
3115
|
if (data.Marker !== undefined && data.Marker !== null) {
|
|
3116
|
-
contents.Marker =
|
|
3116
|
+
contents.Marker = smithy_client_1.expectString(data.Marker);
|
|
3117
3117
|
}
|
|
3118
3118
|
return Promise.resolve(contents);
|
|
3119
3119
|
};
|
|
@@ -3209,7 +3209,7 @@ const deserializeAws_restJson1DescribeFolderContentsCommand = async (output, con
|
|
|
3209
3209
|
Folders: undefined,
|
|
3210
3210
|
Marker: undefined,
|
|
3211
3211
|
};
|
|
3212
|
-
const data =
|
|
3212
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3213
3213
|
if (data.Documents !== undefined && data.Documents !== null) {
|
|
3214
3214
|
contents.Documents = deserializeAws_restJson1DocumentMetadataList(data.Documents, context);
|
|
3215
3215
|
}
|
|
@@ -3217,7 +3217,7 @@ const deserializeAws_restJson1DescribeFolderContentsCommand = async (output, con
|
|
|
3217
3217
|
contents.Folders = deserializeAws_restJson1FolderMetadataList(data.Folders, context);
|
|
3218
3218
|
}
|
|
3219
3219
|
if (data.Marker !== undefined && data.Marker !== null) {
|
|
3220
|
-
contents.Marker =
|
|
3220
|
+
contents.Marker = smithy_client_1.expectString(data.Marker);
|
|
3221
3221
|
}
|
|
3222
3222
|
return Promise.resolve(contents);
|
|
3223
3223
|
};
|
|
@@ -3304,12 +3304,12 @@ const deserializeAws_restJson1DescribeGroupsCommand = async (output, context) =>
|
|
|
3304
3304
|
Groups: undefined,
|
|
3305
3305
|
Marker: undefined,
|
|
3306
3306
|
};
|
|
3307
|
-
const data =
|
|
3307
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3308
3308
|
if (data.Groups !== undefined && data.Groups !== null) {
|
|
3309
3309
|
contents.Groups = deserializeAws_restJson1GroupMetadataList(data.Groups, context);
|
|
3310
3310
|
}
|
|
3311
3311
|
if (data.Marker !== undefined && data.Marker !== null) {
|
|
3312
|
-
contents.Marker =
|
|
3312
|
+
contents.Marker = smithy_client_1.expectString(data.Marker);
|
|
3313
3313
|
}
|
|
3314
3314
|
return Promise.resolve(contents);
|
|
3315
3315
|
};
|
|
@@ -3380,9 +3380,9 @@ const deserializeAws_restJson1DescribeNotificationSubscriptionsCommand = async (
|
|
|
3380
3380
|
Marker: undefined,
|
|
3381
3381
|
Subscriptions: undefined,
|
|
3382
3382
|
};
|
|
3383
|
-
const data =
|
|
3383
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3384
3384
|
if (data.Marker !== undefined && data.Marker !== null) {
|
|
3385
|
-
contents.Marker =
|
|
3385
|
+
contents.Marker = smithy_client_1.expectString(data.Marker);
|
|
3386
3386
|
}
|
|
3387
3387
|
if (data.Subscriptions !== undefined && data.Subscriptions !== null) {
|
|
3388
3388
|
contents.Subscriptions = deserializeAws_restJson1SubscriptionList(data.Subscriptions, context);
|
|
@@ -3448,9 +3448,9 @@ const deserializeAws_restJson1DescribeResourcePermissionsCommand = async (output
|
|
|
3448
3448
|
Marker: undefined,
|
|
3449
3449
|
Principals: undefined,
|
|
3450
3450
|
};
|
|
3451
|
-
const data =
|
|
3451
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3452
3452
|
if (data.Marker !== undefined && data.Marker !== null) {
|
|
3453
|
-
contents.Marker =
|
|
3453
|
+
contents.Marker = smithy_client_1.expectString(data.Marker);
|
|
3454
3454
|
}
|
|
3455
3455
|
if (data.Principals !== undefined && data.Principals !== null) {
|
|
3456
3456
|
contents.Principals = deserializeAws_restJson1PrincipalList(data.Principals, context);
|
|
@@ -3524,12 +3524,12 @@ const deserializeAws_restJson1DescribeRootFoldersCommand = async (output, contex
|
|
|
3524
3524
|
Folders: undefined,
|
|
3525
3525
|
Marker: undefined,
|
|
3526
3526
|
};
|
|
3527
|
-
const data =
|
|
3527
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3528
3528
|
if (data.Folders !== undefined && data.Folders !== null) {
|
|
3529
3529
|
contents.Folders = deserializeAws_restJson1FolderMetadataList(data.Folders, context);
|
|
3530
3530
|
}
|
|
3531
3531
|
if (data.Marker !== undefined && data.Marker !== null) {
|
|
3532
|
-
contents.Marker =
|
|
3532
|
+
contents.Marker = smithy_client_1.expectString(data.Marker);
|
|
3533
3533
|
}
|
|
3534
3534
|
return Promise.resolve(contents);
|
|
3535
3535
|
};
|
|
@@ -3609,12 +3609,12 @@ const deserializeAws_restJson1DescribeUsersCommand = async (output, context) =>
|
|
|
3609
3609
|
TotalNumberOfUsers: undefined,
|
|
3610
3610
|
Users: undefined,
|
|
3611
3611
|
};
|
|
3612
|
-
const data =
|
|
3612
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3613
3613
|
if (data.Marker !== undefined && data.Marker !== null) {
|
|
3614
|
-
contents.Marker =
|
|
3614
|
+
contents.Marker = smithy_client_1.expectString(data.Marker);
|
|
3615
3615
|
}
|
|
3616
3616
|
if (data.TotalNumberOfUsers !== undefined && data.TotalNumberOfUsers !== null) {
|
|
3617
|
-
contents.TotalNumberOfUsers =
|
|
3617
|
+
contents.TotalNumberOfUsers = smithy_client_1.expectLong(data.TotalNumberOfUsers);
|
|
3618
3618
|
}
|
|
3619
3619
|
if (data.Users !== undefined && data.Users !== null) {
|
|
3620
3620
|
contents.Users = deserializeAws_restJson1OrganizationUserList(data.Users, context);
|
|
@@ -3711,7 +3711,7 @@ const deserializeAws_restJson1GetCurrentUserCommand = async (output, context) =>
|
|
|
3711
3711
|
$metadata: deserializeMetadata(output),
|
|
3712
3712
|
User: undefined,
|
|
3713
3713
|
};
|
|
3714
|
-
const data =
|
|
3714
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3715
3715
|
if (data.User !== undefined && data.User !== null) {
|
|
3716
3716
|
contents.User = deserializeAws_restJson1User(data.User, context);
|
|
3717
3717
|
}
|
|
@@ -3792,7 +3792,7 @@ const deserializeAws_restJson1GetDocumentCommand = async (output, context) => {
|
|
|
3792
3792
|
CustomMetadata: undefined,
|
|
3793
3793
|
Metadata: undefined,
|
|
3794
3794
|
};
|
|
3795
|
-
const data =
|
|
3795
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3796
3796
|
if (data.CustomMetadata !== undefined && data.CustomMetadata !== null) {
|
|
3797
3797
|
contents.CustomMetadata = deserializeAws_restJson1CustomMetadataMap(data.CustomMetadata, context);
|
|
3798
3798
|
}
|
|
@@ -3891,7 +3891,7 @@ const deserializeAws_restJson1GetDocumentPathCommand = async (output, context) =
|
|
|
3891
3891
|
$metadata: deserializeMetadata(output),
|
|
3892
3892
|
Path: undefined,
|
|
3893
3893
|
};
|
|
3894
|
-
const data =
|
|
3894
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3895
3895
|
if (data.Path !== undefined && data.Path !== null) {
|
|
3896
3896
|
contents.Path = deserializeAws_restJson1ResourcePath(data.Path, context);
|
|
3897
3897
|
}
|
|
@@ -3972,7 +3972,7 @@ const deserializeAws_restJson1GetDocumentVersionCommand = async (output, context
|
|
|
3972
3972
|
CustomMetadata: undefined,
|
|
3973
3973
|
Metadata: undefined,
|
|
3974
3974
|
};
|
|
3975
|
-
const data =
|
|
3975
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3976
3976
|
if (data.CustomMetadata !== undefined && data.CustomMetadata !== null) {
|
|
3977
3977
|
contents.CustomMetadata = deserializeAws_restJson1CustomMetadataMap(data.CustomMetadata, context);
|
|
3978
3978
|
}
|
|
@@ -4072,7 +4072,7 @@ const deserializeAws_restJson1GetFolderCommand = async (output, context) => {
|
|
|
4072
4072
|
CustomMetadata: undefined,
|
|
4073
4073
|
Metadata: undefined,
|
|
4074
4074
|
};
|
|
4075
|
-
const data =
|
|
4075
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4076
4076
|
if (data.CustomMetadata !== undefined && data.CustomMetadata !== null) {
|
|
4077
4077
|
contents.CustomMetadata = deserializeAws_restJson1CustomMetadataMap(data.CustomMetadata, context);
|
|
4078
4078
|
}
|
|
@@ -4171,7 +4171,7 @@ const deserializeAws_restJson1GetFolderPathCommand = async (output, context) =>
|
|
|
4171
4171
|
$metadata: deserializeMetadata(output),
|
|
4172
4172
|
Path: undefined,
|
|
4173
4173
|
};
|
|
4174
|
-
const data =
|
|
4174
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4175
4175
|
if (data.Path !== undefined && data.Path !== null) {
|
|
4176
4176
|
contents.Path = deserializeAws_restJson1ResourcePath(data.Path, context);
|
|
4177
4177
|
}
|
|
@@ -4253,7 +4253,7 @@ const deserializeAws_restJson1GetResourcesCommand = async (output, context) => {
|
|
|
4253
4253
|
Folders: undefined,
|
|
4254
4254
|
Marker: undefined,
|
|
4255
4255
|
};
|
|
4256
|
-
const data =
|
|
4256
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4257
4257
|
if (data.Documents !== undefined && data.Documents !== null) {
|
|
4258
4258
|
contents.Documents = deserializeAws_restJson1DocumentMetadataList(data.Documents, context);
|
|
4259
4259
|
}
|
|
@@ -4261,7 +4261,7 @@ const deserializeAws_restJson1GetResourcesCommand = async (output, context) => {
|
|
|
4261
4261
|
contents.Folders = deserializeAws_restJson1FolderMetadataList(data.Folders, context);
|
|
4262
4262
|
}
|
|
4263
4263
|
if (data.Marker !== undefined && data.Marker !== null) {
|
|
4264
|
-
contents.Marker =
|
|
4264
|
+
contents.Marker = smithy_client_1.expectString(data.Marker);
|
|
4265
4265
|
}
|
|
4266
4266
|
return Promise.resolve(contents);
|
|
4267
4267
|
};
|
|
@@ -4340,7 +4340,7 @@ const deserializeAws_restJson1InitiateDocumentVersionUploadCommand = async (outp
|
|
|
4340
4340
|
Metadata: undefined,
|
|
4341
4341
|
UploadMetadata: undefined,
|
|
4342
4342
|
};
|
|
4343
|
-
const data =
|
|
4343
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4344
4344
|
if (data.Metadata !== undefined && data.Metadata !== null) {
|
|
4345
4345
|
contents.Metadata = deserializeAws_restJson1DocumentMetadata(data.Metadata, context);
|
|
4346
4346
|
}
|
|
@@ -4939,7 +4939,7 @@ const deserializeAws_restJson1UpdateUserCommand = async (output, context) => {
|
|
|
4939
4939
|
$metadata: deserializeMetadata(output),
|
|
4940
4940
|
User: undefined,
|
|
4941
4941
|
};
|
|
4942
|
-
const data =
|
|
4942
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4943
4943
|
if (data.User !== undefined && data.User !== null) {
|
|
4944
4944
|
contents.User = deserializeAws_restJson1User(data.User, context);
|
|
4945
4945
|
}
|
|
@@ -5044,7 +5044,7 @@ const deserializeAws_restJson1ConcurrentModificationExceptionResponse = async (p
|
|
|
5044
5044
|
};
|
|
5045
5045
|
const data = parsedOutput.body;
|
|
5046
5046
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5047
|
-
contents.Message =
|
|
5047
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5048
5048
|
}
|
|
5049
5049
|
return contents;
|
|
5050
5050
|
};
|
|
@@ -5057,7 +5057,7 @@ const deserializeAws_restJson1ConflictingOperationExceptionResponse = async (par
|
|
|
5057
5057
|
};
|
|
5058
5058
|
const data = parsedOutput.body;
|
|
5059
5059
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5060
|
-
contents.Message =
|
|
5060
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5061
5061
|
}
|
|
5062
5062
|
return contents;
|
|
5063
5063
|
};
|
|
@@ -5070,7 +5070,7 @@ const deserializeAws_restJson1CustomMetadataLimitExceededExceptionResponse = asy
|
|
|
5070
5070
|
};
|
|
5071
5071
|
const data = parsedOutput.body;
|
|
5072
5072
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5073
|
-
contents.Message =
|
|
5073
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5074
5074
|
}
|
|
5075
5075
|
return contents;
|
|
5076
5076
|
};
|
|
@@ -5084,10 +5084,10 @@ const deserializeAws_restJson1DeactivatingLastSystemUserExceptionResponse = asyn
|
|
|
5084
5084
|
};
|
|
5085
5085
|
const data = parsedOutput.body;
|
|
5086
5086
|
if (data.Code !== undefined && data.Code !== null) {
|
|
5087
|
-
contents.Code =
|
|
5087
|
+
contents.Code = smithy_client_1.expectString(data.Code);
|
|
5088
5088
|
}
|
|
5089
5089
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5090
|
-
contents.Message =
|
|
5090
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5091
5091
|
}
|
|
5092
5092
|
return contents;
|
|
5093
5093
|
};
|
|
@@ -5100,7 +5100,7 @@ const deserializeAws_restJson1DocumentLockedForCommentsExceptionResponse = async
|
|
|
5100
5100
|
};
|
|
5101
5101
|
const data = parsedOutput.body;
|
|
5102
5102
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5103
|
-
contents.Message =
|
|
5103
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5104
5104
|
}
|
|
5105
5105
|
return contents;
|
|
5106
5106
|
};
|
|
@@ -5113,7 +5113,7 @@ const deserializeAws_restJson1DraftUploadOutOfSyncExceptionResponse = async (par
|
|
|
5113
5113
|
};
|
|
5114
5114
|
const data = parsedOutput.body;
|
|
5115
5115
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5116
|
-
contents.Message =
|
|
5116
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5117
5117
|
}
|
|
5118
5118
|
return contents;
|
|
5119
5119
|
};
|
|
@@ -5126,7 +5126,7 @@ const deserializeAws_restJson1EntityAlreadyExistsExceptionResponse = async (pars
|
|
|
5126
5126
|
};
|
|
5127
5127
|
const data = parsedOutput.body;
|
|
5128
5128
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5129
|
-
contents.Message =
|
|
5129
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5130
5130
|
}
|
|
5131
5131
|
return contents;
|
|
5132
5132
|
};
|
|
@@ -5143,7 +5143,7 @@ const deserializeAws_restJson1EntityNotExistsExceptionResponse = async (parsedOu
|
|
|
5143
5143
|
contents.EntityIds = deserializeAws_restJson1EntityIdList(data.EntityIds, context);
|
|
5144
5144
|
}
|
|
5145
5145
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5146
|
-
contents.Message =
|
|
5146
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5147
5147
|
}
|
|
5148
5148
|
return contents;
|
|
5149
5149
|
};
|
|
@@ -5156,7 +5156,7 @@ const deserializeAws_restJson1FailedDependencyExceptionResponse = async (parsedO
|
|
|
5156
5156
|
};
|
|
5157
5157
|
const data = parsedOutput.body;
|
|
5158
5158
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5159
|
-
contents.Message =
|
|
5159
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5160
5160
|
}
|
|
5161
5161
|
return contents;
|
|
5162
5162
|
};
|
|
@@ -5169,7 +5169,7 @@ const deserializeAws_restJson1IllegalUserStateExceptionResponse = async (parsedO
|
|
|
5169
5169
|
};
|
|
5170
5170
|
const data = parsedOutput.body;
|
|
5171
5171
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5172
|
-
contents.Message =
|
|
5172
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5173
5173
|
}
|
|
5174
5174
|
return contents;
|
|
5175
5175
|
};
|
|
@@ -5182,7 +5182,7 @@ const deserializeAws_restJson1InvalidArgumentExceptionResponse = async (parsedOu
|
|
|
5182
5182
|
};
|
|
5183
5183
|
const data = parsedOutput.body;
|
|
5184
5184
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5185
|
-
contents.Message =
|
|
5185
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5186
5186
|
}
|
|
5187
5187
|
return contents;
|
|
5188
5188
|
};
|
|
@@ -5195,7 +5195,7 @@ const deserializeAws_restJson1InvalidCommentOperationExceptionResponse = async (
|
|
|
5195
5195
|
};
|
|
5196
5196
|
const data = parsedOutput.body;
|
|
5197
5197
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5198
|
-
contents.Message =
|
|
5198
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5199
5199
|
}
|
|
5200
5200
|
return contents;
|
|
5201
5201
|
};
|
|
@@ -5208,7 +5208,7 @@ const deserializeAws_restJson1InvalidOperationExceptionResponse = async (parsedO
|
|
|
5208
5208
|
};
|
|
5209
5209
|
const data = parsedOutput.body;
|
|
5210
5210
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5211
|
-
contents.Message =
|
|
5211
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5212
5212
|
}
|
|
5213
5213
|
return contents;
|
|
5214
5214
|
};
|
|
@@ -5221,7 +5221,7 @@ const deserializeAws_restJson1InvalidPasswordExceptionResponse = async (parsedOu
|
|
|
5221
5221
|
};
|
|
5222
5222
|
const data = parsedOutput.body;
|
|
5223
5223
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5224
|
-
contents.Message =
|
|
5224
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5225
5225
|
}
|
|
5226
5226
|
return contents;
|
|
5227
5227
|
};
|
|
@@ -5234,7 +5234,7 @@ const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutp
|
|
|
5234
5234
|
};
|
|
5235
5235
|
const data = parsedOutput.body;
|
|
5236
5236
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5237
|
-
contents.Message =
|
|
5237
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5238
5238
|
}
|
|
5239
5239
|
return contents;
|
|
5240
5240
|
};
|
|
@@ -5247,7 +5247,7 @@ const deserializeAws_restJson1ProhibitedStateExceptionResponse = async (parsedOu
|
|
|
5247
5247
|
};
|
|
5248
5248
|
const data = parsedOutput.body;
|
|
5249
5249
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5250
|
-
contents.Message =
|
|
5250
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5251
5251
|
}
|
|
5252
5252
|
return contents;
|
|
5253
5253
|
};
|
|
@@ -5260,7 +5260,7 @@ const deserializeAws_restJson1RequestedEntityTooLargeExceptionResponse = async (
|
|
|
5260
5260
|
};
|
|
5261
5261
|
const data = parsedOutput.body;
|
|
5262
5262
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5263
|
-
contents.Message =
|
|
5263
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5264
5264
|
}
|
|
5265
5265
|
return contents;
|
|
5266
5266
|
};
|
|
@@ -5273,7 +5273,7 @@ const deserializeAws_restJson1ResourceAlreadyCheckedOutExceptionResponse = async
|
|
|
5273
5273
|
};
|
|
5274
5274
|
const data = parsedOutput.body;
|
|
5275
5275
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5276
|
-
contents.Message =
|
|
5276
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5277
5277
|
}
|
|
5278
5278
|
return contents;
|
|
5279
5279
|
};
|
|
@@ -5286,7 +5286,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
|
|
|
5286
5286
|
};
|
|
5287
5287
|
const data = parsedOutput.body;
|
|
5288
5288
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5289
|
-
contents.Message =
|
|
5289
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5290
5290
|
}
|
|
5291
5291
|
return contents;
|
|
5292
5292
|
};
|
|
@@ -5299,7 +5299,7 @@ const deserializeAws_restJson1StorageLimitExceededExceptionResponse = async (par
|
|
|
5299
5299
|
};
|
|
5300
5300
|
const data = parsedOutput.body;
|
|
5301
5301
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5302
|
-
contents.Message =
|
|
5302
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5303
5303
|
}
|
|
5304
5304
|
return contents;
|
|
5305
5305
|
};
|
|
@@ -5312,7 +5312,7 @@ const deserializeAws_restJson1StorageLimitWillExceedExceptionResponse = async (p
|
|
|
5312
5312
|
};
|
|
5313
5313
|
const data = parsedOutput.body;
|
|
5314
5314
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5315
|
-
contents.Message =
|
|
5315
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5316
5316
|
}
|
|
5317
5317
|
return contents;
|
|
5318
5318
|
};
|
|
@@ -5325,7 +5325,7 @@ const deserializeAws_restJson1TooManyLabelsExceptionResponse = async (parsedOutp
|
|
|
5325
5325
|
};
|
|
5326
5326
|
const data = parsedOutput.body;
|
|
5327
5327
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5328
|
-
contents.Message =
|
|
5328
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5329
5329
|
}
|
|
5330
5330
|
return contents;
|
|
5331
5331
|
};
|
|
@@ -5338,7 +5338,7 @@ const deserializeAws_restJson1TooManySubscriptionsExceptionResponse = async (par
|
|
|
5338
5338
|
};
|
|
5339
5339
|
const data = parsedOutput.body;
|
|
5340
5340
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5341
|
-
contents.Message =
|
|
5341
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5342
5342
|
}
|
|
5343
5343
|
return contents;
|
|
5344
5344
|
};
|
|
@@ -5352,10 +5352,10 @@ const deserializeAws_restJson1UnauthorizedOperationExceptionResponse = async (pa
|
|
|
5352
5352
|
};
|
|
5353
5353
|
const data = parsedOutput.body;
|
|
5354
5354
|
if (data.Code !== undefined && data.Code !== null) {
|
|
5355
|
-
contents.Code =
|
|
5355
|
+
contents.Code = smithy_client_1.expectString(data.Code);
|
|
5356
5356
|
}
|
|
5357
5357
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5358
|
-
contents.Message =
|
|
5358
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5359
5359
|
}
|
|
5360
5360
|
return contents;
|
|
5361
5361
|
};
|
|
@@ -5368,7 +5368,7 @@ const deserializeAws_restJson1UnauthorizedResourceAccessExceptionResponse = asyn
|
|
|
5368
5368
|
};
|
|
5369
5369
|
const data = parsedOutput.body;
|
|
5370
5370
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5371
|
-
contents.Message =
|
|
5371
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5372
5372
|
}
|
|
5373
5373
|
return contents;
|
|
5374
5374
|
};
|
|
@@ -5431,8 +5431,8 @@ const deserializeAws_restJson1Activity = (output, context) => {
|
|
|
5431
5431
|
Initiator: output.Initiator !== undefined && output.Initiator !== null
|
|
5432
5432
|
? deserializeAws_restJson1UserMetadata(output.Initiator, context)
|
|
5433
5433
|
: undefined,
|
|
5434
|
-
IsIndirectActivity:
|
|
5435
|
-
OrganizationId:
|
|
5434
|
+
IsIndirectActivity: smithy_client_1.expectBoolean(output.IsIndirectActivity),
|
|
5435
|
+
OrganizationId: smithy_client_1.expectString(output.OrganizationId),
|
|
5436
5436
|
OriginalParent: output.OriginalParent !== undefined && output.OriginalParent !== null
|
|
5437
5437
|
? deserializeAws_restJson1ResourceMetadata(output.OriginalParent, context)
|
|
5438
5438
|
: undefined,
|
|
@@ -5443,26 +5443,26 @@ const deserializeAws_restJson1Activity = (output, context) => {
|
|
|
5443
5443
|
? deserializeAws_restJson1ResourceMetadata(output.ResourceMetadata, context)
|
|
5444
5444
|
: undefined,
|
|
5445
5445
|
TimeStamp: output.TimeStamp !== undefined && output.TimeStamp !== null
|
|
5446
|
-
?
|
|
5446
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TimeStamp)))
|
|
5447
5447
|
: undefined,
|
|
5448
|
-
Type:
|
|
5448
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
5449
5449
|
};
|
|
5450
5450
|
};
|
|
5451
5451
|
const deserializeAws_restJson1Comment = (output, context) => {
|
|
5452
5452
|
return {
|
|
5453
|
-
CommentId:
|
|
5453
|
+
CommentId: smithy_client_1.expectString(output.CommentId),
|
|
5454
5454
|
Contributor: output.Contributor !== undefined && output.Contributor !== null
|
|
5455
5455
|
? deserializeAws_restJson1User(output.Contributor, context)
|
|
5456
5456
|
: undefined,
|
|
5457
5457
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
5458
|
-
?
|
|
5458
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
5459
5459
|
: undefined,
|
|
5460
|
-
ParentId:
|
|
5461
|
-
RecipientId:
|
|
5462
|
-
Status:
|
|
5463
|
-
Text:
|
|
5464
|
-
ThreadId:
|
|
5465
|
-
Visibility:
|
|
5460
|
+
ParentId: smithy_client_1.expectString(output.ParentId),
|
|
5461
|
+
RecipientId: smithy_client_1.expectString(output.RecipientId),
|
|
5462
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
5463
|
+
Text: smithy_client_1.expectString(output.Text),
|
|
5464
|
+
ThreadId: smithy_client_1.expectString(output.ThreadId),
|
|
5465
|
+
Visibility: smithy_client_1.expectString(output.Visibility),
|
|
5466
5466
|
};
|
|
5467
5467
|
};
|
|
5468
5468
|
const deserializeAws_restJson1CommentList = (output, context) => {
|
|
@@ -5477,15 +5477,15 @@ const deserializeAws_restJson1CommentList = (output, context) => {
|
|
|
5477
5477
|
};
|
|
5478
5478
|
const deserializeAws_restJson1CommentMetadata = (output, context) => {
|
|
5479
5479
|
return {
|
|
5480
|
-
CommentId:
|
|
5481
|
-
CommentStatus:
|
|
5480
|
+
CommentId: smithy_client_1.expectString(output.CommentId),
|
|
5481
|
+
CommentStatus: smithy_client_1.expectString(output.CommentStatus),
|
|
5482
5482
|
Contributor: output.Contributor !== undefined && output.Contributor !== null
|
|
5483
5483
|
? deserializeAws_restJson1User(output.Contributor, context)
|
|
5484
5484
|
: undefined,
|
|
5485
5485
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
5486
|
-
?
|
|
5486
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
5487
5487
|
: undefined,
|
|
5488
|
-
RecipientId:
|
|
5488
|
+
RecipientId: smithy_client_1.expectString(output.RecipientId),
|
|
5489
5489
|
};
|
|
5490
5490
|
};
|
|
5491
5491
|
const deserializeAws_restJson1CustomMetadataMap = (output, context) => {
|
|
@@ -5495,17 +5495,17 @@ const deserializeAws_restJson1CustomMetadataMap = (output, context) => {
|
|
|
5495
5495
|
}
|
|
5496
5496
|
return {
|
|
5497
5497
|
...acc,
|
|
5498
|
-
[key]:
|
|
5498
|
+
[key]: smithy_client_1.expectString(value),
|
|
5499
5499
|
};
|
|
5500
5500
|
}, {});
|
|
5501
5501
|
};
|
|
5502
5502
|
const deserializeAws_restJson1DocumentMetadata = (output, context) => {
|
|
5503
5503
|
return {
|
|
5504
5504
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
5505
|
-
?
|
|
5505
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
5506
5506
|
: undefined,
|
|
5507
|
-
CreatorId:
|
|
5508
|
-
Id:
|
|
5507
|
+
CreatorId: smithy_client_1.expectString(output.CreatorId),
|
|
5508
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
5509
5509
|
Labels: output.Labels !== undefined && output.Labels !== null
|
|
5510
5510
|
? deserializeAws_restJson1SharedLabels(output.Labels, context)
|
|
5511
5511
|
: undefined,
|
|
@@ -5513,10 +5513,10 @@ const deserializeAws_restJson1DocumentMetadata = (output, context) => {
|
|
|
5513
5513
|
? deserializeAws_restJson1DocumentVersionMetadata(output.LatestVersionMetadata, context)
|
|
5514
5514
|
: undefined,
|
|
5515
5515
|
ModifiedTimestamp: output.ModifiedTimestamp !== undefined && output.ModifiedTimestamp !== null
|
|
5516
|
-
?
|
|
5516
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ModifiedTimestamp)))
|
|
5517
5517
|
: undefined,
|
|
5518
|
-
ParentFolderId:
|
|
5519
|
-
ResourceState:
|
|
5518
|
+
ParentFolderId: smithy_client_1.expectString(output.ParentFolderId),
|
|
5519
|
+
ResourceState: smithy_client_1.expectString(output.ResourceState),
|
|
5520
5520
|
};
|
|
5521
5521
|
};
|
|
5522
5522
|
const deserializeAws_restJson1DocumentMetadataList = (output, context) => {
|
|
@@ -5536,7 +5536,7 @@ const deserializeAws_restJson1DocumentSourceUrlMap = (output, context) => {
|
|
|
5536
5536
|
}
|
|
5537
5537
|
return {
|
|
5538
5538
|
...acc,
|
|
5539
|
-
[key]:
|
|
5539
|
+
[key]: smithy_client_1.expectString(value),
|
|
5540
5540
|
};
|
|
5541
5541
|
}, {});
|
|
5542
5542
|
};
|
|
@@ -5547,34 +5547,34 @@ const deserializeAws_restJson1DocumentThumbnailUrlMap = (output, context) => {
|
|
|
5547
5547
|
}
|
|
5548
5548
|
return {
|
|
5549
5549
|
...acc,
|
|
5550
|
-
[key]:
|
|
5550
|
+
[key]: smithy_client_1.expectString(value),
|
|
5551
5551
|
};
|
|
5552
5552
|
}, {});
|
|
5553
5553
|
};
|
|
5554
5554
|
const deserializeAws_restJson1DocumentVersionMetadata = (output, context) => {
|
|
5555
5555
|
return {
|
|
5556
5556
|
ContentCreatedTimestamp: output.ContentCreatedTimestamp !== undefined && output.ContentCreatedTimestamp !== null
|
|
5557
|
-
?
|
|
5557
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ContentCreatedTimestamp)))
|
|
5558
5558
|
: undefined,
|
|
5559
5559
|
ContentModifiedTimestamp: output.ContentModifiedTimestamp !== undefined && output.ContentModifiedTimestamp !== null
|
|
5560
|
-
?
|
|
5560
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ContentModifiedTimestamp)))
|
|
5561
5561
|
: undefined,
|
|
5562
|
-
ContentType:
|
|
5562
|
+
ContentType: smithy_client_1.expectString(output.ContentType),
|
|
5563
5563
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
5564
|
-
?
|
|
5564
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
5565
5565
|
: undefined,
|
|
5566
|
-
CreatorId:
|
|
5567
|
-
Id:
|
|
5566
|
+
CreatorId: smithy_client_1.expectString(output.CreatorId),
|
|
5567
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
5568
5568
|
ModifiedTimestamp: output.ModifiedTimestamp !== undefined && output.ModifiedTimestamp !== null
|
|
5569
|
-
?
|
|
5569
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ModifiedTimestamp)))
|
|
5570
5570
|
: undefined,
|
|
5571
|
-
Name:
|
|
5572
|
-
Signature:
|
|
5573
|
-
Size:
|
|
5571
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5572
|
+
Signature: smithy_client_1.expectString(output.Signature),
|
|
5573
|
+
Size: smithy_client_1.expectLong(output.Size),
|
|
5574
5574
|
Source: output.Source !== undefined && output.Source !== null
|
|
5575
5575
|
? deserializeAws_restJson1DocumentSourceUrlMap(output.Source, context)
|
|
5576
5576
|
: undefined,
|
|
5577
|
-
Status:
|
|
5577
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
5578
5578
|
Thumbnail: output.Thumbnail !== undefined && output.Thumbnail !== null
|
|
5579
5579
|
? deserializeAws_restJson1DocumentThumbnailUrlMap(output.Thumbnail, context)
|
|
5580
5580
|
: undefined,
|
|
@@ -5597,28 +5597,28 @@ const deserializeAws_restJson1EntityIdList = (output, context) => {
|
|
|
5597
5597
|
if (entry === null) {
|
|
5598
5598
|
return null;
|
|
5599
5599
|
}
|
|
5600
|
-
return
|
|
5600
|
+
return smithy_client_1.expectString(entry);
|
|
5601
5601
|
});
|
|
5602
5602
|
};
|
|
5603
5603
|
const deserializeAws_restJson1FolderMetadata = (output, context) => {
|
|
5604
5604
|
return {
|
|
5605
5605
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
5606
|
-
?
|
|
5606
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
5607
5607
|
: undefined,
|
|
5608
|
-
CreatorId:
|
|
5609
|
-
Id:
|
|
5608
|
+
CreatorId: smithy_client_1.expectString(output.CreatorId),
|
|
5609
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
5610
5610
|
Labels: output.Labels !== undefined && output.Labels !== null
|
|
5611
5611
|
? deserializeAws_restJson1SharedLabels(output.Labels, context)
|
|
5612
5612
|
: undefined,
|
|
5613
|
-
LatestVersionSize:
|
|
5613
|
+
LatestVersionSize: smithy_client_1.expectLong(output.LatestVersionSize),
|
|
5614
5614
|
ModifiedTimestamp: output.ModifiedTimestamp !== undefined && output.ModifiedTimestamp !== null
|
|
5615
|
-
?
|
|
5615
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ModifiedTimestamp)))
|
|
5616
5616
|
: undefined,
|
|
5617
|
-
Name:
|
|
5618
|
-
ParentFolderId:
|
|
5619
|
-
ResourceState:
|
|
5620
|
-
Signature:
|
|
5621
|
-
Size:
|
|
5617
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5618
|
+
ParentFolderId: smithy_client_1.expectString(output.ParentFolderId),
|
|
5619
|
+
ResourceState: smithy_client_1.expectString(output.ResourceState),
|
|
5620
|
+
Signature: smithy_client_1.expectString(output.Signature),
|
|
5621
|
+
Size: smithy_client_1.expectLong(output.Size),
|
|
5622
5622
|
};
|
|
5623
5623
|
};
|
|
5624
5624
|
const deserializeAws_restJson1FolderMetadataList = (output, context) => {
|
|
@@ -5633,8 +5633,8 @@ const deserializeAws_restJson1FolderMetadataList = (output, context) => {
|
|
|
5633
5633
|
};
|
|
5634
5634
|
const deserializeAws_restJson1GroupMetadata = (output, context) => {
|
|
5635
5635
|
return {
|
|
5636
|
-
Id:
|
|
5637
|
-
Name:
|
|
5636
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
5637
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5638
5638
|
};
|
|
5639
5639
|
};
|
|
5640
5640
|
const deserializeAws_restJson1GroupMetadataList = (output, context) => {
|
|
@@ -5669,8 +5669,8 @@ const deserializeAws_restJson1Participants = (output, context) => {
|
|
|
5669
5669
|
};
|
|
5670
5670
|
const deserializeAws_restJson1PermissionInfo = (output, context) => {
|
|
5671
5671
|
return {
|
|
5672
|
-
Role:
|
|
5673
|
-
Type:
|
|
5672
|
+
Role: smithy_client_1.expectString(output.Role),
|
|
5673
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
5674
5674
|
};
|
|
5675
5675
|
};
|
|
5676
5676
|
const deserializeAws_restJson1PermissionInfoList = (output, context) => {
|
|
@@ -5685,11 +5685,11 @@ const deserializeAws_restJson1PermissionInfoList = (output, context) => {
|
|
|
5685
5685
|
};
|
|
5686
5686
|
const deserializeAws_restJson1Principal = (output, context) => {
|
|
5687
5687
|
return {
|
|
5688
|
-
Id:
|
|
5688
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
5689
5689
|
Roles: output.Roles !== undefined && output.Roles !== null
|
|
5690
5690
|
? deserializeAws_restJson1PermissionInfoList(output.Roles, context)
|
|
5691
5691
|
: undefined,
|
|
5692
|
-
Type:
|
|
5692
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
5693
5693
|
};
|
|
5694
5694
|
};
|
|
5695
5695
|
const deserializeAws_restJson1PrincipalList = (output, context) => {
|
|
@@ -5704,15 +5704,15 @@ const deserializeAws_restJson1PrincipalList = (output, context) => {
|
|
|
5704
5704
|
};
|
|
5705
5705
|
const deserializeAws_restJson1ResourceMetadata = (output, context) => {
|
|
5706
5706
|
return {
|
|
5707
|
-
Id:
|
|
5708
|
-
Name:
|
|
5709
|
-
OriginalName:
|
|
5707
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
5708
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5709
|
+
OriginalName: smithy_client_1.expectString(output.OriginalName),
|
|
5710
5710
|
Owner: output.Owner !== undefined && output.Owner !== null
|
|
5711
5711
|
? deserializeAws_restJson1UserMetadata(output.Owner, context)
|
|
5712
5712
|
: undefined,
|
|
5713
|
-
ParentId:
|
|
5714
|
-
Type:
|
|
5715
|
-
VersionId:
|
|
5713
|
+
ParentId: smithy_client_1.expectString(output.ParentId),
|
|
5714
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
5715
|
+
VersionId: smithy_client_1.expectString(output.VersionId),
|
|
5716
5716
|
};
|
|
5717
5717
|
};
|
|
5718
5718
|
const deserializeAws_restJson1ResourcePath = (output, context) => {
|
|
@@ -5724,8 +5724,8 @@ const deserializeAws_restJson1ResourcePath = (output, context) => {
|
|
|
5724
5724
|
};
|
|
5725
5725
|
const deserializeAws_restJson1ResourcePathComponent = (output, context) => {
|
|
5726
5726
|
return {
|
|
5727
|
-
Id:
|
|
5728
|
-
Name:
|
|
5727
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
5728
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5729
5729
|
};
|
|
5730
5730
|
};
|
|
5731
5731
|
const deserializeAws_restJson1ResourcePathComponentList = (output, context) => {
|
|
@@ -5745,17 +5745,17 @@ const deserializeAws_restJson1SharedLabels = (output, context) => {
|
|
|
5745
5745
|
if (entry === null) {
|
|
5746
5746
|
return null;
|
|
5747
5747
|
}
|
|
5748
|
-
return
|
|
5748
|
+
return smithy_client_1.expectString(entry);
|
|
5749
5749
|
});
|
|
5750
5750
|
};
|
|
5751
5751
|
const deserializeAws_restJson1ShareResult = (output, context) => {
|
|
5752
5752
|
return {
|
|
5753
|
-
InviteePrincipalId:
|
|
5754
|
-
PrincipalId:
|
|
5755
|
-
Role:
|
|
5756
|
-
ShareId:
|
|
5757
|
-
Status:
|
|
5758
|
-
StatusMessage:
|
|
5753
|
+
InviteePrincipalId: smithy_client_1.expectString(output.InviteePrincipalId),
|
|
5754
|
+
PrincipalId: smithy_client_1.expectString(output.PrincipalId),
|
|
5755
|
+
Role: smithy_client_1.expectString(output.Role),
|
|
5756
|
+
ShareId: smithy_client_1.expectString(output.ShareId),
|
|
5757
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
5758
|
+
StatusMessage: smithy_client_1.expectString(output.StatusMessage),
|
|
5759
5759
|
};
|
|
5760
5760
|
};
|
|
5761
5761
|
const deserializeAws_restJson1ShareResultsList = (output, context) => {
|
|
@@ -5775,21 +5775,21 @@ const deserializeAws_restJson1SignedHeaderMap = (output, context) => {
|
|
|
5775
5775
|
}
|
|
5776
5776
|
return {
|
|
5777
5777
|
...acc,
|
|
5778
|
-
[key]:
|
|
5778
|
+
[key]: smithy_client_1.expectString(value),
|
|
5779
5779
|
};
|
|
5780
5780
|
}, {});
|
|
5781
5781
|
};
|
|
5782
5782
|
const deserializeAws_restJson1StorageRuleType = (output, context) => {
|
|
5783
5783
|
return {
|
|
5784
|
-
StorageAllocatedInBytes:
|
|
5785
|
-
StorageType:
|
|
5784
|
+
StorageAllocatedInBytes: smithy_client_1.expectLong(output.StorageAllocatedInBytes),
|
|
5785
|
+
StorageType: smithy_client_1.expectString(output.StorageType),
|
|
5786
5786
|
};
|
|
5787
5787
|
};
|
|
5788
5788
|
const deserializeAws_restJson1Subscription = (output, context) => {
|
|
5789
5789
|
return {
|
|
5790
|
-
EndPoint:
|
|
5791
|
-
Protocol:
|
|
5792
|
-
SubscriptionId:
|
|
5790
|
+
EndPoint: smithy_client_1.expectString(output.EndPoint),
|
|
5791
|
+
Protocol: smithy_client_1.expectString(output.Protocol),
|
|
5792
|
+
SubscriptionId: smithy_client_1.expectString(output.SubscriptionId),
|
|
5793
5793
|
};
|
|
5794
5794
|
};
|
|
5795
5795
|
const deserializeAws_restJson1SubscriptionList = (output, context) => {
|
|
@@ -5807,32 +5807,32 @@ const deserializeAws_restJson1UploadMetadata = (output, context) => {
|
|
|
5807
5807
|
SignedHeaders: output.SignedHeaders !== undefined && output.SignedHeaders !== null
|
|
5808
5808
|
? deserializeAws_restJson1SignedHeaderMap(output.SignedHeaders, context)
|
|
5809
5809
|
: undefined,
|
|
5810
|
-
UploadUrl:
|
|
5810
|
+
UploadUrl: smithy_client_1.expectString(output.UploadUrl),
|
|
5811
5811
|
};
|
|
5812
5812
|
};
|
|
5813
5813
|
const deserializeAws_restJson1User = (output, context) => {
|
|
5814
5814
|
return {
|
|
5815
5815
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
5816
|
-
?
|
|
5816
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
5817
5817
|
: undefined,
|
|
5818
|
-
EmailAddress:
|
|
5819
|
-
GivenName:
|
|
5820
|
-
Id:
|
|
5821
|
-
Locale:
|
|
5818
|
+
EmailAddress: smithy_client_1.expectString(output.EmailAddress),
|
|
5819
|
+
GivenName: smithy_client_1.expectString(output.GivenName),
|
|
5820
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
5821
|
+
Locale: smithy_client_1.expectString(output.Locale),
|
|
5822
5822
|
ModifiedTimestamp: output.ModifiedTimestamp !== undefined && output.ModifiedTimestamp !== null
|
|
5823
|
-
?
|
|
5823
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ModifiedTimestamp)))
|
|
5824
5824
|
: undefined,
|
|
5825
|
-
OrganizationId:
|
|
5826
|
-
RecycleBinFolderId:
|
|
5827
|
-
RootFolderId:
|
|
5828
|
-
Status:
|
|
5825
|
+
OrganizationId: smithy_client_1.expectString(output.OrganizationId),
|
|
5826
|
+
RecycleBinFolderId: smithy_client_1.expectString(output.RecycleBinFolderId),
|
|
5827
|
+
RootFolderId: smithy_client_1.expectString(output.RootFolderId),
|
|
5828
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
5829
5829
|
Storage: output.Storage !== undefined && output.Storage !== null
|
|
5830
5830
|
? deserializeAws_restJson1UserStorageMetadata(output.Storage, context)
|
|
5831
5831
|
: undefined,
|
|
5832
|
-
Surname:
|
|
5833
|
-
TimeZoneId:
|
|
5834
|
-
Type:
|
|
5835
|
-
Username:
|
|
5832
|
+
Surname: smithy_client_1.expectString(output.Surname),
|
|
5833
|
+
TimeZoneId: smithy_client_1.expectString(output.TimeZoneId),
|
|
5834
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
5835
|
+
Username: smithy_client_1.expectString(output.Username),
|
|
5836
5836
|
};
|
|
5837
5837
|
};
|
|
5838
5838
|
const deserializeAws_restJson1UserActivities = (output, context) => {
|
|
@@ -5847,11 +5847,11 @@ const deserializeAws_restJson1UserActivities = (output, context) => {
|
|
|
5847
5847
|
};
|
|
5848
5848
|
const deserializeAws_restJson1UserMetadata = (output, context) => {
|
|
5849
5849
|
return {
|
|
5850
|
-
EmailAddress:
|
|
5851
|
-
GivenName:
|
|
5852
|
-
Id:
|
|
5853
|
-
Surname:
|
|
5854
|
-
Username:
|
|
5850
|
+
EmailAddress: smithy_client_1.expectString(output.EmailAddress),
|
|
5851
|
+
GivenName: smithy_client_1.expectString(output.GivenName),
|
|
5852
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
5853
|
+
Surname: smithy_client_1.expectString(output.Surname),
|
|
5854
|
+
Username: smithy_client_1.expectString(output.Username),
|
|
5855
5855
|
};
|
|
5856
5856
|
};
|
|
5857
5857
|
const deserializeAws_restJson1UserMetadataList = (output, context) => {
|
|
@@ -5869,7 +5869,7 @@ const deserializeAws_restJson1UserStorageMetadata = (output, context) => {
|
|
|
5869
5869
|
StorageRule: output.StorageRule !== undefined && output.StorageRule !== null
|
|
5870
5870
|
? deserializeAws_restJson1StorageRuleType(output.StorageRule, context)
|
|
5871
5871
|
: undefined,
|
|
5872
|
-
StorageUtilizedInBytes:
|
|
5872
|
+
StorageUtilizedInBytes: smithy_client_1.expectLong(output.StorageUtilizedInBytes),
|
|
5873
5873
|
};
|
|
5874
5874
|
};
|
|
5875
5875
|
const deserializeMetadata = (output) => {
|