@aws-sdk/client-efs 3.975.0 → 3.978.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +21 -13
- package/dist-es/EFS.js +15 -1
- package/dist-types/EFS.d.ts +43 -1
- package/dist-types/ts3.4/EFS.d.ts +47 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1822,6 +1822,18 @@ class UpdateFileSystemProtectionCommand extends smithyClient.Command
|
|
|
1822
1822
|
.build() {
|
|
1823
1823
|
}
|
|
1824
1824
|
|
|
1825
|
+
const paginateDescribeAccessPoints = core.createPaginator(EFSClient, DescribeAccessPointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1826
|
+
|
|
1827
|
+
const paginateDescribeFileSystems = core.createPaginator(EFSClient, DescribeFileSystemsCommand, "Marker", "NextMarker", "MaxItems");
|
|
1828
|
+
|
|
1829
|
+
const paginateDescribeMountTargets = core.createPaginator(EFSClient, DescribeMountTargetsCommand, "Marker", "NextMarker", "MaxItems");
|
|
1830
|
+
|
|
1831
|
+
const paginateDescribeReplicationConfigurations = core.createPaginator(EFSClient, DescribeReplicationConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1832
|
+
|
|
1833
|
+
const paginateDescribeTags = core.createPaginator(EFSClient, DescribeTagsCommand, "Marker", "NextMarker", "MaxItems");
|
|
1834
|
+
|
|
1835
|
+
const paginateListTagsForResource = core.createPaginator(EFSClient, ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults");
|
|
1836
|
+
|
|
1825
1837
|
const commands = {
|
|
1826
1838
|
CreateAccessPointCommand,
|
|
1827
1839
|
CreateFileSystemCommand,
|
|
@@ -1855,21 +1867,17 @@ const commands = {
|
|
|
1855
1867
|
UpdateFileSystemCommand,
|
|
1856
1868
|
UpdateFileSystemProtectionCommand,
|
|
1857
1869
|
};
|
|
1870
|
+
const paginators = {
|
|
1871
|
+
paginateDescribeAccessPoints,
|
|
1872
|
+
paginateDescribeFileSystems,
|
|
1873
|
+
paginateDescribeMountTargets,
|
|
1874
|
+
paginateDescribeReplicationConfigurations,
|
|
1875
|
+
paginateDescribeTags,
|
|
1876
|
+
paginateListTagsForResource,
|
|
1877
|
+
};
|
|
1858
1878
|
class EFS extends EFSClient {
|
|
1859
1879
|
}
|
|
1860
|
-
smithyClient.createAggregatedClient(commands, EFS);
|
|
1861
|
-
|
|
1862
|
-
const paginateDescribeAccessPoints = core.createPaginator(EFSClient, DescribeAccessPointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1863
|
-
|
|
1864
|
-
const paginateDescribeFileSystems = core.createPaginator(EFSClient, DescribeFileSystemsCommand, "Marker", "NextMarker", "MaxItems");
|
|
1865
|
-
|
|
1866
|
-
const paginateDescribeMountTargets = core.createPaginator(EFSClient, DescribeMountTargetsCommand, "Marker", "NextMarker", "MaxItems");
|
|
1867
|
-
|
|
1868
|
-
const paginateDescribeReplicationConfigurations = core.createPaginator(EFSClient, DescribeReplicationConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1869
|
-
|
|
1870
|
-
const paginateDescribeTags = core.createPaginator(EFSClient, DescribeTagsCommand, "Marker", "NextMarker", "MaxItems");
|
|
1871
|
-
|
|
1872
|
-
const paginateListTagsForResource = core.createPaginator(EFSClient, ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults");
|
|
1880
|
+
smithyClient.createAggregatedClient(commands, EFS, { paginators });
|
|
1873
1881
|
|
|
1874
1882
|
const LifeCycleState = {
|
|
1875
1883
|
AVAILABLE: "available",
|
package/dist-es/EFS.js
CHANGED
|
@@ -31,6 +31,12 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
31
31
|
import { UpdateFileSystemCommand, } from "./commands/UpdateFileSystemCommand";
|
|
32
32
|
import { UpdateFileSystemProtectionCommand, } from "./commands/UpdateFileSystemProtectionCommand";
|
|
33
33
|
import { EFSClient } from "./EFSClient";
|
|
34
|
+
import { paginateDescribeAccessPoints } from "./pagination/DescribeAccessPointsPaginator";
|
|
35
|
+
import { paginateDescribeFileSystems } from "./pagination/DescribeFileSystemsPaginator";
|
|
36
|
+
import { paginateDescribeMountTargets } from "./pagination/DescribeMountTargetsPaginator";
|
|
37
|
+
import { paginateDescribeReplicationConfigurations } from "./pagination/DescribeReplicationConfigurationsPaginator";
|
|
38
|
+
import { paginateDescribeTags } from "./pagination/DescribeTagsPaginator";
|
|
39
|
+
import { paginateListTagsForResource } from "./pagination/ListTagsForResourcePaginator";
|
|
34
40
|
const commands = {
|
|
35
41
|
CreateAccessPointCommand,
|
|
36
42
|
CreateFileSystemCommand,
|
|
@@ -64,6 +70,14 @@ const commands = {
|
|
|
64
70
|
UpdateFileSystemCommand,
|
|
65
71
|
UpdateFileSystemProtectionCommand,
|
|
66
72
|
};
|
|
73
|
+
const paginators = {
|
|
74
|
+
paginateDescribeAccessPoints,
|
|
75
|
+
paginateDescribeFileSystems,
|
|
76
|
+
paginateDescribeMountTargets,
|
|
77
|
+
paginateDescribeReplicationConfigurations,
|
|
78
|
+
paginateDescribeTags,
|
|
79
|
+
paginateListTagsForResource,
|
|
80
|
+
};
|
|
67
81
|
export class EFS extends EFSClient {
|
|
68
82
|
}
|
|
69
|
-
createAggregatedClient(commands, EFS);
|
|
83
|
+
createAggregatedClient(commands, EFS, { paginators });
|
package/dist-types/EFS.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
|
|
3
3
|
import { CreateFileSystemCommandInput, CreateFileSystemCommandOutput } from "./commands/CreateFileSystemCommand";
|
|
4
4
|
import { CreateMountTargetCommandInput, CreateMountTargetCommandOutput } from "./commands/CreateMountTargetCommand";
|
|
@@ -223,6 +223,48 @@ export interface EFS {
|
|
|
223
223
|
updateFileSystemProtection(args: UpdateFileSystemProtectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFileSystemProtectionCommandOutput>;
|
|
224
224
|
updateFileSystemProtection(args: UpdateFileSystemProtectionCommandInput, cb: (err: any, data?: UpdateFileSystemProtectionCommandOutput) => void): void;
|
|
225
225
|
updateFileSystemProtection(args: UpdateFileSystemProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFileSystemProtectionCommandOutput) => void): void;
|
|
226
|
+
/**
|
|
227
|
+
* @see {@link DescribeAccessPointsCommand}
|
|
228
|
+
* @param args - command input.
|
|
229
|
+
* @param paginationConfig - optional pagination config.
|
|
230
|
+
* @returns AsyncIterable of {@link DescribeAccessPointsCommandOutput}.
|
|
231
|
+
*/
|
|
232
|
+
paginateDescribeAccessPoints(args?: DescribeAccessPointsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeAccessPointsCommandOutput>;
|
|
233
|
+
/**
|
|
234
|
+
* @see {@link DescribeFileSystemsCommand}
|
|
235
|
+
* @param args - command input.
|
|
236
|
+
* @param paginationConfig - optional pagination config.
|
|
237
|
+
* @returns AsyncIterable of {@link DescribeFileSystemsCommandOutput}.
|
|
238
|
+
*/
|
|
239
|
+
paginateDescribeFileSystems(args?: DescribeFileSystemsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeFileSystemsCommandOutput>;
|
|
240
|
+
/**
|
|
241
|
+
* @see {@link DescribeMountTargetsCommand}
|
|
242
|
+
* @param args - command input.
|
|
243
|
+
* @param paginationConfig - optional pagination config.
|
|
244
|
+
* @returns AsyncIterable of {@link DescribeMountTargetsCommandOutput}.
|
|
245
|
+
*/
|
|
246
|
+
paginateDescribeMountTargets(args?: DescribeMountTargetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeMountTargetsCommandOutput>;
|
|
247
|
+
/**
|
|
248
|
+
* @see {@link DescribeReplicationConfigurationsCommand}
|
|
249
|
+
* @param args - command input.
|
|
250
|
+
* @param paginationConfig - optional pagination config.
|
|
251
|
+
* @returns AsyncIterable of {@link DescribeReplicationConfigurationsCommandOutput}.
|
|
252
|
+
*/
|
|
253
|
+
paginateDescribeReplicationConfigurations(args?: DescribeReplicationConfigurationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeReplicationConfigurationsCommandOutput>;
|
|
254
|
+
/**
|
|
255
|
+
* @see {@link DescribeTagsCommand}
|
|
256
|
+
* @param args - command input.
|
|
257
|
+
* @param paginationConfig - optional pagination config.
|
|
258
|
+
* @returns AsyncIterable of {@link DescribeTagsCommandOutput}.
|
|
259
|
+
*/
|
|
260
|
+
paginateDescribeTags(args: DescribeTagsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeTagsCommandOutput>;
|
|
261
|
+
/**
|
|
262
|
+
* @see {@link ListTagsForResourceCommand}
|
|
263
|
+
* @param args - command input.
|
|
264
|
+
* @param paginationConfig - optional pagination config.
|
|
265
|
+
* @returns AsyncIterable of {@link ListTagsForResourceCommandOutput}.
|
|
266
|
+
*/
|
|
267
|
+
paginateListTagsForResource(args: ListTagsForResourceCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTagsForResourceCommandOutput>;
|
|
226
268
|
}
|
|
227
269
|
/**
|
|
228
270
|
* <fullname>Amazon Elastic File System</fullname>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateAccessPointCommandInput,
|
|
4
8
|
CreateAccessPointCommandOutput,
|
|
@@ -545,5 +549,47 @@ export interface EFS {
|
|
|
545
549
|
options: __HttpHandlerOptions,
|
|
546
550
|
cb: (err: any, data?: UpdateFileSystemProtectionCommandOutput) => void
|
|
547
551
|
): void;
|
|
552
|
+
paginateDescribeAccessPoints(
|
|
553
|
+
args?: DescribeAccessPointsCommandInput,
|
|
554
|
+
paginationConfig?: Pick<
|
|
555
|
+
PaginationConfiguration,
|
|
556
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
557
|
+
>
|
|
558
|
+
): Paginator<DescribeAccessPointsCommandOutput>;
|
|
559
|
+
paginateDescribeFileSystems(
|
|
560
|
+
args?: DescribeFileSystemsCommandInput,
|
|
561
|
+
paginationConfig?: Pick<
|
|
562
|
+
PaginationConfiguration,
|
|
563
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
564
|
+
>
|
|
565
|
+
): Paginator<DescribeFileSystemsCommandOutput>;
|
|
566
|
+
paginateDescribeMountTargets(
|
|
567
|
+
args?: DescribeMountTargetsCommandInput,
|
|
568
|
+
paginationConfig?: Pick<
|
|
569
|
+
PaginationConfiguration,
|
|
570
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
571
|
+
>
|
|
572
|
+
): Paginator<DescribeMountTargetsCommandOutput>;
|
|
573
|
+
paginateDescribeReplicationConfigurations(
|
|
574
|
+
args?: DescribeReplicationConfigurationsCommandInput,
|
|
575
|
+
paginationConfig?: Pick<
|
|
576
|
+
PaginationConfiguration,
|
|
577
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
578
|
+
>
|
|
579
|
+
): Paginator<DescribeReplicationConfigurationsCommandOutput>;
|
|
580
|
+
paginateDescribeTags(
|
|
581
|
+
args: DescribeTagsCommandInput,
|
|
582
|
+
paginationConfig?: Pick<
|
|
583
|
+
PaginationConfiguration,
|
|
584
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
585
|
+
>
|
|
586
|
+
): Paginator<DescribeTagsCommandOutput>;
|
|
587
|
+
paginateListTagsForResource(
|
|
588
|
+
args: ListTagsForResourceCommandInput,
|
|
589
|
+
paginationConfig?: Pick<
|
|
590
|
+
PaginationConfiguration,
|
|
591
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
592
|
+
>
|
|
593
|
+
): Paginator<ListTagsForResourceCommandOutput>;
|
|
548
594
|
}
|
|
549
595
|
export declare class EFS extends EFSClient implements EFS {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-efs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Efs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-efs",
|
|
@@ -23,38 +23,38 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
33
|
-
"@aws-sdk/types": "^3.973.
|
|
26
|
+
"@aws-sdk/core": "^3.973.4",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
33
|
+
"@aws-sdk/types": "^3.973.1",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.6",
|
|
38
|
-
"@smithy/core": "^3.
|
|
38
|
+
"@smithy/core": "^3.22.0",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
40
40
|
"@smithy/hash-node": "^4.2.8",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
45
45
|
"@smithy/middleware-serde": "^4.2.9",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.8",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.8",
|
|
48
48
|
"@smithy/node-http-handler": "^4.4.8",
|
|
49
49
|
"@smithy/protocol-http": "^5.3.8",
|
|
50
|
-
"@smithy/smithy-client": "^4.
|
|
50
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
51
51
|
"@smithy/types": "^4.12.0",
|
|
52
52
|
"@smithy/url-parser": "^4.2.8",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
58
58
|
"@smithy/util-endpoints": "^3.2.8",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.8",
|
|
60
60
|
"@smithy/util-retry": "^4.2.8",
|