@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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetDocumentCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Retrieves details of a document.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class GetDocumentCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.GetDocumentCommand = GetDocumentCommand;
|
|
61
|
-
//# sourceMappingURL=GetDocumentCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetDocumentPathCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Retrieves the path information (the hierarchy from the root folder) for the
|
|
10
10
|
* requested document.</p>
|
|
@@ -63,4 +63,3 @@ class GetDocumentPathCommand extends smithy_client_1.Command {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
exports.GetDocumentPathCommand = GetDocumentPathCommand;
|
|
66
|
-
//# sourceMappingURL=GetDocumentPathCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetDocumentVersionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Retrieves version metadata for the specified document.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class GetDocumentVersionCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.GetDocumentVersionCommand = GetDocumentVersionCommand;
|
|
61
|
-
//# sourceMappingURL=GetDocumentVersionCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetFolderCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Retrieves the metadata of the specified folder.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class GetFolderCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.GetFolderCommand = GetFolderCommand;
|
|
61
|
-
//# sourceMappingURL=GetFolderCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetFolderPathCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Retrieves the path information (the hierarchy from the root folder) for the
|
|
10
10
|
* specified folder.</p>
|
|
@@ -63,4 +63,3 @@ class GetFolderPathCommand extends smithy_client_1.Command {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
exports.GetFolderPathCommand = GetFolderPathCommand;
|
|
66
|
-
//# sourceMappingURL=GetFolderPathCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetResourcesCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Retrieves a collection of resources, including folders and documents. The only
|
|
10
10
|
* <code>CollectionType</code> supported is <code>SHARED_WITH_ME</code>.</p>
|
|
@@ -59,4 +59,3 @@ class GetResourcesCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.GetResourcesCommand = GetResourcesCommand;
|
|
62
|
-
//# sourceMappingURL=GetResourcesCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InitiateDocumentVersionUploadCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Creates a new document object and version object.</p>
|
|
10
10
|
* <p>The client specifies the parent folder ID and name of the document to upload. The
|
|
@@ -63,4 +63,3 @@ class InitiateDocumentVersionUploadCommand extends smithy_client_1.Command {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
exports.InitiateDocumentVersionUploadCommand = InitiateDocumentVersionUploadCommand;
|
|
66
|
-
//# sourceMappingURL=InitiateDocumentVersionUploadCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RemoveAllResourcePermissionsCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Removes all the permissions from the specified resource.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class RemoveAllResourcePermissionsCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.RemoveAllResourcePermissionsCommand = RemoveAllResourcePermissionsCommand;
|
|
61
|
-
//# sourceMappingURL=RemoveAllResourcePermissionsCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RemoveResourcePermissionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Removes the permission for the specified principal from the specified
|
|
10
10
|
* resource.</p>
|
|
@@ -59,4 +59,3 @@ class RemoveResourcePermissionCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.RemoveResourcePermissionCommand = RemoveResourcePermissionCommand;
|
|
62
|
-
//# sourceMappingURL=RemoveResourcePermissionCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateDocumentCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Updates the specified attributes of a document. The user must have access to both
|
|
10
10
|
* the document and its parent folder, if applicable.</p>
|
|
@@ -59,4 +59,3 @@ class UpdateDocumentCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.UpdateDocumentCommand = UpdateDocumentCommand;
|
|
62
|
-
//# sourceMappingURL=UpdateDocumentCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateDocumentVersionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Changes the status of the document version to ACTIVE. </p>
|
|
10
10
|
* <p>Amazon WorkDocs also sets its document container to ACTIVE. This is the last step
|
|
@@ -61,4 +61,3 @@ class UpdateDocumentVersionCommand extends smithy_client_1.Command {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
exports.UpdateDocumentVersionCommand = UpdateDocumentVersionCommand;
|
|
64
|
-
//# sourceMappingURL=UpdateDocumentVersionCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateFolderCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Updates the specified attributes of the specified folder. The user must have access
|
|
10
10
|
* to both the folder and its parent folder, if applicable.</p>
|
|
@@ -59,4 +59,3 @@ class UpdateFolderCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.UpdateFolderCommand = UpdateFolderCommand;
|
|
62
|
-
//# sourceMappingURL=UpdateFolderCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateUserCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Updates the specified attributes of the specified user, and grants or revokes
|
|
10
10
|
* administrative privileges to the Amazon WorkDocs site.</p>
|
|
@@ -59,4 +59,3 @@ class UpdateUserCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.UpdateUserCommand = UpdateUserCommand;
|
|
62
|
-
//# sourceMappingURL=UpdateUserCommand.js.map
|
|
@@ -49,4 +49,3 @@ tslib_1.__exportStar(require("./commands/UpdateFolderCommand"), exports);
|
|
|
49
49
|
tslib_1.__exportStar(require("./commands/UpdateUserCommand"), exports);
|
|
50
50
|
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
51
51
|
tslib_1.__exportStar(require("./models/index"), exports);
|
|
52
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDocumentVersions = void 0;
|
|
4
|
+
const DescribeDocumentVersionsCommand_1 = require("../commands/DescribeDocumentVersionsCommand");
|
|
4
5
|
const WorkDocs_1 = require("../WorkDocs");
|
|
5
6
|
const WorkDocsClient_1 = require("../WorkDocsClient");
|
|
6
|
-
const DescribeDocumentVersionsCommand_1 = require("../commands/DescribeDocumentVersionsCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateDescribeDocumentVersions(config, input, ...additionalArg
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateDescribeDocumentVersions = paginateDescribeDocumentVersions;
|
|
46
|
-
//# sourceMappingURL=DescribeDocumentVersionsPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeFolderContents = void 0;
|
|
4
|
+
const DescribeFolderContentsCommand_1 = require("../commands/DescribeFolderContentsCommand");
|
|
4
5
|
const WorkDocs_1 = require("../WorkDocs");
|
|
5
6
|
const WorkDocsClient_1 = require("../WorkDocsClient");
|
|
6
|
-
const DescribeFolderContentsCommand_1 = require("../commands/DescribeFolderContentsCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateDescribeFolderContents(config, input, ...additionalArgum
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateDescribeFolderContents = paginateDescribeFolderContents;
|
|
46
|
-
//# sourceMappingURL=DescribeFolderContentsPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeUsers = void 0;
|
|
4
|
+
const DescribeUsersCommand_1 = require("../commands/DescribeUsersCommand");
|
|
4
5
|
const WorkDocs_1 = require("../WorkDocs");
|
|
5
6
|
const WorkDocsClient_1 = require("../WorkDocsClient");
|
|
6
|
-
const DescribeUsersCommand_1 = require("../commands/DescribeUsersCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateDescribeUsers(config, input, ...additionalArguments) {
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateDescribeUsers = paginateDescribeUsers;
|
|
46
|
-
//# sourceMappingURL=DescribeUsersPaginator.js.map
|
|
@@ -203,7 +203,7 @@ const serializeAws_restJson1CreateFolderCommand = async (input, context) => {
|
|
|
203
203
|
"content-type": "application/json",
|
|
204
204
|
...(isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }),
|
|
205
205
|
};
|
|
206
|
-
|
|
206
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/folders";
|
|
207
207
|
let body;
|
|
208
208
|
body = JSON.stringify({
|
|
209
209
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
@@ -295,7 +295,7 @@ const serializeAws_restJson1CreateUserCommand = async (input, context) => {
|
|
|
295
295
|
"content-type": "application/json",
|
|
296
296
|
...(isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }),
|
|
297
297
|
};
|
|
298
|
-
|
|
298
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/users";
|
|
299
299
|
let body;
|
|
300
300
|
body = JSON.stringify({
|
|
301
301
|
...(input.EmailAddress !== undefined && input.EmailAddress !== null && { EmailAddress: input.EmailAddress }),
|
|
@@ -619,7 +619,7 @@ const serializeAws_restJson1DescribeActivitiesCommand = async (input, context) =
|
|
|
619
619
|
const headers = {
|
|
620
620
|
...(isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }),
|
|
621
621
|
};
|
|
622
|
-
|
|
622
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/activities";
|
|
623
623
|
const query = {
|
|
624
624
|
...(input.StartTime !== undefined && { startTime: (input.StartTime.toISOString().split(".")[0] + "Z").toString() }),
|
|
625
625
|
...(input.EndTime !== undefined && { endTime: (input.EndTime.toISOString().split(".")[0] + "Z").toString() }),
|
|
@@ -767,7 +767,7 @@ const serializeAws_restJson1DescribeGroupsCommand = async (input, context) => {
|
|
|
767
767
|
const headers = {
|
|
768
768
|
...(isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }),
|
|
769
769
|
};
|
|
770
|
-
|
|
770
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/groups";
|
|
771
771
|
const query = {
|
|
772
772
|
...(input.SearchQuery !== undefined && { searchQuery: input.SearchQuery }),
|
|
773
773
|
...(input.OrganizationId !== undefined && { organizationId: input.OrganizationId }),
|
|
@@ -859,7 +859,7 @@ const serializeAws_restJson1DescribeRootFoldersCommand = async (input, context)
|
|
|
859
859
|
const headers = {
|
|
860
860
|
...(isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }),
|
|
861
861
|
};
|
|
862
|
-
|
|
862
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/me/root";
|
|
863
863
|
const query = {
|
|
864
864
|
...(input.Limit !== undefined && { limit: input.Limit.toString() }),
|
|
865
865
|
...(input.Marker !== undefined && { marker: input.Marker }),
|
|
@@ -882,7 +882,7 @@ const serializeAws_restJson1DescribeUsersCommand = async (input, context) => {
|
|
|
882
882
|
const headers = {
|
|
883
883
|
...(isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }),
|
|
884
884
|
};
|
|
885
|
-
|
|
885
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/users";
|
|
886
886
|
const query = {
|
|
887
887
|
...(input.OrganizationId !== undefined && { organizationId: input.OrganizationId }),
|
|
888
888
|
...(input.UserIds !== undefined && { userIds: input.UserIds }),
|
|
@@ -912,7 +912,7 @@ const serializeAws_restJson1GetCurrentUserCommand = async (input, context) => {
|
|
|
912
912
|
const headers = {
|
|
913
913
|
...(isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }),
|
|
914
914
|
};
|
|
915
|
-
|
|
915
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/me";
|
|
916
916
|
let body;
|
|
917
917
|
return new protocol_http_1.HttpRequest({
|
|
918
918
|
protocol,
|
|
@@ -1106,7 +1106,7 @@ const serializeAws_restJson1GetResourcesCommand = async (input, context) => {
|
|
|
1106
1106
|
const headers = {
|
|
1107
1107
|
...(isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }),
|
|
1108
1108
|
};
|
|
1109
|
-
|
|
1109
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/resources";
|
|
1110
1110
|
const query = {
|
|
1111
1111
|
...(input.UserId !== undefined && { userId: input.UserId }),
|
|
1112
1112
|
...(input.CollectionType !== undefined && { collectionType: input.CollectionType }),
|
|
@@ -1132,7 +1132,7 @@ const serializeAws_restJson1InitiateDocumentVersionUploadCommand = async (input,
|
|
|
1132
1132
|
"content-type": "application/json",
|
|
1133
1133
|
...(isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }),
|
|
1134
1134
|
};
|
|
1135
|
-
|
|
1135
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/documents";
|
|
1136
1136
|
let body;
|
|
1137
1137
|
body = JSON.stringify({
|
|
1138
1138
|
...(input.ContentCreatedTimestamp !== undefined &&
|
|
@@ -5928,4 +5928,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
5928
5928
|
}
|
|
5929
5929
|
return "";
|
|
5930
5930
|
};
|
|
5931
|
-
//# sourceMappingURL=Aws_restJson1.js.map
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
5
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
6
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
6
7
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
|
|
|
38
39
|
};
|
|
39
40
|
};
|
|
40
41
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
41
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
5
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
6
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
6
7
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
8
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
9
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
|
|
|
43
44
|
};
|
|
44
45
|
};
|
|
45
46
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
46
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const endpoints_1 = require("./endpoints");
|
|
5
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
6
6
|
/**
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { WorkDocsClient } from "./WorkDocsClient";
|
|
3
2
|
import { AbortDocumentVersionUploadCommand, } from "./commands/AbortDocumentVersionUploadCommand";
|
|
4
3
|
import { ActivateUserCommand, } from "./commands/ActivateUserCommand";
|
|
5
4
|
import { AddResourcePermissionsCommand, } from "./commands/AddResourcePermissionsCommand";
|
|
@@ -41,42 +40,8 @@ import { UpdateDocumentCommand, } from "./commands/UpdateDocumentCommand";
|
|
|
41
40
|
import { UpdateDocumentVersionCommand, } from "./commands/UpdateDocumentVersionCommand";
|
|
42
41
|
import { UpdateFolderCommand, } from "./commands/UpdateFolderCommand";
|
|
43
42
|
import { UpdateUserCommand } from "./commands/UpdateUserCommand";
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
* <ul>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>File Migration: File migration applications are supported for users who
|
|
49
|
-
* want to migrate their files from an on-premises or off-premises file system or
|
|
50
|
-
* service. Users can insert files into a user directory structure, as well as
|
|
51
|
-
* allow for basic metadata changes, such as modifications to the permissions of
|
|
52
|
-
* files.</p>
|
|
53
|
-
* </li>
|
|
54
|
-
* <li>
|
|
55
|
-
* <p>Security: Support security applications are supported for users who have
|
|
56
|
-
* additional security needs, such as antivirus or data loss prevention. The API
|
|
57
|
-
* actions, along with AWS CloudTrail, allow these applications to detect when
|
|
58
|
-
* changes occur in Amazon WorkDocs. Then, the application can take the necessary
|
|
59
|
-
* actions and replace the target file. If the target file violates the policy, the
|
|
60
|
-
* application can also choose to email the user.</p>
|
|
61
|
-
* </li>
|
|
62
|
-
* <li>
|
|
63
|
-
* <p>eDiscovery/Analytics: General administrative applications are supported,
|
|
64
|
-
* such as eDiscovery and analytics. These applications can choose to mimic or
|
|
65
|
-
* record the actions in an Amazon WorkDocs site, along with AWS CloudTrail, to
|
|
66
|
-
* replicate data for eDiscovery, backup, or analytical applications.</p>
|
|
67
|
-
* </li>
|
|
68
|
-
* </ul>
|
|
69
|
-
* <p>All Amazon WorkDocs API actions are Amazon authenticated and certificate-signed.
|
|
70
|
-
* They not only require the use of the AWS SDK, but also allow for the exclusive use of
|
|
71
|
-
* IAM users and roles to help facilitate access, trust, and permission policies. By
|
|
72
|
-
* creating a role and allowing an IAM user to access the Amazon WorkDocs site, the IAM
|
|
73
|
-
* user gains full administrative visibility into the entire Amazon WorkDocs site (or as
|
|
74
|
-
* set in the IAM policy). This includes, but is not limited to, the ability to modify file
|
|
75
|
-
* permissions and upload any file to any user. This allows developers to perform the three
|
|
76
|
-
* use cases above, as well as give users the ability to grant access on a selective basis
|
|
77
|
-
* using the IAM model.</p>
|
|
78
|
-
*/
|
|
79
|
-
var WorkDocs = /** @class */ (function (_super) {
|
|
43
|
+
import { WorkDocsClient } from "./WorkDocsClient";
|
|
44
|
+
var WorkDocs = (function (_super) {
|
|
80
45
|
__extends(WorkDocs, _super);
|
|
81
46
|
function WorkDocs() {
|
|
82
47
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -658,4 +623,3 @@ var WorkDocs = /** @class */ (function (_super) {
|
|
|
658
623
|
return WorkDocs;
|
|
659
624
|
}(WorkDocsClient));
|
|
660
625
|
export { WorkDocs };
|
|
661
|
-
//# sourceMappingURL=WorkDocs.js.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
|
+
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
|
+
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
|
+
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
|
+
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
+
var WorkDocsClient = (function (_super) {
|
|
12
|
+
__extends(WorkDocsClient, _super);
|
|
13
|
+
function WorkDocsClient(configuration) {
|
|
14
|
+
var _this = this;
|
|
15
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
16
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
17
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
18
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
19
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
20
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
21
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
22
|
+
_this = _super.call(this, _config_6) || this;
|
|
23
|
+
_this.config = _config_6;
|
|
24
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
25
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
|
+
return _this;
|
|
31
|
+
}
|
|
32
|
+
WorkDocsClient.prototype.destroy = function () {
|
|
33
|
+
_super.prototype.destroy.call(this);
|
|
34
|
+
};
|
|
35
|
+
return WorkDocsClient;
|
|
36
|
+
}(__Client));
|
|
37
|
+
export { WorkDocsClient };
|
|
@@ -1,43 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { AbortDocumentVersionUploadRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1AbortDocumentVersionUploadCommand, serializeAws_restJson1AbortDocumentVersionUploadCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* only when it no longer intends to upload the document version, or fails to do
|
|
10
|
-
* so.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { WorkDocsClient, AbortDocumentVersionUploadCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
|
|
15
|
-
* // const { WorkDocsClient, AbortDocumentVersionUploadCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
|
|
16
|
-
* const client = new WorkDocsClient(config);
|
|
17
|
-
* const command = new AbortDocumentVersionUploadCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link AbortDocumentVersionUploadCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link AbortDocumentVersionUploadCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
var AbortDocumentVersionUploadCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { AbortDocumentVersionUploadRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1AbortDocumentVersionUploadCommand, serializeAws_restJson1AbortDocumentVersionUploadCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var AbortDocumentVersionUploadCommand = (function (_super) {
|
|
27
7
|
__extends(AbortDocumentVersionUploadCommand, _super);
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
8
|
function AbortDocumentVersionUploadCommand(input) {
|
|
31
|
-
var _this =
|
|
32
|
-
// Start section: command_constructor
|
|
33
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
34
10
|
_this.input = input;
|
|
35
11
|
return _this;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
AbortDocumentVersionUploadCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -65,4 +37,3 @@ var AbortDocumentVersionUploadCommand = /** @class */ (function (_super) {
|
|
|
65
37
|
return AbortDocumentVersionUploadCommand;
|
|
66
38
|
}($Command));
|
|
67
39
|
export { AbortDocumentVersionUploadCommand };
|
|
68
|
-
//# sourceMappingURL=AbortDocumentVersionUploadCommand.js.map
|