@aws-sdk/client-workdocs 3.477.0 → 3.478.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/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/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/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/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 +5 -5
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeActivities = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeActivitiesCommand_1 = require("../commands/DescribeActivitiesCommand");
|
|
5
6
|
const WorkDocsClient_1 = require("../WorkDocsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeActivitiesCommand_1.DescribeActivitiesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeActivities(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.paginateDescribeActivities = paginateDescribeActivities;
|
|
7
|
+
exports.paginateDescribeActivities = (0, core_1.createPaginator)(WorkDocsClient_1.WorkDocsClient, DescribeActivitiesCommand_1.DescribeActivitiesCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeComments = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeCommentsCommand_1 = require("../commands/DescribeCommentsCommand");
|
|
5
6
|
const WorkDocsClient_1 = require("../WorkDocsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeCommentsCommand_1.DescribeCommentsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeComments(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.paginateDescribeComments = paginateDescribeComments;
|
|
7
|
+
exports.paginateDescribeComments = (0, core_1.createPaginator)(WorkDocsClient_1.WorkDocsClient, DescribeCommentsCommand_1.DescribeCommentsCommand, "Marker", "Marker", "Limit");
|
|
@@ -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,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeActivitiesCommand, } from "../commands/DescribeActivitiesCommand";
|
|
2
3
|
import { WorkDocsClient } from "../WorkDocsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeActivitiesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeActivities(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["Limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkDocsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeActivities = createPaginator(WorkDocsClient, DescribeActivitiesCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeCommentsCommand, } from "../commands/DescribeCommentsCommand";
|
|
2
3
|
import { WorkDocsClient } from "../WorkDocsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeCommentsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeComments(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["Limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkDocsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeComments = createPaginator(WorkDocsClient, DescribeCommentsCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeDocumentVersionsCommand, } from "../commands/DescribeDocumentVersionsCommand";
|
|
2
3
|
import { WorkDocsClient } from "../WorkDocsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDocumentVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDocumentVersions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["Limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkDocsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDocumentVersions = createPaginator(WorkDocsClient, DescribeDocumentVersionsCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeFolderContentsCommand, } from "../commands/DescribeFolderContentsCommand";
|
|
2
3
|
import { WorkDocsClient } from "../WorkDocsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeFolderContentsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeFolderContents(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["Limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkDocsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeFolderContents = createPaginator(WorkDocsClient, DescribeFolderContentsCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeGroupsCommand, } from "../commands/DescribeGroupsCommand";
|
|
2
3
|
import { WorkDocsClient } from "../WorkDocsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["Limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkDocsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeGroups = createPaginator(WorkDocsClient, DescribeGroupsCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeNotificationSubscriptionsCommand, } from "../commands/DescribeNotificationSubscriptionsCommand";
|
|
2
3
|
import { WorkDocsClient } from "../WorkDocsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeNotificationSubscriptionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeNotificationSubscriptions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["Limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkDocsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeNotificationSubscriptions = createPaginator(WorkDocsClient, DescribeNotificationSubscriptionsCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeResourcePermissionsCommand, } from "../commands/DescribeResourcePermissionsCommand";
|
|
2
3
|
import { WorkDocsClient } from "../WorkDocsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeResourcePermissionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeResourcePermissions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["Limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkDocsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeResourcePermissions = createPaginator(WorkDocsClient, DescribeResourcePermissionsCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeRootFoldersCommand, } from "../commands/DescribeRootFoldersCommand";
|
|
2
3
|
import { WorkDocsClient } from "../WorkDocsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeRootFoldersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeRootFolders(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["Limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkDocsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeRootFolders = createPaginator(WorkDocsClient, DescribeRootFoldersCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeUsersCommand, } from "../commands/DescribeUsersCommand";
|
|
2
3
|
import { WorkDocsClient } from "../WorkDocsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeUsersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeUsers(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["Limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkDocsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeUsers = createPaginator(WorkDocsClient, DescribeUsersCommand, "Marker", "Marker", "Limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { SearchResourcesCommand, } from "../commands/SearchResourcesCommand";
|
|
2
3
|
import { WorkDocsClient } from "../WorkDocsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new SearchResourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateSearchResources(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["Limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkDocsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.Marker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateSearchResources = createPaginator(WorkDocsClient, SearchResourcesCommand, "Marker", "Marker", "Limit");
|
|
@@ -4,4 +4,4 @@ import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeActivities: (config: WorkDocsPaginationConfiguration, input: DescribeActivitiesCommandInput, ...rest: any[]) => Paginator<DescribeActivitiesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeComments: (config: WorkDocsPaginationConfiguration, input: DescribeCommentsCommandInput, ...rest: any[]) => Paginator<DescribeCommentsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDocumentVersions: (config: WorkDocsPaginationConfiguration, input: DescribeDocumentVersionsCommandInput, ...rest: any[]) => Paginator<DescribeDocumentVersionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeFolderContents: (config: WorkDocsPaginationConfiguration, input: DescribeFolderContentsCommandInput, ...rest: any[]) => Paginator<DescribeFolderContentsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeGroups: (config: WorkDocsPaginationConfiguration, input: DescribeGroupsCommandInput, ...rest: any[]) => Paginator<DescribeGroupsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeNotificationSubscriptions: (config: WorkDocsPaginationConfiguration, input: DescribeNotificationSubscriptionsCommandInput, ...rest: any[]) => Paginator<DescribeNotificationSubscriptionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeResourcePermissions: (config: WorkDocsPaginationConfiguration, input: DescribeResourcePermissionsCommandInput, ...rest: any[]) => Paginator<DescribeResourcePermissionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeRootFolders: (config: WorkDocsPaginationConfiguration, input: DescribeRootFoldersCommandInput, ...rest: any[]) => Paginator<DescribeRootFoldersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeUsers: (config: WorkDocsPaginationConfiguration, input: DescribeUsersCommandInput, ...rest: any[]) => Paginator<DescribeUsersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateSearchResources: (config: WorkDocsPaginationConfiguration, input: SearchResourcesCommandInput, ...rest: any[]) => Paginator<SearchResourcesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeActivitiesCommandOutput,
|
|
5
5
|
} from "../commands/DescribeActivitiesCommand";
|
|
6
6
|
import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeActivities: (
|
|
8
8
|
config: WorkDocsPaginationConfiguration,
|
|
9
9
|
input: DescribeActivitiesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeActivitiesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeCommentsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeCommentsCommand";
|
|
6
6
|
import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeComments: (
|
|
8
8
|
config: WorkDocsPaginationConfiguration,
|
|
9
9
|
input: DescribeCommentsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeCommentsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeDocumentVersionsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeDocumentVersionsCommand";
|
|
6
6
|
import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeDocumentVersions: (
|
|
8
8
|
config: WorkDocsPaginationConfiguration,
|
|
9
9
|
input: DescribeDocumentVersionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeDocumentVersionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeFolderContentsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeFolderContentsCommand";
|
|
6
6
|
import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeFolderContents: (
|
|
8
8
|
config: WorkDocsPaginationConfiguration,
|
|
9
9
|
input: DescribeFolderContentsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeFolderContentsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeGroupsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeGroupsCommand";
|
|
6
6
|
import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeGroups: (
|
|
8
8
|
config: WorkDocsPaginationConfiguration,
|
|
9
9
|
input: DescribeGroupsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeGroupsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeNotificationSubscriptionsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeNotificationSubscriptionsCommand";
|
|
6
6
|
import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeNotificationSubscriptions: (
|
|
8
8
|
config: WorkDocsPaginationConfiguration,
|
|
9
9
|
input: DescribeNotificationSubscriptionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeNotificationSubscriptionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeResourcePermissionsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeResourcePermissionsCommand";
|
|
6
6
|
import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeResourcePermissions: (
|
|
8
8
|
config: WorkDocsPaginationConfiguration,
|
|
9
9
|
input: DescribeResourcePermissionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeResourcePermissionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeRootFoldersCommandOutput,
|
|
5
5
|
} from "../commands/DescribeRootFoldersCommand";
|
|
6
6
|
import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeRootFolders: (
|
|
8
8
|
config: WorkDocsPaginationConfiguration,
|
|
9
9
|
input: DescribeRootFoldersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeRootFoldersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeUsersCommandOutput,
|
|
5
5
|
} from "../commands/DescribeUsersCommand";
|
|
6
6
|
import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeUsers: (
|
|
8
8
|
config: WorkDocsPaginationConfiguration,
|
|
9
9
|
input: DescribeUsersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeUsersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
SearchResourcesCommandOutput,
|
|
5
5
|
} from "../commands/SearchResourcesCommand";
|
|
6
6
|
import { WorkDocsPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateSearchResources: (
|
|
8
8
|
config: WorkDocsPaginationConfiguration,
|
|
9
9
|
input: SearchResourcesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<SearchResourcesCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workdocs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Workdocs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.478.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.478.0",
|
|
24
24
|
"@aws-sdk/core": "3.477.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.478.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.470.0",
|
|
32
32
|
"@aws-sdk/types": "3.468.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.478.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|