@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,48 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { DescribeRootFoldersRequest, DescribeRootFoldersResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1DescribeRootFoldersCommand, serializeAws_restJson1DescribeRootFoldersCommand, } 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
|
-
* folders and <code>RecycleBin</code> is the root of recycled items. This is not a valid
|
|
10
|
-
* action for SigV4 (administrative API) clients.</p>
|
|
11
|
-
* <p>This action requires an authentication token. To get an authentication token,
|
|
12
|
-
* 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
|
|
13
|
-
* Control for User Applications</a> in the
|
|
14
|
-
* <i>Amazon
|
|
15
|
-
* WorkDocs Developer Guide</i>.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { WorkDocsClient, DescribeRootFoldersCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
|
|
20
|
-
* // const { WorkDocsClient, DescribeRootFoldersCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
|
|
21
|
-
* const client = new WorkDocsClient(config);
|
|
22
|
-
* const command = new DescribeRootFoldersCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link DescribeRootFoldersCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link DescribeRootFoldersCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
|
-
var DescribeRootFoldersCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { DescribeRootFoldersRequest, DescribeRootFoldersResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeRootFoldersCommand, serializeAws_restJson1DescribeRootFoldersCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribeRootFoldersCommand = (function (_super) {
|
|
32
7
|
__extends(DescribeRootFoldersCommand, _super);
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
8
|
function DescribeRootFoldersCommand(input) {
|
|
36
|
-
var _this =
|
|
37
|
-
// Start section: command_constructor
|
|
38
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
39
10
|
_this.input = input;
|
|
40
11
|
return _this;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
DescribeRootFoldersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -70,4 +37,3 @@ var DescribeRootFoldersCommand = /** @class */ (function (_super) {
|
|
|
70
37
|
return DescribeRootFoldersCommand;
|
|
71
38
|
}($Command));
|
|
72
39
|
export { DescribeRootFoldersCommand };
|
|
73
|
-
//# sourceMappingURL=DescribeRootFoldersCommand.js.map
|
|
@@ -1,44 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { DescribeUsersRequest, DescribeUsersResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1DescribeUsersCommand, serializeAws_restJson1DescribeUsersCommand, } 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
|
-
* <p>By default, Amazon WorkDocs returns the first 24 active or pending users. If there
|
|
10
|
-
* are more results, the response includes a marker that you can use to request the next
|
|
11
|
-
* set of results.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { WorkDocsClient, DescribeUsersCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
|
|
16
|
-
* // const { WorkDocsClient, DescribeUsersCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
|
|
17
|
-
* const client = new WorkDocsClient(config);
|
|
18
|
-
* const command = new DescribeUsersCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DescribeUsersCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DescribeUsersCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
var DescribeUsersCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { DescribeUsersRequest, DescribeUsersResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeUsersCommand, serializeAws_restJson1DescribeUsersCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribeUsersCommand = (function (_super) {
|
|
28
7
|
__extends(DescribeUsersCommand, _super);
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
8
|
function DescribeUsersCommand(input) {
|
|
32
|
-
var _this =
|
|
33
|
-
// Start section: command_constructor
|
|
34
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
35
10
|
_this.input = input;
|
|
36
11
|
return _this;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
DescribeUsersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -66,4 +37,3 @@ var DescribeUsersCommand = /** @class */ (function (_super) {
|
|
|
66
37
|
return DescribeUsersCommand;
|
|
67
38
|
}($Command));
|
|
68
39
|
export { DescribeUsersCommand };
|
|
69
|
-
//# sourceMappingURL=DescribeUsersCommand.js.map
|
|
@@ -1,46 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetCurrentUserRequest, GetCurrentUserResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1GetCurrentUserCommand, serializeAws_restJson1GetCurrentUserCommand, } 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
|
-
* <p>This action requires an authentication token. To get an authentication token,
|
|
10
|
-
* 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
|
|
11
|
-
* Control for User Applications</a> in the
|
|
12
|
-
* <i>Amazon
|
|
13
|
-
* WorkDocs Developer Guide</i>.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { WorkDocsClient, GetCurrentUserCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
|
|
18
|
-
* // const { WorkDocsClient, GetCurrentUserCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
|
|
19
|
-
* const client = new WorkDocsClient(config);
|
|
20
|
-
* const command = new GetCurrentUserCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link GetCurrentUserCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link GetCurrentUserCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
var GetCurrentUserCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { GetCurrentUserRequest, GetCurrentUserResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetCurrentUserCommand, serializeAws_restJson1GetCurrentUserCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetCurrentUserCommand = (function (_super) {
|
|
30
7
|
__extends(GetCurrentUserCommand, _super);
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
8
|
function GetCurrentUserCommand(input) {
|
|
34
|
-
var _this =
|
|
35
|
-
// Start section: command_constructor
|
|
36
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
37
10
|
_this.input = input;
|
|
38
11
|
return _this;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
GetCurrentUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -68,4 +37,3 @@ var GetCurrentUserCommand = /** @class */ (function (_super) {
|
|
|
68
37
|
return GetCurrentUserCommand;
|
|
69
38
|
}($Command));
|
|
70
39
|
export { GetCurrentUserCommand };
|
|
71
|
-
//# sourceMappingURL=GetCurrentUserCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetDocumentRequest, GetDocumentResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1GetDocumentCommand, serializeAws_restJson1GetDocumentCommand, } 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
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { WorkDocsClient, GetDocumentCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
|
|
12
|
-
* // const { WorkDocsClient, GetDocumentCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
|
|
13
|
-
* const client = new WorkDocsClient(config);
|
|
14
|
-
* const command = new GetDocumentCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link GetDocumentCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link GetDocumentCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var GetDocumentCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { GetDocumentRequest, GetDocumentResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetDocumentCommand, serializeAws_restJson1GetDocumentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetDocumentCommand = (function (_super) {
|
|
24
7
|
__extends(GetDocumentCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function GetDocumentCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
GetDocumentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var GetDocumentCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return GetDocumentCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { GetDocumentCommand };
|
|
65
|
-
//# sourceMappingURL=GetDocumentCommand.js.map
|
|
@@ -1,45 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetDocumentPathRequest, GetDocumentPathResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1GetDocumentPathCommand, serializeAws_restJson1GetDocumentPathCommand, } 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
|
-
* <p>By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the
|
|
10
|
-
* requested document and only includes the IDs of the parent folders in the path. You can
|
|
11
|
-
* limit the maximum number of levels. You can also request the names of the parent
|
|
12
|
-
* folders.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { WorkDocsClient, GetDocumentPathCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
|
|
17
|
-
* // const { WorkDocsClient, GetDocumentPathCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
|
|
18
|
-
* const client = new WorkDocsClient(config);
|
|
19
|
-
* const command = new GetDocumentPathCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link GetDocumentPathCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link GetDocumentPathCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
var GetDocumentPathCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { GetDocumentPathRequest, GetDocumentPathResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetDocumentPathCommand, serializeAws_restJson1GetDocumentPathCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetDocumentPathCommand = (function (_super) {
|
|
29
7
|
__extends(GetDocumentPathCommand, _super);
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
8
|
function GetDocumentPathCommand(input) {
|
|
33
|
-
var _this =
|
|
34
|
-
// Start section: command_constructor
|
|
35
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
36
10
|
_this.input = input;
|
|
37
11
|
return _this;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
GetDocumentPathCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -67,4 +37,3 @@ var GetDocumentPathCommand = /** @class */ (function (_super) {
|
|
|
67
37
|
return GetDocumentPathCommand;
|
|
68
38
|
}($Command));
|
|
69
39
|
export { GetDocumentPathCommand };
|
|
70
|
-
//# sourceMappingURL=GetDocumentPathCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetDocumentVersionRequest, GetDocumentVersionResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1GetDocumentVersionCommand, serializeAws_restJson1GetDocumentVersionCommand, } 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
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { WorkDocsClient, GetDocumentVersionCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
|
|
12
|
-
* // const { WorkDocsClient, GetDocumentVersionCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
|
|
13
|
-
* const client = new WorkDocsClient(config);
|
|
14
|
-
* const command = new GetDocumentVersionCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link GetDocumentVersionCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link GetDocumentVersionCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var GetDocumentVersionCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { GetDocumentVersionRequest, GetDocumentVersionResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetDocumentVersionCommand, serializeAws_restJson1GetDocumentVersionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetDocumentVersionCommand = (function (_super) {
|
|
24
7
|
__extends(GetDocumentVersionCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function GetDocumentVersionCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
GetDocumentVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var GetDocumentVersionCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return GetDocumentVersionCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { GetDocumentVersionCommand };
|
|
65
|
-
//# sourceMappingURL=GetDocumentVersionCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetFolderRequest, GetFolderResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1GetFolderCommand, serializeAws_restJson1GetFolderCommand, } 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
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { WorkDocsClient, GetFolderCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
|
|
12
|
-
* // const { WorkDocsClient, GetFolderCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
|
|
13
|
-
* const client = new WorkDocsClient(config);
|
|
14
|
-
* const command = new GetFolderCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link GetFolderCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link GetFolderCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var GetFolderCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { GetFolderRequest, GetFolderResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetFolderCommand, serializeAws_restJson1GetFolderCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetFolderCommand = (function (_super) {
|
|
24
7
|
__extends(GetFolderCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function GetFolderCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
GetFolderCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var GetFolderCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return GetFolderCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { GetFolderCommand };
|
|
65
|
-
//# sourceMappingURL=GetFolderCommand.js.map
|
|
@@ -1,45 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetFolderPathRequest, GetFolderPathResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1GetFolderPathCommand, serializeAws_restJson1GetFolderPathCommand, } 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
|
-
* <p>By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the
|
|
10
|
-
* requested folder and only includes the IDs of the parent folders in the path. You can
|
|
11
|
-
* limit the maximum number of levels. You can also request the parent folder
|
|
12
|
-
* names.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { WorkDocsClient, GetFolderPathCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
|
|
17
|
-
* // const { WorkDocsClient, GetFolderPathCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
|
|
18
|
-
* const client = new WorkDocsClient(config);
|
|
19
|
-
* const command = new GetFolderPathCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link GetFolderPathCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link GetFolderPathCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
var GetFolderPathCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { GetFolderPathRequest, GetFolderPathResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetFolderPathCommand, serializeAws_restJson1GetFolderPathCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetFolderPathCommand = (function (_super) {
|
|
29
7
|
__extends(GetFolderPathCommand, _super);
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
8
|
function GetFolderPathCommand(input) {
|
|
33
|
-
var _this =
|
|
34
|
-
// Start section: command_constructor
|
|
35
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
36
10
|
_this.input = input;
|
|
37
11
|
return _this;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
GetFolderPathCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -67,4 +37,3 @@ var GetFolderPathCommand = /** @class */ (function (_super) {
|
|
|
67
37
|
return GetFolderPathCommand;
|
|
68
38
|
}($Command));
|
|
69
39
|
export { GetFolderPathCommand };
|
|
70
|
-
//# sourceMappingURL=GetFolderPathCommand.js.map
|
|
@@ -1,41 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetResourcesRequest, GetResourcesResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1GetResourcesCommand, serializeAws_restJson1GetResourcesCommand, } 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
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { WorkDocsClient, GetResourcesCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
|
|
13
|
-
* // const { WorkDocsClient, GetResourcesCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
|
|
14
|
-
* const client = new WorkDocsClient(config);
|
|
15
|
-
* const command = new GetResourcesCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link GetResourcesCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link GetResourcesCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var GetResourcesCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { GetResourcesRequest, GetResourcesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetResourcesCommand, serializeAws_restJson1GetResourcesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetResourcesCommand = (function (_super) {
|
|
25
7
|
__extends(GetResourcesCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function GetResourcesCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
GetResourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -63,4 +37,3 @@ var GetResourcesCommand = /** @class */ (function (_super) {
|
|
|
63
37
|
return GetResourcesCommand;
|
|
64
38
|
}($Command));
|
|
65
39
|
export { GetResourcesCommand };
|
|
66
|
-
//# sourceMappingURL=GetResourcesCommand.js.map
|
|
@@ -1,45 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { InitiateDocumentVersionUploadRequest, InitiateDocumentVersionUploadResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1InitiateDocumentVersionUploadCommand, serializeAws_restJson1InitiateDocumentVersionUploadCommand, } 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
|
-
* ID is optionally specified when creating a new version of an existing document. This is
|
|
10
|
-
* the first step to upload a document. Next, upload the document to the URL returned from
|
|
11
|
-
* the call, and then call <a>UpdateDocumentVersion</a>.</p>
|
|
12
|
-
* <p>To cancel the document upload, call <a>AbortDocumentVersionUpload</a>.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { WorkDocsClient, InitiateDocumentVersionUploadCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
|
|
17
|
-
* // const { WorkDocsClient, InitiateDocumentVersionUploadCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
|
|
18
|
-
* const client = new WorkDocsClient(config);
|
|
19
|
-
* const command = new InitiateDocumentVersionUploadCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link InitiateDocumentVersionUploadCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link InitiateDocumentVersionUploadCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
var InitiateDocumentVersionUploadCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { InitiateDocumentVersionUploadRequest, InitiateDocumentVersionUploadResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1InitiateDocumentVersionUploadCommand, serializeAws_restJson1InitiateDocumentVersionUploadCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var InitiateDocumentVersionUploadCommand = (function (_super) {
|
|
29
7
|
__extends(InitiateDocumentVersionUploadCommand, _super);
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
8
|
function InitiateDocumentVersionUploadCommand(input) {
|
|
33
|
-
var _this =
|
|
34
|
-
// Start section: command_constructor
|
|
35
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
36
10
|
_this.input = input;
|
|
37
11
|
return _this;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
InitiateDocumentVersionUploadCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -67,4 +37,3 @@ var InitiateDocumentVersionUploadCommand = /** @class */ (function (_super) {
|
|
|
67
37
|
return InitiateDocumentVersionUploadCommand;
|
|
68
38
|
}($Command));
|
|
69
39
|
export { InitiateDocumentVersionUploadCommand };
|
|
70
|
-
//# sourceMappingURL=InitiateDocumentVersionUploadCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { RemoveAllResourcePermissionsRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1RemoveAllResourcePermissionsCommand, serializeAws_restJson1RemoveAllResourcePermissionsCommand, } 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
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { WorkDocsClient, RemoveAllResourcePermissionsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
|
|
12
|
-
* // const { WorkDocsClient, RemoveAllResourcePermissionsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
|
|
13
|
-
* const client = new WorkDocsClient(config);
|
|
14
|
-
* const command = new RemoveAllResourcePermissionsCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link RemoveAllResourcePermissionsCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link RemoveAllResourcePermissionsCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var RemoveAllResourcePermissionsCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { RemoveAllResourcePermissionsRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1RemoveAllResourcePermissionsCommand, serializeAws_restJson1RemoveAllResourcePermissionsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var RemoveAllResourcePermissionsCommand = (function (_super) {
|
|
24
7
|
__extends(RemoveAllResourcePermissionsCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function RemoveAllResourcePermissionsCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
RemoveAllResourcePermissionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var RemoveAllResourcePermissionsCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return RemoveAllResourcePermissionsCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { RemoveAllResourcePermissionsCommand };
|
|
65
|
-
//# sourceMappingURL=RemoveAllResourcePermissionsCommand.js.map
|
|
@@ -1,41 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { RemoveResourcePermissionRequest } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1RemoveResourcePermissionCommand, serializeAws_restJson1RemoveResourcePermissionCommand, } 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
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { WorkDocsClient, RemoveResourcePermissionCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
|
|
13
|
-
* // const { WorkDocsClient, RemoveResourcePermissionCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
|
|
14
|
-
* const client = new WorkDocsClient(config);
|
|
15
|
-
* const command = new RemoveResourcePermissionCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link RemoveResourcePermissionCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link RemoveResourcePermissionCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var RemoveResourcePermissionCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { RemoveResourcePermissionRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1RemoveResourcePermissionCommand, serializeAws_restJson1RemoveResourcePermissionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var RemoveResourcePermissionCommand = (function (_super) {
|
|
25
7
|
__extends(RemoveResourcePermissionCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function RemoveResourcePermissionCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
RemoveResourcePermissionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -63,4 +37,3 @@ var RemoveResourcePermissionCommand = /** @class */ (function (_super) {
|
|
|
63
37
|
return RemoveResourcePermissionCommand;
|
|
64
38
|
}($Command));
|
|
65
39
|
export { RemoveResourcePermissionCommand };
|
|
66
|
-
//# sourceMappingURL=RemoveResourcePermissionCommand.js.map
|