@aws-sdk/client-workdocs 3.296.0 → 3.298.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.
Files changed (109) hide show
  1. package/dist-cjs/commands/AbortDocumentVersionUploadCommand.js +1 -1
  2. package/dist-cjs/commands/CreateCustomMetadataCommand.js +1 -1
  3. package/dist-cjs/commands/CreateLabelsCommand.js +1 -1
  4. package/dist-cjs/commands/CreateNotificationSubscriptionCommand.js +2 -3
  5. package/dist-cjs/commands/DeactivateUserCommand.js +1 -1
  6. package/dist-cjs/commands/DeleteCommentCommand.js +1 -1
  7. package/dist-cjs/commands/DeleteCustomMetadataCommand.js +1 -1
  8. package/dist-cjs/commands/DeleteDocumentCommand.js +1 -1
  9. package/dist-cjs/commands/DeleteDocumentVersionCommand.js +1 -1
  10. package/dist-cjs/commands/DeleteFolderCommand.js +1 -1
  11. package/dist-cjs/commands/DeleteFolderContentsCommand.js +1 -1
  12. package/dist-cjs/commands/DeleteLabelsCommand.js +1 -1
  13. package/dist-cjs/commands/DeleteNotificationSubscriptionCommand.js +2 -3
  14. package/dist-cjs/commands/DeleteUserCommand.js +1 -1
  15. package/dist-cjs/commands/DescribeGroupsCommand.js +1 -1
  16. package/dist-cjs/commands/DescribeNotificationSubscriptionsCommand.js +2 -3
  17. package/dist-cjs/commands/DescribeResourcePermissionsCommand.js +1 -1
  18. package/dist-cjs/commands/RemoveAllResourcePermissionsCommand.js +1 -1
  19. package/dist-cjs/commands/RemoveResourcePermissionCommand.js +1 -1
  20. package/dist-cjs/commands/RestoreDocumentVersionsCommand.js +1 -1
  21. package/dist-cjs/commands/UpdateDocumentCommand.js +1 -1
  22. package/dist-cjs/commands/UpdateDocumentVersionCommand.js +1 -1
  23. package/dist-cjs/commands/UpdateFolderCommand.js +1 -1
  24. package/dist-cjs/models/models_0.js +2 -95
  25. package/dist-es/commands/AbortDocumentVersionUploadCommand.js +1 -1
  26. package/dist-es/commands/CreateCustomMetadataCommand.js +2 -2
  27. package/dist-es/commands/CreateLabelsCommand.js +2 -2
  28. package/dist-es/commands/CreateNotificationSubscriptionCommand.js +2 -3
  29. package/dist-es/commands/DeactivateUserCommand.js +1 -1
  30. package/dist-es/commands/DeleteCommentCommand.js +1 -1
  31. package/dist-es/commands/DeleteCustomMetadataCommand.js +2 -2
  32. package/dist-es/commands/DeleteDocumentCommand.js +1 -1
  33. package/dist-es/commands/DeleteDocumentVersionCommand.js +1 -1
  34. package/dist-es/commands/DeleteFolderCommand.js +1 -1
  35. package/dist-es/commands/DeleteFolderContentsCommand.js +1 -1
  36. package/dist-es/commands/DeleteLabelsCommand.js +2 -2
  37. package/dist-es/commands/DeleteNotificationSubscriptionCommand.js +2 -3
  38. package/dist-es/commands/DeleteUserCommand.js +1 -1
  39. package/dist-es/commands/DescribeGroupsCommand.js +2 -2
  40. package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js +2 -3
  41. package/dist-es/commands/DescribeResourcePermissionsCommand.js +2 -2
  42. package/dist-es/commands/RemoveAllResourcePermissionsCommand.js +1 -1
  43. package/dist-es/commands/RemoveResourcePermissionCommand.js +1 -1
  44. package/dist-es/commands/RestoreDocumentVersionsCommand.js +1 -1
  45. package/dist-es/commands/UpdateDocumentCommand.js +1 -1
  46. package/dist-es/commands/UpdateDocumentVersionCommand.js +1 -1
  47. package/dist-es/commands/UpdateFolderCommand.js +1 -1
  48. package/dist-es/models/models_0.js +0 -69
  49. package/dist-types/WorkDocs.d.ts +45 -0
  50. package/dist-types/WorkDocsClient.d.ts +24 -4
  51. package/dist-types/commands/AbortDocumentVersionUploadCommand.d.ts +16 -0
  52. package/dist-types/commands/ActivateUserCommand.d.ts +16 -0
  53. package/dist-types/commands/AddResourcePermissionsCommand.d.ts +16 -0
  54. package/dist-types/commands/CreateCommentCommand.d.ts +16 -0
  55. package/dist-types/commands/CreateCustomMetadataCommand.d.ts +16 -0
  56. package/dist-types/commands/CreateFolderCommand.d.ts +16 -0
  57. package/dist-types/commands/CreateLabelsCommand.d.ts +16 -0
  58. package/dist-types/commands/CreateNotificationSubscriptionCommand.d.ts +16 -0
  59. package/dist-types/commands/CreateUserCommand.d.ts +16 -0
  60. package/dist-types/commands/DeactivateUserCommand.d.ts +16 -0
  61. package/dist-types/commands/DeleteCommentCommand.d.ts +16 -0
  62. package/dist-types/commands/DeleteCustomMetadataCommand.d.ts +16 -0
  63. package/dist-types/commands/DeleteDocumentCommand.d.ts +16 -0
  64. package/dist-types/commands/DeleteDocumentVersionCommand.d.ts +16 -0
  65. package/dist-types/commands/DeleteFolderCommand.d.ts +16 -0
  66. package/dist-types/commands/DeleteFolderContentsCommand.d.ts +16 -0
  67. package/dist-types/commands/DeleteLabelsCommand.d.ts +16 -0
  68. package/dist-types/commands/DeleteNotificationSubscriptionCommand.d.ts +16 -0
  69. package/dist-types/commands/DeleteUserCommand.d.ts +16 -0
  70. package/dist-types/commands/DescribeActivitiesCommand.d.ts +16 -0
  71. package/dist-types/commands/DescribeCommentsCommand.d.ts +16 -0
  72. package/dist-types/commands/DescribeDocumentVersionsCommand.d.ts +16 -0
  73. package/dist-types/commands/DescribeFolderContentsCommand.d.ts +16 -0
  74. package/dist-types/commands/DescribeGroupsCommand.d.ts +16 -0
  75. package/dist-types/commands/DescribeNotificationSubscriptionsCommand.d.ts +16 -0
  76. package/dist-types/commands/DescribeResourcePermissionsCommand.d.ts +16 -0
  77. package/dist-types/commands/DescribeRootFoldersCommand.d.ts +16 -0
  78. package/dist-types/commands/DescribeUsersCommand.d.ts +16 -0
  79. package/dist-types/commands/GetCurrentUserCommand.d.ts +16 -0
  80. package/dist-types/commands/GetDocumentCommand.d.ts +16 -0
  81. package/dist-types/commands/GetDocumentPathCommand.d.ts +16 -0
  82. package/dist-types/commands/GetDocumentVersionCommand.d.ts +16 -0
  83. package/dist-types/commands/GetFolderCommand.d.ts +16 -0
  84. package/dist-types/commands/GetFolderPathCommand.d.ts +16 -0
  85. package/dist-types/commands/GetResourcesCommand.d.ts +16 -0
  86. package/dist-types/commands/InitiateDocumentVersionUploadCommand.d.ts +16 -0
  87. package/dist-types/commands/RemoveAllResourcePermissionsCommand.d.ts +16 -0
  88. package/dist-types/commands/RemoveResourcePermissionCommand.d.ts +16 -0
  89. package/dist-types/commands/RestoreDocumentVersionsCommand.d.ts +16 -0
  90. package/dist-types/commands/SearchResourcesCommand.d.ts +16 -0
  91. package/dist-types/commands/UpdateDocumentCommand.d.ts +16 -0
  92. package/dist-types/commands/UpdateDocumentVersionCommand.d.ts +16 -0
  93. package/dist-types/commands/UpdateFolderCommand.d.ts +16 -0
  94. package/dist-types/commands/UpdateUserCommand.d.ts +16 -0
  95. package/dist-types/models/WorkDocsServiceException.d.ts +2 -0
  96. package/dist-types/models/models_0.d.ts +380 -92
  97. package/dist-types/pagination/DescribeActivitiesPaginator.d.ts +3 -0
  98. package/dist-types/pagination/DescribeCommentsPaginator.d.ts +3 -0
  99. package/dist-types/pagination/DescribeDocumentVersionsPaginator.d.ts +3 -0
  100. package/dist-types/pagination/DescribeFolderContentsPaginator.d.ts +3 -0
  101. package/dist-types/pagination/DescribeGroupsPaginator.d.ts +3 -0
  102. package/dist-types/pagination/DescribeNotificationSubscriptionsPaginator.d.ts +3 -0
  103. package/dist-types/pagination/DescribeResourcePermissionsPaginator.d.ts +3 -0
  104. package/dist-types/pagination/DescribeRootFoldersPaginator.d.ts +3 -0
  105. package/dist-types/pagination/DescribeUsersPaginator.d.ts +3 -0
  106. package/dist-types/pagination/Interfaces.d.ts +3 -0
  107. package/dist-types/pagination/SearchResourcesPaginator.d.ts +3 -0
  108. package/dist-types/ts3.4/models/models_0.d.ts +0 -63
  109. package/package.json +4 -3
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteLabelsRequestFilterSensitiveLog, DeleteLabelsResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { DeleteLabelsRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteLabelsCommand, serializeAws_restJson1DeleteLabelsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DeleteLabelsCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -28,7 +28,7 @@ export class DeleteLabelsCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: DeleteLabelsRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: DeleteLabelsResponseFilterSensitiveLog,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteNotificationSubscriptionRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteNotificationSubscriptionCommand, serializeAws_restJson1DeleteNotificationSubscriptionCommand, } from "../protocols/Aws_restJson1";
6
5
  export class DeleteNotificationSubscriptionCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class DeleteNotificationSubscriptionCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: DeleteNotificationSubscriptionRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -28,7 +28,7 @@ export class DeleteUserCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: DeleteUserRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeGroupsRequestFilterSensitiveLog, DescribeGroupsResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { DescribeGroupsRequestFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DescribeGroupsCommand, serializeAws_restJson1DescribeGroupsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DescribeGroupsCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -28,7 +28,7 @@ export class DescribeGroupsCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: DescribeGroupsRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: DescribeGroupsResponseFilterSensitiveLog,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeNotificationSubscriptionsRequestFilterSensitiveLog, DescribeNotificationSubscriptionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeNotificationSubscriptionsCommand, serializeAws_restJson1DescribeNotificationSubscriptionsCommand, } from "../protocols/Aws_restJson1";
6
5
  export class DescribeNotificationSubscriptionsCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class DescribeNotificationSubscriptionsCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: DescribeNotificationSubscriptionsRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: DescribeNotificationSubscriptionsResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeResourcePermissionsRequestFilterSensitiveLog, DescribeResourcePermissionsResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { DescribeResourcePermissionsRequestFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DescribeResourcePermissionsCommand, serializeAws_restJson1DescribeResourcePermissionsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DescribeResourcePermissionsCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -28,7 +28,7 @@ export class DescribeResourcePermissionsCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: DescribeResourcePermissionsRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: DescribeResourcePermissionsResponseFilterSensitiveLog,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -28,7 +28,7 @@ export class RemoveAllResourcePermissionsCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: RemoveAllResourcePermissionsRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -28,7 +28,7 @@ export class RemoveResourcePermissionCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: RemoveResourcePermissionRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -28,7 +28,7 @@ export class RestoreDocumentVersionsCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: RestoreDocumentVersionsRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -28,7 +28,7 @@ export class UpdateDocumentCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: UpdateDocumentRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -28,7 +28,7 @@ export class UpdateDocumentVersionCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: UpdateDocumentVersionRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -28,7 +28,7 @@ export class UpdateFolderCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: UpdateFolderRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -614,12 +614,6 @@ export const ActivateUserRequestFilterSensitiveLog = (obj) => ({
614
614
  ...obj,
615
615
  ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
616
616
  });
617
- export const StorageRuleTypeFilterSensitiveLog = (obj) => ({
618
- ...obj,
619
- });
620
- export const UserStorageMetadataFilterSensitiveLog = (obj) => ({
621
- ...obj,
622
- });
623
617
  export const UserFilterSensitiveLog = (obj) => ({
624
618
  ...obj,
625
619
  ...(obj.Username && { Username: SENSITIVE_STRING }),
@@ -648,9 +642,6 @@ export const ResourceMetadataFilterSensitiveLog = (obj) => ({
648
642
  ...(obj.OriginalName && { OriginalName: SENSITIVE_STRING }),
649
643
  ...(obj.Owner && { Owner: UserMetadataFilterSensitiveLog(obj.Owner) }),
650
644
  });
651
- export const GroupMetadataFilterSensitiveLog = (obj) => ({
652
- ...obj,
653
- });
654
645
  export const ParticipantsFilterSensitiveLog = (obj) => ({
655
646
  ...obj,
656
647
  ...(obj.Users && { Users: obj.Users.map((item) => UserMetadataFilterSensitiveLog(item)) }),
@@ -667,9 +658,6 @@ export const NotificationOptionsFilterSensitiveLog = (obj) => ({
667
658
  ...obj,
668
659
  ...(obj.EmailMessage && { EmailMessage: SENSITIVE_STRING }),
669
660
  });
670
- export const SharePrincipalFilterSensitiveLog = (obj) => ({
671
- ...obj,
672
- });
673
661
  export const AddResourcePermissionsRequestFilterSensitiveLog = (obj) => ({
674
662
  ...obj,
675
663
  ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
@@ -703,9 +691,6 @@ export const CreateCustomMetadataRequestFilterSensitiveLog = (obj) => ({
703
691
  ...obj,
704
692
  ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
705
693
  });
706
- export const CreateCustomMetadataResponseFilterSensitiveLog = (obj) => ({
707
- ...obj,
708
- });
709
694
  export const CreateFolderRequestFilterSensitiveLog = (obj) => ({
710
695
  ...obj,
711
696
  ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
@@ -723,18 +708,6 @@ export const CreateLabelsRequestFilterSensitiveLog = (obj) => ({
723
708
  ...obj,
724
709
  ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
725
710
  });
726
- export const CreateLabelsResponseFilterSensitiveLog = (obj) => ({
727
- ...obj,
728
- });
729
- export const CreateNotificationSubscriptionRequestFilterSensitiveLog = (obj) => ({
730
- ...obj,
731
- });
732
- export const SubscriptionFilterSensitiveLog = (obj) => ({
733
- ...obj,
734
- });
735
- export const CreateNotificationSubscriptionResponseFilterSensitiveLog = (obj) => ({
736
- ...obj,
737
- });
738
711
  export const CreateUserRequestFilterSensitiveLog = (obj) => ({
739
712
  ...obj,
740
713
  ...(obj.Username && { Username: SENSITIVE_STRING }),
@@ -760,9 +733,6 @@ export const DeleteCustomMetadataRequestFilterSensitiveLog = (obj) => ({
760
733
  ...obj,
761
734
  ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
762
735
  });
763
- export const DeleteCustomMetadataResponseFilterSensitiveLog = (obj) => ({
764
- ...obj,
765
- });
766
736
  export const DeleteDocumentRequestFilterSensitiveLog = (obj) => ({
767
737
  ...obj,
768
738
  ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
@@ -783,12 +753,6 @@ export const DeleteLabelsRequestFilterSensitiveLog = (obj) => ({
783
753
  ...obj,
784
754
  ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
785
755
  });
786
- export const DeleteLabelsResponseFilterSensitiveLog = (obj) => ({
787
- ...obj,
788
- });
789
- export const DeleteNotificationSubscriptionRequestFilterSensitiveLog = (obj) => ({
790
- ...obj,
791
- });
792
756
  export const DeleteUserRequestFilterSensitiveLog = (obj) => ({
793
757
  ...obj,
794
758
  ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
@@ -845,28 +809,10 @@ export const DescribeGroupsRequestFilterSensitiveLog = (obj) => ({
845
809
  ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
846
810
  ...(obj.SearchQuery && { SearchQuery: SENSITIVE_STRING }),
847
811
  });
848
- export const DescribeGroupsResponseFilterSensitiveLog = (obj) => ({
849
- ...obj,
850
- });
851
- export const DescribeNotificationSubscriptionsRequestFilterSensitiveLog = (obj) => ({
852
- ...obj,
853
- });
854
- export const DescribeNotificationSubscriptionsResponseFilterSensitiveLog = (obj) => ({
855
- ...obj,
856
- });
857
812
  export const DescribeResourcePermissionsRequestFilterSensitiveLog = (obj) => ({
858
813
  ...obj,
859
814
  ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
860
815
  });
861
- export const PermissionInfoFilterSensitiveLog = (obj) => ({
862
- ...obj,
863
- });
864
- export const PrincipalFilterSensitiveLog = (obj) => ({
865
- ...obj,
866
- });
867
- export const DescribeResourcePermissionsResponseFilterSensitiveLog = (obj) => ({
868
- ...obj,
869
- });
870
816
  export const DescribeRootFoldersRequestFilterSensitiveLog = (obj) => ({
871
817
  ...obj,
872
818
  ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
@@ -975,21 +921,6 @@ export const RestoreDocumentVersionsRequestFilterSensitiveLog = (obj) => ({
975
921
  ...obj,
976
922
  ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
977
923
  });
978
- export const DateRangeTypeFilterSensitiveLog = (obj) => ({
979
- ...obj,
980
- });
981
- export const SearchPrincipalTypeFilterSensitiveLog = (obj) => ({
982
- ...obj,
983
- });
984
- export const LongRangeTypeFilterSensitiveLog = (obj) => ({
985
- ...obj,
986
- });
987
- export const FiltersFilterSensitiveLog = (obj) => ({
988
- ...obj,
989
- });
990
- export const SearchSortResultFilterSensitiveLog = (obj) => ({
991
- ...obj,
992
- });
993
924
  export const SearchResourcesRequestFilterSensitiveLog = (obj) => ({
994
925
  ...obj,
995
926
  ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
@@ -45,6 +45,7 @@ import { UpdateFolderCommandInput, UpdateFolderCommandOutput } from "./commands/
45
45
  import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
46
46
  import { WorkDocsClient } from "./WorkDocsClient";
47
47
  /**
48
+ * @public
48
49
  * <p>The Amazon WorkDocs API is designed for the following use cases:</p>
49
50
  * <ul>
50
51
  * <li>
@@ -107,6 +108,7 @@ import { WorkDocsClient } from "./WorkDocsClient";
107
108
  */
108
109
  export declare class WorkDocs extends WorkDocsClient {
109
110
  /**
111
+ * @public
110
112
  * <p>Aborts the upload of the specified document version that was previously initiated
111
113
  * by <a>InitiateDocumentVersionUpload</a>. The client should make this call
112
114
  * only when it no longer intends to upload the document version, or fails to do
@@ -116,6 +118,7 @@ export declare class WorkDocs extends WorkDocsClient {
116
118
  abortDocumentVersionUpload(args: AbortDocumentVersionUploadCommandInput, cb: (err: any, data?: AbortDocumentVersionUploadCommandOutput) => void): void;
117
119
  abortDocumentVersionUpload(args: AbortDocumentVersionUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AbortDocumentVersionUploadCommandOutput) => void): void;
118
120
  /**
121
+ * @public
119
122
  * <p>Activates the specified user. Only active users can access Amazon
120
123
  * WorkDocs.</p>
121
124
  */
@@ -123,6 +126,7 @@ export declare class WorkDocs extends WorkDocsClient {
123
126
  activateUser(args: ActivateUserCommandInput, cb: (err: any, data?: ActivateUserCommandOutput) => void): void;
124
127
  activateUser(args: ActivateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ActivateUserCommandOutput) => void): void;
125
128
  /**
129
+ * @public
126
130
  * <p>Creates a set of permissions for the specified folder or document. The resource
127
131
  * permissions are overwritten if the principals already have different
128
132
  * permissions.</p>
@@ -131,12 +135,14 @@ export declare class WorkDocs extends WorkDocsClient {
131
135
  addResourcePermissions(args: AddResourcePermissionsCommandInput, cb: (err: any, data?: AddResourcePermissionsCommandOutput) => void): void;
132
136
  addResourcePermissions(args: AddResourcePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddResourcePermissionsCommandOutput) => void): void;
133
137
  /**
138
+ * @public
134
139
  * <p>Adds a new comment to the specified document version.</p>
135
140
  */
136
141
  createComment(args: CreateCommentCommandInput, options?: __HttpHandlerOptions): Promise<CreateCommentCommandOutput>;
137
142
  createComment(args: CreateCommentCommandInput, cb: (err: any, data?: CreateCommentCommandOutput) => void): void;
138
143
  createComment(args: CreateCommentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCommentCommandOutput) => void): void;
139
144
  /**
145
+ * @public
140
146
  * <p>Adds one or more custom properties to the specified resource (a folder, document,
141
147
  * or version).</p>
142
148
  */
@@ -144,12 +150,14 @@ export declare class WorkDocs extends WorkDocsClient {
144
150
  createCustomMetadata(args: CreateCustomMetadataCommandInput, cb: (err: any, data?: CreateCustomMetadataCommandOutput) => void): void;
145
151
  createCustomMetadata(args: CreateCustomMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCustomMetadataCommandOutput) => void): void;
146
152
  /**
153
+ * @public
147
154
  * <p>Creates a folder with the specified name and parent folder.</p>
148
155
  */
149
156
  createFolder(args: CreateFolderCommandInput, options?: __HttpHandlerOptions): Promise<CreateFolderCommandOutput>;
150
157
  createFolder(args: CreateFolderCommandInput, cb: (err: any, data?: CreateFolderCommandOutput) => void): void;
151
158
  createFolder(args: CreateFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFolderCommandOutput) => void): void;
152
159
  /**
160
+ * @public
153
161
  * <p>Adds the specified list of labels to the given resource (a document or
154
162
  * folder)</p>
155
163
  */
@@ -157,6 +165,7 @@ export declare class WorkDocs extends WorkDocsClient {
157
165
  createLabels(args: CreateLabelsCommandInput, cb: (err: any, data?: CreateLabelsCommandOutput) => void): void;
158
166
  createLabels(args: CreateLabelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLabelsCommandOutput) => void): void;
159
167
  /**
168
+ * @public
160
169
  * <p>Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives a
161
170
  * confirmation message, and must confirm the subscription.</p>
162
171
  * <p>For more information, see <a href="https://docs.aws.amazon.com/workdocs/latest/developerguide/manage-notifications.html">Setting up notifications for an IAM user or role</a> in the <i>Amazon WorkDocs Developer
@@ -166,6 +175,7 @@ export declare class WorkDocs extends WorkDocsClient {
166
175
  createNotificationSubscription(args: CreateNotificationSubscriptionCommandInput, cb: (err: any, data?: CreateNotificationSubscriptionCommandOutput) => void): void;
167
176
  createNotificationSubscription(args: CreateNotificationSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNotificationSubscriptionCommandOutput) => void): void;
168
177
  /**
178
+ * @public
169
179
  * <p>Creates a user in a Simple AD or Microsoft AD directory. The status of a newly
170
180
  * created user is "ACTIVE". New users can access Amazon WorkDocs.</p>
171
181
  */
@@ -173,6 +183,7 @@ export declare class WorkDocs extends WorkDocsClient {
173
183
  createUser(args: CreateUserCommandInput, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
174
184
  createUser(args: CreateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
175
185
  /**
186
+ * @public
176
187
  * <p>Deactivates the specified user, which revokes the user's access to Amazon
177
188
  * WorkDocs.</p>
178
189
  */
@@ -180,54 +191,63 @@ export declare class WorkDocs extends WorkDocsClient {
180
191
  deactivateUser(args: DeactivateUserCommandInput, cb: (err: any, data?: DeactivateUserCommandOutput) => void): void;
181
192
  deactivateUser(args: DeactivateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeactivateUserCommandOutput) => void): void;
182
193
  /**
194
+ * @public
183
195
  * <p>Deletes the specified comment from the document version.</p>
184
196
  */
185
197
  deleteComment(args: DeleteCommentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCommentCommandOutput>;
186
198
  deleteComment(args: DeleteCommentCommandInput, cb: (err: any, data?: DeleteCommentCommandOutput) => void): void;
187
199
  deleteComment(args: DeleteCommentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCommentCommandOutput) => void): void;
188
200
  /**
201
+ * @public
189
202
  * <p>Deletes custom metadata from the specified resource.</p>
190
203
  */
191
204
  deleteCustomMetadata(args: DeleteCustomMetadataCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCustomMetadataCommandOutput>;
192
205
  deleteCustomMetadata(args: DeleteCustomMetadataCommandInput, cb: (err: any, data?: DeleteCustomMetadataCommandOutput) => void): void;
193
206
  deleteCustomMetadata(args: DeleteCustomMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCustomMetadataCommandOutput) => void): void;
194
207
  /**
208
+ * @public
195
209
  * <p>Permanently deletes the specified document and its associated metadata.</p>
196
210
  */
197
211
  deleteDocument(args: DeleteDocumentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDocumentCommandOutput>;
198
212
  deleteDocument(args: DeleteDocumentCommandInput, cb: (err: any, data?: DeleteDocumentCommandOutput) => void): void;
199
213
  deleteDocument(args: DeleteDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDocumentCommandOutput) => void): void;
200
214
  /**
215
+ * @public
201
216
  * <p>Deletes a specific version of a document.</p>
202
217
  */
203
218
  deleteDocumentVersion(args: DeleteDocumentVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDocumentVersionCommandOutput>;
204
219
  deleteDocumentVersion(args: DeleteDocumentVersionCommandInput, cb: (err: any, data?: DeleteDocumentVersionCommandOutput) => void): void;
205
220
  deleteDocumentVersion(args: DeleteDocumentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDocumentVersionCommandOutput) => void): void;
206
221
  /**
222
+ * @public
207
223
  * <p>Permanently deletes the specified folder and its contents.</p>
208
224
  */
209
225
  deleteFolder(args: DeleteFolderCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFolderCommandOutput>;
210
226
  deleteFolder(args: DeleteFolderCommandInput, cb: (err: any, data?: DeleteFolderCommandOutput) => void): void;
211
227
  deleteFolder(args: DeleteFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFolderCommandOutput) => void): void;
212
228
  /**
229
+ * @public
213
230
  * <p>Deletes the contents of the specified folder.</p>
214
231
  */
215
232
  deleteFolderContents(args: DeleteFolderContentsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFolderContentsCommandOutput>;
216
233
  deleteFolderContents(args: DeleteFolderContentsCommandInput, cb: (err: any, data?: DeleteFolderContentsCommandOutput) => void): void;
217
234
  deleteFolderContents(args: DeleteFolderContentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFolderContentsCommandOutput) => void): void;
218
235
  /**
236
+ * @public
219
237
  * <p>Deletes the specified list of labels from a resource.</p>
220
238
  */
221
239
  deleteLabels(args: DeleteLabelsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLabelsCommandOutput>;
222
240
  deleteLabels(args: DeleteLabelsCommandInput, cb: (err: any, data?: DeleteLabelsCommandOutput) => void): void;
223
241
  deleteLabels(args: DeleteLabelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLabelsCommandOutput) => void): void;
224
242
  /**
243
+ * @public
225
244
  * <p>Deletes the specified subscription from the specified organization.</p>
226
245
  */
227
246
  deleteNotificationSubscription(args: DeleteNotificationSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNotificationSubscriptionCommandOutput>;
228
247
  deleteNotificationSubscription(args: DeleteNotificationSubscriptionCommandInput, cb: (err: any, data?: DeleteNotificationSubscriptionCommandOutput) => void): void;
229
248
  deleteNotificationSubscription(args: DeleteNotificationSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNotificationSubscriptionCommandOutput) => void): void;
230
249
  /**
250
+ * @public
231
251
  * <p>Deletes the specified user from a Simple AD or Microsoft AD directory.</p>
232
252
  * <important>
233
253
  * <p>Deleting a user immediately and permanently deletes all content in that user's folder structure. Site retention policies do NOT apply to this type of deletion.</p>
@@ -237,18 +257,21 @@ export declare class WorkDocs extends WorkDocsClient {
237
257
  deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
238
258
  deleteUser(args: DeleteUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
239
259
  /**
260
+ * @public
240
261
  * <p>Describes the user activities in a specified time period.</p>
241
262
  */
242
263
  describeActivities(args: DescribeActivitiesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeActivitiesCommandOutput>;
243
264
  describeActivities(args: DescribeActivitiesCommandInput, cb: (err: any, data?: DescribeActivitiesCommandOutput) => void): void;
244
265
  describeActivities(args: DescribeActivitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeActivitiesCommandOutput) => void): void;
245
266
  /**
267
+ * @public
246
268
  * <p>List all the comments for the specified document version.</p>
247
269
  */
248
270
  describeComments(args: DescribeCommentsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCommentsCommandOutput>;
249
271
  describeComments(args: DescribeCommentsCommandInput, cb: (err: any, data?: DescribeCommentsCommandOutput) => void): void;
250
272
  describeComments(args: DescribeCommentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCommentsCommandOutput) => void): void;
251
273
  /**
274
+ * @public
252
275
  * <p>Retrieves the document versions for the specified document.</p>
253
276
  * <p>By default, only active versions are returned.</p>
254
277
  */
@@ -256,6 +279,7 @@ export declare class WorkDocs extends WorkDocsClient {
256
279
  describeDocumentVersions(args: DescribeDocumentVersionsCommandInput, cb: (err: any, data?: DescribeDocumentVersionsCommandOutput) => void): void;
257
280
  describeDocumentVersions(args: DescribeDocumentVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDocumentVersionsCommandOutput) => void): void;
258
281
  /**
282
+ * @public
259
283
  * <p>Describes the contents of the specified folder, including its documents and
260
284
  * subfolders.</p>
261
285
  * <p>By default, Amazon WorkDocs returns the first 100 active document and folder
@@ -267,6 +291,7 @@ export declare class WorkDocs extends WorkDocsClient {
267
291
  describeFolderContents(args: DescribeFolderContentsCommandInput, cb: (err: any, data?: DescribeFolderContentsCommandOutput) => void): void;
268
292
  describeFolderContents(args: DescribeFolderContentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFolderContentsCommandOutput) => void): void;
269
293
  /**
294
+ * @public
270
295
  * <p>Describes the groups specified by the query. Groups are defined by the underlying
271
296
  * Active Directory.</p>
272
297
  */
@@ -274,18 +299,21 @@ export declare class WorkDocs extends WorkDocsClient {
274
299
  describeGroups(args: DescribeGroupsCommandInput, cb: (err: any, data?: DescribeGroupsCommandOutput) => void): void;
275
300
  describeGroups(args: DescribeGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeGroupsCommandOutput) => void): void;
276
301
  /**
302
+ * @public
277
303
  * <p>Lists the specified notification subscriptions.</p>
278
304
  */
279
305
  describeNotificationSubscriptions(args: DescribeNotificationSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNotificationSubscriptionsCommandOutput>;
280
306
  describeNotificationSubscriptions(args: DescribeNotificationSubscriptionsCommandInput, cb: (err: any, data?: DescribeNotificationSubscriptionsCommandOutput) => void): void;
281
307
  describeNotificationSubscriptions(args: DescribeNotificationSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNotificationSubscriptionsCommandOutput) => void): void;
282
308
  /**
309
+ * @public
283
310
  * <p>Describes the permissions of a specified resource.</p>
284
311
  */
285
312
  describeResourcePermissions(args: DescribeResourcePermissionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeResourcePermissionsCommandOutput>;
286
313
  describeResourcePermissions(args: DescribeResourcePermissionsCommandInput, cb: (err: any, data?: DescribeResourcePermissionsCommandOutput) => void): void;
287
314
  describeResourcePermissions(args: DescribeResourcePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResourcePermissionsCommandOutput) => void): void;
288
315
  /**
316
+ * @public
289
317
  * <p>Describes the current user's special folders; the <code>RootFolder</code> and the
290
318
  * <code>RecycleBin</code>. <code>RootFolder</code> is the root of user's files and
291
319
  * folders and <code>RecycleBin</code> is the root of recycled items. This is not a valid
@@ -300,6 +328,7 @@ export declare class WorkDocs extends WorkDocsClient {
300
328
  describeRootFolders(args: DescribeRootFoldersCommandInput, cb: (err: any, data?: DescribeRootFoldersCommandOutput) => void): void;
301
329
  describeRootFolders(args: DescribeRootFoldersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRootFoldersCommandOutput) => void): void;
302
330
  /**
331
+ * @public
303
332
  * <p>Describes the specified users. You can describe all users or filter the results
304
333
  * (for example, by status or organization).</p>
305
334
  * <p>By default, Amazon WorkDocs returns the first 24 active or pending users. If there
@@ -310,6 +339,7 @@ export declare class WorkDocs extends WorkDocsClient {
310
339
  describeUsers(args: DescribeUsersCommandInput, cb: (err: any, data?: DescribeUsersCommandOutput) => void): void;
311
340
  describeUsers(args: DescribeUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeUsersCommandOutput) => void): void;
312
341
  /**
342
+ * @public
313
343
  * <p>Retrieves details of the current user for whom the authentication token was
314
344
  * generated. This is not a valid action for SigV4 (administrative API) clients.</p>
315
345
  * <p>This action requires an authentication token. To get an authentication token,
@@ -322,12 +352,14 @@ export declare class WorkDocs extends WorkDocsClient {
322
352
  getCurrentUser(args: GetCurrentUserCommandInput, cb: (err: any, data?: GetCurrentUserCommandOutput) => void): void;
323
353
  getCurrentUser(args: GetCurrentUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCurrentUserCommandOutput) => void): void;
324
354
  /**
355
+ * @public
325
356
  * <p>Retrieves details of a document.</p>
326
357
  */
327
358
  getDocument(args: GetDocumentCommandInput, options?: __HttpHandlerOptions): Promise<GetDocumentCommandOutput>;
328
359
  getDocument(args: GetDocumentCommandInput, cb: (err: any, data?: GetDocumentCommandOutput) => void): void;
329
360
  getDocument(args: GetDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDocumentCommandOutput) => void): void;
330
361
  /**
362
+ * @public
331
363
  * <p>Retrieves the path information (the hierarchy from the root folder) for the
332
364
  * requested document.</p>
333
365
  * <p>By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the
@@ -339,18 +371,21 @@ export declare class WorkDocs extends WorkDocsClient {
339
371
  getDocumentPath(args: GetDocumentPathCommandInput, cb: (err: any, data?: GetDocumentPathCommandOutput) => void): void;
340
372
  getDocumentPath(args: GetDocumentPathCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDocumentPathCommandOutput) => void): void;
341
373
  /**
374
+ * @public
342
375
  * <p>Retrieves version metadata for the specified document.</p>
343
376
  */
344
377
  getDocumentVersion(args: GetDocumentVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetDocumentVersionCommandOutput>;
345
378
  getDocumentVersion(args: GetDocumentVersionCommandInput, cb: (err: any, data?: GetDocumentVersionCommandOutput) => void): void;
346
379
  getDocumentVersion(args: GetDocumentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDocumentVersionCommandOutput) => void): void;
347
380
  /**
381
+ * @public
348
382
  * <p>Retrieves the metadata of the specified folder.</p>
349
383
  */
350
384
  getFolder(args: GetFolderCommandInput, options?: __HttpHandlerOptions): Promise<GetFolderCommandOutput>;
351
385
  getFolder(args: GetFolderCommandInput, cb: (err: any, data?: GetFolderCommandOutput) => void): void;
352
386
  getFolder(args: GetFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFolderCommandOutput) => void): void;
353
387
  /**
388
+ * @public
354
389
  * <p>Retrieves the path information (the hierarchy from the root folder) for the
355
390
  * specified folder.</p>
356
391
  * <p>By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the
@@ -362,6 +397,7 @@ export declare class WorkDocs extends WorkDocsClient {
362
397
  getFolderPath(args: GetFolderPathCommandInput, cb: (err: any, data?: GetFolderPathCommandOutput) => void): void;
363
398
  getFolderPath(args: GetFolderPathCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFolderPathCommandOutput) => void): void;
364
399
  /**
400
+ * @public
365
401
  * <p>Retrieves a collection of resources, including folders and documents. The only
366
402
  * <code>CollectionType</code> supported is <code>SHARED_WITH_ME</code>.</p>
367
403
  */
@@ -369,6 +405,7 @@ export declare class WorkDocs extends WorkDocsClient {
369
405
  getResources(args: GetResourcesCommandInput, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
370
406
  getResources(args: GetResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
371
407
  /**
408
+ * @public
372
409
  * <p>Creates a new document object and version object.</p>
373
410
  * <p>The client specifies the parent folder ID and name of the document to upload. The
374
411
  * ID is optionally specified when creating a new version of an existing document. This is
@@ -380,12 +417,14 @@ export declare class WorkDocs extends WorkDocsClient {
380
417
  initiateDocumentVersionUpload(args: InitiateDocumentVersionUploadCommandInput, cb: (err: any, data?: InitiateDocumentVersionUploadCommandOutput) => void): void;
381
418
  initiateDocumentVersionUpload(args: InitiateDocumentVersionUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InitiateDocumentVersionUploadCommandOutput) => void): void;
382
419
  /**
420
+ * @public
383
421
  * <p>Removes all the permissions from the specified resource.</p>
384
422
  */
385
423
  removeAllResourcePermissions(args: RemoveAllResourcePermissionsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveAllResourcePermissionsCommandOutput>;
386
424
  removeAllResourcePermissions(args: RemoveAllResourcePermissionsCommandInput, cb: (err: any, data?: RemoveAllResourcePermissionsCommandOutput) => void): void;
387
425
  removeAllResourcePermissions(args: RemoveAllResourcePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveAllResourcePermissionsCommandOutput) => void): void;
388
426
  /**
427
+ * @public
389
428
  * <p>Removes the permission for the specified principal from the specified
390
429
  * resource.</p>
391
430
  */
@@ -393,18 +432,21 @@ export declare class WorkDocs extends WorkDocsClient {
393
432
  removeResourcePermission(args: RemoveResourcePermissionCommandInput, cb: (err: any, data?: RemoveResourcePermissionCommandOutput) => void): void;
394
433
  removeResourcePermission(args: RemoveResourcePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveResourcePermissionCommandOutput) => void): void;
395
434
  /**
435
+ * @public
396
436
  * <p>Recovers a deleted version of an Amazon WorkDocs document.</p>
397
437
  */
398
438
  restoreDocumentVersions(args: RestoreDocumentVersionsCommandInput, options?: __HttpHandlerOptions): Promise<RestoreDocumentVersionsCommandOutput>;
399
439
  restoreDocumentVersions(args: RestoreDocumentVersionsCommandInput, cb: (err: any, data?: RestoreDocumentVersionsCommandOutput) => void): void;
400
440
  restoreDocumentVersions(args: RestoreDocumentVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreDocumentVersionsCommandOutput) => void): void;
401
441
  /**
442
+ * @public
402
443
  * <p>Searches metadata and the content of folders, documents, document versions, and comments.</p>
403
444
  */
404
445
  searchResources(args: SearchResourcesCommandInput, options?: __HttpHandlerOptions): Promise<SearchResourcesCommandOutput>;
405
446
  searchResources(args: SearchResourcesCommandInput, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
406
447
  searchResources(args: SearchResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
407
448
  /**
449
+ * @public
408
450
  * <p>Updates the specified attributes of a document. The user must have access to both
409
451
  * the document and its parent folder, if applicable.</p>
410
452
  */
@@ -412,6 +454,7 @@ export declare class WorkDocs extends WorkDocsClient {
412
454
  updateDocument(args: UpdateDocumentCommandInput, cb: (err: any, data?: UpdateDocumentCommandOutput) => void): void;
413
455
  updateDocument(args: UpdateDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDocumentCommandOutput) => void): void;
414
456
  /**
457
+ * @public
415
458
  * <p>Changes the status of the document version to ACTIVE. </p>
416
459
  * <p>Amazon WorkDocs also sets its document container to ACTIVE. This is the last step
417
460
  * in a document upload, after the client uploads the document to an S3-presigned URL
@@ -421,6 +464,7 @@ export declare class WorkDocs extends WorkDocsClient {
421
464
  updateDocumentVersion(args: UpdateDocumentVersionCommandInput, cb: (err: any, data?: UpdateDocumentVersionCommandOutput) => void): void;
422
465
  updateDocumentVersion(args: UpdateDocumentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDocumentVersionCommandOutput) => void): void;
423
466
  /**
467
+ * @public
424
468
  * <p>Updates the specified attributes of the specified folder. The user must have access
425
469
  * to both the folder and its parent folder, if applicable.</p>
426
470
  */
@@ -428,6 +472,7 @@ export declare class WorkDocs extends WorkDocsClient {
428
472
  updateFolder(args: UpdateFolderCommandInput, cb: (err: any, data?: UpdateFolderCommandOutput) => void): void;
429
473
  updateFolder(args: UpdateFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFolderCommandOutput) => void): void;
430
474
  /**
475
+ * @public
431
476
  * <p>Updates the specified attributes of the specified user, and grants or revokes
432
477
  * administrative privileges to the Amazon WorkDocs site.</p>
433
478
  */