@aws-sdk/client-workdocs 3.952.0 → 3.953.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 +614 -436
- package/dist-cjs/runtimeConfig.shared.js +7 -1
- package/dist-es/commands/AbortDocumentVersionUploadCommand.js +2 -2
- package/dist-es/commands/ActivateUserCommand.js +2 -2
- package/dist-es/commands/AddResourcePermissionsCommand.js +2 -2
- package/dist-es/commands/CreateCommentCommand.js +2 -2
- package/dist-es/commands/CreateCustomMetadataCommand.js +2 -2
- package/dist-es/commands/CreateFolderCommand.js +2 -2
- package/dist-es/commands/CreateLabelsCommand.js +2 -2
- package/dist-es/commands/CreateNotificationSubscriptionCommand.js +2 -2
- package/dist-es/commands/CreateUserCommand.js +2 -2
- package/dist-es/commands/DeactivateUserCommand.js +2 -2
- package/dist-es/commands/DeleteCommentCommand.js +2 -2
- package/dist-es/commands/DeleteCustomMetadataCommand.js +2 -2
- package/dist-es/commands/DeleteDocumentCommand.js +2 -2
- package/dist-es/commands/DeleteDocumentVersionCommand.js +2 -2
- package/dist-es/commands/DeleteFolderCommand.js +2 -2
- package/dist-es/commands/DeleteFolderContentsCommand.js +2 -2
- package/dist-es/commands/DeleteLabelsCommand.js +2 -2
- package/dist-es/commands/DeleteNotificationSubscriptionCommand.js +2 -2
- package/dist-es/commands/DeleteUserCommand.js +2 -2
- package/dist-es/commands/DescribeActivitiesCommand.js +2 -2
- package/dist-es/commands/DescribeCommentsCommand.js +2 -2
- package/dist-es/commands/DescribeDocumentVersionsCommand.js +2 -2
- package/dist-es/commands/DescribeFolderContentsCommand.js +2 -2
- package/dist-es/commands/DescribeGroupsCommand.js +2 -2
- package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js +2 -2
- package/dist-es/commands/DescribeResourcePermissionsCommand.js +2 -2
- package/dist-es/commands/DescribeRootFoldersCommand.js +2 -2
- package/dist-es/commands/DescribeUsersCommand.js +2 -2
- package/dist-es/commands/GetCurrentUserCommand.js +2 -2
- package/dist-es/commands/GetDocumentCommand.js +2 -2
- package/dist-es/commands/GetDocumentPathCommand.js +2 -2
- package/dist-es/commands/GetDocumentVersionCommand.js +2 -2
- package/dist-es/commands/GetFolderCommand.js +2 -2
- package/dist-es/commands/GetFolderPathCommand.js +2 -2
- package/dist-es/commands/GetResourcesCommand.js +2 -2
- package/dist-es/commands/InitiateDocumentVersionUploadCommand.js +2 -2
- package/dist-es/commands/RemoveAllResourcePermissionsCommand.js +2 -2
- package/dist-es/commands/RemoveResourcePermissionCommand.js +2 -2
- package/dist-es/commands/RestoreDocumentVersionsCommand.js +2 -2
- package/dist-es/commands/SearchResourcesCommand.js +2 -2
- package/dist-es/commands/UpdateDocumentCommand.js +2 -2
- package/dist-es/commands/UpdateDocumentVersionCommand.js +2 -2
- package/dist-es/commands/UpdateFolderCommand.js +2 -2
- package/dist-es/commands/UpdateUserCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -1
- package/dist-es/schemas/schemas_0.js +351 -344
- package/dist-types/WorkDocsClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +172 -217
- package/dist-types/ts3.4/WorkDocsClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +171 -219
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { InitiateDocumentVersionUpload } from "../schemas/schemas_0";
|
|
4
|
+
import { InitiateDocumentVersionUpload$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class InitiateDocumentVersionUploadCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class InitiateDocumentVersionUploadCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSGorillaBoyService", "InitiateDocumentVersionUpload", {})
|
|
13
13
|
.n("WorkDocsClient", "InitiateDocumentVersionUploadCommand")
|
|
14
|
-
.sc(InitiateDocumentVersionUpload)
|
|
14
|
+
.sc(InitiateDocumentVersionUpload$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { RemoveAllResourcePermissions } from "../schemas/schemas_0";
|
|
4
|
+
import { RemoveAllResourcePermissions$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class RemoveAllResourcePermissionsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class RemoveAllResourcePermissionsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSGorillaBoyService", "RemoveAllResourcePermissions", {})
|
|
13
13
|
.n("WorkDocsClient", "RemoveAllResourcePermissionsCommand")
|
|
14
|
-
.sc(RemoveAllResourcePermissions)
|
|
14
|
+
.sc(RemoveAllResourcePermissions$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { RemoveResourcePermission } from "../schemas/schemas_0";
|
|
4
|
+
import { RemoveResourcePermission$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class RemoveResourcePermissionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class RemoveResourcePermissionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSGorillaBoyService", "RemoveResourcePermission", {})
|
|
13
13
|
.n("WorkDocsClient", "RemoveResourcePermissionCommand")
|
|
14
|
-
.sc(RemoveResourcePermission)
|
|
14
|
+
.sc(RemoveResourcePermission$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { RestoreDocumentVersions } from "../schemas/schemas_0";
|
|
4
|
+
import { RestoreDocumentVersions$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class RestoreDocumentVersionsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class RestoreDocumentVersionsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSGorillaBoyService", "RestoreDocumentVersions", {})
|
|
13
13
|
.n("WorkDocsClient", "RestoreDocumentVersionsCommand")
|
|
14
|
-
.sc(RestoreDocumentVersions)
|
|
14
|
+
.sc(RestoreDocumentVersions$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { SearchResources } from "../schemas/schemas_0";
|
|
4
|
+
import { SearchResources$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class SearchResourcesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class SearchResourcesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSGorillaBoyService", "SearchResources", {})
|
|
13
13
|
.n("WorkDocsClient", "SearchResourcesCommand")
|
|
14
|
-
.sc(SearchResources)
|
|
14
|
+
.sc(SearchResources$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateDocument } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateDocument$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateDocumentCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateDocumentCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSGorillaBoyService", "UpdateDocument", {})
|
|
13
13
|
.n("WorkDocsClient", "UpdateDocumentCommand")
|
|
14
|
-
.sc(UpdateDocument)
|
|
14
|
+
.sc(UpdateDocument$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateDocumentVersion } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateDocumentVersion$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateDocumentVersionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateDocumentVersionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSGorillaBoyService", "UpdateDocumentVersion", {})
|
|
13
13
|
.n("WorkDocsClient", "UpdateDocumentVersionCommand")
|
|
14
|
-
.sc(UpdateDocumentVersion)
|
|
14
|
+
.sc(UpdateDocumentVersion$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateFolder } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateFolder$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateFolderCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateFolderCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSGorillaBoyService", "UpdateFolder", {})
|
|
13
13
|
.n("WorkDocsClient", "UpdateFolderCommand")
|
|
14
|
-
.sc(UpdateFolder)
|
|
14
|
+
.sc(UpdateFolder$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateUser } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateUser$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateUserCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateUserCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSGorillaBoyService", "UpdateUser", {})
|
|
13
13
|
.n("WorkDocsClient", "UpdateUserCommand")
|
|
14
|
-
.sc(UpdateUser)
|
|
14
|
+
.sc(UpdateUser$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,13 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.workdocs",
|
|
29
|
+
xmlNamespace: "https://aws.amazon.com/api/v1/",
|
|
30
|
+
version: "2016-05-01",
|
|
31
|
+
serviceTarget: "AWSGorillaBoyService",
|
|
32
|
+
},
|
|
27
33
|
serviceId: config?.serviceId ?? "WorkDocs",
|
|
28
34
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
35
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|