@aws-sdk/client-workdocs 3.1076.0 → 3.1078.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/dist-cjs/index.js +141 -531
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AbortDocumentVersionUploadCommand.js +2 -14
- package/dist-es/commands/ActivateUserCommand.js +2 -14
- package/dist-es/commands/AddResourcePermissionsCommand.js +2 -14
- package/dist-es/commands/CreateCommentCommand.js +2 -14
- package/dist-es/commands/CreateCustomMetadataCommand.js +2 -14
- package/dist-es/commands/CreateFolderCommand.js +2 -14
- package/dist-es/commands/CreateLabelsCommand.js +2 -14
- package/dist-es/commands/CreateNotificationSubscriptionCommand.js +2 -14
- package/dist-es/commands/CreateUserCommand.js +2 -14
- package/dist-es/commands/DeactivateUserCommand.js +2 -14
- package/dist-es/commands/DeleteCommentCommand.js +2 -14
- package/dist-es/commands/DeleteCustomMetadataCommand.js +2 -14
- package/dist-es/commands/DeleteDocumentCommand.js +2 -14
- package/dist-es/commands/DeleteDocumentVersionCommand.js +2 -14
- package/dist-es/commands/DeleteFolderCommand.js +2 -14
- package/dist-es/commands/DeleteFolderContentsCommand.js +2 -14
- package/dist-es/commands/DeleteLabelsCommand.js +2 -14
- package/dist-es/commands/DeleteNotificationSubscriptionCommand.js +2 -14
- package/dist-es/commands/DeleteUserCommand.js +2 -14
- package/dist-es/commands/DescribeActivitiesCommand.js +2 -14
- package/dist-es/commands/DescribeCommentsCommand.js +2 -14
- package/dist-es/commands/DescribeDocumentVersionsCommand.js +2 -14
- package/dist-es/commands/DescribeFolderContentsCommand.js +2 -14
- package/dist-es/commands/DescribeGroupsCommand.js +2 -14
- package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js +2 -14
- package/dist-es/commands/DescribeResourcePermissionsCommand.js +2 -14
- package/dist-es/commands/DescribeRootFoldersCommand.js +2 -14
- package/dist-es/commands/DescribeUsersCommand.js +2 -14
- package/dist-es/commands/GetCurrentUserCommand.js +2 -14
- package/dist-es/commands/GetDocumentCommand.js +2 -14
- package/dist-es/commands/GetDocumentPathCommand.js +2 -14
- package/dist-es/commands/GetDocumentVersionCommand.js +2 -14
- package/dist-es/commands/GetFolderCommand.js +2 -14
- package/dist-es/commands/GetFolderPathCommand.js +2 -14
- package/dist-es/commands/GetResourcesCommand.js +2 -14
- package/dist-es/commands/InitiateDocumentVersionUploadCommand.js +2 -14
- package/dist-es/commands/RemoveAllResourcePermissionsCommand.js +2 -14
- package/dist-es/commands/RemoveResourcePermissionCommand.js +2 -14
- package/dist-es/commands/RestoreDocumentVersionsCommand.js +2 -14
- package/dist-es/commands/SearchResourcesCommand.js +2 -14
- package/dist-es/commands/UpdateDocumentCommand.js +2 -14
- package/dist-es/commands/UpdateDocumentVersionCommand.js +2 -14
- package/dist-es/commands/UpdateFolderCommand.js +2 -14
- package/dist-es/commands/UpdateUserCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AbortDocumentVersionUploadCommand.d.ts +3 -8
- package/dist-types/commands/ActivateUserCommand.d.ts +3 -8
- package/dist-types/commands/AddResourcePermissionsCommand.d.ts +3 -8
- package/dist-types/commands/CreateCommentCommand.d.ts +3 -8
- package/dist-types/commands/CreateCustomMetadataCommand.d.ts +3 -8
- package/dist-types/commands/CreateFolderCommand.d.ts +3 -8
- package/dist-types/commands/CreateLabelsCommand.d.ts +3 -8
- package/dist-types/commands/CreateNotificationSubscriptionCommand.d.ts +3 -8
- package/dist-types/commands/CreateUserCommand.d.ts +3 -8
- package/dist-types/commands/DeactivateUserCommand.d.ts +3 -8
- package/dist-types/commands/DeleteCommentCommand.d.ts +3 -8
- package/dist-types/commands/DeleteCustomMetadataCommand.d.ts +3 -8
- package/dist-types/commands/DeleteDocumentCommand.d.ts +3 -8
- package/dist-types/commands/DeleteDocumentVersionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteFolderCommand.d.ts +3 -8
- package/dist-types/commands/DeleteFolderContentsCommand.d.ts +3 -8
- package/dist-types/commands/DeleteLabelsCommand.d.ts +3 -8
- package/dist-types/commands/DeleteNotificationSubscriptionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteUserCommand.d.ts +3 -8
- package/dist-types/commands/DescribeActivitiesCommand.d.ts +3 -8
- package/dist-types/commands/DescribeCommentsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeDocumentVersionsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeFolderContentsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeGroupsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeNotificationSubscriptionsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeResourcePermissionsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeRootFoldersCommand.d.ts +3 -8
- package/dist-types/commands/DescribeUsersCommand.d.ts +3 -8
- package/dist-types/commands/GetCurrentUserCommand.d.ts +3 -8
- package/dist-types/commands/GetDocumentCommand.d.ts +3 -8
- package/dist-types/commands/GetDocumentPathCommand.d.ts +3 -8
- package/dist-types/commands/GetDocumentVersionCommand.d.ts +3 -8
- package/dist-types/commands/GetFolderCommand.d.ts +3 -8
- package/dist-types/commands/GetFolderPathCommand.d.ts +3 -8
- package/dist-types/commands/GetResourcesCommand.d.ts +3 -8
- package/dist-types/commands/InitiateDocumentVersionUploadCommand.d.ts +3 -8
- package/dist-types/commands/RemoveAllResourcePermissionsCommand.d.ts +3 -8
- package/dist-types/commands/RemoveResourcePermissionCommand.d.ts +3 -8
- package/dist-types/commands/RestoreDocumentVersionsCommand.d.ts +3 -8
- package/dist-types/commands/SearchResourcesCommand.d.ts +3 -8
- package/dist-types/commands/UpdateDocumentCommand.d.ts +3 -8
- package/dist-types/commands/UpdateDocumentVersionCommand.d.ts +3 -8
- package/dist-types/commands/UpdateFolderCommand.d.ts +3 -8
- package/dist-types/commands/UpdateUserCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AbortDocumentVersionUploadCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ActivateUserCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AddResourcePermissionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateCommentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateCustomMetadataCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateFolderCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateLabelsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateNotificationSubscriptionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeactivateUserCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteCommentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteCustomMetadataCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteDocumentVersionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteFolderCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteFolderContentsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteLabelsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteNotificationSubscriptionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeActivitiesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeCommentsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeDocumentVersionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeFolderContentsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeGroupsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeNotificationSubscriptionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeResourcePermissionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeRootFoldersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCurrentUserCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDocumentPathCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDocumentVersionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetFolderPathCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InitiateDocumentVersionUploadCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RemoveAllResourcePermissionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RemoveResourcePermissionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RestoreDocumentVersionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateDocumentVersionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateFolderCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetDocumentVersion$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetDocumentVersionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGorillaBoyService", "GetDocumentVersion", {})
|
|
13
|
-
.n("WorkDocsClient", "GetDocumentVersionCommand")
|
|
14
|
-
.sc(GetDocumentVersion$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetDocumentVersionCommand extends command(_ep0, _mw0, "GetDocumentVersion", GetDocumentVersion$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetFolder$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetFolderCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGorillaBoyService", "GetFolder", {})
|
|
13
|
-
.n("WorkDocsClient", "GetFolderCommand")
|
|
14
|
-
.sc(GetFolder$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetFolderCommand extends command(_ep0, _mw0, "GetFolder", GetFolder$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetFolderPath$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetFolderPathCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGorillaBoyService", "GetFolderPath", {})
|
|
13
|
-
.n("WorkDocsClient", "GetFolderPathCommand")
|
|
14
|
-
.sc(GetFolderPath$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetFolderPathCommand extends command(_ep0, _mw0, "GetFolderPath", GetFolderPath$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetResources$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetResourcesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGorillaBoyService", "GetResources", {})
|
|
13
|
-
.n("WorkDocsClient", "GetResourcesCommand")
|
|
14
|
-
.sc(GetResources$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetResourcesCommand extends command(_ep0, _mw0, "GetResources", GetResources$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { InitiateDocumentVersionUpload$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class InitiateDocumentVersionUploadCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGorillaBoyService", "InitiateDocumentVersionUpload", {})
|
|
13
|
-
.n("WorkDocsClient", "InitiateDocumentVersionUploadCommand")
|
|
14
|
-
.sc(InitiateDocumentVersionUpload$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class InitiateDocumentVersionUploadCommand extends command(_ep0, _mw0, "InitiateDocumentVersionUpload", InitiateDocumentVersionUpload$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RemoveAllResourcePermissions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RemoveAllResourcePermissionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGorillaBoyService", "RemoveAllResourcePermissions", {})
|
|
13
|
-
.n("WorkDocsClient", "RemoveAllResourcePermissionsCommand")
|
|
14
|
-
.sc(RemoveAllResourcePermissions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RemoveAllResourcePermissionsCommand extends command(_ep0, _mw0, "RemoveAllResourcePermissions", RemoveAllResourcePermissions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RemoveResourcePermission$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RemoveResourcePermissionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGorillaBoyService", "RemoveResourcePermission", {})
|
|
13
|
-
.n("WorkDocsClient", "RemoveResourcePermissionCommand")
|
|
14
|
-
.sc(RemoveResourcePermission$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RemoveResourcePermissionCommand extends command(_ep0, _mw0, "RemoveResourcePermission", RemoveResourcePermission$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RestoreDocumentVersions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RestoreDocumentVersionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGorillaBoyService", "RestoreDocumentVersions", {})
|
|
13
|
-
.n("WorkDocsClient", "RestoreDocumentVersionsCommand")
|
|
14
|
-
.sc(RestoreDocumentVersions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RestoreDocumentVersionsCommand extends command(_ep0, _mw0, "RestoreDocumentVersions", RestoreDocumentVersions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SearchResources$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SearchResourcesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGorillaBoyService", "SearchResources", {})
|
|
13
|
-
.n("WorkDocsClient", "SearchResourcesCommand")
|
|
14
|
-
.sc(SearchResources$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SearchResourcesCommand extends command(_ep0, _mw0, "SearchResources", SearchResources$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateDocument$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateDocumentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGorillaBoyService", "UpdateDocument", {})
|
|
13
|
-
.n("WorkDocsClient", "UpdateDocumentCommand")
|
|
14
|
-
.sc(UpdateDocument$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateDocumentCommand extends command(_ep0, _mw0, "UpdateDocument", UpdateDocument$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateDocumentVersion$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateDocumentVersionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGorillaBoyService", "UpdateDocumentVersion", {})
|
|
13
|
-
.n("WorkDocsClient", "UpdateDocumentVersionCommand")
|
|
14
|
-
.sc(UpdateDocumentVersion$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateDocumentVersionCommand extends command(_ep0, _mw0, "UpdateDocumentVersion", UpdateDocumentVersion$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateFolder$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateFolderCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGorillaBoyService", "UpdateFolder", {})
|
|
13
|
-
.n("WorkDocsClient", "UpdateFolderCommand")
|
|
14
|
-
.sc(UpdateFolder$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateFolderCommand extends command(_ep0, _mw0, "UpdateFolder", UpdateFolder$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateUser$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateUserCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGorillaBoyService", "UpdateUser", {})
|
|
13
|
-
.n("WorkDocsClient", "UpdateUserCommand")
|
|
14
|
-
.sc(UpdateUser$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateUserCommand extends command(_ep0, _mw0, "UpdateUser", UpdateUser$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -32,6 +33,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
32
33
|
serviceTarget: "AWSGorillaBoyService",
|
|
33
34
|
},
|
|
34
35
|
serviceId: config?.serviceId ?? "WorkDocs",
|
|
36
|
+
sha256: config?.sha256 ?? Sha256,
|
|
35
37
|
urlParser: config?.urlParser ?? parseUrl,
|
|
36
38
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
37
39
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "./WorkDocsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { AbortDocumentVersionUploadRequest } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AbortDocumentVersionUploadCommandInput extends AbortDocumentVer
|
|
|
22
19
|
export interface AbortDocumentVersionUploadCommandOutput extends __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AbortDocumentVersionUploadCommand_base: {
|
|
25
|
-
new (input: AbortDocumentVersionUploadCommandInput): import("@smithy/core/client").CommandImpl<AbortDocumentVersionUploadCommandInput, AbortDocumentVersionUploadCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AbortDocumentVersionUploadCommandInput): import("@smithy/core/client").CommandImpl<AbortDocumentVersionUploadCommandInput, AbortDocumentVersionUploadCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AbortDocumentVersionUploadCommandInput): import("@smithy/core/client").CommandImpl<AbortDocumentVersionUploadCommandInput, AbortDocumentVersionUploadCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AbortDocumentVersionUploadCommandInput): import("@smithy/core/client").CommandImpl<AbortDocumentVersionUploadCommandInput, AbortDocumentVersionUploadCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Aborts the upload of the specified document version that was previously initiated
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { ActivateUserRequest, ActivateUserResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ActivateUserCommandInput extends ActivateUserRequest {
|
|
|
22
19
|
export interface ActivateUserCommandOutput extends ActivateUserResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ActivateUserCommand_base: {
|
|
25
|
-
new (input: ActivateUserCommandInput): import("@smithy/core/client").CommandImpl<ActivateUserCommandInput, ActivateUserCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: ActivateUserCommandInput): import("@smithy/core/client").CommandImpl<ActivateUserCommandInput, ActivateUserCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ActivateUserCommandInput): import("@smithy/core/client").CommandImpl<ActivateUserCommandInput, ActivateUserCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ActivateUserCommandInput): import("@smithy/core/client").CommandImpl<ActivateUserCommandInput, ActivateUserCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Activates the specified user. Only active users can access Amazon
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { AddResourcePermissionsRequest, AddResourcePermissionsResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AddResourcePermissionsCommandInput extends AddResourcePermissio
|
|
|
22
19
|
export interface AddResourcePermissionsCommandOutput extends AddResourcePermissionsResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AddResourcePermissionsCommand_base: {
|
|
25
|
-
new (input: AddResourcePermissionsCommandInput): import("@smithy/core/client").CommandImpl<AddResourcePermissionsCommandInput, AddResourcePermissionsCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AddResourcePermissionsCommandInput): import("@smithy/core/client").CommandImpl<AddResourcePermissionsCommandInput, AddResourcePermissionsCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AddResourcePermissionsCommandInput): import("@smithy/core/client").CommandImpl<AddResourcePermissionsCommandInput, AddResourcePermissionsCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AddResourcePermissionsCommandInput): import("@smithy/core/client").CommandImpl<AddResourcePermissionsCommandInput, AddResourcePermissionsCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a set of permissions for the specified folder or document. The resource
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateCommentRequest, CreateCommentResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateCommentCommandInput extends CreateCommentRequest {
|
|
|
22
19
|
export interface CreateCommentCommandOutput extends CreateCommentResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateCommentCommand_base: {
|
|
25
|
-
new (input: CreateCommentCommandInput): import("@smithy/core/client").CommandImpl<CreateCommentCommandInput, CreateCommentCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateCommentCommandInput): import("@smithy/core/client").CommandImpl<CreateCommentCommandInput, CreateCommentCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateCommentCommandInput): import("@smithy/core/client").CommandImpl<CreateCommentCommandInput, CreateCommentCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateCommentCommandInput): import("@smithy/core/client").CommandImpl<CreateCommentCommandInput, CreateCommentCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Adds a new comment to the specified document version.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateCustomMetadataRequest, CreateCustomMetadataResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateCustomMetadataCommandInput extends CreateCustomMetadataRe
|
|
|
22
19
|
export interface CreateCustomMetadataCommandOutput extends CreateCustomMetadataResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateCustomMetadataCommand_base: {
|
|
25
|
-
new (input: CreateCustomMetadataCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomMetadataCommandInput, CreateCustomMetadataCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateCustomMetadataCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomMetadataCommandInput, CreateCustomMetadataCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateCustomMetadataCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomMetadataCommandInput, CreateCustomMetadataCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateCustomMetadataCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomMetadataCommandInput, CreateCustomMetadataCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Adds one or more custom properties to the specified resource (a folder, document,
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateFolderRequest, CreateFolderResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateFolderCommandInput extends CreateFolderRequest {
|
|
|
22
19
|
export interface CreateFolderCommandOutput extends CreateFolderResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateFolderCommand_base: {
|
|
25
|
-
new (input: CreateFolderCommandInput): import("@smithy/core/client").CommandImpl<CreateFolderCommandInput, CreateFolderCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateFolderCommandInput): import("@smithy/core/client").CommandImpl<CreateFolderCommandInput, CreateFolderCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateFolderCommandInput): import("@smithy/core/client").CommandImpl<CreateFolderCommandInput, CreateFolderCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateFolderCommandInput): import("@smithy/core/client").CommandImpl<CreateFolderCommandInput, CreateFolderCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a folder with the specified name and parent folder.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateLabelsRequest, CreateLabelsResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateLabelsCommandInput extends CreateLabelsRequest {
|
|
|
22
19
|
export interface CreateLabelsCommandOutput extends CreateLabelsResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateLabelsCommand_base: {
|
|
25
|
-
new (input: CreateLabelsCommandInput): import("@smithy/core/client").CommandImpl<CreateLabelsCommandInput, CreateLabelsCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateLabelsCommandInput): import("@smithy/core/client").CommandImpl<CreateLabelsCommandInput, CreateLabelsCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateLabelsCommandInput): import("@smithy/core/client").CommandImpl<CreateLabelsCommandInput, CreateLabelsCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateLabelsCommandInput): import("@smithy/core/client").CommandImpl<CreateLabelsCommandInput, CreateLabelsCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Adds the specified list of labels to the given resource (a document or
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateNotificationSubscriptionRequest, CreateNotificationSubscriptionResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateNotificationSubscriptionCommandInput extends CreateNotifi
|
|
|
22
19
|
export interface CreateNotificationSubscriptionCommandOutput extends CreateNotificationSubscriptionResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateNotificationSubscriptionCommand_base: {
|
|
25
|
-
new (input: CreateNotificationSubscriptionCommandInput): import("@smithy/core/client").CommandImpl<CreateNotificationSubscriptionCommandInput, CreateNotificationSubscriptionCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateNotificationSubscriptionCommandInput): import("@smithy/core/client").CommandImpl<CreateNotificationSubscriptionCommandInput, CreateNotificationSubscriptionCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateNotificationSubscriptionCommandInput): import("@smithy/core/client").CommandImpl<CreateNotificationSubscriptionCommandInput, CreateNotificationSubscriptionCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateNotificationSubscriptionCommandInput): import("@smithy/core/client").CommandImpl<CreateNotificationSubscriptionCommandInput, CreateNotificationSubscriptionCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives a
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateUserRequest, CreateUserResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateUserCommandInput extends CreateUserRequest {
|
|
|
22
19
|
export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateUserCommand_base: {
|
|
25
|
-
new (input: CreateUserCommandInput): import("@smithy/core/client").CommandImpl<CreateUserCommandInput, CreateUserCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateUserCommandInput): import("@smithy/core/client").CommandImpl<CreateUserCommandInput, CreateUserCommandOutput, WorkDocsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateUserCommandInput): import("@smithy/core/client").CommandImpl<CreateUserCommandInput, CreateUserCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateUserCommandInput): import("@smithy/core/client").CommandImpl<CreateUserCommandInput, CreateUserCommandOutput, import("..").WorkDocsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a user in a Simple AD or Microsoft AD directory. The status of a newly
|