@aws-sdk/client-efs 3.476.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/DescribeAccessPointsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeFileSystemsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeMountTargetsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReplicationConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeTagsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +179 -406
- package/dist-es/pagination/DescribeAccessPointsPaginator.js +2 -23
- package/dist-es/pagination/DescribeFileSystemsPaginator.js +2 -23
- package/dist-es/pagination/DescribeMountTargetsPaginator.js +2 -23
- package/dist-es/pagination/DescribeReplicationConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/DescribeTagsPaginator.js +2 -23
- package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +180 -407
- package/dist-types/pagination/DescribeAccessPointsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeFileSystemsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeMountTargetsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReplicationConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeAccessPointsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeFileSystemsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeMountTargetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReplicationConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeTagsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeAccessPoints = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeAccessPointsCommand_1 = require("../commands/DescribeAccessPointsCommand");
|
|
5
6
|
const EFSClient_1 = require("../EFSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeAccessPointsCommand_1.DescribeAccessPointsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeAccessPoints(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof EFSClient_1.EFSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected EFS | EFSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeAccessPoints = paginateDescribeAccessPoints;
|
|
7
|
+
exports.paginateDescribeAccessPoints = (0, core_1.createPaginator)(EFSClient_1.EFSClient, DescribeAccessPointsCommand_1.DescribeAccessPointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeFileSystems = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeFileSystemsCommand_1 = require("../commands/DescribeFileSystemsCommand");
|
|
5
6
|
const EFSClient_1 = require("../EFSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeFileSystemsCommand_1.DescribeFileSystemsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeFileSystems(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["MaxItems"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof EFSClient_1.EFSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected EFS | EFSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextMarker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeFileSystems = paginateDescribeFileSystems;
|
|
7
|
+
exports.paginateDescribeFileSystems = (0, core_1.createPaginator)(EFSClient_1.EFSClient, DescribeFileSystemsCommand_1.DescribeFileSystemsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeMountTargets = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeMountTargetsCommand_1 = require("../commands/DescribeMountTargetsCommand");
|
|
5
6
|
const EFSClient_1 = require("../EFSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeMountTargetsCommand_1.DescribeMountTargetsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeMountTargets(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["MaxItems"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof EFSClient_1.EFSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected EFS | EFSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextMarker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeMountTargets = paginateDescribeMountTargets;
|
|
7
|
+
exports.paginateDescribeMountTargets = (0, core_1.createPaginator)(EFSClient_1.EFSClient, DescribeMountTargetsCommand_1.DescribeMountTargetsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeReplicationConfigurations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeReplicationConfigurationsCommand_1 = require("../commands/DescribeReplicationConfigurationsCommand");
|
|
5
6
|
const EFSClient_1 = require("../EFSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeReplicationConfigurationsCommand_1.DescribeReplicationConfigurationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeReplicationConfigurations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof EFSClient_1.EFSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected EFS | EFSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeReplicationConfigurations = paginateDescribeReplicationConfigurations;
|
|
7
|
+
exports.paginateDescribeReplicationConfigurations = (0, core_1.createPaginator)(EFSClient_1.EFSClient, DescribeReplicationConfigurationsCommand_1.DescribeReplicationConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeTags = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeTagsCommand_1 = require("../commands/DescribeTagsCommand");
|
|
5
6
|
const EFSClient_1 = require("../EFSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeTagsCommand_1.DescribeTagsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeTags(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["MaxItems"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof EFSClient_1.EFSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected EFS | EFSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextMarker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeTags = paginateDescribeTags;
|
|
7
|
+
exports.paginateDescribeTags = (0, core_1.createPaginator)(EFSClient_1.EFSClient, DescribeTagsCommand_1.DescribeTagsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTagsForResource = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
|
|
5
6
|
const EFSClient_1 = require("../EFSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTagsForResourceCommand_1.ListTagsForResourceCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTagsForResource(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof EFSClient_1.EFSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected EFS | EFSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListTagsForResource = paginateListTagsForResource;
|
|
7
|
+
exports.paginateListTagsForResource = (0, core_1.createPaginator)(EFSClient_1.EFSClient, ListTagsForResourceCommand_1.ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults");
|