@aws-sdk/client-workdocs 3.477.0 → 3.481.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/commands/AbortDocumentVersionUploadCommand.js +18 -41
- package/dist-cjs/commands/ActivateUserCommand.js +18 -41
- package/dist-cjs/commands/AddResourcePermissionsCommand.js +18 -41
- package/dist-cjs/commands/CreateCommentCommand.js +18 -41
- package/dist-cjs/commands/CreateCustomMetadataCommand.js +18 -41
- package/dist-cjs/commands/CreateFolderCommand.js +18 -41
- package/dist-cjs/commands/CreateLabelsCommand.js +18 -41
- package/dist-cjs/commands/CreateNotificationSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/CreateUserCommand.js +18 -41
- package/dist-cjs/commands/DeactivateUserCommand.js +18 -41
- package/dist-cjs/commands/DeleteCommentCommand.js +18 -41
- package/dist-cjs/commands/DeleteCustomMetadataCommand.js +18 -41
- package/dist-cjs/commands/DeleteDocumentCommand.js +18 -41
- package/dist-cjs/commands/DeleteDocumentVersionCommand.js +18 -41
- package/dist-cjs/commands/DeleteFolderCommand.js +18 -41
- package/dist-cjs/commands/DeleteFolderContentsCommand.js +18 -41
- package/dist-cjs/commands/DeleteLabelsCommand.js +18 -41
- package/dist-cjs/commands/DeleteNotificationSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/DeleteUserCommand.js +18 -41
- package/dist-cjs/commands/DescribeActivitiesCommand.js +18 -41
- package/dist-cjs/commands/DescribeCommentsCommand.js +18 -41
- package/dist-cjs/commands/DescribeDocumentVersionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeFolderContentsCommand.js +18 -41
- package/dist-cjs/commands/DescribeGroupsCommand.js +18 -41
- package/dist-cjs/commands/DescribeNotificationSubscriptionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeResourcePermissionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeRootFoldersCommand.js +18 -41
- package/dist-cjs/commands/DescribeUsersCommand.js +18 -41
- package/dist-cjs/commands/GetCurrentUserCommand.js +18 -41
- package/dist-cjs/commands/GetDocumentCommand.js +18 -41
- package/dist-cjs/commands/GetDocumentPathCommand.js +18 -41
- package/dist-cjs/commands/GetDocumentVersionCommand.js +18 -41
- package/dist-cjs/commands/GetFolderCommand.js +18 -41
- package/dist-cjs/commands/GetFolderPathCommand.js +18 -41
- package/dist-cjs/commands/GetResourcesCommand.js +18 -41
- package/dist-cjs/commands/InitiateDocumentVersionUploadCommand.js +18 -41
- package/dist-cjs/commands/RemoveAllResourcePermissionsCommand.js +18 -41
- package/dist-cjs/commands/RemoveResourcePermissionCommand.js +18 -41
- package/dist-cjs/commands/RestoreDocumentVersionsCommand.js +18 -41
- package/dist-cjs/commands/SearchResourcesCommand.js +18 -41
- package/dist-cjs/commands/UpdateDocumentCommand.js +18 -41
- package/dist-cjs/commands/UpdateDocumentVersionCommand.js +18 -41
- package/dist-cjs/commands/UpdateFolderCommand.js +18 -41
- package/dist-cjs/commands/UpdateUserCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeActivitiesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeCommentsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDocumentVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeFolderContentsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeNotificationSubscriptionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeResourcePermissionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeRootFoldersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeUsersPaginator.js +2 -24
- package/dist-cjs/pagination/SearchResourcesPaginator.js +2 -24
- package/dist-es/commands/AbortDocumentVersionUploadCommand.js +18 -41
- package/dist-es/commands/ActivateUserCommand.js +18 -41
- package/dist-es/commands/AddResourcePermissionsCommand.js +18 -41
- package/dist-es/commands/CreateCommentCommand.js +18 -41
- package/dist-es/commands/CreateCustomMetadataCommand.js +18 -41
- package/dist-es/commands/CreateFolderCommand.js +18 -41
- package/dist-es/commands/CreateLabelsCommand.js +18 -41
- package/dist-es/commands/CreateNotificationSubscriptionCommand.js +18 -41
- package/dist-es/commands/CreateUserCommand.js +18 -41
- package/dist-es/commands/DeactivateUserCommand.js +18 -41
- package/dist-es/commands/DeleteCommentCommand.js +18 -41
- package/dist-es/commands/DeleteCustomMetadataCommand.js +18 -41
- package/dist-es/commands/DeleteDocumentCommand.js +18 -41
- package/dist-es/commands/DeleteDocumentVersionCommand.js +18 -41
- package/dist-es/commands/DeleteFolderCommand.js +18 -41
- package/dist-es/commands/DeleteFolderContentsCommand.js +18 -41
- package/dist-es/commands/DeleteLabelsCommand.js +18 -41
- package/dist-es/commands/DeleteNotificationSubscriptionCommand.js +18 -41
- package/dist-es/commands/DeleteUserCommand.js +18 -41
- package/dist-es/commands/DescribeActivitiesCommand.js +18 -41
- package/dist-es/commands/DescribeCommentsCommand.js +18 -41
- package/dist-es/commands/DescribeDocumentVersionsCommand.js +18 -41
- package/dist-es/commands/DescribeFolderContentsCommand.js +18 -41
- package/dist-es/commands/DescribeGroupsCommand.js +18 -41
- package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js +18 -41
- package/dist-es/commands/DescribeResourcePermissionsCommand.js +18 -41
- package/dist-es/commands/DescribeRootFoldersCommand.js +18 -41
- package/dist-es/commands/DescribeUsersCommand.js +18 -41
- package/dist-es/commands/GetCurrentUserCommand.js +18 -41
- package/dist-es/commands/GetDocumentCommand.js +18 -41
- package/dist-es/commands/GetDocumentPathCommand.js +18 -41
- package/dist-es/commands/GetDocumentVersionCommand.js +18 -41
- package/dist-es/commands/GetFolderCommand.js +18 -41
- package/dist-es/commands/GetFolderPathCommand.js +18 -41
- package/dist-es/commands/GetResourcesCommand.js +18 -41
- package/dist-es/commands/InitiateDocumentVersionUploadCommand.js +18 -41
- package/dist-es/commands/RemoveAllResourcePermissionsCommand.js +18 -41
- package/dist-es/commands/RemoveResourcePermissionCommand.js +18 -41
- package/dist-es/commands/RestoreDocumentVersionsCommand.js +18 -41
- package/dist-es/commands/SearchResourcesCommand.js +18 -41
- package/dist-es/commands/UpdateDocumentCommand.js +18 -41
- package/dist-es/commands/UpdateDocumentVersionCommand.js +18 -41
- package/dist-es/commands/UpdateFolderCommand.js +18 -41
- package/dist-es/commands/UpdateUserCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeActivitiesPaginator.js +2 -23
- package/dist-es/pagination/DescribeCommentsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDocumentVersionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeFolderContentsPaginator.js +2 -23
- package/dist-es/pagination/DescribeGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeNotificationSubscriptionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeResourcePermissionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeRootFoldersPaginator.js +2 -23
- package/dist-es/pagination/DescribeUsersPaginator.js +2 -23
- package/dist-es/pagination/SearchResourcesPaginator.js +2 -23
- package/dist-types/commands/AbortDocumentVersionUploadCommand.d.ts +6 -21
- package/dist-types/commands/ActivateUserCommand.d.ts +6 -21
- package/dist-types/commands/AddResourcePermissionsCommand.d.ts +6 -21
- package/dist-types/commands/CreateCommentCommand.d.ts +6 -21
- package/dist-types/commands/CreateCustomMetadataCommand.d.ts +6 -21
- package/dist-types/commands/CreateFolderCommand.d.ts +6 -21
- package/dist-types/commands/CreateLabelsCommand.d.ts +6 -21
- package/dist-types/commands/CreateNotificationSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/CreateUserCommand.d.ts +6 -21
- package/dist-types/commands/DeactivateUserCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCommentCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCustomMetadataCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDocumentCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDocumentVersionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteFolderCommand.d.ts +6 -21
- package/dist-types/commands/DeleteFolderContentsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLabelsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteNotificationSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteUserCommand.d.ts +6 -21
- package/dist-types/commands/DescribeActivitiesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCommentsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDocumentVersionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeFolderContentsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeGroupsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeNotificationSubscriptionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeResourcePermissionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRootFoldersCommand.d.ts +6 -21
- package/dist-types/commands/DescribeUsersCommand.d.ts +6 -21
- package/dist-types/commands/GetCurrentUserCommand.d.ts +6 -21
- package/dist-types/commands/GetDocumentCommand.d.ts +6 -21
- package/dist-types/commands/GetDocumentPathCommand.d.ts +6 -21
- package/dist-types/commands/GetDocumentVersionCommand.d.ts +6 -21
- package/dist-types/commands/GetFolderCommand.d.ts +6 -21
- package/dist-types/commands/GetFolderPathCommand.d.ts +6 -21
- package/dist-types/commands/GetResourcesCommand.d.ts +6 -21
- package/dist-types/commands/InitiateDocumentVersionUploadCommand.d.ts +6 -21
- package/dist-types/commands/RemoveAllResourcePermissionsCommand.d.ts +6 -21
- package/dist-types/commands/RemoveResourcePermissionCommand.d.ts +6 -21
- package/dist-types/commands/RestoreDocumentVersionsCommand.d.ts +6 -21
- package/dist-types/commands/SearchResourcesCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDocumentCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDocumentVersionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateFolderCommand.d.ts +6 -21
- package/dist-types/commands/UpdateUserCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeActivitiesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeCommentsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDocumentVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeFolderContentsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeNotificationSubscriptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeResourcePermissionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeRootFoldersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeUsersPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchResourcesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AbortDocumentVersionUploadCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ActivateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/AddResourcePermissionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateCommentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateCustomMetadataCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateFolderCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateLabelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateNotificationSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeactivateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCommentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCustomMetadataCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDocumentVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteFolderCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteFolderContentsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteLabelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteNotificationSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeActivitiesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeCommentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeDocumentVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeFolderContentsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeGroupsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeNotificationSubscriptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeResourcePermissionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRootFoldersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCurrentUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDocumentPathCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDocumentVersionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetFolderPathCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/InitiateDocumentVersionUploadCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RemoveAllResourcePermissionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RemoveResourcePermissionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RestoreDocumentVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateDocumentVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateFolderCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeActivitiesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeCommentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDocumentVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeFolderContentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeNotificationSubscriptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeResourcePermissionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeRootFoldersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeUsersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchResourcesPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDocumentVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDocumentVersionsCommand_1 = require("../commands/DescribeDocumentVersionsCommand");
|
|
5
6
|
const WorkDocsClient_1 = require("../WorkDocsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDocumentVersionsCommand_1.DescribeDocumentVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDocumentVersions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkDocsClient_1.WorkDocsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDocumentVersions = paginateDescribeDocumentVersions;
|
|
7
|
+
exports.paginateDescribeDocumentVersions = (0, core_1.createPaginator)(WorkDocsClient_1.WorkDocsClient, DescribeDocumentVersionsCommand_1.DescribeDocumentVersionsCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeFolderContents = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeFolderContentsCommand_1 = require("../commands/DescribeFolderContentsCommand");
|
|
5
6
|
const WorkDocsClient_1 = require("../WorkDocsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeFolderContentsCommand_1.DescribeFolderContentsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeFolderContents(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkDocsClient_1.WorkDocsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeFolderContents = paginateDescribeFolderContents;
|
|
7
|
+
exports.paginateDescribeFolderContents = (0, core_1.createPaginator)(WorkDocsClient_1.WorkDocsClient, DescribeFolderContentsCommand_1.DescribeFolderContentsCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeGroupsCommand_1 = require("../commands/DescribeGroupsCommand");
|
|
5
6
|
const WorkDocsClient_1 = require("../WorkDocsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeGroupsCommand_1.DescribeGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkDocsClient_1.WorkDocsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeGroups = paginateDescribeGroups;
|
|
7
|
+
exports.paginateDescribeGroups = (0, core_1.createPaginator)(WorkDocsClient_1.WorkDocsClient, DescribeGroupsCommand_1.DescribeGroupsCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeNotificationSubscriptions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeNotificationSubscriptionsCommand_1 = require("../commands/DescribeNotificationSubscriptionsCommand");
|
|
5
6
|
const WorkDocsClient_1 = require("../WorkDocsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeNotificationSubscriptionsCommand_1.DescribeNotificationSubscriptionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeNotificationSubscriptions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkDocsClient_1.WorkDocsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeNotificationSubscriptions = paginateDescribeNotificationSubscriptions;
|
|
7
|
+
exports.paginateDescribeNotificationSubscriptions = (0, core_1.createPaginator)(WorkDocsClient_1.WorkDocsClient, DescribeNotificationSubscriptionsCommand_1.DescribeNotificationSubscriptionsCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeResourcePermissions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeResourcePermissionsCommand_1 = require("../commands/DescribeResourcePermissionsCommand");
|
|
5
6
|
const WorkDocsClient_1 = require("../WorkDocsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeResourcePermissionsCommand_1.DescribeResourcePermissionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeResourcePermissions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkDocsClient_1.WorkDocsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeResourcePermissions = paginateDescribeResourcePermissions;
|
|
7
|
+
exports.paginateDescribeResourcePermissions = (0, core_1.createPaginator)(WorkDocsClient_1.WorkDocsClient, DescribeResourcePermissionsCommand_1.DescribeResourcePermissionsCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeRootFolders = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeRootFoldersCommand_1 = require("../commands/DescribeRootFoldersCommand");
|
|
5
6
|
const WorkDocsClient_1 = require("../WorkDocsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeRootFoldersCommand_1.DescribeRootFoldersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeRootFolders(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkDocsClient_1.WorkDocsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeRootFolders = paginateDescribeRootFolders;
|
|
7
|
+
exports.paginateDescribeRootFolders = (0, core_1.createPaginator)(WorkDocsClient_1.WorkDocsClient, DescribeRootFoldersCommand_1.DescribeRootFoldersCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeUsers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeUsersCommand_1 = require("../commands/DescribeUsersCommand");
|
|
5
6
|
const WorkDocsClient_1 = require("../WorkDocsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeUsersCommand_1.DescribeUsersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeUsers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkDocsClient_1.WorkDocsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeUsers = paginateDescribeUsers;
|
|
7
|
+
exports.paginateDescribeUsers = (0, core_1.createPaginator)(WorkDocsClient_1.WorkDocsClient, DescribeUsersCommand_1.DescribeUsersCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateSearchResources = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const SearchResourcesCommand_1 = require("../commands/SearchResourcesCommand");
|
|
5
6
|
const WorkDocsClient_1 = require("../WorkDocsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new SearchResourcesCommand_1.SearchResourcesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateSearchResources(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["Limit"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkDocsClient_1.WorkDocsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateSearchResources = paginateSearchResources;
|
|
7
|
+
exports.paginateSearchResources = (0, core_1.createPaginator)(WorkDocsClient_1.WorkDocsClient, SearchResourcesCommand_1.SearchResourcesCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { AbortDocumentVersionUploadRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_AbortDocumentVersionUploadCommand, se_AbortDocumentVersionUploadCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class AbortDocumentVersionUploadCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkDocsClient";
|
|
27
|
-
const commandName = "AbortDocumentVersionUploadCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: AbortDocumentVersionUploadRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSGorillaBoyService",
|
|
36
|
-
operation: "AbortDocumentVersionUpload",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_AbortDocumentVersionUploadCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_AbortDocumentVersionUploadCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class AbortDocumentVersionUploadCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSGorillaBoyService", "AbortDocumentVersionUpload", {})
|
|
20
|
+
.n("WorkDocsClient", "AbortDocumentVersionUploadCommand")
|
|
21
|
+
.f(AbortDocumentVersionUploadRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_AbortDocumentVersionUploadCommand)
|
|
23
|
+
.de(de_AbortDocumentVersionUploadCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { ActivateUserRequestFilterSensitiveLog, ActivateUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_ActivateUserCommand, se_ActivateUserCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class ActivateUserCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkDocsClient";
|
|
27
|
-
const commandName = "ActivateUserCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: ActivateUserRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: ActivateUserResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSGorillaBoyService",
|
|
36
|
-
operation: "ActivateUser",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_ActivateUserCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ActivateUserCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class ActivateUserCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSGorillaBoyService", "ActivateUser", {})
|
|
20
|
+
.n("WorkDocsClient", "ActivateUserCommand")
|
|
21
|
+
.f(ActivateUserRequestFilterSensitiveLog, ActivateUserResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_ActivateUserCommand)
|
|
23
|
+
.de(de_ActivateUserCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { AddResourcePermissionsRequestFilterSensitiveLog, AddResourcePermissionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_AddResourcePermissionsCommand, se_AddResourcePermissionsCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class AddResourcePermissionsCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkDocsClient";
|
|
27
|
-
const commandName = "AddResourcePermissionsCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: AddResourcePermissionsRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: AddResourcePermissionsResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSGorillaBoyService",
|
|
36
|
-
operation: "AddResourcePermissions",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_AddResourcePermissionsCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_AddResourcePermissionsCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class AddResourcePermissionsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSGorillaBoyService", "AddResourcePermissions", {})
|
|
20
|
+
.n("WorkDocsClient", "AddResourcePermissionsCommand")
|
|
21
|
+
.f(AddResourcePermissionsRequestFilterSensitiveLog, AddResourcePermissionsResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_AddResourcePermissionsCommand)
|
|
23
|
+
.de(de_AddResourcePermissionsCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateCommentRequestFilterSensitiveLog, CreateCommentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateCommentCommand, se_CreateCommentCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateCommentCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkDocsClient";
|
|
27
|
-
const commandName = "CreateCommentCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateCommentRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: CreateCommentResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSGorillaBoyService",
|
|
36
|
-
operation: "CreateComment",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateCommentCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateCommentCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateCommentCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSGorillaBoyService", "CreateComment", {})
|
|
20
|
+
.n("WorkDocsClient", "CreateCommentCommand")
|
|
21
|
+
.f(CreateCommentRequestFilterSensitiveLog, CreateCommentResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_CreateCommentCommand)
|
|
23
|
+
.de(de_CreateCommentCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateCustomMetadataRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateCustomMetadataCommand, se_CreateCustomMetadataCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateCustomMetadataCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkDocsClient";
|
|
27
|
-
const commandName = "CreateCustomMetadataCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateCustomMetadataRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSGorillaBoyService",
|
|
36
|
-
operation: "CreateCustomMetadata",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateCustomMetadataCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateCustomMetadataCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateCustomMetadataCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSGorillaBoyService", "CreateCustomMetadata", {})
|
|
20
|
+
.n("WorkDocsClient", "CreateCustomMetadataCommand")
|
|
21
|
+
.f(CreateCustomMetadataRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_CreateCustomMetadataCommand)
|
|
23
|
+
.de(de_CreateCustomMetadataCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|