@aws-sdk/client-workdocs 3.32.0 → 3.36.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 +44 -0
- package/{dist/cjs → dist-cjs}/WorkDocs.js +1 -2
- package/{dist/cjs → dist-cjs}/WorkDocsClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/AbortDocumentVersionUploadCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ActivateUserCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AddResourcePermissionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateCommentCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateCustomMetadataCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateFolderCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateLabelsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateNotificationSubscriptionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateUserCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeactivateUserCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteCommentCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteCustomMetadataCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteDocumentCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteFolderCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteFolderContentsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteLabelsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteNotificationSubscriptionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteUserCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeActivitiesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeCommentsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeDocumentVersionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeFolderContentsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeGroupsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeNotificationSubscriptionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeResourcePermissionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeRootFoldersCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeUsersCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetCurrentUserCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetDocumentCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetDocumentPathCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetDocumentVersionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetFolderCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetFolderPathCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetResourcesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/InitiateDocumentVersionUploadCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RemoveAllResourcePermissionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RemoveResourcePermissionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateDocumentCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateDocumentVersionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateFolderCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateUserCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/DescribeDocumentVersionsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/DescribeFolderContentsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/DescribeUsersPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +9 -10
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/WorkDocs.js +2 -38
- package/dist-es/WorkDocsClient.js +37 -0
- package/{dist/es → dist-es}/commands/AbortDocumentVersionUploadCommand.js +4 -33
- package/{dist/es → dist-es}/commands/ActivateUserCommand.js +4 -31
- package/{dist/es → dist-es}/commands/AddResourcePermissionsCommand.js +4 -32
- package/{dist/es → dist-es}/commands/CreateCommentCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateCustomMetadataCommand.js +4 -31
- package/{dist/es → dist-es}/commands/CreateFolderCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateLabelsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/CreateNotificationSubscriptionCommand.js +4 -34
- package/{dist/es → dist-es}/commands/CreateUserCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeactivateUserCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteCommentCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteCustomMetadataCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteDocumentCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteFolderCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteFolderContentsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteLabelsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteNotificationSubscriptionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteUserCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeActivitiesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeCommentsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeDocumentVersionsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DescribeFolderContentsCommand.js +4 -35
- package/{dist/es → dist-es}/commands/DescribeGroupsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DescribeNotificationSubscriptionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeResourcePermissionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeRootFoldersCommand.js +4 -38
- package/{dist/es → dist-es}/commands/DescribeUsersCommand.js +4 -34
- package/{dist/es → dist-es}/commands/GetCurrentUserCommand.js +4 -36
- package/{dist/es → dist-es}/commands/GetDocumentCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetDocumentPathCommand.js +4 -35
- package/{dist/es → dist-es}/commands/GetDocumentVersionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetFolderCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetFolderPathCommand.js +4 -35
- package/{dist/es → dist-es}/commands/GetResourcesCommand.js +4 -31
- package/{dist/es → dist-es}/commands/InitiateDocumentVersionUploadCommand.js +4 -35
- package/{dist/es → dist-es}/commands/RemoveAllResourcePermissionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/RemoveResourcePermissionCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UpdateDocumentCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UpdateDocumentVersionCommand.js +4 -33
- package/{dist/es → dist-es}/commands/UpdateFolderCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UpdateUserCommand.js +4 -31
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -349
- package/{dist/es → dist-es}/pagination/DescribeDocumentVersionsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/DescribeFolderContentsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/DescribeUsersPaginator.js +17 -30
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1398 -1404
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/WorkDocs.d.ts +2 -2
- package/{dist/types → dist-types}/WorkDocsClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AbortDocumentVersionUploadCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ActivateUserCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AddResourcePermissionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateCommentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateCustomMetadataCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateFolderCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateLabelsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateNotificationSubscriptionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateUserCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeactivateUserCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteCommentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteCustomMetadataCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteDocumentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteFolderCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteFolderContentsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteLabelsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteNotificationSubscriptionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteUserCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeActivitiesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeCommentsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeDocumentVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeFolderContentsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeNotificationSubscriptionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeResourcePermissionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeRootFoldersCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeUsersCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetCurrentUserCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetDocumentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetDocumentPathCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetDocumentVersionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetFolderCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetFolderPathCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/InitiateDocumentVersionUploadCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RemoveAllResourcePermissionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RemoveResourcePermissionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateDocumentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateDocumentVersionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateFolderCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateUserCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/DescribeDocumentVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeFolderContentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeUsersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/WorkDocs.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/WorkDocsClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/AbortDocumentVersionUploadCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ActivateUserCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/AddResourcePermissionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateCommentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateCustomMetadataCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateFolderCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateLabelsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateNotificationSubscriptionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateUserCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeactivateUserCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteCommentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteCustomMetadataCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteDocumentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteFolderCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteFolderContentsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteLabelsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteNotificationSubscriptionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteUserCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeActivitiesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeCommentsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeDocumentVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeFolderContentsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeNotificationSubscriptionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeResourcePermissionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeRootFoldersCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeUsersCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetCurrentUserCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetDocumentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetDocumentPathCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetDocumentVersionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetFolderCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetFolderPathCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/InitiateDocumentVersionUploadCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RemoveAllResourcePermissionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/RemoveResourcePermissionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateDocumentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateDocumentVersionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateFolderCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateUserCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeDocumentVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeFolderContentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeUsersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/WorkDocs.ts +0 -1547
- package/WorkDocsClient.ts +0 -438
- package/commands/AbortDocumentVersionUploadCommand.ts +0 -100
- package/commands/ActivateUserCommand.ts +0 -95
- package/commands/AddResourcePermissionsCommand.ts +0 -96
- package/commands/CreateCommentCommand.ts +0 -94
- package/commands/CreateCustomMetadataCommand.ts +0 -95
- package/commands/CreateFolderCommand.ts +0 -94
- package/commands/CreateLabelsCommand.ts +0 -95
- package/commands/CreateNotificationSubscriptionCommand.ts +0 -106
- package/commands/CreateUserCommand.ts +0 -95
- package/commands/DeactivateUserCommand.ts +0 -95
- package/commands/DeleteCommentCommand.ts +0 -94
- package/commands/DeleteCustomMetadataCommand.ts +0 -94
- package/commands/DeleteDocumentCommand.ts +0 -94
- package/commands/DeleteFolderCommand.ts +0 -94
- package/commands/DeleteFolderContentsCommand.ts +0 -94
- package/commands/DeleteLabelsCommand.ts +0 -94
- package/commands/DeleteNotificationSubscriptionCommand.ts +0 -100
- package/commands/DeleteUserCommand.ts +0 -94
- package/commands/DescribeActivitiesCommand.ts +0 -94
- package/commands/DescribeCommentsCommand.ts +0 -94
- package/commands/DescribeDocumentVersionsCommand.ts +0 -95
- package/commands/DescribeFolderContentsCommand.ts +0 -99
- package/commands/DescribeGroupsCommand.ts +0 -95
- package/commands/DescribeNotificationSubscriptionsCommand.ts +0 -105
- package/commands/DescribeResourcePermissionsCommand.ts +0 -99
- package/commands/DescribeRootFoldersCommand.ts +0 -102
- package/commands/DescribeUsersCommand.ts +0 -98
- package/commands/GetCurrentUserCommand.ts +0 -100
- package/commands/GetDocumentCommand.ts +0 -94
- package/commands/GetDocumentPathCommand.ts +0 -99
- package/commands/GetDocumentVersionCommand.ts +0 -94
- package/commands/GetFolderCommand.ts +0 -94
- package/commands/GetFolderPathCommand.ts +0 -99
- package/commands/GetResourcesCommand.ts +0 -95
- package/commands/InitiateDocumentVersionUploadCommand.ts +0 -104
- package/commands/RemoveAllResourcePermissionsCommand.ts +0 -97
- package/commands/RemoveResourcePermissionCommand.ts +0 -95
- package/commands/UpdateDocumentCommand.ts +0 -95
- package/commands/UpdateDocumentVersionCommand.ts +0 -97
- package/commands/UpdateFolderCommand.ts +0 -95
- package/commands/UpdateUserCommand.ts +0 -95
- package/dist/cjs/WorkDocs.js.map +0 -1
- package/dist/cjs/WorkDocsClient.js.map +0 -1
- package/dist/cjs/commands/AbortDocumentVersionUploadCommand.js.map +0 -1
- package/dist/cjs/commands/ActivateUserCommand.js.map +0 -1
- package/dist/cjs/commands/AddResourcePermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCommentCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCustomMetadataCommand.js.map +0 -1
- package/dist/cjs/commands/CreateFolderCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLabelsCommand.js.map +0 -1
- package/dist/cjs/commands/CreateNotificationSubscriptionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateUserCommand.js.map +0 -1
- package/dist/cjs/commands/DeactivateUserCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteCommentCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteCustomMetadataCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDocumentCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFolderCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFolderContentsCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLabelsCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteNotificationSubscriptionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteUserCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeActivitiesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeCommentsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDocumentVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeFolderContentsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeNotificationSubscriptionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeResourcePermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRootFoldersCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeUsersCommand.js.map +0 -1
- package/dist/cjs/commands/GetCurrentUserCommand.js.map +0 -1
- package/dist/cjs/commands/GetDocumentCommand.js.map +0 -1
- package/dist/cjs/commands/GetDocumentPathCommand.js.map +0 -1
- package/dist/cjs/commands/GetDocumentVersionCommand.js.map +0 -1
- package/dist/cjs/commands/GetFolderCommand.js.map +0 -1
- package/dist/cjs/commands/GetFolderPathCommand.js.map +0 -1
- package/dist/cjs/commands/GetResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/InitiateDocumentVersionUploadCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveAllResourcePermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveResourcePermissionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateDocumentCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateDocumentVersionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFolderCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateUserCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/DescribeDocumentVersionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeFolderContentsPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeUsersPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/WorkDocs.js.map +0 -1
- package/dist/es/WorkDocsClient.js +0 -78
- package/dist/es/WorkDocsClient.js.map +0 -1
- package/dist/es/commands/AbortDocumentVersionUploadCommand.js.map +0 -1
- package/dist/es/commands/ActivateUserCommand.js.map +0 -1
- package/dist/es/commands/AddResourcePermissionsCommand.js.map +0 -1
- package/dist/es/commands/CreateCommentCommand.js.map +0 -1
- package/dist/es/commands/CreateCustomMetadataCommand.js.map +0 -1
- package/dist/es/commands/CreateFolderCommand.js.map +0 -1
- package/dist/es/commands/CreateLabelsCommand.js.map +0 -1
- package/dist/es/commands/CreateNotificationSubscriptionCommand.js.map +0 -1
- package/dist/es/commands/CreateUserCommand.js.map +0 -1
- package/dist/es/commands/DeactivateUserCommand.js.map +0 -1
- package/dist/es/commands/DeleteCommentCommand.js.map +0 -1
- package/dist/es/commands/DeleteCustomMetadataCommand.js.map +0 -1
- package/dist/es/commands/DeleteDocumentCommand.js.map +0 -1
- package/dist/es/commands/DeleteFolderCommand.js.map +0 -1
- package/dist/es/commands/DeleteFolderContentsCommand.js.map +0 -1
- package/dist/es/commands/DeleteLabelsCommand.js.map +0 -1
- package/dist/es/commands/DeleteNotificationSubscriptionCommand.js.map +0 -1
- package/dist/es/commands/DeleteUserCommand.js.map +0 -1
- package/dist/es/commands/DescribeActivitiesCommand.js.map +0 -1
- package/dist/es/commands/DescribeCommentsCommand.js.map +0 -1
- package/dist/es/commands/DescribeDocumentVersionsCommand.js.map +0 -1
- package/dist/es/commands/DescribeFolderContentsCommand.js.map +0 -1
- package/dist/es/commands/DescribeGroupsCommand.js.map +0 -1
- package/dist/es/commands/DescribeNotificationSubscriptionsCommand.js.map +0 -1
- package/dist/es/commands/DescribeResourcePermissionsCommand.js.map +0 -1
- package/dist/es/commands/DescribeRootFoldersCommand.js.map +0 -1
- package/dist/es/commands/DescribeUsersCommand.js.map +0 -1
- package/dist/es/commands/GetCurrentUserCommand.js.map +0 -1
- package/dist/es/commands/GetDocumentCommand.js.map +0 -1
- package/dist/es/commands/GetDocumentPathCommand.js.map +0 -1
- package/dist/es/commands/GetDocumentVersionCommand.js.map +0 -1
- package/dist/es/commands/GetFolderCommand.js.map +0 -1
- package/dist/es/commands/GetFolderPathCommand.js.map +0 -1
- package/dist/es/commands/GetResourcesCommand.js.map +0 -1
- package/dist/es/commands/InitiateDocumentVersionUploadCommand.js.map +0 -1
- package/dist/es/commands/RemoveAllResourcePermissionsCommand.js.map +0 -1
- package/dist/es/commands/RemoveResourcePermissionCommand.js.map +0 -1
- package/dist/es/commands/UpdateDocumentCommand.js.map +0 -1
- package/dist/es/commands/UpdateDocumentVersionCommand.js.map +0 -1
- package/dist/es/commands/UpdateFolderCommand.js.map +0 -1
- package/dist/es/commands/UpdateUserCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -49
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/DescribeDocumentVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeFolderContentsPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeUsersPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -68
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3531
- package/pagination/DescribeDocumentVersionsPaginator.ts +0 -58
- package/pagination/DescribeFolderContentsPaginator.ts +0 -58
- package/pagination/DescribeUsersPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/protocols/Aws_restJson1.ts +0 -6691
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
package/WorkDocs.ts
DELETED
|
@@ -1,1547 +0,0 @@
|
|
|
1
|
-
import { WorkDocsClient } from "./WorkDocsClient";
|
|
2
|
-
import {
|
|
3
|
-
AbortDocumentVersionUploadCommand,
|
|
4
|
-
AbortDocumentVersionUploadCommandInput,
|
|
5
|
-
AbortDocumentVersionUploadCommandOutput,
|
|
6
|
-
} from "./commands/AbortDocumentVersionUploadCommand";
|
|
7
|
-
import {
|
|
8
|
-
ActivateUserCommand,
|
|
9
|
-
ActivateUserCommandInput,
|
|
10
|
-
ActivateUserCommandOutput,
|
|
11
|
-
} from "./commands/ActivateUserCommand";
|
|
12
|
-
import {
|
|
13
|
-
AddResourcePermissionsCommand,
|
|
14
|
-
AddResourcePermissionsCommandInput,
|
|
15
|
-
AddResourcePermissionsCommandOutput,
|
|
16
|
-
} from "./commands/AddResourcePermissionsCommand";
|
|
17
|
-
import {
|
|
18
|
-
CreateCommentCommand,
|
|
19
|
-
CreateCommentCommandInput,
|
|
20
|
-
CreateCommentCommandOutput,
|
|
21
|
-
} from "./commands/CreateCommentCommand";
|
|
22
|
-
import {
|
|
23
|
-
CreateCustomMetadataCommand,
|
|
24
|
-
CreateCustomMetadataCommandInput,
|
|
25
|
-
CreateCustomMetadataCommandOutput,
|
|
26
|
-
} from "./commands/CreateCustomMetadataCommand";
|
|
27
|
-
import {
|
|
28
|
-
CreateFolderCommand,
|
|
29
|
-
CreateFolderCommandInput,
|
|
30
|
-
CreateFolderCommandOutput,
|
|
31
|
-
} from "./commands/CreateFolderCommand";
|
|
32
|
-
import {
|
|
33
|
-
CreateLabelsCommand,
|
|
34
|
-
CreateLabelsCommandInput,
|
|
35
|
-
CreateLabelsCommandOutput,
|
|
36
|
-
} from "./commands/CreateLabelsCommand";
|
|
37
|
-
import {
|
|
38
|
-
CreateNotificationSubscriptionCommand,
|
|
39
|
-
CreateNotificationSubscriptionCommandInput,
|
|
40
|
-
CreateNotificationSubscriptionCommandOutput,
|
|
41
|
-
} from "./commands/CreateNotificationSubscriptionCommand";
|
|
42
|
-
import { CreateUserCommand, CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
|
|
43
|
-
import {
|
|
44
|
-
DeactivateUserCommand,
|
|
45
|
-
DeactivateUserCommandInput,
|
|
46
|
-
DeactivateUserCommandOutput,
|
|
47
|
-
} from "./commands/DeactivateUserCommand";
|
|
48
|
-
import {
|
|
49
|
-
DeleteCommentCommand,
|
|
50
|
-
DeleteCommentCommandInput,
|
|
51
|
-
DeleteCommentCommandOutput,
|
|
52
|
-
} from "./commands/DeleteCommentCommand";
|
|
53
|
-
import {
|
|
54
|
-
DeleteCustomMetadataCommand,
|
|
55
|
-
DeleteCustomMetadataCommandInput,
|
|
56
|
-
DeleteCustomMetadataCommandOutput,
|
|
57
|
-
} from "./commands/DeleteCustomMetadataCommand";
|
|
58
|
-
import {
|
|
59
|
-
DeleteDocumentCommand,
|
|
60
|
-
DeleteDocumentCommandInput,
|
|
61
|
-
DeleteDocumentCommandOutput,
|
|
62
|
-
} from "./commands/DeleteDocumentCommand";
|
|
63
|
-
import {
|
|
64
|
-
DeleteFolderCommand,
|
|
65
|
-
DeleteFolderCommandInput,
|
|
66
|
-
DeleteFolderCommandOutput,
|
|
67
|
-
} from "./commands/DeleteFolderCommand";
|
|
68
|
-
import {
|
|
69
|
-
DeleteFolderContentsCommand,
|
|
70
|
-
DeleteFolderContentsCommandInput,
|
|
71
|
-
DeleteFolderContentsCommandOutput,
|
|
72
|
-
} from "./commands/DeleteFolderContentsCommand";
|
|
73
|
-
import {
|
|
74
|
-
DeleteLabelsCommand,
|
|
75
|
-
DeleteLabelsCommandInput,
|
|
76
|
-
DeleteLabelsCommandOutput,
|
|
77
|
-
} from "./commands/DeleteLabelsCommand";
|
|
78
|
-
import {
|
|
79
|
-
DeleteNotificationSubscriptionCommand,
|
|
80
|
-
DeleteNotificationSubscriptionCommandInput,
|
|
81
|
-
DeleteNotificationSubscriptionCommandOutput,
|
|
82
|
-
} from "./commands/DeleteNotificationSubscriptionCommand";
|
|
83
|
-
import { DeleteUserCommand, DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
84
|
-
import {
|
|
85
|
-
DescribeActivitiesCommand,
|
|
86
|
-
DescribeActivitiesCommandInput,
|
|
87
|
-
DescribeActivitiesCommandOutput,
|
|
88
|
-
} from "./commands/DescribeActivitiesCommand";
|
|
89
|
-
import {
|
|
90
|
-
DescribeCommentsCommand,
|
|
91
|
-
DescribeCommentsCommandInput,
|
|
92
|
-
DescribeCommentsCommandOutput,
|
|
93
|
-
} from "./commands/DescribeCommentsCommand";
|
|
94
|
-
import {
|
|
95
|
-
DescribeDocumentVersionsCommand,
|
|
96
|
-
DescribeDocumentVersionsCommandInput,
|
|
97
|
-
DescribeDocumentVersionsCommandOutput,
|
|
98
|
-
} from "./commands/DescribeDocumentVersionsCommand";
|
|
99
|
-
import {
|
|
100
|
-
DescribeFolderContentsCommand,
|
|
101
|
-
DescribeFolderContentsCommandInput,
|
|
102
|
-
DescribeFolderContentsCommandOutput,
|
|
103
|
-
} from "./commands/DescribeFolderContentsCommand";
|
|
104
|
-
import {
|
|
105
|
-
DescribeGroupsCommand,
|
|
106
|
-
DescribeGroupsCommandInput,
|
|
107
|
-
DescribeGroupsCommandOutput,
|
|
108
|
-
} from "./commands/DescribeGroupsCommand";
|
|
109
|
-
import {
|
|
110
|
-
DescribeNotificationSubscriptionsCommand,
|
|
111
|
-
DescribeNotificationSubscriptionsCommandInput,
|
|
112
|
-
DescribeNotificationSubscriptionsCommandOutput,
|
|
113
|
-
} from "./commands/DescribeNotificationSubscriptionsCommand";
|
|
114
|
-
import {
|
|
115
|
-
DescribeResourcePermissionsCommand,
|
|
116
|
-
DescribeResourcePermissionsCommandInput,
|
|
117
|
-
DescribeResourcePermissionsCommandOutput,
|
|
118
|
-
} from "./commands/DescribeResourcePermissionsCommand";
|
|
119
|
-
import {
|
|
120
|
-
DescribeRootFoldersCommand,
|
|
121
|
-
DescribeRootFoldersCommandInput,
|
|
122
|
-
DescribeRootFoldersCommandOutput,
|
|
123
|
-
} from "./commands/DescribeRootFoldersCommand";
|
|
124
|
-
import {
|
|
125
|
-
DescribeUsersCommand,
|
|
126
|
-
DescribeUsersCommandInput,
|
|
127
|
-
DescribeUsersCommandOutput,
|
|
128
|
-
} from "./commands/DescribeUsersCommand";
|
|
129
|
-
import {
|
|
130
|
-
GetCurrentUserCommand,
|
|
131
|
-
GetCurrentUserCommandInput,
|
|
132
|
-
GetCurrentUserCommandOutput,
|
|
133
|
-
} from "./commands/GetCurrentUserCommand";
|
|
134
|
-
import { GetDocumentCommand, GetDocumentCommandInput, GetDocumentCommandOutput } from "./commands/GetDocumentCommand";
|
|
135
|
-
import {
|
|
136
|
-
GetDocumentPathCommand,
|
|
137
|
-
GetDocumentPathCommandInput,
|
|
138
|
-
GetDocumentPathCommandOutput,
|
|
139
|
-
} from "./commands/GetDocumentPathCommand";
|
|
140
|
-
import {
|
|
141
|
-
GetDocumentVersionCommand,
|
|
142
|
-
GetDocumentVersionCommandInput,
|
|
143
|
-
GetDocumentVersionCommandOutput,
|
|
144
|
-
} from "./commands/GetDocumentVersionCommand";
|
|
145
|
-
import { GetFolderCommand, GetFolderCommandInput, GetFolderCommandOutput } from "./commands/GetFolderCommand";
|
|
146
|
-
import {
|
|
147
|
-
GetFolderPathCommand,
|
|
148
|
-
GetFolderPathCommandInput,
|
|
149
|
-
GetFolderPathCommandOutput,
|
|
150
|
-
} from "./commands/GetFolderPathCommand";
|
|
151
|
-
import {
|
|
152
|
-
GetResourcesCommand,
|
|
153
|
-
GetResourcesCommandInput,
|
|
154
|
-
GetResourcesCommandOutput,
|
|
155
|
-
} from "./commands/GetResourcesCommand";
|
|
156
|
-
import {
|
|
157
|
-
InitiateDocumentVersionUploadCommand,
|
|
158
|
-
InitiateDocumentVersionUploadCommandInput,
|
|
159
|
-
InitiateDocumentVersionUploadCommandOutput,
|
|
160
|
-
} from "./commands/InitiateDocumentVersionUploadCommand";
|
|
161
|
-
import {
|
|
162
|
-
RemoveAllResourcePermissionsCommand,
|
|
163
|
-
RemoveAllResourcePermissionsCommandInput,
|
|
164
|
-
RemoveAllResourcePermissionsCommandOutput,
|
|
165
|
-
} from "./commands/RemoveAllResourcePermissionsCommand";
|
|
166
|
-
import {
|
|
167
|
-
RemoveResourcePermissionCommand,
|
|
168
|
-
RemoveResourcePermissionCommandInput,
|
|
169
|
-
RemoveResourcePermissionCommandOutput,
|
|
170
|
-
} from "./commands/RemoveResourcePermissionCommand";
|
|
171
|
-
import {
|
|
172
|
-
UpdateDocumentCommand,
|
|
173
|
-
UpdateDocumentCommandInput,
|
|
174
|
-
UpdateDocumentCommandOutput,
|
|
175
|
-
} from "./commands/UpdateDocumentCommand";
|
|
176
|
-
import {
|
|
177
|
-
UpdateDocumentVersionCommand,
|
|
178
|
-
UpdateDocumentVersionCommandInput,
|
|
179
|
-
UpdateDocumentVersionCommandOutput,
|
|
180
|
-
} from "./commands/UpdateDocumentVersionCommand";
|
|
181
|
-
import {
|
|
182
|
-
UpdateFolderCommand,
|
|
183
|
-
UpdateFolderCommandInput,
|
|
184
|
-
UpdateFolderCommandOutput,
|
|
185
|
-
} from "./commands/UpdateFolderCommand";
|
|
186
|
-
import { UpdateUserCommand, UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
|
|
187
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* <p>The WorkDocs API is designed for the following use cases:</p>
|
|
191
|
-
* <ul>
|
|
192
|
-
* <li>
|
|
193
|
-
* <p>File Migration: File migration applications are supported for users who
|
|
194
|
-
* want to migrate their files from an on-premises or off-premises file system or
|
|
195
|
-
* service. Users can insert files into a user directory structure, as well as
|
|
196
|
-
* allow for basic metadata changes, such as modifications to the permissions of
|
|
197
|
-
* files.</p>
|
|
198
|
-
* </li>
|
|
199
|
-
* <li>
|
|
200
|
-
* <p>Security: Support security applications are supported for users who have
|
|
201
|
-
* additional security needs, such as antivirus or data loss prevention. The API
|
|
202
|
-
* actions, along with AWS CloudTrail, allow these applications to detect when
|
|
203
|
-
* changes occur in Amazon WorkDocs. Then, the application can take the necessary
|
|
204
|
-
* actions and replace the target file. If the target file violates the policy, the
|
|
205
|
-
* application can also choose to email the user.</p>
|
|
206
|
-
* </li>
|
|
207
|
-
* <li>
|
|
208
|
-
* <p>eDiscovery/Analytics: General administrative applications are supported,
|
|
209
|
-
* such as eDiscovery and analytics. These applications can choose to mimic or
|
|
210
|
-
* record the actions in an Amazon WorkDocs site, along with AWS CloudTrail, to
|
|
211
|
-
* replicate data for eDiscovery, backup, or analytical applications.</p>
|
|
212
|
-
* </li>
|
|
213
|
-
* </ul>
|
|
214
|
-
* <p>All Amazon WorkDocs API actions are Amazon authenticated and certificate-signed.
|
|
215
|
-
* They not only require the use of the AWS SDK, but also allow for the exclusive use of
|
|
216
|
-
* IAM users and roles to help facilitate access, trust, and permission policies. By
|
|
217
|
-
* creating a role and allowing an IAM user to access the Amazon WorkDocs site, the IAM
|
|
218
|
-
* user gains full administrative visibility into the entire Amazon WorkDocs site (or as
|
|
219
|
-
* set in the IAM policy). This includes, but is not limited to, the ability to modify file
|
|
220
|
-
* permissions and upload any file to any user. This allows developers to perform the three
|
|
221
|
-
* use cases above, as well as give users the ability to grant access on a selective basis
|
|
222
|
-
* using the IAM model.</p>
|
|
223
|
-
*/
|
|
224
|
-
export class WorkDocs extends WorkDocsClient {
|
|
225
|
-
/**
|
|
226
|
-
* <p>Aborts the upload of the specified document version that was previously initiated
|
|
227
|
-
* by <a>InitiateDocumentVersionUpload</a>. The client should make this call
|
|
228
|
-
* only when it no longer intends to upload the document version, or fails to do
|
|
229
|
-
* so.</p>
|
|
230
|
-
*/
|
|
231
|
-
public abortDocumentVersionUpload(
|
|
232
|
-
args: AbortDocumentVersionUploadCommandInput,
|
|
233
|
-
options?: __HttpHandlerOptions
|
|
234
|
-
): Promise<AbortDocumentVersionUploadCommandOutput>;
|
|
235
|
-
public abortDocumentVersionUpload(
|
|
236
|
-
args: AbortDocumentVersionUploadCommandInput,
|
|
237
|
-
cb: (err: any, data?: AbortDocumentVersionUploadCommandOutput) => void
|
|
238
|
-
): void;
|
|
239
|
-
public abortDocumentVersionUpload(
|
|
240
|
-
args: AbortDocumentVersionUploadCommandInput,
|
|
241
|
-
options: __HttpHandlerOptions,
|
|
242
|
-
cb: (err: any, data?: AbortDocumentVersionUploadCommandOutput) => void
|
|
243
|
-
): void;
|
|
244
|
-
public abortDocumentVersionUpload(
|
|
245
|
-
args: AbortDocumentVersionUploadCommandInput,
|
|
246
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AbortDocumentVersionUploadCommandOutput) => void),
|
|
247
|
-
cb?: (err: any, data?: AbortDocumentVersionUploadCommandOutput) => void
|
|
248
|
-
): Promise<AbortDocumentVersionUploadCommandOutput> | void {
|
|
249
|
-
const command = new AbortDocumentVersionUploadCommand(args);
|
|
250
|
-
if (typeof optionsOrCb === "function") {
|
|
251
|
-
this.send(command, optionsOrCb);
|
|
252
|
-
} else if (typeof cb === "function") {
|
|
253
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
254
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
255
|
-
} else {
|
|
256
|
-
return this.send(command, optionsOrCb);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* <p>Activates the specified user. Only active users can access Amazon
|
|
262
|
-
* WorkDocs.</p>
|
|
263
|
-
*/
|
|
264
|
-
public activateUser(
|
|
265
|
-
args: ActivateUserCommandInput,
|
|
266
|
-
options?: __HttpHandlerOptions
|
|
267
|
-
): Promise<ActivateUserCommandOutput>;
|
|
268
|
-
public activateUser(args: ActivateUserCommandInput, cb: (err: any, data?: ActivateUserCommandOutput) => void): void;
|
|
269
|
-
public activateUser(
|
|
270
|
-
args: ActivateUserCommandInput,
|
|
271
|
-
options: __HttpHandlerOptions,
|
|
272
|
-
cb: (err: any, data?: ActivateUserCommandOutput) => void
|
|
273
|
-
): void;
|
|
274
|
-
public activateUser(
|
|
275
|
-
args: ActivateUserCommandInput,
|
|
276
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ActivateUserCommandOutput) => void),
|
|
277
|
-
cb?: (err: any, data?: ActivateUserCommandOutput) => void
|
|
278
|
-
): Promise<ActivateUserCommandOutput> | void {
|
|
279
|
-
const command = new ActivateUserCommand(args);
|
|
280
|
-
if (typeof optionsOrCb === "function") {
|
|
281
|
-
this.send(command, optionsOrCb);
|
|
282
|
-
} else if (typeof cb === "function") {
|
|
283
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
284
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
285
|
-
} else {
|
|
286
|
-
return this.send(command, optionsOrCb);
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* <p>Creates a set of permissions for the specified folder or document. The resource
|
|
292
|
-
* permissions are overwritten if the principals already have different
|
|
293
|
-
* permissions.</p>
|
|
294
|
-
*/
|
|
295
|
-
public addResourcePermissions(
|
|
296
|
-
args: AddResourcePermissionsCommandInput,
|
|
297
|
-
options?: __HttpHandlerOptions
|
|
298
|
-
): Promise<AddResourcePermissionsCommandOutput>;
|
|
299
|
-
public addResourcePermissions(
|
|
300
|
-
args: AddResourcePermissionsCommandInput,
|
|
301
|
-
cb: (err: any, data?: AddResourcePermissionsCommandOutput) => void
|
|
302
|
-
): void;
|
|
303
|
-
public addResourcePermissions(
|
|
304
|
-
args: AddResourcePermissionsCommandInput,
|
|
305
|
-
options: __HttpHandlerOptions,
|
|
306
|
-
cb: (err: any, data?: AddResourcePermissionsCommandOutput) => void
|
|
307
|
-
): void;
|
|
308
|
-
public addResourcePermissions(
|
|
309
|
-
args: AddResourcePermissionsCommandInput,
|
|
310
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddResourcePermissionsCommandOutput) => void),
|
|
311
|
-
cb?: (err: any, data?: AddResourcePermissionsCommandOutput) => void
|
|
312
|
-
): Promise<AddResourcePermissionsCommandOutput> | void {
|
|
313
|
-
const command = new AddResourcePermissionsCommand(args);
|
|
314
|
-
if (typeof optionsOrCb === "function") {
|
|
315
|
-
this.send(command, optionsOrCb);
|
|
316
|
-
} else if (typeof cb === "function") {
|
|
317
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
318
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
319
|
-
} else {
|
|
320
|
-
return this.send(command, optionsOrCb);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* <p>Adds a new comment to the specified document version.</p>
|
|
326
|
-
*/
|
|
327
|
-
public createComment(
|
|
328
|
-
args: CreateCommentCommandInput,
|
|
329
|
-
options?: __HttpHandlerOptions
|
|
330
|
-
): Promise<CreateCommentCommandOutput>;
|
|
331
|
-
public createComment(
|
|
332
|
-
args: CreateCommentCommandInput,
|
|
333
|
-
cb: (err: any, data?: CreateCommentCommandOutput) => void
|
|
334
|
-
): void;
|
|
335
|
-
public createComment(
|
|
336
|
-
args: CreateCommentCommandInput,
|
|
337
|
-
options: __HttpHandlerOptions,
|
|
338
|
-
cb: (err: any, data?: CreateCommentCommandOutput) => void
|
|
339
|
-
): void;
|
|
340
|
-
public createComment(
|
|
341
|
-
args: CreateCommentCommandInput,
|
|
342
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCommentCommandOutput) => void),
|
|
343
|
-
cb?: (err: any, data?: CreateCommentCommandOutput) => void
|
|
344
|
-
): Promise<CreateCommentCommandOutput> | void {
|
|
345
|
-
const command = new CreateCommentCommand(args);
|
|
346
|
-
if (typeof optionsOrCb === "function") {
|
|
347
|
-
this.send(command, optionsOrCb);
|
|
348
|
-
} else if (typeof cb === "function") {
|
|
349
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
350
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
351
|
-
} else {
|
|
352
|
-
return this.send(command, optionsOrCb);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* <p>Adds one or more custom properties to the specified resource (a folder, document,
|
|
358
|
-
* or version).</p>
|
|
359
|
-
*/
|
|
360
|
-
public createCustomMetadata(
|
|
361
|
-
args: CreateCustomMetadataCommandInput,
|
|
362
|
-
options?: __HttpHandlerOptions
|
|
363
|
-
): Promise<CreateCustomMetadataCommandOutput>;
|
|
364
|
-
public createCustomMetadata(
|
|
365
|
-
args: CreateCustomMetadataCommandInput,
|
|
366
|
-
cb: (err: any, data?: CreateCustomMetadataCommandOutput) => void
|
|
367
|
-
): void;
|
|
368
|
-
public createCustomMetadata(
|
|
369
|
-
args: CreateCustomMetadataCommandInput,
|
|
370
|
-
options: __HttpHandlerOptions,
|
|
371
|
-
cb: (err: any, data?: CreateCustomMetadataCommandOutput) => void
|
|
372
|
-
): void;
|
|
373
|
-
public createCustomMetadata(
|
|
374
|
-
args: CreateCustomMetadataCommandInput,
|
|
375
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCustomMetadataCommandOutput) => void),
|
|
376
|
-
cb?: (err: any, data?: CreateCustomMetadataCommandOutput) => void
|
|
377
|
-
): Promise<CreateCustomMetadataCommandOutput> | void {
|
|
378
|
-
const command = new CreateCustomMetadataCommand(args);
|
|
379
|
-
if (typeof optionsOrCb === "function") {
|
|
380
|
-
this.send(command, optionsOrCb);
|
|
381
|
-
} else if (typeof cb === "function") {
|
|
382
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
383
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
384
|
-
} else {
|
|
385
|
-
return this.send(command, optionsOrCb);
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* <p>Creates a folder with the specified name and parent folder.</p>
|
|
391
|
-
*/
|
|
392
|
-
public createFolder(
|
|
393
|
-
args: CreateFolderCommandInput,
|
|
394
|
-
options?: __HttpHandlerOptions
|
|
395
|
-
): Promise<CreateFolderCommandOutput>;
|
|
396
|
-
public createFolder(args: CreateFolderCommandInput, cb: (err: any, data?: CreateFolderCommandOutput) => void): void;
|
|
397
|
-
public createFolder(
|
|
398
|
-
args: CreateFolderCommandInput,
|
|
399
|
-
options: __HttpHandlerOptions,
|
|
400
|
-
cb: (err: any, data?: CreateFolderCommandOutput) => void
|
|
401
|
-
): void;
|
|
402
|
-
public createFolder(
|
|
403
|
-
args: CreateFolderCommandInput,
|
|
404
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFolderCommandOutput) => void),
|
|
405
|
-
cb?: (err: any, data?: CreateFolderCommandOutput) => void
|
|
406
|
-
): Promise<CreateFolderCommandOutput> | void {
|
|
407
|
-
const command = new CreateFolderCommand(args);
|
|
408
|
-
if (typeof optionsOrCb === "function") {
|
|
409
|
-
this.send(command, optionsOrCb);
|
|
410
|
-
} else if (typeof cb === "function") {
|
|
411
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
412
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
413
|
-
} else {
|
|
414
|
-
return this.send(command, optionsOrCb);
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
/**
|
|
419
|
-
* <p>Adds the specified list of labels to the given resource (a document or
|
|
420
|
-
* folder)</p>
|
|
421
|
-
*/
|
|
422
|
-
public createLabels(
|
|
423
|
-
args: CreateLabelsCommandInput,
|
|
424
|
-
options?: __HttpHandlerOptions
|
|
425
|
-
): Promise<CreateLabelsCommandOutput>;
|
|
426
|
-
public createLabels(args: CreateLabelsCommandInput, cb: (err: any, data?: CreateLabelsCommandOutput) => void): void;
|
|
427
|
-
public createLabels(
|
|
428
|
-
args: CreateLabelsCommandInput,
|
|
429
|
-
options: __HttpHandlerOptions,
|
|
430
|
-
cb: (err: any, data?: CreateLabelsCommandOutput) => void
|
|
431
|
-
): void;
|
|
432
|
-
public createLabels(
|
|
433
|
-
args: CreateLabelsCommandInput,
|
|
434
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLabelsCommandOutput) => void),
|
|
435
|
-
cb?: (err: any, data?: CreateLabelsCommandOutput) => void
|
|
436
|
-
): Promise<CreateLabelsCommandOutput> | void {
|
|
437
|
-
const command = new CreateLabelsCommand(args);
|
|
438
|
-
if (typeof optionsOrCb === "function") {
|
|
439
|
-
this.send(command, optionsOrCb);
|
|
440
|
-
} else if (typeof cb === "function") {
|
|
441
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
442
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
443
|
-
} else {
|
|
444
|
-
return this.send(command, optionsOrCb);
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
* <p>Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives a
|
|
450
|
-
* confirmation message, and must confirm the subscription.</p>
|
|
451
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/workdocs/latest/developerguide/subscribe-notifications.html">Subscribe to
|
|
452
|
-
* Notifications</a> in the <i>Amazon WorkDocs Developer
|
|
453
|
-
* Guide</i>.</p>
|
|
454
|
-
*/
|
|
455
|
-
public createNotificationSubscription(
|
|
456
|
-
args: CreateNotificationSubscriptionCommandInput,
|
|
457
|
-
options?: __HttpHandlerOptions
|
|
458
|
-
): Promise<CreateNotificationSubscriptionCommandOutput>;
|
|
459
|
-
public createNotificationSubscription(
|
|
460
|
-
args: CreateNotificationSubscriptionCommandInput,
|
|
461
|
-
cb: (err: any, data?: CreateNotificationSubscriptionCommandOutput) => void
|
|
462
|
-
): void;
|
|
463
|
-
public createNotificationSubscription(
|
|
464
|
-
args: CreateNotificationSubscriptionCommandInput,
|
|
465
|
-
options: __HttpHandlerOptions,
|
|
466
|
-
cb: (err: any, data?: CreateNotificationSubscriptionCommandOutput) => void
|
|
467
|
-
): void;
|
|
468
|
-
public createNotificationSubscription(
|
|
469
|
-
args: CreateNotificationSubscriptionCommandInput,
|
|
470
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateNotificationSubscriptionCommandOutput) => void),
|
|
471
|
-
cb?: (err: any, data?: CreateNotificationSubscriptionCommandOutput) => void
|
|
472
|
-
): Promise<CreateNotificationSubscriptionCommandOutput> | void {
|
|
473
|
-
const command = new CreateNotificationSubscriptionCommand(args);
|
|
474
|
-
if (typeof optionsOrCb === "function") {
|
|
475
|
-
this.send(command, optionsOrCb);
|
|
476
|
-
} else if (typeof cb === "function") {
|
|
477
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
478
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
479
|
-
} else {
|
|
480
|
-
return this.send(command, optionsOrCb);
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
/**
|
|
485
|
-
* <p>Creates a user in a Simple AD or Microsoft AD directory. The status of a newly
|
|
486
|
-
* created user is "ACTIVE". New users can access Amazon WorkDocs.</p>
|
|
487
|
-
*/
|
|
488
|
-
public createUser(args: CreateUserCommandInput, options?: __HttpHandlerOptions): Promise<CreateUserCommandOutput>;
|
|
489
|
-
public createUser(args: CreateUserCommandInput, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
|
|
490
|
-
public createUser(
|
|
491
|
-
args: CreateUserCommandInput,
|
|
492
|
-
options: __HttpHandlerOptions,
|
|
493
|
-
cb: (err: any, data?: CreateUserCommandOutput) => void
|
|
494
|
-
): void;
|
|
495
|
-
public createUser(
|
|
496
|
-
args: CreateUserCommandInput,
|
|
497
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateUserCommandOutput) => void),
|
|
498
|
-
cb?: (err: any, data?: CreateUserCommandOutput) => void
|
|
499
|
-
): Promise<CreateUserCommandOutput> | void {
|
|
500
|
-
const command = new CreateUserCommand(args);
|
|
501
|
-
if (typeof optionsOrCb === "function") {
|
|
502
|
-
this.send(command, optionsOrCb);
|
|
503
|
-
} else if (typeof cb === "function") {
|
|
504
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
505
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
506
|
-
} else {
|
|
507
|
-
return this.send(command, optionsOrCb);
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
/**
|
|
512
|
-
* <p>Deactivates the specified user, which revokes the user's access to Amazon
|
|
513
|
-
* WorkDocs.</p>
|
|
514
|
-
*/
|
|
515
|
-
public deactivateUser(
|
|
516
|
-
args: DeactivateUserCommandInput,
|
|
517
|
-
options?: __HttpHandlerOptions
|
|
518
|
-
): Promise<DeactivateUserCommandOutput>;
|
|
519
|
-
public deactivateUser(
|
|
520
|
-
args: DeactivateUserCommandInput,
|
|
521
|
-
cb: (err: any, data?: DeactivateUserCommandOutput) => void
|
|
522
|
-
): void;
|
|
523
|
-
public deactivateUser(
|
|
524
|
-
args: DeactivateUserCommandInput,
|
|
525
|
-
options: __HttpHandlerOptions,
|
|
526
|
-
cb: (err: any, data?: DeactivateUserCommandOutput) => void
|
|
527
|
-
): void;
|
|
528
|
-
public deactivateUser(
|
|
529
|
-
args: DeactivateUserCommandInput,
|
|
530
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeactivateUserCommandOutput) => void),
|
|
531
|
-
cb?: (err: any, data?: DeactivateUserCommandOutput) => void
|
|
532
|
-
): Promise<DeactivateUserCommandOutput> | void {
|
|
533
|
-
const command = new DeactivateUserCommand(args);
|
|
534
|
-
if (typeof optionsOrCb === "function") {
|
|
535
|
-
this.send(command, optionsOrCb);
|
|
536
|
-
} else if (typeof cb === "function") {
|
|
537
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
538
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
539
|
-
} else {
|
|
540
|
-
return this.send(command, optionsOrCb);
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
* <p>Deletes the specified comment from the document version.</p>
|
|
546
|
-
*/
|
|
547
|
-
public deleteComment(
|
|
548
|
-
args: DeleteCommentCommandInput,
|
|
549
|
-
options?: __HttpHandlerOptions
|
|
550
|
-
): Promise<DeleteCommentCommandOutput>;
|
|
551
|
-
public deleteComment(
|
|
552
|
-
args: DeleteCommentCommandInput,
|
|
553
|
-
cb: (err: any, data?: DeleteCommentCommandOutput) => void
|
|
554
|
-
): void;
|
|
555
|
-
public deleteComment(
|
|
556
|
-
args: DeleteCommentCommandInput,
|
|
557
|
-
options: __HttpHandlerOptions,
|
|
558
|
-
cb: (err: any, data?: DeleteCommentCommandOutput) => void
|
|
559
|
-
): void;
|
|
560
|
-
public deleteComment(
|
|
561
|
-
args: DeleteCommentCommandInput,
|
|
562
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteCommentCommandOutput) => void),
|
|
563
|
-
cb?: (err: any, data?: DeleteCommentCommandOutput) => void
|
|
564
|
-
): Promise<DeleteCommentCommandOutput> | void {
|
|
565
|
-
const command = new DeleteCommentCommand(args);
|
|
566
|
-
if (typeof optionsOrCb === "function") {
|
|
567
|
-
this.send(command, optionsOrCb);
|
|
568
|
-
} else if (typeof cb === "function") {
|
|
569
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
570
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
571
|
-
} else {
|
|
572
|
-
return this.send(command, optionsOrCb);
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
/**
|
|
577
|
-
* <p>Deletes custom metadata from the specified resource.</p>
|
|
578
|
-
*/
|
|
579
|
-
public deleteCustomMetadata(
|
|
580
|
-
args: DeleteCustomMetadataCommandInput,
|
|
581
|
-
options?: __HttpHandlerOptions
|
|
582
|
-
): Promise<DeleteCustomMetadataCommandOutput>;
|
|
583
|
-
public deleteCustomMetadata(
|
|
584
|
-
args: DeleteCustomMetadataCommandInput,
|
|
585
|
-
cb: (err: any, data?: DeleteCustomMetadataCommandOutput) => void
|
|
586
|
-
): void;
|
|
587
|
-
public deleteCustomMetadata(
|
|
588
|
-
args: DeleteCustomMetadataCommandInput,
|
|
589
|
-
options: __HttpHandlerOptions,
|
|
590
|
-
cb: (err: any, data?: DeleteCustomMetadataCommandOutput) => void
|
|
591
|
-
): void;
|
|
592
|
-
public deleteCustomMetadata(
|
|
593
|
-
args: DeleteCustomMetadataCommandInput,
|
|
594
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteCustomMetadataCommandOutput) => void),
|
|
595
|
-
cb?: (err: any, data?: DeleteCustomMetadataCommandOutput) => void
|
|
596
|
-
): Promise<DeleteCustomMetadataCommandOutput> | void {
|
|
597
|
-
const command = new DeleteCustomMetadataCommand(args);
|
|
598
|
-
if (typeof optionsOrCb === "function") {
|
|
599
|
-
this.send(command, optionsOrCb);
|
|
600
|
-
} else if (typeof cb === "function") {
|
|
601
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
602
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
603
|
-
} else {
|
|
604
|
-
return this.send(command, optionsOrCb);
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
/**
|
|
609
|
-
* <p>Permanently deletes the specified document and its associated metadata.</p>
|
|
610
|
-
*/
|
|
611
|
-
public deleteDocument(
|
|
612
|
-
args: DeleteDocumentCommandInput,
|
|
613
|
-
options?: __HttpHandlerOptions
|
|
614
|
-
): Promise<DeleteDocumentCommandOutput>;
|
|
615
|
-
public deleteDocument(
|
|
616
|
-
args: DeleteDocumentCommandInput,
|
|
617
|
-
cb: (err: any, data?: DeleteDocumentCommandOutput) => void
|
|
618
|
-
): void;
|
|
619
|
-
public deleteDocument(
|
|
620
|
-
args: DeleteDocumentCommandInput,
|
|
621
|
-
options: __HttpHandlerOptions,
|
|
622
|
-
cb: (err: any, data?: DeleteDocumentCommandOutput) => void
|
|
623
|
-
): void;
|
|
624
|
-
public deleteDocument(
|
|
625
|
-
args: DeleteDocumentCommandInput,
|
|
626
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDocumentCommandOutput) => void),
|
|
627
|
-
cb?: (err: any, data?: DeleteDocumentCommandOutput) => void
|
|
628
|
-
): Promise<DeleteDocumentCommandOutput> | void {
|
|
629
|
-
const command = new DeleteDocumentCommand(args);
|
|
630
|
-
if (typeof optionsOrCb === "function") {
|
|
631
|
-
this.send(command, optionsOrCb);
|
|
632
|
-
} else if (typeof cb === "function") {
|
|
633
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
634
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
635
|
-
} else {
|
|
636
|
-
return this.send(command, optionsOrCb);
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* <p>Permanently deletes the specified folder and its contents.</p>
|
|
642
|
-
*/
|
|
643
|
-
public deleteFolder(
|
|
644
|
-
args: DeleteFolderCommandInput,
|
|
645
|
-
options?: __HttpHandlerOptions
|
|
646
|
-
): Promise<DeleteFolderCommandOutput>;
|
|
647
|
-
public deleteFolder(args: DeleteFolderCommandInput, cb: (err: any, data?: DeleteFolderCommandOutput) => void): void;
|
|
648
|
-
public deleteFolder(
|
|
649
|
-
args: DeleteFolderCommandInput,
|
|
650
|
-
options: __HttpHandlerOptions,
|
|
651
|
-
cb: (err: any, data?: DeleteFolderCommandOutput) => void
|
|
652
|
-
): void;
|
|
653
|
-
public deleteFolder(
|
|
654
|
-
args: DeleteFolderCommandInput,
|
|
655
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFolderCommandOutput) => void),
|
|
656
|
-
cb?: (err: any, data?: DeleteFolderCommandOutput) => void
|
|
657
|
-
): Promise<DeleteFolderCommandOutput> | void {
|
|
658
|
-
const command = new DeleteFolderCommand(args);
|
|
659
|
-
if (typeof optionsOrCb === "function") {
|
|
660
|
-
this.send(command, optionsOrCb);
|
|
661
|
-
} else if (typeof cb === "function") {
|
|
662
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
663
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
664
|
-
} else {
|
|
665
|
-
return this.send(command, optionsOrCb);
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
/**
|
|
670
|
-
* <p>Deletes the contents of the specified folder.</p>
|
|
671
|
-
*/
|
|
672
|
-
public deleteFolderContents(
|
|
673
|
-
args: DeleteFolderContentsCommandInput,
|
|
674
|
-
options?: __HttpHandlerOptions
|
|
675
|
-
): Promise<DeleteFolderContentsCommandOutput>;
|
|
676
|
-
public deleteFolderContents(
|
|
677
|
-
args: DeleteFolderContentsCommandInput,
|
|
678
|
-
cb: (err: any, data?: DeleteFolderContentsCommandOutput) => void
|
|
679
|
-
): void;
|
|
680
|
-
public deleteFolderContents(
|
|
681
|
-
args: DeleteFolderContentsCommandInput,
|
|
682
|
-
options: __HttpHandlerOptions,
|
|
683
|
-
cb: (err: any, data?: DeleteFolderContentsCommandOutput) => void
|
|
684
|
-
): void;
|
|
685
|
-
public deleteFolderContents(
|
|
686
|
-
args: DeleteFolderContentsCommandInput,
|
|
687
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFolderContentsCommandOutput) => void),
|
|
688
|
-
cb?: (err: any, data?: DeleteFolderContentsCommandOutput) => void
|
|
689
|
-
): Promise<DeleteFolderContentsCommandOutput> | void {
|
|
690
|
-
const command = new DeleteFolderContentsCommand(args);
|
|
691
|
-
if (typeof optionsOrCb === "function") {
|
|
692
|
-
this.send(command, optionsOrCb);
|
|
693
|
-
} else if (typeof cb === "function") {
|
|
694
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
695
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
696
|
-
} else {
|
|
697
|
-
return this.send(command, optionsOrCb);
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
/**
|
|
702
|
-
* <p>Deletes the specified list of labels from a resource.</p>
|
|
703
|
-
*/
|
|
704
|
-
public deleteLabels(
|
|
705
|
-
args: DeleteLabelsCommandInput,
|
|
706
|
-
options?: __HttpHandlerOptions
|
|
707
|
-
): Promise<DeleteLabelsCommandOutput>;
|
|
708
|
-
public deleteLabels(args: DeleteLabelsCommandInput, cb: (err: any, data?: DeleteLabelsCommandOutput) => void): void;
|
|
709
|
-
public deleteLabels(
|
|
710
|
-
args: DeleteLabelsCommandInput,
|
|
711
|
-
options: __HttpHandlerOptions,
|
|
712
|
-
cb: (err: any, data?: DeleteLabelsCommandOutput) => void
|
|
713
|
-
): void;
|
|
714
|
-
public deleteLabels(
|
|
715
|
-
args: DeleteLabelsCommandInput,
|
|
716
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLabelsCommandOutput) => void),
|
|
717
|
-
cb?: (err: any, data?: DeleteLabelsCommandOutput) => void
|
|
718
|
-
): Promise<DeleteLabelsCommandOutput> | void {
|
|
719
|
-
const command = new DeleteLabelsCommand(args);
|
|
720
|
-
if (typeof optionsOrCb === "function") {
|
|
721
|
-
this.send(command, optionsOrCb);
|
|
722
|
-
} else if (typeof cb === "function") {
|
|
723
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
724
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
725
|
-
} else {
|
|
726
|
-
return this.send(command, optionsOrCb);
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
/**
|
|
731
|
-
* <p>Deletes the specified subscription from the specified organization.</p>
|
|
732
|
-
*/
|
|
733
|
-
public deleteNotificationSubscription(
|
|
734
|
-
args: DeleteNotificationSubscriptionCommandInput,
|
|
735
|
-
options?: __HttpHandlerOptions
|
|
736
|
-
): Promise<DeleteNotificationSubscriptionCommandOutput>;
|
|
737
|
-
public deleteNotificationSubscription(
|
|
738
|
-
args: DeleteNotificationSubscriptionCommandInput,
|
|
739
|
-
cb: (err: any, data?: DeleteNotificationSubscriptionCommandOutput) => void
|
|
740
|
-
): void;
|
|
741
|
-
public deleteNotificationSubscription(
|
|
742
|
-
args: DeleteNotificationSubscriptionCommandInput,
|
|
743
|
-
options: __HttpHandlerOptions,
|
|
744
|
-
cb: (err: any, data?: DeleteNotificationSubscriptionCommandOutput) => void
|
|
745
|
-
): void;
|
|
746
|
-
public deleteNotificationSubscription(
|
|
747
|
-
args: DeleteNotificationSubscriptionCommandInput,
|
|
748
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteNotificationSubscriptionCommandOutput) => void),
|
|
749
|
-
cb?: (err: any, data?: DeleteNotificationSubscriptionCommandOutput) => void
|
|
750
|
-
): Promise<DeleteNotificationSubscriptionCommandOutput> | void {
|
|
751
|
-
const command = new DeleteNotificationSubscriptionCommand(args);
|
|
752
|
-
if (typeof optionsOrCb === "function") {
|
|
753
|
-
this.send(command, optionsOrCb);
|
|
754
|
-
} else if (typeof cb === "function") {
|
|
755
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
756
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
757
|
-
} else {
|
|
758
|
-
return this.send(command, optionsOrCb);
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
/**
|
|
763
|
-
* <p>Deletes the specified user from a Simple AD or Microsoft AD directory.</p>
|
|
764
|
-
*/
|
|
765
|
-
public deleteUser(args: DeleteUserCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserCommandOutput>;
|
|
766
|
-
public deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
|
|
767
|
-
public deleteUser(
|
|
768
|
-
args: DeleteUserCommandInput,
|
|
769
|
-
options: __HttpHandlerOptions,
|
|
770
|
-
cb: (err: any, data?: DeleteUserCommandOutput) => void
|
|
771
|
-
): void;
|
|
772
|
-
public deleteUser(
|
|
773
|
-
args: DeleteUserCommandInput,
|
|
774
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteUserCommandOutput) => void),
|
|
775
|
-
cb?: (err: any, data?: DeleteUserCommandOutput) => void
|
|
776
|
-
): Promise<DeleteUserCommandOutput> | void {
|
|
777
|
-
const command = new DeleteUserCommand(args);
|
|
778
|
-
if (typeof optionsOrCb === "function") {
|
|
779
|
-
this.send(command, optionsOrCb);
|
|
780
|
-
} else if (typeof cb === "function") {
|
|
781
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
782
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
783
|
-
} else {
|
|
784
|
-
return this.send(command, optionsOrCb);
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* <p>Describes the user activities in a specified time period.</p>
|
|
790
|
-
*/
|
|
791
|
-
public describeActivities(
|
|
792
|
-
args: DescribeActivitiesCommandInput,
|
|
793
|
-
options?: __HttpHandlerOptions
|
|
794
|
-
): Promise<DescribeActivitiesCommandOutput>;
|
|
795
|
-
public describeActivities(
|
|
796
|
-
args: DescribeActivitiesCommandInput,
|
|
797
|
-
cb: (err: any, data?: DescribeActivitiesCommandOutput) => void
|
|
798
|
-
): void;
|
|
799
|
-
public describeActivities(
|
|
800
|
-
args: DescribeActivitiesCommandInput,
|
|
801
|
-
options: __HttpHandlerOptions,
|
|
802
|
-
cb: (err: any, data?: DescribeActivitiesCommandOutput) => void
|
|
803
|
-
): void;
|
|
804
|
-
public describeActivities(
|
|
805
|
-
args: DescribeActivitiesCommandInput,
|
|
806
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeActivitiesCommandOutput) => void),
|
|
807
|
-
cb?: (err: any, data?: DescribeActivitiesCommandOutput) => void
|
|
808
|
-
): Promise<DescribeActivitiesCommandOutput> | void {
|
|
809
|
-
const command = new DescribeActivitiesCommand(args);
|
|
810
|
-
if (typeof optionsOrCb === "function") {
|
|
811
|
-
this.send(command, optionsOrCb);
|
|
812
|
-
} else if (typeof cb === "function") {
|
|
813
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
814
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
815
|
-
} else {
|
|
816
|
-
return this.send(command, optionsOrCb);
|
|
817
|
-
}
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
/**
|
|
821
|
-
* <p>List all the comments for the specified document version.</p>
|
|
822
|
-
*/
|
|
823
|
-
public describeComments(
|
|
824
|
-
args: DescribeCommentsCommandInput,
|
|
825
|
-
options?: __HttpHandlerOptions
|
|
826
|
-
): Promise<DescribeCommentsCommandOutput>;
|
|
827
|
-
public describeComments(
|
|
828
|
-
args: DescribeCommentsCommandInput,
|
|
829
|
-
cb: (err: any, data?: DescribeCommentsCommandOutput) => void
|
|
830
|
-
): void;
|
|
831
|
-
public describeComments(
|
|
832
|
-
args: DescribeCommentsCommandInput,
|
|
833
|
-
options: __HttpHandlerOptions,
|
|
834
|
-
cb: (err: any, data?: DescribeCommentsCommandOutput) => void
|
|
835
|
-
): void;
|
|
836
|
-
public describeComments(
|
|
837
|
-
args: DescribeCommentsCommandInput,
|
|
838
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeCommentsCommandOutput) => void),
|
|
839
|
-
cb?: (err: any, data?: DescribeCommentsCommandOutput) => void
|
|
840
|
-
): Promise<DescribeCommentsCommandOutput> | void {
|
|
841
|
-
const command = new DescribeCommentsCommand(args);
|
|
842
|
-
if (typeof optionsOrCb === "function") {
|
|
843
|
-
this.send(command, optionsOrCb);
|
|
844
|
-
} else if (typeof cb === "function") {
|
|
845
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
846
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
847
|
-
} else {
|
|
848
|
-
return this.send(command, optionsOrCb);
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
/**
|
|
853
|
-
* <p>Retrieves the document versions for the specified document.</p>
|
|
854
|
-
* <p>By default, only active versions are returned.</p>
|
|
855
|
-
*/
|
|
856
|
-
public describeDocumentVersions(
|
|
857
|
-
args: DescribeDocumentVersionsCommandInput,
|
|
858
|
-
options?: __HttpHandlerOptions
|
|
859
|
-
): Promise<DescribeDocumentVersionsCommandOutput>;
|
|
860
|
-
public describeDocumentVersions(
|
|
861
|
-
args: DescribeDocumentVersionsCommandInput,
|
|
862
|
-
cb: (err: any, data?: DescribeDocumentVersionsCommandOutput) => void
|
|
863
|
-
): void;
|
|
864
|
-
public describeDocumentVersions(
|
|
865
|
-
args: DescribeDocumentVersionsCommandInput,
|
|
866
|
-
options: __HttpHandlerOptions,
|
|
867
|
-
cb: (err: any, data?: DescribeDocumentVersionsCommandOutput) => void
|
|
868
|
-
): void;
|
|
869
|
-
public describeDocumentVersions(
|
|
870
|
-
args: DescribeDocumentVersionsCommandInput,
|
|
871
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDocumentVersionsCommandOutput) => void),
|
|
872
|
-
cb?: (err: any, data?: DescribeDocumentVersionsCommandOutput) => void
|
|
873
|
-
): Promise<DescribeDocumentVersionsCommandOutput> | void {
|
|
874
|
-
const command = new DescribeDocumentVersionsCommand(args);
|
|
875
|
-
if (typeof optionsOrCb === "function") {
|
|
876
|
-
this.send(command, optionsOrCb);
|
|
877
|
-
} else if (typeof cb === "function") {
|
|
878
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
879
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
880
|
-
} else {
|
|
881
|
-
return this.send(command, optionsOrCb);
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
/**
|
|
886
|
-
* <p>Describes the contents of the specified folder, including its documents and
|
|
887
|
-
* subfolders.</p>
|
|
888
|
-
* <p>By default, Amazon WorkDocs returns the first 100 active document and folder
|
|
889
|
-
* metadata items. If there are more results, the response includes a marker that you can
|
|
890
|
-
* use to request the next set of results. You can also request initialized
|
|
891
|
-
* documents.</p>
|
|
892
|
-
*/
|
|
893
|
-
public describeFolderContents(
|
|
894
|
-
args: DescribeFolderContentsCommandInput,
|
|
895
|
-
options?: __HttpHandlerOptions
|
|
896
|
-
): Promise<DescribeFolderContentsCommandOutput>;
|
|
897
|
-
public describeFolderContents(
|
|
898
|
-
args: DescribeFolderContentsCommandInput,
|
|
899
|
-
cb: (err: any, data?: DescribeFolderContentsCommandOutput) => void
|
|
900
|
-
): void;
|
|
901
|
-
public describeFolderContents(
|
|
902
|
-
args: DescribeFolderContentsCommandInput,
|
|
903
|
-
options: __HttpHandlerOptions,
|
|
904
|
-
cb: (err: any, data?: DescribeFolderContentsCommandOutput) => void
|
|
905
|
-
): void;
|
|
906
|
-
public describeFolderContents(
|
|
907
|
-
args: DescribeFolderContentsCommandInput,
|
|
908
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFolderContentsCommandOutput) => void),
|
|
909
|
-
cb?: (err: any, data?: DescribeFolderContentsCommandOutput) => void
|
|
910
|
-
): Promise<DescribeFolderContentsCommandOutput> | void {
|
|
911
|
-
const command = new DescribeFolderContentsCommand(args);
|
|
912
|
-
if (typeof optionsOrCb === "function") {
|
|
913
|
-
this.send(command, optionsOrCb);
|
|
914
|
-
} else if (typeof cb === "function") {
|
|
915
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
916
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
917
|
-
} else {
|
|
918
|
-
return this.send(command, optionsOrCb);
|
|
919
|
-
}
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
/**
|
|
923
|
-
* <p>Describes the groups specified by the query. Groups are defined by the underlying
|
|
924
|
-
* Active Directory.</p>
|
|
925
|
-
*/
|
|
926
|
-
public describeGroups(
|
|
927
|
-
args: DescribeGroupsCommandInput,
|
|
928
|
-
options?: __HttpHandlerOptions
|
|
929
|
-
): Promise<DescribeGroupsCommandOutput>;
|
|
930
|
-
public describeGroups(
|
|
931
|
-
args: DescribeGroupsCommandInput,
|
|
932
|
-
cb: (err: any, data?: DescribeGroupsCommandOutput) => void
|
|
933
|
-
): void;
|
|
934
|
-
public describeGroups(
|
|
935
|
-
args: DescribeGroupsCommandInput,
|
|
936
|
-
options: __HttpHandlerOptions,
|
|
937
|
-
cb: (err: any, data?: DescribeGroupsCommandOutput) => void
|
|
938
|
-
): void;
|
|
939
|
-
public describeGroups(
|
|
940
|
-
args: DescribeGroupsCommandInput,
|
|
941
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeGroupsCommandOutput) => void),
|
|
942
|
-
cb?: (err: any, data?: DescribeGroupsCommandOutput) => void
|
|
943
|
-
): Promise<DescribeGroupsCommandOutput> | void {
|
|
944
|
-
const command = new DescribeGroupsCommand(args);
|
|
945
|
-
if (typeof optionsOrCb === "function") {
|
|
946
|
-
this.send(command, optionsOrCb);
|
|
947
|
-
} else if (typeof cb === "function") {
|
|
948
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
949
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
950
|
-
} else {
|
|
951
|
-
return this.send(command, optionsOrCb);
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
/**
|
|
956
|
-
* <p>Lists the specified notification subscriptions.</p>
|
|
957
|
-
*/
|
|
958
|
-
public describeNotificationSubscriptions(
|
|
959
|
-
args: DescribeNotificationSubscriptionsCommandInput,
|
|
960
|
-
options?: __HttpHandlerOptions
|
|
961
|
-
): Promise<DescribeNotificationSubscriptionsCommandOutput>;
|
|
962
|
-
public describeNotificationSubscriptions(
|
|
963
|
-
args: DescribeNotificationSubscriptionsCommandInput,
|
|
964
|
-
cb: (err: any, data?: DescribeNotificationSubscriptionsCommandOutput) => void
|
|
965
|
-
): void;
|
|
966
|
-
public describeNotificationSubscriptions(
|
|
967
|
-
args: DescribeNotificationSubscriptionsCommandInput,
|
|
968
|
-
options: __HttpHandlerOptions,
|
|
969
|
-
cb: (err: any, data?: DescribeNotificationSubscriptionsCommandOutput) => void
|
|
970
|
-
): void;
|
|
971
|
-
public describeNotificationSubscriptions(
|
|
972
|
-
args: DescribeNotificationSubscriptionsCommandInput,
|
|
973
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeNotificationSubscriptionsCommandOutput) => void),
|
|
974
|
-
cb?: (err: any, data?: DescribeNotificationSubscriptionsCommandOutput) => void
|
|
975
|
-
): Promise<DescribeNotificationSubscriptionsCommandOutput> | void {
|
|
976
|
-
const command = new DescribeNotificationSubscriptionsCommand(args);
|
|
977
|
-
if (typeof optionsOrCb === "function") {
|
|
978
|
-
this.send(command, optionsOrCb);
|
|
979
|
-
} else if (typeof cb === "function") {
|
|
980
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
981
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
982
|
-
} else {
|
|
983
|
-
return this.send(command, optionsOrCb);
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* <p>Describes the permissions of a specified resource.</p>
|
|
989
|
-
*/
|
|
990
|
-
public describeResourcePermissions(
|
|
991
|
-
args: DescribeResourcePermissionsCommandInput,
|
|
992
|
-
options?: __HttpHandlerOptions
|
|
993
|
-
): Promise<DescribeResourcePermissionsCommandOutput>;
|
|
994
|
-
public describeResourcePermissions(
|
|
995
|
-
args: DescribeResourcePermissionsCommandInput,
|
|
996
|
-
cb: (err: any, data?: DescribeResourcePermissionsCommandOutput) => void
|
|
997
|
-
): void;
|
|
998
|
-
public describeResourcePermissions(
|
|
999
|
-
args: DescribeResourcePermissionsCommandInput,
|
|
1000
|
-
options: __HttpHandlerOptions,
|
|
1001
|
-
cb: (err: any, data?: DescribeResourcePermissionsCommandOutput) => void
|
|
1002
|
-
): void;
|
|
1003
|
-
public describeResourcePermissions(
|
|
1004
|
-
args: DescribeResourcePermissionsCommandInput,
|
|
1005
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeResourcePermissionsCommandOutput) => void),
|
|
1006
|
-
cb?: (err: any, data?: DescribeResourcePermissionsCommandOutput) => void
|
|
1007
|
-
): Promise<DescribeResourcePermissionsCommandOutput> | void {
|
|
1008
|
-
const command = new DescribeResourcePermissionsCommand(args);
|
|
1009
|
-
if (typeof optionsOrCb === "function") {
|
|
1010
|
-
this.send(command, optionsOrCb);
|
|
1011
|
-
} else if (typeof cb === "function") {
|
|
1012
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1013
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1014
|
-
} else {
|
|
1015
|
-
return this.send(command, optionsOrCb);
|
|
1016
|
-
}
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
/**
|
|
1020
|
-
* <p>Describes the current user's special folders; the <code>RootFolder</code> and the
|
|
1021
|
-
* <code>RecycleBin</code>. <code>RootFolder</code> is the root of user's files and
|
|
1022
|
-
* folders and <code>RecycleBin</code> is the root of recycled items. This is not a valid
|
|
1023
|
-
* action for SigV4 (administrative API) clients.</p>
|
|
1024
|
-
* <p>This action requires an authentication token. To get an authentication token,
|
|
1025
|
-
* register an application with Amazon WorkDocs. For more information, see <a href="https://docs.aws.amazon.com/workdocs/latest/developerguide/wd-auth-user.html">Authentication and Access
|
|
1026
|
-
* Control for User Applications</a> in the
|
|
1027
|
-
* <i>Amazon
|
|
1028
|
-
* WorkDocs Developer Guide</i>.</p>
|
|
1029
|
-
*/
|
|
1030
|
-
public describeRootFolders(
|
|
1031
|
-
args: DescribeRootFoldersCommandInput,
|
|
1032
|
-
options?: __HttpHandlerOptions
|
|
1033
|
-
): Promise<DescribeRootFoldersCommandOutput>;
|
|
1034
|
-
public describeRootFolders(
|
|
1035
|
-
args: DescribeRootFoldersCommandInput,
|
|
1036
|
-
cb: (err: any, data?: DescribeRootFoldersCommandOutput) => void
|
|
1037
|
-
): void;
|
|
1038
|
-
public describeRootFolders(
|
|
1039
|
-
args: DescribeRootFoldersCommandInput,
|
|
1040
|
-
options: __HttpHandlerOptions,
|
|
1041
|
-
cb: (err: any, data?: DescribeRootFoldersCommandOutput) => void
|
|
1042
|
-
): void;
|
|
1043
|
-
public describeRootFolders(
|
|
1044
|
-
args: DescribeRootFoldersCommandInput,
|
|
1045
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeRootFoldersCommandOutput) => void),
|
|
1046
|
-
cb?: (err: any, data?: DescribeRootFoldersCommandOutput) => void
|
|
1047
|
-
): Promise<DescribeRootFoldersCommandOutput> | void {
|
|
1048
|
-
const command = new DescribeRootFoldersCommand(args);
|
|
1049
|
-
if (typeof optionsOrCb === "function") {
|
|
1050
|
-
this.send(command, optionsOrCb);
|
|
1051
|
-
} else if (typeof cb === "function") {
|
|
1052
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1053
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1054
|
-
} else {
|
|
1055
|
-
return this.send(command, optionsOrCb);
|
|
1056
|
-
}
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
/**
|
|
1060
|
-
* <p>Describes the specified users. You can describe all users or filter the results
|
|
1061
|
-
* (for example, by status or organization).</p>
|
|
1062
|
-
* <p>By default, Amazon WorkDocs returns the first 24 active or pending users. If there
|
|
1063
|
-
* are more results, the response includes a marker that you can use to request the next
|
|
1064
|
-
* set of results.</p>
|
|
1065
|
-
*/
|
|
1066
|
-
public describeUsers(
|
|
1067
|
-
args: DescribeUsersCommandInput,
|
|
1068
|
-
options?: __HttpHandlerOptions
|
|
1069
|
-
): Promise<DescribeUsersCommandOutput>;
|
|
1070
|
-
public describeUsers(
|
|
1071
|
-
args: DescribeUsersCommandInput,
|
|
1072
|
-
cb: (err: any, data?: DescribeUsersCommandOutput) => void
|
|
1073
|
-
): void;
|
|
1074
|
-
public describeUsers(
|
|
1075
|
-
args: DescribeUsersCommandInput,
|
|
1076
|
-
options: __HttpHandlerOptions,
|
|
1077
|
-
cb: (err: any, data?: DescribeUsersCommandOutput) => void
|
|
1078
|
-
): void;
|
|
1079
|
-
public describeUsers(
|
|
1080
|
-
args: DescribeUsersCommandInput,
|
|
1081
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeUsersCommandOutput) => void),
|
|
1082
|
-
cb?: (err: any, data?: DescribeUsersCommandOutput) => void
|
|
1083
|
-
): Promise<DescribeUsersCommandOutput> | void {
|
|
1084
|
-
const command = new DescribeUsersCommand(args);
|
|
1085
|
-
if (typeof optionsOrCb === "function") {
|
|
1086
|
-
this.send(command, optionsOrCb);
|
|
1087
|
-
} else if (typeof cb === "function") {
|
|
1088
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1089
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1090
|
-
} else {
|
|
1091
|
-
return this.send(command, optionsOrCb);
|
|
1092
|
-
}
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
/**
|
|
1096
|
-
* <p>Retrieves details of the current user for whom the authentication token was
|
|
1097
|
-
* generated. This is not a valid action for SigV4 (administrative API) clients.</p>
|
|
1098
|
-
* <p>This action requires an authentication token. To get an authentication token,
|
|
1099
|
-
* register an application with Amazon WorkDocs. For more information, see <a href="https://docs.aws.amazon.com/workdocs/latest/developerguide/wd-auth-user.html">Authentication and Access
|
|
1100
|
-
* Control for User Applications</a> in the
|
|
1101
|
-
* <i>Amazon
|
|
1102
|
-
* WorkDocs Developer Guide</i>.</p>
|
|
1103
|
-
*/
|
|
1104
|
-
public getCurrentUser(
|
|
1105
|
-
args: GetCurrentUserCommandInput,
|
|
1106
|
-
options?: __HttpHandlerOptions
|
|
1107
|
-
): Promise<GetCurrentUserCommandOutput>;
|
|
1108
|
-
public getCurrentUser(
|
|
1109
|
-
args: GetCurrentUserCommandInput,
|
|
1110
|
-
cb: (err: any, data?: GetCurrentUserCommandOutput) => void
|
|
1111
|
-
): void;
|
|
1112
|
-
public getCurrentUser(
|
|
1113
|
-
args: GetCurrentUserCommandInput,
|
|
1114
|
-
options: __HttpHandlerOptions,
|
|
1115
|
-
cb: (err: any, data?: GetCurrentUserCommandOutput) => void
|
|
1116
|
-
): void;
|
|
1117
|
-
public getCurrentUser(
|
|
1118
|
-
args: GetCurrentUserCommandInput,
|
|
1119
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCurrentUserCommandOutput) => void),
|
|
1120
|
-
cb?: (err: any, data?: GetCurrentUserCommandOutput) => void
|
|
1121
|
-
): Promise<GetCurrentUserCommandOutput> | void {
|
|
1122
|
-
const command = new GetCurrentUserCommand(args);
|
|
1123
|
-
if (typeof optionsOrCb === "function") {
|
|
1124
|
-
this.send(command, optionsOrCb);
|
|
1125
|
-
} else if (typeof cb === "function") {
|
|
1126
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1127
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1128
|
-
} else {
|
|
1129
|
-
return this.send(command, optionsOrCb);
|
|
1130
|
-
}
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
/**
|
|
1134
|
-
* <p>Retrieves details of a document.</p>
|
|
1135
|
-
*/
|
|
1136
|
-
public getDocument(args: GetDocumentCommandInput, options?: __HttpHandlerOptions): Promise<GetDocumentCommandOutput>;
|
|
1137
|
-
public getDocument(args: GetDocumentCommandInput, cb: (err: any, data?: GetDocumentCommandOutput) => void): void;
|
|
1138
|
-
public getDocument(
|
|
1139
|
-
args: GetDocumentCommandInput,
|
|
1140
|
-
options: __HttpHandlerOptions,
|
|
1141
|
-
cb: (err: any, data?: GetDocumentCommandOutput) => void
|
|
1142
|
-
): void;
|
|
1143
|
-
public getDocument(
|
|
1144
|
-
args: GetDocumentCommandInput,
|
|
1145
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDocumentCommandOutput) => void),
|
|
1146
|
-
cb?: (err: any, data?: GetDocumentCommandOutput) => void
|
|
1147
|
-
): Promise<GetDocumentCommandOutput> | void {
|
|
1148
|
-
const command = new GetDocumentCommand(args);
|
|
1149
|
-
if (typeof optionsOrCb === "function") {
|
|
1150
|
-
this.send(command, optionsOrCb);
|
|
1151
|
-
} else if (typeof cb === "function") {
|
|
1152
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1153
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1154
|
-
} else {
|
|
1155
|
-
return this.send(command, optionsOrCb);
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* <p>Retrieves the path information (the hierarchy from the root folder) for the
|
|
1161
|
-
* requested document.</p>
|
|
1162
|
-
* <p>By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the
|
|
1163
|
-
* requested document and only includes the IDs of the parent folders in the path. You can
|
|
1164
|
-
* limit the maximum number of levels. You can also request the names of the parent
|
|
1165
|
-
* folders.</p>
|
|
1166
|
-
*/
|
|
1167
|
-
public getDocumentPath(
|
|
1168
|
-
args: GetDocumentPathCommandInput,
|
|
1169
|
-
options?: __HttpHandlerOptions
|
|
1170
|
-
): Promise<GetDocumentPathCommandOutput>;
|
|
1171
|
-
public getDocumentPath(
|
|
1172
|
-
args: GetDocumentPathCommandInput,
|
|
1173
|
-
cb: (err: any, data?: GetDocumentPathCommandOutput) => void
|
|
1174
|
-
): void;
|
|
1175
|
-
public getDocumentPath(
|
|
1176
|
-
args: GetDocumentPathCommandInput,
|
|
1177
|
-
options: __HttpHandlerOptions,
|
|
1178
|
-
cb: (err: any, data?: GetDocumentPathCommandOutput) => void
|
|
1179
|
-
): void;
|
|
1180
|
-
public getDocumentPath(
|
|
1181
|
-
args: GetDocumentPathCommandInput,
|
|
1182
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDocumentPathCommandOutput) => void),
|
|
1183
|
-
cb?: (err: any, data?: GetDocumentPathCommandOutput) => void
|
|
1184
|
-
): Promise<GetDocumentPathCommandOutput> | void {
|
|
1185
|
-
const command = new GetDocumentPathCommand(args);
|
|
1186
|
-
if (typeof optionsOrCb === "function") {
|
|
1187
|
-
this.send(command, optionsOrCb);
|
|
1188
|
-
} else if (typeof cb === "function") {
|
|
1189
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1190
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1191
|
-
} else {
|
|
1192
|
-
return this.send(command, optionsOrCb);
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
/**
|
|
1197
|
-
* <p>Retrieves version metadata for the specified document.</p>
|
|
1198
|
-
*/
|
|
1199
|
-
public getDocumentVersion(
|
|
1200
|
-
args: GetDocumentVersionCommandInput,
|
|
1201
|
-
options?: __HttpHandlerOptions
|
|
1202
|
-
): Promise<GetDocumentVersionCommandOutput>;
|
|
1203
|
-
public getDocumentVersion(
|
|
1204
|
-
args: GetDocumentVersionCommandInput,
|
|
1205
|
-
cb: (err: any, data?: GetDocumentVersionCommandOutput) => void
|
|
1206
|
-
): void;
|
|
1207
|
-
public getDocumentVersion(
|
|
1208
|
-
args: GetDocumentVersionCommandInput,
|
|
1209
|
-
options: __HttpHandlerOptions,
|
|
1210
|
-
cb: (err: any, data?: GetDocumentVersionCommandOutput) => void
|
|
1211
|
-
): void;
|
|
1212
|
-
public getDocumentVersion(
|
|
1213
|
-
args: GetDocumentVersionCommandInput,
|
|
1214
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDocumentVersionCommandOutput) => void),
|
|
1215
|
-
cb?: (err: any, data?: GetDocumentVersionCommandOutput) => void
|
|
1216
|
-
): Promise<GetDocumentVersionCommandOutput> | void {
|
|
1217
|
-
const command = new GetDocumentVersionCommand(args);
|
|
1218
|
-
if (typeof optionsOrCb === "function") {
|
|
1219
|
-
this.send(command, optionsOrCb);
|
|
1220
|
-
} else if (typeof cb === "function") {
|
|
1221
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1222
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1223
|
-
} else {
|
|
1224
|
-
return this.send(command, optionsOrCb);
|
|
1225
|
-
}
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
|
-
/**
|
|
1229
|
-
* <p>Retrieves the metadata of the specified folder.</p>
|
|
1230
|
-
*/
|
|
1231
|
-
public getFolder(args: GetFolderCommandInput, options?: __HttpHandlerOptions): Promise<GetFolderCommandOutput>;
|
|
1232
|
-
public getFolder(args: GetFolderCommandInput, cb: (err: any, data?: GetFolderCommandOutput) => void): void;
|
|
1233
|
-
public getFolder(
|
|
1234
|
-
args: GetFolderCommandInput,
|
|
1235
|
-
options: __HttpHandlerOptions,
|
|
1236
|
-
cb: (err: any, data?: GetFolderCommandOutput) => void
|
|
1237
|
-
): void;
|
|
1238
|
-
public getFolder(
|
|
1239
|
-
args: GetFolderCommandInput,
|
|
1240
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFolderCommandOutput) => void),
|
|
1241
|
-
cb?: (err: any, data?: GetFolderCommandOutput) => void
|
|
1242
|
-
): Promise<GetFolderCommandOutput> | void {
|
|
1243
|
-
const command = new GetFolderCommand(args);
|
|
1244
|
-
if (typeof optionsOrCb === "function") {
|
|
1245
|
-
this.send(command, optionsOrCb);
|
|
1246
|
-
} else if (typeof cb === "function") {
|
|
1247
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1248
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1249
|
-
} else {
|
|
1250
|
-
return this.send(command, optionsOrCb);
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
/**
|
|
1255
|
-
* <p>Retrieves the path information (the hierarchy from the root folder) for the
|
|
1256
|
-
* specified folder.</p>
|
|
1257
|
-
* <p>By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the
|
|
1258
|
-
* requested folder and only includes the IDs of the parent folders in the path. You can
|
|
1259
|
-
* limit the maximum number of levels. You can also request the parent folder
|
|
1260
|
-
* names.</p>
|
|
1261
|
-
*/
|
|
1262
|
-
public getFolderPath(
|
|
1263
|
-
args: GetFolderPathCommandInput,
|
|
1264
|
-
options?: __HttpHandlerOptions
|
|
1265
|
-
): Promise<GetFolderPathCommandOutput>;
|
|
1266
|
-
public getFolderPath(
|
|
1267
|
-
args: GetFolderPathCommandInput,
|
|
1268
|
-
cb: (err: any, data?: GetFolderPathCommandOutput) => void
|
|
1269
|
-
): void;
|
|
1270
|
-
public getFolderPath(
|
|
1271
|
-
args: GetFolderPathCommandInput,
|
|
1272
|
-
options: __HttpHandlerOptions,
|
|
1273
|
-
cb: (err: any, data?: GetFolderPathCommandOutput) => void
|
|
1274
|
-
): void;
|
|
1275
|
-
public getFolderPath(
|
|
1276
|
-
args: GetFolderPathCommandInput,
|
|
1277
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFolderPathCommandOutput) => void),
|
|
1278
|
-
cb?: (err: any, data?: GetFolderPathCommandOutput) => void
|
|
1279
|
-
): Promise<GetFolderPathCommandOutput> | void {
|
|
1280
|
-
const command = new GetFolderPathCommand(args);
|
|
1281
|
-
if (typeof optionsOrCb === "function") {
|
|
1282
|
-
this.send(command, optionsOrCb);
|
|
1283
|
-
} else if (typeof cb === "function") {
|
|
1284
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1285
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1286
|
-
} else {
|
|
1287
|
-
return this.send(command, optionsOrCb);
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
|
|
1291
|
-
/**
|
|
1292
|
-
* <p>Retrieves a collection of resources, including folders and documents. The only
|
|
1293
|
-
* <code>CollectionType</code> supported is <code>SHARED_WITH_ME</code>.</p>
|
|
1294
|
-
*/
|
|
1295
|
-
public getResources(
|
|
1296
|
-
args: GetResourcesCommandInput,
|
|
1297
|
-
options?: __HttpHandlerOptions
|
|
1298
|
-
): Promise<GetResourcesCommandOutput>;
|
|
1299
|
-
public getResources(args: GetResourcesCommandInput, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
|
|
1300
|
-
public getResources(
|
|
1301
|
-
args: GetResourcesCommandInput,
|
|
1302
|
-
options: __HttpHandlerOptions,
|
|
1303
|
-
cb: (err: any, data?: GetResourcesCommandOutput) => void
|
|
1304
|
-
): void;
|
|
1305
|
-
public getResources(
|
|
1306
|
-
args: GetResourcesCommandInput,
|
|
1307
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetResourcesCommandOutput) => void),
|
|
1308
|
-
cb?: (err: any, data?: GetResourcesCommandOutput) => void
|
|
1309
|
-
): Promise<GetResourcesCommandOutput> | void {
|
|
1310
|
-
const command = new GetResourcesCommand(args);
|
|
1311
|
-
if (typeof optionsOrCb === "function") {
|
|
1312
|
-
this.send(command, optionsOrCb);
|
|
1313
|
-
} else if (typeof cb === "function") {
|
|
1314
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1315
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1316
|
-
} else {
|
|
1317
|
-
return this.send(command, optionsOrCb);
|
|
1318
|
-
}
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
/**
|
|
1322
|
-
* <p>Creates a new document object and version object.</p>
|
|
1323
|
-
* <p>The client specifies the parent folder ID and name of the document to upload. The
|
|
1324
|
-
* ID is optionally specified when creating a new version of an existing document. This is
|
|
1325
|
-
* the first step to upload a document. Next, upload the document to the URL returned from
|
|
1326
|
-
* the call, and then call <a>UpdateDocumentVersion</a>.</p>
|
|
1327
|
-
* <p>To cancel the document upload, call <a>AbortDocumentVersionUpload</a>.</p>
|
|
1328
|
-
*/
|
|
1329
|
-
public initiateDocumentVersionUpload(
|
|
1330
|
-
args: InitiateDocumentVersionUploadCommandInput,
|
|
1331
|
-
options?: __HttpHandlerOptions
|
|
1332
|
-
): Promise<InitiateDocumentVersionUploadCommandOutput>;
|
|
1333
|
-
public initiateDocumentVersionUpload(
|
|
1334
|
-
args: InitiateDocumentVersionUploadCommandInput,
|
|
1335
|
-
cb: (err: any, data?: InitiateDocumentVersionUploadCommandOutput) => void
|
|
1336
|
-
): void;
|
|
1337
|
-
public initiateDocumentVersionUpload(
|
|
1338
|
-
args: InitiateDocumentVersionUploadCommandInput,
|
|
1339
|
-
options: __HttpHandlerOptions,
|
|
1340
|
-
cb: (err: any, data?: InitiateDocumentVersionUploadCommandOutput) => void
|
|
1341
|
-
): void;
|
|
1342
|
-
public initiateDocumentVersionUpload(
|
|
1343
|
-
args: InitiateDocumentVersionUploadCommandInput,
|
|
1344
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: InitiateDocumentVersionUploadCommandOutput) => void),
|
|
1345
|
-
cb?: (err: any, data?: InitiateDocumentVersionUploadCommandOutput) => void
|
|
1346
|
-
): Promise<InitiateDocumentVersionUploadCommandOutput> | void {
|
|
1347
|
-
const command = new InitiateDocumentVersionUploadCommand(args);
|
|
1348
|
-
if (typeof optionsOrCb === "function") {
|
|
1349
|
-
this.send(command, optionsOrCb);
|
|
1350
|
-
} else if (typeof cb === "function") {
|
|
1351
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1352
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1353
|
-
} else {
|
|
1354
|
-
return this.send(command, optionsOrCb);
|
|
1355
|
-
}
|
|
1356
|
-
}
|
|
1357
|
-
|
|
1358
|
-
/**
|
|
1359
|
-
* <p>Removes all the permissions from the specified resource.</p>
|
|
1360
|
-
*/
|
|
1361
|
-
public removeAllResourcePermissions(
|
|
1362
|
-
args: RemoveAllResourcePermissionsCommandInput,
|
|
1363
|
-
options?: __HttpHandlerOptions
|
|
1364
|
-
): Promise<RemoveAllResourcePermissionsCommandOutput>;
|
|
1365
|
-
public removeAllResourcePermissions(
|
|
1366
|
-
args: RemoveAllResourcePermissionsCommandInput,
|
|
1367
|
-
cb: (err: any, data?: RemoveAllResourcePermissionsCommandOutput) => void
|
|
1368
|
-
): void;
|
|
1369
|
-
public removeAllResourcePermissions(
|
|
1370
|
-
args: RemoveAllResourcePermissionsCommandInput,
|
|
1371
|
-
options: __HttpHandlerOptions,
|
|
1372
|
-
cb: (err: any, data?: RemoveAllResourcePermissionsCommandOutput) => void
|
|
1373
|
-
): void;
|
|
1374
|
-
public removeAllResourcePermissions(
|
|
1375
|
-
args: RemoveAllResourcePermissionsCommandInput,
|
|
1376
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveAllResourcePermissionsCommandOutput) => void),
|
|
1377
|
-
cb?: (err: any, data?: RemoveAllResourcePermissionsCommandOutput) => void
|
|
1378
|
-
): Promise<RemoveAllResourcePermissionsCommandOutput> | void {
|
|
1379
|
-
const command = new RemoveAllResourcePermissionsCommand(args);
|
|
1380
|
-
if (typeof optionsOrCb === "function") {
|
|
1381
|
-
this.send(command, optionsOrCb);
|
|
1382
|
-
} else if (typeof cb === "function") {
|
|
1383
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1384
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1385
|
-
} else {
|
|
1386
|
-
return this.send(command, optionsOrCb);
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
/**
|
|
1391
|
-
* <p>Removes the permission for the specified principal from the specified
|
|
1392
|
-
* resource.</p>
|
|
1393
|
-
*/
|
|
1394
|
-
public removeResourcePermission(
|
|
1395
|
-
args: RemoveResourcePermissionCommandInput,
|
|
1396
|
-
options?: __HttpHandlerOptions
|
|
1397
|
-
): Promise<RemoveResourcePermissionCommandOutput>;
|
|
1398
|
-
public removeResourcePermission(
|
|
1399
|
-
args: RemoveResourcePermissionCommandInput,
|
|
1400
|
-
cb: (err: any, data?: RemoveResourcePermissionCommandOutput) => void
|
|
1401
|
-
): void;
|
|
1402
|
-
public removeResourcePermission(
|
|
1403
|
-
args: RemoveResourcePermissionCommandInput,
|
|
1404
|
-
options: __HttpHandlerOptions,
|
|
1405
|
-
cb: (err: any, data?: RemoveResourcePermissionCommandOutput) => void
|
|
1406
|
-
): void;
|
|
1407
|
-
public removeResourcePermission(
|
|
1408
|
-
args: RemoveResourcePermissionCommandInput,
|
|
1409
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveResourcePermissionCommandOutput) => void),
|
|
1410
|
-
cb?: (err: any, data?: RemoveResourcePermissionCommandOutput) => void
|
|
1411
|
-
): Promise<RemoveResourcePermissionCommandOutput> | void {
|
|
1412
|
-
const command = new RemoveResourcePermissionCommand(args);
|
|
1413
|
-
if (typeof optionsOrCb === "function") {
|
|
1414
|
-
this.send(command, optionsOrCb);
|
|
1415
|
-
} else if (typeof cb === "function") {
|
|
1416
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1417
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1418
|
-
} else {
|
|
1419
|
-
return this.send(command, optionsOrCb);
|
|
1420
|
-
}
|
|
1421
|
-
}
|
|
1422
|
-
|
|
1423
|
-
/**
|
|
1424
|
-
* <p>Updates the specified attributes of a document. The user must have access to both
|
|
1425
|
-
* the document and its parent folder, if applicable.</p>
|
|
1426
|
-
*/
|
|
1427
|
-
public updateDocument(
|
|
1428
|
-
args: UpdateDocumentCommandInput,
|
|
1429
|
-
options?: __HttpHandlerOptions
|
|
1430
|
-
): Promise<UpdateDocumentCommandOutput>;
|
|
1431
|
-
public updateDocument(
|
|
1432
|
-
args: UpdateDocumentCommandInput,
|
|
1433
|
-
cb: (err: any, data?: UpdateDocumentCommandOutput) => void
|
|
1434
|
-
): void;
|
|
1435
|
-
public updateDocument(
|
|
1436
|
-
args: UpdateDocumentCommandInput,
|
|
1437
|
-
options: __HttpHandlerOptions,
|
|
1438
|
-
cb: (err: any, data?: UpdateDocumentCommandOutput) => void
|
|
1439
|
-
): void;
|
|
1440
|
-
public updateDocument(
|
|
1441
|
-
args: UpdateDocumentCommandInput,
|
|
1442
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDocumentCommandOutput) => void),
|
|
1443
|
-
cb?: (err: any, data?: UpdateDocumentCommandOutput) => void
|
|
1444
|
-
): Promise<UpdateDocumentCommandOutput> | void {
|
|
1445
|
-
const command = new UpdateDocumentCommand(args);
|
|
1446
|
-
if (typeof optionsOrCb === "function") {
|
|
1447
|
-
this.send(command, optionsOrCb);
|
|
1448
|
-
} else if (typeof cb === "function") {
|
|
1449
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1450
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1451
|
-
} else {
|
|
1452
|
-
return this.send(command, optionsOrCb);
|
|
1453
|
-
}
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1456
|
-
/**
|
|
1457
|
-
* <p>Changes the status of the document version to ACTIVE. </p>
|
|
1458
|
-
* <p>Amazon WorkDocs also sets its document container to ACTIVE. This is the last step
|
|
1459
|
-
* in a document upload, after the client uploads the document to an S3-presigned URL
|
|
1460
|
-
* returned by <a>InitiateDocumentVersionUpload</a>. </p>
|
|
1461
|
-
*/
|
|
1462
|
-
public updateDocumentVersion(
|
|
1463
|
-
args: UpdateDocumentVersionCommandInput,
|
|
1464
|
-
options?: __HttpHandlerOptions
|
|
1465
|
-
): Promise<UpdateDocumentVersionCommandOutput>;
|
|
1466
|
-
public updateDocumentVersion(
|
|
1467
|
-
args: UpdateDocumentVersionCommandInput,
|
|
1468
|
-
cb: (err: any, data?: UpdateDocumentVersionCommandOutput) => void
|
|
1469
|
-
): void;
|
|
1470
|
-
public updateDocumentVersion(
|
|
1471
|
-
args: UpdateDocumentVersionCommandInput,
|
|
1472
|
-
options: __HttpHandlerOptions,
|
|
1473
|
-
cb: (err: any, data?: UpdateDocumentVersionCommandOutput) => void
|
|
1474
|
-
): void;
|
|
1475
|
-
public updateDocumentVersion(
|
|
1476
|
-
args: UpdateDocumentVersionCommandInput,
|
|
1477
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDocumentVersionCommandOutput) => void),
|
|
1478
|
-
cb?: (err: any, data?: UpdateDocumentVersionCommandOutput) => void
|
|
1479
|
-
): Promise<UpdateDocumentVersionCommandOutput> | void {
|
|
1480
|
-
const command = new UpdateDocumentVersionCommand(args);
|
|
1481
|
-
if (typeof optionsOrCb === "function") {
|
|
1482
|
-
this.send(command, optionsOrCb);
|
|
1483
|
-
} else if (typeof cb === "function") {
|
|
1484
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1485
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1486
|
-
} else {
|
|
1487
|
-
return this.send(command, optionsOrCb);
|
|
1488
|
-
}
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
/**
|
|
1492
|
-
* <p>Updates the specified attributes of the specified folder. The user must have access
|
|
1493
|
-
* to both the folder and its parent folder, if applicable.</p>
|
|
1494
|
-
*/
|
|
1495
|
-
public updateFolder(
|
|
1496
|
-
args: UpdateFolderCommandInput,
|
|
1497
|
-
options?: __HttpHandlerOptions
|
|
1498
|
-
): Promise<UpdateFolderCommandOutput>;
|
|
1499
|
-
public updateFolder(args: UpdateFolderCommandInput, cb: (err: any, data?: UpdateFolderCommandOutput) => void): void;
|
|
1500
|
-
public updateFolder(
|
|
1501
|
-
args: UpdateFolderCommandInput,
|
|
1502
|
-
options: __HttpHandlerOptions,
|
|
1503
|
-
cb: (err: any, data?: UpdateFolderCommandOutput) => void
|
|
1504
|
-
): void;
|
|
1505
|
-
public updateFolder(
|
|
1506
|
-
args: UpdateFolderCommandInput,
|
|
1507
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFolderCommandOutput) => void),
|
|
1508
|
-
cb?: (err: any, data?: UpdateFolderCommandOutput) => void
|
|
1509
|
-
): Promise<UpdateFolderCommandOutput> | void {
|
|
1510
|
-
const command = new UpdateFolderCommand(args);
|
|
1511
|
-
if (typeof optionsOrCb === "function") {
|
|
1512
|
-
this.send(command, optionsOrCb);
|
|
1513
|
-
} else if (typeof cb === "function") {
|
|
1514
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1515
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1516
|
-
} else {
|
|
1517
|
-
return this.send(command, optionsOrCb);
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
|
-
/**
|
|
1522
|
-
* <p>Updates the specified attributes of the specified user, and grants or revokes
|
|
1523
|
-
* administrative privileges to the Amazon WorkDocs site.</p>
|
|
1524
|
-
*/
|
|
1525
|
-
public updateUser(args: UpdateUserCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserCommandOutput>;
|
|
1526
|
-
public updateUser(args: UpdateUserCommandInput, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
|
|
1527
|
-
public updateUser(
|
|
1528
|
-
args: UpdateUserCommandInput,
|
|
1529
|
-
options: __HttpHandlerOptions,
|
|
1530
|
-
cb: (err: any, data?: UpdateUserCommandOutput) => void
|
|
1531
|
-
): void;
|
|
1532
|
-
public updateUser(
|
|
1533
|
-
args: UpdateUserCommandInput,
|
|
1534
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateUserCommandOutput) => void),
|
|
1535
|
-
cb?: (err: any, data?: UpdateUserCommandOutput) => void
|
|
1536
|
-
): Promise<UpdateUserCommandOutput> | void {
|
|
1537
|
-
const command = new UpdateUserCommand(args);
|
|
1538
|
-
if (typeof optionsOrCb === "function") {
|
|
1539
|
-
this.send(command, optionsOrCb);
|
|
1540
|
-
} else if (typeof cb === "function") {
|
|
1541
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1542
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1543
|
-
} else {
|
|
1544
|
-
return this.send(command, optionsOrCb);
|
|
1545
|
-
}
|
|
1546
|
-
}
|
|
1547
|
-
}
|