@aws-sdk/client-efs 3.35.0 → 3.36.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/CHANGELOG.md +14 -0
- package/dist-cjs/EFS.js +0 -1
- package/dist-cjs/EFSClient.js +0 -1
- package/dist-cjs/commands/CreateAccessPointCommand.js +0 -1
- package/dist-cjs/commands/CreateFileSystemCommand.js +0 -1
- package/dist-cjs/commands/CreateMountTargetCommand.js +0 -1
- package/dist-cjs/commands/CreateTagsCommand.js +0 -1
- package/dist-cjs/commands/DeleteAccessPointCommand.js +0 -1
- package/dist-cjs/commands/DeleteFileSystemCommand.js +0 -1
- package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteMountTargetCommand.js +0 -1
- package/dist-cjs/commands/DeleteTagsCommand.js +0 -1
- package/dist-cjs/commands/DescribeAccessPointsCommand.js +0 -1
- package/dist-cjs/commands/DescribeAccountPreferencesCommand.js +0 -1
- package/dist-cjs/commands/DescribeBackupPolicyCommand.js +0 -1
- package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js +0 -1
- package/dist-cjs/commands/DescribeFileSystemsCommand.js +0 -1
- package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js +0 -1
- package/dist-cjs/commands/DescribeMountTargetsCommand.js +0 -1
- package/dist-cjs/commands/DescribeTagsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -1
- package/dist-cjs/commands/PutAccountPreferencesCommand.js +0 -1
- package/dist-cjs/commands/PutBackupPolicyCommand.js +0 -1
- package/dist-cjs/commands/PutFileSystemPolicyCommand.js +0 -1
- package/dist-cjs/commands/PutLifecycleConfigurationCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateFileSystemCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/DescribeAccessPointsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeFileSystemsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeTagsPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +8 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/EFS.js +0 -1
- package/dist-es/EFSClient.js +0 -1
- package/dist-es/commands/CreateAccessPointCommand.js +0 -1
- package/dist-es/commands/CreateFileSystemCommand.js +0 -1
- package/dist-es/commands/CreateMountTargetCommand.js +0 -1
- package/dist-es/commands/CreateTagsCommand.js +0 -1
- package/dist-es/commands/DeleteAccessPointCommand.js +0 -1
- package/dist-es/commands/DeleteFileSystemCommand.js +0 -1
- package/dist-es/commands/DeleteFileSystemPolicyCommand.js +0 -1
- package/dist-es/commands/DeleteMountTargetCommand.js +0 -1
- package/dist-es/commands/DeleteTagsCommand.js +0 -1
- package/dist-es/commands/DescribeAccessPointsCommand.js +0 -1
- package/dist-es/commands/DescribeAccountPreferencesCommand.js +0 -1
- package/dist-es/commands/DescribeBackupPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeFileSystemPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeFileSystemsCommand.js +0 -1
- package/dist-es/commands/DescribeLifecycleConfigurationCommand.js +0 -1
- package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeMountTargetsCommand.js +0 -1
- package/dist-es/commands/DescribeTagsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js +0 -1
- package/dist-es/commands/PutAccountPreferencesCommand.js +0 -1
- package/dist-es/commands/PutBackupPolicyCommand.js +0 -1
- package/dist-es/commands/PutFileSystemPolicyCommand.js +0 -1
- package/dist-es/commands/PutLifecycleConfigurationCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateFileSystemCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeAccessPointsPaginator.js +0 -1
- package/dist-es/pagination/DescribeFileSystemsPaginator.js +0 -1
- package/dist-es/pagination/DescribeTagsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +22 -15
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/EFS.js.map +0 -1
- package/dist-cjs/EFSClient.js.map +0 -1
- package/dist-cjs/commands/CreateAccessPointCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFileSystemCommand.js.map +0 -1
- package/dist-cjs/commands/CreateMountTargetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAccessPointCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFileSystemCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteMountTargetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccessPointsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccountPreferencesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeBackupPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFileSystemsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeMountTargetsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/PutAccountPreferencesCommand.js.map +0 -1
- package/dist-cjs/commands/PutBackupPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutFileSystemPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutLifecycleConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFileSystemCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeAccessPointsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeFileSystemsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeTagsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/EFS.js.map +0 -1
- package/dist-es/EFSClient.js.map +0 -1
- package/dist-es/commands/CreateAccessPointCommand.js.map +0 -1
- package/dist-es/commands/CreateFileSystemCommand.js.map +0 -1
- package/dist-es/commands/CreateMountTargetCommand.js.map +0 -1
- package/dist-es/commands/CreateTagsCommand.js.map +0 -1
- package/dist-es/commands/DeleteAccessPointCommand.js.map +0 -1
- package/dist-es/commands/DeleteFileSystemCommand.js.map +0 -1
- package/dist-es/commands/DeleteFileSystemPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteMountTargetCommand.js.map +0 -1
- package/dist-es/commands/DeleteTagsCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccessPointsCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccountPreferencesCommand.js.map +0 -1
- package/dist-es/commands/DescribeBackupPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeFileSystemPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeFileSystemsCommand.js.map +0 -1
- package/dist-es/commands/DescribeLifecycleConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DescribeMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeMountTargetsCommand.js.map +0 -1
- package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ModifyMountTargetSecurityGroupsCommand.js.map +0 -1
- package/dist-es/commands/PutAccountPreferencesCommand.js.map +0 -1
- package/dist-es/commands/PutBackupPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutFileSystemPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutLifecycleConfigurationCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateFileSystemCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeAccessPointsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeFileSystemsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeTagsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/EFS.ts +0 -1386
- package/src/EFSClient.ts +0 -363
- package/src/commands/CreateAccessPointCommand.ts +0 -102
- package/src/commands/CreateFileSystemCommand.ts +0 -148
- package/src/commands/CreateMountTargetCommand.ts +0 -236
- package/src/commands/CreateTagsCommand.ts +0 -106
- package/src/commands/DeleteAccessPointCommand.ts +0 -98
- package/src/commands/DeleteFileSystemCommand.ts +0 -109
- package/src/commands/DeleteFileSystemPolicyCommand.ts +0 -98
- package/src/commands/DeleteMountTargetCommand.ts +0 -128
- package/src/commands/DeleteTagsCommand.ts +0 -107
- package/src/commands/DescribeAccessPointsCommand.ts +0 -98
- package/src/commands/DescribeAccountPreferencesCommand.ts +0 -99
- package/src/commands/DescribeBackupPolicyCommand.ts +0 -95
- package/src/commands/DescribeFileSystemPolicyCommand.ts +0 -96
- package/src/commands/DescribeFileSystemsCommand.ts +0 -117
- package/src/commands/DescribeLifecycleConfigurationCommand.ts +0 -110
- package/src/commands/DescribeMountTargetSecurityGroupsCommand.ts +0 -121
- package/src/commands/DescribeMountTargetsCommand.ts +0 -102
- package/src/commands/DescribeTagsCommand.ts +0 -105
- package/src/commands/ListTagsForResourceCommand.ts +0 -96
- package/src/commands/ModifyMountTargetSecurityGroupsCommand.ts +0 -120
- package/src/commands/PutAccountPreferencesCommand.ts +0 -98
- package/src/commands/PutBackupPolicyCommand.ts +0 -95
- package/src/commands/PutFileSystemPolicyCommand.ts +0 -104
- package/src/commands/PutLifecycleConfigurationCommand.ts +0 -128
- package/src/commands/TagResourceCommand.ts +0 -96
- package/src/commands/UntagResourceCommand.ts +0 -96
- package/src/commands/UpdateFileSystemCommand.ts +0 -96
- package/src/endpoints.ts +0 -183
- package/src/index.ts +0 -35
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2185
- package/src/pagination/DescribeAccessPointsPaginator.ts +0 -59
- package/src/pagination/DescribeFileSystemsPaginator.ts +0 -59
- package/src/pagination/DescribeTagsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -4420
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/EFS.ts
DELETED
|
@@ -1,1386 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
CreateAccessPointCommand,
|
|
5
|
-
CreateAccessPointCommandInput,
|
|
6
|
-
CreateAccessPointCommandOutput,
|
|
7
|
-
} from "./commands/CreateAccessPointCommand";
|
|
8
|
-
import {
|
|
9
|
-
CreateFileSystemCommand,
|
|
10
|
-
CreateFileSystemCommandInput,
|
|
11
|
-
CreateFileSystemCommandOutput,
|
|
12
|
-
} from "./commands/CreateFileSystemCommand";
|
|
13
|
-
import {
|
|
14
|
-
CreateMountTargetCommand,
|
|
15
|
-
CreateMountTargetCommandInput,
|
|
16
|
-
CreateMountTargetCommandOutput,
|
|
17
|
-
} from "./commands/CreateMountTargetCommand";
|
|
18
|
-
import { CreateTagsCommand, CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
|
|
19
|
-
import {
|
|
20
|
-
DeleteAccessPointCommand,
|
|
21
|
-
DeleteAccessPointCommandInput,
|
|
22
|
-
DeleteAccessPointCommandOutput,
|
|
23
|
-
} from "./commands/DeleteAccessPointCommand";
|
|
24
|
-
import {
|
|
25
|
-
DeleteFileSystemCommand,
|
|
26
|
-
DeleteFileSystemCommandInput,
|
|
27
|
-
DeleteFileSystemCommandOutput,
|
|
28
|
-
} from "./commands/DeleteFileSystemCommand";
|
|
29
|
-
import {
|
|
30
|
-
DeleteFileSystemPolicyCommand,
|
|
31
|
-
DeleteFileSystemPolicyCommandInput,
|
|
32
|
-
DeleteFileSystemPolicyCommandOutput,
|
|
33
|
-
} from "./commands/DeleteFileSystemPolicyCommand";
|
|
34
|
-
import {
|
|
35
|
-
DeleteMountTargetCommand,
|
|
36
|
-
DeleteMountTargetCommandInput,
|
|
37
|
-
DeleteMountTargetCommandOutput,
|
|
38
|
-
} from "./commands/DeleteMountTargetCommand";
|
|
39
|
-
import { DeleteTagsCommand, DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
|
|
40
|
-
import {
|
|
41
|
-
DescribeAccessPointsCommand,
|
|
42
|
-
DescribeAccessPointsCommandInput,
|
|
43
|
-
DescribeAccessPointsCommandOutput,
|
|
44
|
-
} from "./commands/DescribeAccessPointsCommand";
|
|
45
|
-
import {
|
|
46
|
-
DescribeAccountPreferencesCommand,
|
|
47
|
-
DescribeAccountPreferencesCommandInput,
|
|
48
|
-
DescribeAccountPreferencesCommandOutput,
|
|
49
|
-
} from "./commands/DescribeAccountPreferencesCommand";
|
|
50
|
-
import {
|
|
51
|
-
DescribeBackupPolicyCommand,
|
|
52
|
-
DescribeBackupPolicyCommandInput,
|
|
53
|
-
DescribeBackupPolicyCommandOutput,
|
|
54
|
-
} from "./commands/DescribeBackupPolicyCommand";
|
|
55
|
-
import {
|
|
56
|
-
DescribeFileSystemPolicyCommand,
|
|
57
|
-
DescribeFileSystemPolicyCommandInput,
|
|
58
|
-
DescribeFileSystemPolicyCommandOutput,
|
|
59
|
-
} from "./commands/DescribeFileSystemPolicyCommand";
|
|
60
|
-
import {
|
|
61
|
-
DescribeFileSystemsCommand,
|
|
62
|
-
DescribeFileSystemsCommandInput,
|
|
63
|
-
DescribeFileSystemsCommandOutput,
|
|
64
|
-
} from "./commands/DescribeFileSystemsCommand";
|
|
65
|
-
import {
|
|
66
|
-
DescribeLifecycleConfigurationCommand,
|
|
67
|
-
DescribeLifecycleConfigurationCommandInput,
|
|
68
|
-
DescribeLifecycleConfigurationCommandOutput,
|
|
69
|
-
} from "./commands/DescribeLifecycleConfigurationCommand";
|
|
70
|
-
import {
|
|
71
|
-
DescribeMountTargetsCommand,
|
|
72
|
-
DescribeMountTargetsCommandInput,
|
|
73
|
-
DescribeMountTargetsCommandOutput,
|
|
74
|
-
} from "./commands/DescribeMountTargetsCommand";
|
|
75
|
-
import {
|
|
76
|
-
DescribeMountTargetSecurityGroupsCommand,
|
|
77
|
-
DescribeMountTargetSecurityGroupsCommandInput,
|
|
78
|
-
DescribeMountTargetSecurityGroupsCommandOutput,
|
|
79
|
-
} from "./commands/DescribeMountTargetSecurityGroupsCommand";
|
|
80
|
-
import {
|
|
81
|
-
DescribeTagsCommand,
|
|
82
|
-
DescribeTagsCommandInput,
|
|
83
|
-
DescribeTagsCommandOutput,
|
|
84
|
-
} from "./commands/DescribeTagsCommand";
|
|
85
|
-
import {
|
|
86
|
-
ListTagsForResourceCommand,
|
|
87
|
-
ListTagsForResourceCommandInput,
|
|
88
|
-
ListTagsForResourceCommandOutput,
|
|
89
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
90
|
-
import {
|
|
91
|
-
ModifyMountTargetSecurityGroupsCommand,
|
|
92
|
-
ModifyMountTargetSecurityGroupsCommandInput,
|
|
93
|
-
ModifyMountTargetSecurityGroupsCommandOutput,
|
|
94
|
-
} from "./commands/ModifyMountTargetSecurityGroupsCommand";
|
|
95
|
-
import {
|
|
96
|
-
PutAccountPreferencesCommand,
|
|
97
|
-
PutAccountPreferencesCommandInput,
|
|
98
|
-
PutAccountPreferencesCommandOutput,
|
|
99
|
-
} from "./commands/PutAccountPreferencesCommand";
|
|
100
|
-
import {
|
|
101
|
-
PutBackupPolicyCommand,
|
|
102
|
-
PutBackupPolicyCommandInput,
|
|
103
|
-
PutBackupPolicyCommandOutput,
|
|
104
|
-
} from "./commands/PutBackupPolicyCommand";
|
|
105
|
-
import {
|
|
106
|
-
PutFileSystemPolicyCommand,
|
|
107
|
-
PutFileSystemPolicyCommandInput,
|
|
108
|
-
PutFileSystemPolicyCommandOutput,
|
|
109
|
-
} from "./commands/PutFileSystemPolicyCommand";
|
|
110
|
-
import {
|
|
111
|
-
PutLifecycleConfigurationCommand,
|
|
112
|
-
PutLifecycleConfigurationCommandInput,
|
|
113
|
-
PutLifecycleConfigurationCommandOutput,
|
|
114
|
-
} from "./commands/PutLifecycleConfigurationCommand";
|
|
115
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
116
|
-
import {
|
|
117
|
-
UntagResourceCommand,
|
|
118
|
-
UntagResourceCommandInput,
|
|
119
|
-
UntagResourceCommandOutput,
|
|
120
|
-
} from "./commands/UntagResourceCommand";
|
|
121
|
-
import {
|
|
122
|
-
UpdateFileSystemCommand,
|
|
123
|
-
UpdateFileSystemCommandInput,
|
|
124
|
-
UpdateFileSystemCommandOutput,
|
|
125
|
-
} from "./commands/UpdateFileSystemCommand";
|
|
126
|
-
import { EFSClient } from "./EFSClient";
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* <fullname>Amazon Elastic File System</fullname>
|
|
130
|
-
* <p>Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use
|
|
131
|
-
* with Amazon EC2 instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic,
|
|
132
|
-
* growing and shrinking automatically as you add and remove files, so your applications have the
|
|
133
|
-
* storage they need, when they need it. For more information, see the <a href="https://docs.aws.amazon.com/efs/latest/ug/api-reference.html">Amazon Elastic File System API Reference</a> and the <a href="https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html">Amazon Elastic File System User Guide</a>.</p>
|
|
134
|
-
*/
|
|
135
|
-
export class EFS extends EFSClient {
|
|
136
|
-
/**
|
|
137
|
-
* <p>Creates an EFS access point. An access point is an application-specific view into an EFS
|
|
138
|
-
* file system that applies an operating system user and group, and a file system path, to any
|
|
139
|
-
* file system request made through the access point. The operating system user and group
|
|
140
|
-
* override any identity information provided by the NFS client. The file system path is exposed
|
|
141
|
-
* as the access point's root directory. Applications using the access point can only access data
|
|
142
|
-
* in its own directory and below. To learn more, see <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html">Mounting a file system using EFS access
|
|
143
|
-
* points</a>.</p>
|
|
144
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:CreateAccessPoint</code> action.</p>
|
|
145
|
-
*/
|
|
146
|
-
public createAccessPoint(
|
|
147
|
-
args: CreateAccessPointCommandInput,
|
|
148
|
-
options?: __HttpHandlerOptions
|
|
149
|
-
): Promise<CreateAccessPointCommandOutput>;
|
|
150
|
-
public createAccessPoint(
|
|
151
|
-
args: CreateAccessPointCommandInput,
|
|
152
|
-
cb: (err: any, data?: CreateAccessPointCommandOutput) => void
|
|
153
|
-
): void;
|
|
154
|
-
public createAccessPoint(
|
|
155
|
-
args: CreateAccessPointCommandInput,
|
|
156
|
-
options: __HttpHandlerOptions,
|
|
157
|
-
cb: (err: any, data?: CreateAccessPointCommandOutput) => void
|
|
158
|
-
): void;
|
|
159
|
-
public createAccessPoint(
|
|
160
|
-
args: CreateAccessPointCommandInput,
|
|
161
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAccessPointCommandOutput) => void),
|
|
162
|
-
cb?: (err: any, data?: CreateAccessPointCommandOutput) => void
|
|
163
|
-
): Promise<CreateAccessPointCommandOutput> | void {
|
|
164
|
-
const command = new CreateAccessPointCommand(args);
|
|
165
|
-
if (typeof optionsOrCb === "function") {
|
|
166
|
-
this.send(command, optionsOrCb);
|
|
167
|
-
} else if (typeof cb === "function") {
|
|
168
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
169
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
170
|
-
} else {
|
|
171
|
-
return this.send(command, optionsOrCb);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* <p>Creates a new, empty file system. The operation requires a creation token in the
|
|
177
|
-
* request that Amazon EFS uses to ensure idempotent creation (calling the operation with same
|
|
178
|
-
* creation token has no effect). If a file system does not currently exist that is owned by the
|
|
179
|
-
* caller's Amazon Web Services account with the specified creation token, this operation does the
|
|
180
|
-
* following:</p>
|
|
181
|
-
* <ul>
|
|
182
|
-
* <li>
|
|
183
|
-
* <p>Creates a new, empty file system. The file system will have an Amazon EFS assigned
|
|
184
|
-
* ID, and an initial lifecycle state <code>creating</code>.</p>
|
|
185
|
-
* </li>
|
|
186
|
-
* <li>
|
|
187
|
-
* <p>Returns with the description of the created file system.</p>
|
|
188
|
-
* </li>
|
|
189
|
-
* </ul>
|
|
190
|
-
* <p>Otherwise, this operation returns a <code>FileSystemAlreadyExists</code> error with the
|
|
191
|
-
* ID of the existing file system.</p>
|
|
192
|
-
* <note>
|
|
193
|
-
* <p>For basic use cases, you can use a randomly generated UUID for the creation
|
|
194
|
-
* token.</p>
|
|
195
|
-
* </note>
|
|
196
|
-
* <p> The idempotent operation allows you to retry a <code>CreateFileSystem</code> call without
|
|
197
|
-
* risk of creating an extra file system. This can happen when an initial call fails in a way
|
|
198
|
-
* that leaves it uncertain whether or not a file system was actually created. An example might
|
|
199
|
-
* be that a transport level timeout occurred or your connection was reset. As long as you use
|
|
200
|
-
* the same creation token, if the initial call had succeeded in creating a file system, the
|
|
201
|
-
* client can learn of its existence from the <code>FileSystemAlreadyExists</code> error.</p>
|
|
202
|
-
* <p>For more information, see
|
|
203
|
-
* <a href="https://docs.aws.amazon.com/efs/latest/ug/creating-using-create-fs.html#creating-using-create-fs-part1">Creating a file system</a>
|
|
204
|
-
* in the <i>Amazon EFS User Guide</i>.</p>
|
|
205
|
-
*
|
|
206
|
-
* <note>
|
|
207
|
-
* <p>The <code>CreateFileSystem</code> call returns while the file system's lifecycle
|
|
208
|
-
* state is still <code>creating</code>. You can check the file system creation status by
|
|
209
|
-
* calling the <a>DescribeFileSystems</a> operation, which among other things returns the file
|
|
210
|
-
* system state.</p>
|
|
211
|
-
* </note>
|
|
212
|
-
*
|
|
213
|
-
* <p>This operation accepts an optional <code>PerformanceMode</code> parameter that you
|
|
214
|
-
* choose for your file system. We recommend <code>generalPurpose</code> performance mode for
|
|
215
|
-
* most file systems. File systems using the <code>maxIO</code> performance mode can scale to
|
|
216
|
-
* higher levels of aggregate throughput and operations per second with a tradeoff of slightly
|
|
217
|
-
* higher latencies for most file operations. The performance mode can't be changed after
|
|
218
|
-
* the file system has been created. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/performance.html#performancemodes.html">Amazon EFS performance
|
|
219
|
-
* modes</a>.</p>
|
|
220
|
-
*
|
|
221
|
-
* <p>You can set the throughput mode for the file system using the <code>ThroughputMode</code> parameter.</p>
|
|
222
|
-
*
|
|
223
|
-
* <p>After the file system is fully created, Amazon EFS sets its lifecycle state to
|
|
224
|
-
* <code>available</code>, at which point you can create one or more mount targets for the file
|
|
225
|
-
* system in your VPC. For more information, see <a>CreateMountTarget</a>. You mount your Amazon EFS file system on an EC2 instances in
|
|
226
|
-
* your VPC by using the mount target. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html">Amazon EFS: How it Works</a>. </p>
|
|
227
|
-
*
|
|
228
|
-
* <p> This operation requires permissions for the
|
|
229
|
-
* <code>elasticfilesystem:CreateFileSystem</code> action. </p>
|
|
230
|
-
*/
|
|
231
|
-
public createFileSystem(
|
|
232
|
-
args: CreateFileSystemCommandInput,
|
|
233
|
-
options?: __HttpHandlerOptions
|
|
234
|
-
): Promise<CreateFileSystemCommandOutput>;
|
|
235
|
-
public createFileSystem(
|
|
236
|
-
args: CreateFileSystemCommandInput,
|
|
237
|
-
cb: (err: any, data?: CreateFileSystemCommandOutput) => void
|
|
238
|
-
): void;
|
|
239
|
-
public createFileSystem(
|
|
240
|
-
args: CreateFileSystemCommandInput,
|
|
241
|
-
options: __HttpHandlerOptions,
|
|
242
|
-
cb: (err: any, data?: CreateFileSystemCommandOutput) => void
|
|
243
|
-
): void;
|
|
244
|
-
public createFileSystem(
|
|
245
|
-
args: CreateFileSystemCommandInput,
|
|
246
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFileSystemCommandOutput) => void),
|
|
247
|
-
cb?: (err: any, data?: CreateFileSystemCommandOutput) => void
|
|
248
|
-
): Promise<CreateFileSystemCommandOutput> | void {
|
|
249
|
-
const command = new CreateFileSystemCommand(args);
|
|
250
|
-
if (typeof optionsOrCb === "function") {
|
|
251
|
-
this.send(command, optionsOrCb);
|
|
252
|
-
} else if (typeof cb === "function") {
|
|
253
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
254
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
255
|
-
} else {
|
|
256
|
-
return this.send(command, optionsOrCb);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* <p>Creates a mount target for a file system. You can then mount the file system on EC2
|
|
262
|
-
* instances by using the mount target.</p>
|
|
263
|
-
* <p>You can create one mount target in each Availability Zone in your VPC. All EC2
|
|
264
|
-
* instances in a VPC within a given Availability Zone share a single mount target for a given
|
|
265
|
-
* file system. If you have multiple subnets in an Availability Zone, you create a mount target
|
|
266
|
-
* in one of the subnets. EC2 instances do not need to be in the same subnet as the mount target
|
|
267
|
-
* in order to access their file system.</p>
|
|
268
|
-
* <p>You can create only one mount target for an EFS file system using One Zone storage
|
|
269
|
-
* classes. You must create that mount target in the same Availability Zone in which the file
|
|
270
|
-
* system is located. Use the <code>AvailabilityZoneName</code> and
|
|
271
|
-
* <code>AvailabiltyZoneId</code> properties in the <a>DescribeFileSystems</a>
|
|
272
|
-
* response object to get this information. Use the <code>subnetId</code> associated with the
|
|
273
|
-
* file system's Availability Zone when creating the mount target.</p>
|
|
274
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html">Amazon EFS: How it Works</a>. </p>
|
|
275
|
-
* <p>To create a mount target for a file system, the file system's lifecycle state must be
|
|
276
|
-
* <code>available</code>. For more information, see <a>DescribeFileSystems</a>.</p>
|
|
277
|
-
* <p>In the request, provide the following:</p>
|
|
278
|
-
* <ul>
|
|
279
|
-
* <li>
|
|
280
|
-
* <p>The file system ID for which you are creating the mount
|
|
281
|
-
* target.</p>
|
|
282
|
-
* </li>
|
|
283
|
-
* <li>
|
|
284
|
-
* <p>A subnet ID, which determines the following:</p>
|
|
285
|
-
* <ul>
|
|
286
|
-
* <li>
|
|
287
|
-
* <p>The VPC in which Amazon EFS creates the mount target</p>
|
|
288
|
-
* </li>
|
|
289
|
-
* <li>
|
|
290
|
-
* <p>The Availability Zone in which Amazon EFS creates the mount target</p>
|
|
291
|
-
* </li>
|
|
292
|
-
* <li>
|
|
293
|
-
* <p>The IP address range from which Amazon EFS selects the IP address of the mount target
|
|
294
|
-
* (if you don't specify an IP address in the request)</p>
|
|
295
|
-
* </li>
|
|
296
|
-
* </ul>
|
|
297
|
-
* </li>
|
|
298
|
-
* </ul>
|
|
299
|
-
*
|
|
300
|
-
* <p>After creating the mount target, Amazon EFS returns a response that includes, a
|
|
301
|
-
* <code>MountTargetId</code> and an <code>IpAddress</code>. You use this IP address when
|
|
302
|
-
* mounting the file system in an EC2 instance. You can also use the mount target's DNS name
|
|
303
|
-
* when mounting the file system. The EC2 instance on which you mount the file system by using
|
|
304
|
-
* the mount target can resolve the mount target's DNS name to its IP address. For more
|
|
305
|
-
* information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#how-it-works-implementation">How it Works:
|
|
306
|
-
* Implementation Overview</a>. </p>
|
|
307
|
-
* <p>Note that you can create mount targets for a file system in only one VPC, and there can
|
|
308
|
-
* be only one mount target per Availability Zone. That is, if the file system already has one or
|
|
309
|
-
* more mount targets created for it, the subnet specified in the request to add another mount
|
|
310
|
-
* target must meet the following requirements:</p>
|
|
311
|
-
* <ul>
|
|
312
|
-
* <li>
|
|
313
|
-
* <p>Must belong to the same VPC as the subnets of the existing mount targets</p>
|
|
314
|
-
* </li>
|
|
315
|
-
* <li>
|
|
316
|
-
* <p>Must not be in the same Availability Zone as any of the subnets of the existing
|
|
317
|
-
* mount targets</p>
|
|
318
|
-
* </li>
|
|
319
|
-
* </ul>
|
|
320
|
-
*
|
|
321
|
-
* <p>If the request satisfies the requirements, Amazon EFS does the following:</p>
|
|
322
|
-
* <ul>
|
|
323
|
-
* <li>
|
|
324
|
-
* <p>Creates a new mount target in the specified subnet.</p>
|
|
325
|
-
* </li>
|
|
326
|
-
* <li>
|
|
327
|
-
* <p>Also creates a new network interface in the subnet as follows:</p>
|
|
328
|
-
* <ul>
|
|
329
|
-
* <li>
|
|
330
|
-
* <p>If the request provides an <code>IpAddress</code>, Amazon EFS assigns that IP
|
|
331
|
-
* address to the network interface. Otherwise, Amazon EFS assigns a free address in the
|
|
332
|
-
* subnet (in the same way that the Amazon EC2 <code>CreateNetworkInterface</code> call
|
|
333
|
-
* does when a request does not specify a primary private IP address).</p>
|
|
334
|
-
* </li>
|
|
335
|
-
* <li>
|
|
336
|
-
* <p>If the request provides <code>SecurityGroups</code>, this network interface is
|
|
337
|
-
* associated with those security groups. Otherwise, it belongs to the default security
|
|
338
|
-
* group for the subnet's VPC.</p>
|
|
339
|
-
* </li>
|
|
340
|
-
* <li>
|
|
341
|
-
* <p>Assigns the description <code>Mount target <i>fsmt-id</i> for
|
|
342
|
-
* file system <i>fs-id</i>
|
|
343
|
-
* </code> where <code>
|
|
344
|
-
* <i>fsmt-id</i>
|
|
345
|
-
* </code> is the mount target ID, and <code>
|
|
346
|
-
* <i>fs-id</i>
|
|
347
|
-
* </code> is the <code>FileSystemId</code>.</p>
|
|
348
|
-
* </li>
|
|
349
|
-
* <li>
|
|
350
|
-
* <p>Sets the <code>requesterManaged</code> property of the network interface to
|
|
351
|
-
* <code>true</code>, and the <code>requesterId</code> value to
|
|
352
|
-
* <code>EFS</code>.</p>
|
|
353
|
-
* </li>
|
|
354
|
-
* </ul>
|
|
355
|
-
* <p>Each Amazon EFS mount target has one corresponding requester-managed EC2 network
|
|
356
|
-
* interface. After the network interface is created, Amazon EFS sets the
|
|
357
|
-
* <code>NetworkInterfaceId</code> field in the mount target's description to the
|
|
358
|
-
* network interface ID, and the <code>IpAddress</code> field to its address. If network
|
|
359
|
-
* interface creation fails, the entire <code>CreateMountTarget</code> operation
|
|
360
|
-
* fails.</p>
|
|
361
|
-
* </li>
|
|
362
|
-
* </ul>
|
|
363
|
-
* <note>
|
|
364
|
-
* <p>The <code>CreateMountTarget</code> call returns only after creating the network
|
|
365
|
-
* interface, but while the mount target state is still <code>creating</code>, you can check
|
|
366
|
-
* the mount target creation status by calling the <a>DescribeMountTargets</a> operation, which among other things returns the mount
|
|
367
|
-
* target state.</p>
|
|
368
|
-
* </note>
|
|
369
|
-
* <p>We recommend that you create a mount target in each of the Availability Zones. There
|
|
370
|
-
* are cost considerations for using a file system in an Availability Zone through a mount target
|
|
371
|
-
* created in another Availability Zone. For more information, see <a href="http://aws.amazon.com/efs/">Amazon EFS</a>. In addition, by always using a mount target local to the
|
|
372
|
-
* instance's Availability Zone, you eliminate a partial failure scenario. If the
|
|
373
|
-
* Availability Zone in which your mount target is created goes down, then you can't access
|
|
374
|
-
* your file system through that mount target. </p>
|
|
375
|
-
* <p>This operation requires permissions for the following action on the file
|
|
376
|
-
* system:</p>
|
|
377
|
-
* <ul>
|
|
378
|
-
* <li>
|
|
379
|
-
* <p>
|
|
380
|
-
* <code>elasticfilesystem:CreateMountTarget</code>
|
|
381
|
-
* </p>
|
|
382
|
-
* </li>
|
|
383
|
-
* </ul>
|
|
384
|
-
* <p>This operation also requires permissions for the following Amazon EC2
|
|
385
|
-
* actions:</p>
|
|
386
|
-
* <ul>
|
|
387
|
-
* <li>
|
|
388
|
-
* <p>
|
|
389
|
-
* <code>ec2:DescribeSubnets</code>
|
|
390
|
-
* </p>
|
|
391
|
-
* </li>
|
|
392
|
-
* <li>
|
|
393
|
-
* <p>
|
|
394
|
-
* <code>ec2:DescribeNetworkInterfaces</code>
|
|
395
|
-
* </p>
|
|
396
|
-
* </li>
|
|
397
|
-
* <li>
|
|
398
|
-
* <p>
|
|
399
|
-
* <code>ec2:CreateNetworkInterface</code>
|
|
400
|
-
* </p>
|
|
401
|
-
* </li>
|
|
402
|
-
* </ul>
|
|
403
|
-
*/
|
|
404
|
-
public createMountTarget(
|
|
405
|
-
args: CreateMountTargetCommandInput,
|
|
406
|
-
options?: __HttpHandlerOptions
|
|
407
|
-
): Promise<CreateMountTargetCommandOutput>;
|
|
408
|
-
public createMountTarget(
|
|
409
|
-
args: CreateMountTargetCommandInput,
|
|
410
|
-
cb: (err: any, data?: CreateMountTargetCommandOutput) => void
|
|
411
|
-
): void;
|
|
412
|
-
public createMountTarget(
|
|
413
|
-
args: CreateMountTargetCommandInput,
|
|
414
|
-
options: __HttpHandlerOptions,
|
|
415
|
-
cb: (err: any, data?: CreateMountTargetCommandOutput) => void
|
|
416
|
-
): void;
|
|
417
|
-
public createMountTarget(
|
|
418
|
-
args: CreateMountTargetCommandInput,
|
|
419
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateMountTargetCommandOutput) => void),
|
|
420
|
-
cb?: (err: any, data?: CreateMountTargetCommandOutput) => void
|
|
421
|
-
): Promise<CreateMountTargetCommandOutput> | void {
|
|
422
|
-
const command = new CreateMountTargetCommand(args);
|
|
423
|
-
if (typeof optionsOrCb === "function") {
|
|
424
|
-
this.send(command, optionsOrCb);
|
|
425
|
-
} else if (typeof cb === "function") {
|
|
426
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
427
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
428
|
-
} else {
|
|
429
|
-
return this.send(command, optionsOrCb);
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
/**
|
|
434
|
-
* @deprecated
|
|
435
|
-
*
|
|
436
|
-
* <note>
|
|
437
|
-
* <p>DEPRECATED - CreateTags is deprecated and not maintained. Please use the
|
|
438
|
-
* API action to create tags for EFS resources.</p>
|
|
439
|
-
* </note>
|
|
440
|
-
* <p>Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If
|
|
441
|
-
* a tag key specified in the request already exists on the file system, this operation
|
|
442
|
-
* overwrites its value with the value provided in the request. If you add the <code>Name</code>
|
|
443
|
-
* tag to your file system, Amazon EFS returns it in the response to the <a>DescribeFileSystems</a> operation. </p>
|
|
444
|
-
* <p>This operation requires permission for the <code>elasticfilesystem:CreateTags</code>
|
|
445
|
-
* action.</p>
|
|
446
|
-
*/
|
|
447
|
-
public createTags(args: CreateTagsCommandInput, options?: __HttpHandlerOptions): Promise<CreateTagsCommandOutput>;
|
|
448
|
-
public createTags(args: CreateTagsCommandInput, cb: (err: any, data?: CreateTagsCommandOutput) => void): void;
|
|
449
|
-
public createTags(
|
|
450
|
-
args: CreateTagsCommandInput,
|
|
451
|
-
options: __HttpHandlerOptions,
|
|
452
|
-
cb: (err: any, data?: CreateTagsCommandOutput) => void
|
|
453
|
-
): void;
|
|
454
|
-
public createTags(
|
|
455
|
-
args: CreateTagsCommandInput,
|
|
456
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateTagsCommandOutput) => void),
|
|
457
|
-
cb?: (err: any, data?: CreateTagsCommandOutput) => void
|
|
458
|
-
): Promise<CreateTagsCommandOutput> | void {
|
|
459
|
-
const command = new CreateTagsCommand(args);
|
|
460
|
-
if (typeof optionsOrCb === "function") {
|
|
461
|
-
this.send(command, optionsOrCb);
|
|
462
|
-
} else if (typeof cb === "function") {
|
|
463
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
464
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
465
|
-
} else {
|
|
466
|
-
return this.send(command, optionsOrCb);
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
/**
|
|
471
|
-
* <p>Deletes the specified access point. After deletion is complete, new clients can no
|
|
472
|
-
* longer connect to the access points. Clients connected to the access point at the time of
|
|
473
|
-
* deletion will continue to function until they terminate their connection.</p>
|
|
474
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:DeleteAccessPoint</code> action.</p>
|
|
475
|
-
*/
|
|
476
|
-
public deleteAccessPoint(
|
|
477
|
-
args: DeleteAccessPointCommandInput,
|
|
478
|
-
options?: __HttpHandlerOptions
|
|
479
|
-
): Promise<DeleteAccessPointCommandOutput>;
|
|
480
|
-
public deleteAccessPoint(
|
|
481
|
-
args: DeleteAccessPointCommandInput,
|
|
482
|
-
cb: (err: any, data?: DeleteAccessPointCommandOutput) => void
|
|
483
|
-
): void;
|
|
484
|
-
public deleteAccessPoint(
|
|
485
|
-
args: DeleteAccessPointCommandInput,
|
|
486
|
-
options: __HttpHandlerOptions,
|
|
487
|
-
cb: (err: any, data?: DeleteAccessPointCommandOutput) => void
|
|
488
|
-
): void;
|
|
489
|
-
public deleteAccessPoint(
|
|
490
|
-
args: DeleteAccessPointCommandInput,
|
|
491
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAccessPointCommandOutput) => void),
|
|
492
|
-
cb?: (err: any, data?: DeleteAccessPointCommandOutput) => void
|
|
493
|
-
): Promise<DeleteAccessPointCommandOutput> | void {
|
|
494
|
-
const command = new DeleteAccessPointCommand(args);
|
|
495
|
-
if (typeof optionsOrCb === "function") {
|
|
496
|
-
this.send(command, optionsOrCb);
|
|
497
|
-
} else if (typeof cb === "function") {
|
|
498
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
499
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
500
|
-
} else {
|
|
501
|
-
return this.send(command, optionsOrCb);
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
/**
|
|
506
|
-
* <p>Deletes a file system, permanently severing access to its contents. Upon return, the
|
|
507
|
-
* file system no longer exists and you can't access any contents of the deleted file
|
|
508
|
-
* system.</p>
|
|
509
|
-
* <p> You can't delete a file system that is in use. That is, if the file system has
|
|
510
|
-
* any mount targets, you must first delete them. For more information, see <a>DescribeMountTargets</a> and <a>DeleteMountTarget</a>. </p>
|
|
511
|
-
*
|
|
512
|
-
* <note>
|
|
513
|
-
* <p>The <code>DeleteFileSystem</code> call returns while the file system state is still
|
|
514
|
-
* <code>deleting</code>. You can check the file system deletion status by calling the <a>DescribeFileSystems</a> operation, which returns a list of file systems in your
|
|
515
|
-
* account. If you pass file system ID or creation token for the deleted file system, the <a>DescribeFileSystems</a> returns a <code>404 FileSystemNotFound</code>
|
|
516
|
-
* error.</p>
|
|
517
|
-
* </note>
|
|
518
|
-
*
|
|
519
|
-
* <p>This operation requires permissions for the
|
|
520
|
-
* <code>elasticfilesystem:DeleteFileSystem</code> action.</p>
|
|
521
|
-
*/
|
|
522
|
-
public deleteFileSystem(
|
|
523
|
-
args: DeleteFileSystemCommandInput,
|
|
524
|
-
options?: __HttpHandlerOptions
|
|
525
|
-
): Promise<DeleteFileSystemCommandOutput>;
|
|
526
|
-
public deleteFileSystem(
|
|
527
|
-
args: DeleteFileSystemCommandInput,
|
|
528
|
-
cb: (err: any, data?: DeleteFileSystemCommandOutput) => void
|
|
529
|
-
): void;
|
|
530
|
-
public deleteFileSystem(
|
|
531
|
-
args: DeleteFileSystemCommandInput,
|
|
532
|
-
options: __HttpHandlerOptions,
|
|
533
|
-
cb: (err: any, data?: DeleteFileSystemCommandOutput) => void
|
|
534
|
-
): void;
|
|
535
|
-
public deleteFileSystem(
|
|
536
|
-
args: DeleteFileSystemCommandInput,
|
|
537
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFileSystemCommandOutput) => void),
|
|
538
|
-
cb?: (err: any, data?: DeleteFileSystemCommandOutput) => void
|
|
539
|
-
): Promise<DeleteFileSystemCommandOutput> | void {
|
|
540
|
-
const command = new DeleteFileSystemCommand(args);
|
|
541
|
-
if (typeof optionsOrCb === "function") {
|
|
542
|
-
this.send(command, optionsOrCb);
|
|
543
|
-
} else if (typeof cb === "function") {
|
|
544
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
545
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
546
|
-
} else {
|
|
547
|
-
return this.send(command, optionsOrCb);
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* <p>Deletes the <code>FileSystemPolicy</code> for the specified file system.
|
|
553
|
-
* The default <code>FileSystemPolicy</code> goes into effect once the existing policy is deleted.
|
|
554
|
-
* For more information about the default file system policy, see <a href="https://docs.aws.amazon.com/efs/latest/ug/res-based-policies-efs.html">Using Resource-based Policies with EFS</a>.</p>
|
|
555
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:DeleteFileSystemPolicy</code> action.</p>
|
|
556
|
-
*/
|
|
557
|
-
public deleteFileSystemPolicy(
|
|
558
|
-
args: DeleteFileSystemPolicyCommandInput,
|
|
559
|
-
options?: __HttpHandlerOptions
|
|
560
|
-
): Promise<DeleteFileSystemPolicyCommandOutput>;
|
|
561
|
-
public deleteFileSystemPolicy(
|
|
562
|
-
args: DeleteFileSystemPolicyCommandInput,
|
|
563
|
-
cb: (err: any, data?: DeleteFileSystemPolicyCommandOutput) => void
|
|
564
|
-
): void;
|
|
565
|
-
public deleteFileSystemPolicy(
|
|
566
|
-
args: DeleteFileSystemPolicyCommandInput,
|
|
567
|
-
options: __HttpHandlerOptions,
|
|
568
|
-
cb: (err: any, data?: DeleteFileSystemPolicyCommandOutput) => void
|
|
569
|
-
): void;
|
|
570
|
-
public deleteFileSystemPolicy(
|
|
571
|
-
args: DeleteFileSystemPolicyCommandInput,
|
|
572
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFileSystemPolicyCommandOutput) => void),
|
|
573
|
-
cb?: (err: any, data?: DeleteFileSystemPolicyCommandOutput) => void
|
|
574
|
-
): Promise<DeleteFileSystemPolicyCommandOutput> | void {
|
|
575
|
-
const command = new DeleteFileSystemPolicyCommand(args);
|
|
576
|
-
if (typeof optionsOrCb === "function") {
|
|
577
|
-
this.send(command, optionsOrCb);
|
|
578
|
-
} else if (typeof cb === "function") {
|
|
579
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
580
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
581
|
-
} else {
|
|
582
|
-
return this.send(command, optionsOrCb);
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
* <p>Deletes the specified mount target.</p>
|
|
588
|
-
*
|
|
589
|
-
* <p>This operation forcibly breaks any mounts of the file system by using the mount target
|
|
590
|
-
* that is being deleted, which might disrupt instances or applications using those mounts. To
|
|
591
|
-
* avoid applications getting cut off abruptly, you might consider unmounting any mounts of the
|
|
592
|
-
* mount target, if feasible. The operation also deletes the associated network interface.
|
|
593
|
-
* Uncommitted writes might be lost, but breaking a mount target using this operation does not
|
|
594
|
-
* corrupt the file system itself. The file system you created remains. You can mount an EC2
|
|
595
|
-
* instance in your VPC by using another mount target.</p>
|
|
596
|
-
* <p>This operation requires permissions for the following action on the file
|
|
597
|
-
* system:</p>
|
|
598
|
-
* <ul>
|
|
599
|
-
* <li>
|
|
600
|
-
* <p>
|
|
601
|
-
* <code>elasticfilesystem:DeleteMountTarget</code>
|
|
602
|
-
* </p>
|
|
603
|
-
* </li>
|
|
604
|
-
* </ul>
|
|
605
|
-
*
|
|
606
|
-
* <note>
|
|
607
|
-
* <p>The <code>DeleteMountTarget</code> call returns while the mount target state is still
|
|
608
|
-
* <code>deleting</code>. You can check the mount target deletion by calling the <a>DescribeMountTargets</a> operation, which returns a list of mount target
|
|
609
|
-
* descriptions for the given file system. </p>
|
|
610
|
-
* </note>
|
|
611
|
-
*
|
|
612
|
-
* <p>The operation also requires permissions for the following Amazon EC2 action on the
|
|
613
|
-
* mount target's network interface:</p>
|
|
614
|
-
* <ul>
|
|
615
|
-
* <li>
|
|
616
|
-
* <p>
|
|
617
|
-
* <code>ec2:DeleteNetworkInterface</code>
|
|
618
|
-
* </p>
|
|
619
|
-
* </li>
|
|
620
|
-
* </ul>
|
|
621
|
-
*/
|
|
622
|
-
public deleteMountTarget(
|
|
623
|
-
args: DeleteMountTargetCommandInput,
|
|
624
|
-
options?: __HttpHandlerOptions
|
|
625
|
-
): Promise<DeleteMountTargetCommandOutput>;
|
|
626
|
-
public deleteMountTarget(
|
|
627
|
-
args: DeleteMountTargetCommandInput,
|
|
628
|
-
cb: (err: any, data?: DeleteMountTargetCommandOutput) => void
|
|
629
|
-
): void;
|
|
630
|
-
public deleteMountTarget(
|
|
631
|
-
args: DeleteMountTargetCommandInput,
|
|
632
|
-
options: __HttpHandlerOptions,
|
|
633
|
-
cb: (err: any, data?: DeleteMountTargetCommandOutput) => void
|
|
634
|
-
): void;
|
|
635
|
-
public deleteMountTarget(
|
|
636
|
-
args: DeleteMountTargetCommandInput,
|
|
637
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteMountTargetCommandOutput) => void),
|
|
638
|
-
cb?: (err: any, data?: DeleteMountTargetCommandOutput) => void
|
|
639
|
-
): Promise<DeleteMountTargetCommandOutput> | void {
|
|
640
|
-
const command = new DeleteMountTargetCommand(args);
|
|
641
|
-
if (typeof optionsOrCb === "function") {
|
|
642
|
-
this.send(command, optionsOrCb);
|
|
643
|
-
} else if (typeof cb === "function") {
|
|
644
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
645
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
646
|
-
} else {
|
|
647
|
-
return this.send(command, optionsOrCb);
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
/**
|
|
652
|
-
* @deprecated
|
|
653
|
-
*
|
|
654
|
-
* <note>
|
|
655
|
-
* <p>DEPRECATED - DeleteTags is deprecated and not maintained. Please use the
|
|
656
|
-
* API action to remove tags from EFS resources.</p>
|
|
657
|
-
* </note>
|
|
658
|
-
* <p>Deletes the specified tags from a file system. If the <code>DeleteTags</code> request
|
|
659
|
-
* includes a tag key that doesn't exist, Amazon EFS ignores it and doesn't cause an
|
|
660
|
-
* error. For more information about tags and related restrictions, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Tag restrictions</a> in the
|
|
661
|
-
* <i>Billing and Cost Management User Guide</i>.</p>
|
|
662
|
-
*
|
|
663
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:DeleteTags</code>
|
|
664
|
-
* action.</p>
|
|
665
|
-
*/
|
|
666
|
-
public deleteTags(args: DeleteTagsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTagsCommandOutput>;
|
|
667
|
-
public deleteTags(args: DeleteTagsCommandInput, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
|
|
668
|
-
public deleteTags(
|
|
669
|
-
args: DeleteTagsCommandInput,
|
|
670
|
-
options: __HttpHandlerOptions,
|
|
671
|
-
cb: (err: any, data?: DeleteTagsCommandOutput) => void
|
|
672
|
-
): void;
|
|
673
|
-
public deleteTags(
|
|
674
|
-
args: DeleteTagsCommandInput,
|
|
675
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteTagsCommandOutput) => void),
|
|
676
|
-
cb?: (err: any, data?: DeleteTagsCommandOutput) => void
|
|
677
|
-
): Promise<DeleteTagsCommandOutput> | void {
|
|
678
|
-
const command = new DeleteTagsCommand(args);
|
|
679
|
-
if (typeof optionsOrCb === "function") {
|
|
680
|
-
this.send(command, optionsOrCb);
|
|
681
|
-
} else if (typeof cb === "function") {
|
|
682
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
683
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
684
|
-
} else {
|
|
685
|
-
return this.send(command, optionsOrCb);
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
/**
|
|
690
|
-
* <p>Returns the description of a specific Amazon EFS access point if the <code>AccessPointId</code> is provided.
|
|
691
|
-
* If you provide an EFS <code>FileSystemId</code>, it returns descriptions of all access points for that file system.
|
|
692
|
-
* You can provide either an <code>AccessPointId</code> or a <code>FileSystemId</code> in the request, but not both. </p>
|
|
693
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:DescribeAccessPoints</code> action.</p>
|
|
694
|
-
*/
|
|
695
|
-
public describeAccessPoints(
|
|
696
|
-
args: DescribeAccessPointsCommandInput,
|
|
697
|
-
options?: __HttpHandlerOptions
|
|
698
|
-
): Promise<DescribeAccessPointsCommandOutput>;
|
|
699
|
-
public describeAccessPoints(
|
|
700
|
-
args: DescribeAccessPointsCommandInput,
|
|
701
|
-
cb: (err: any, data?: DescribeAccessPointsCommandOutput) => void
|
|
702
|
-
): void;
|
|
703
|
-
public describeAccessPoints(
|
|
704
|
-
args: DescribeAccessPointsCommandInput,
|
|
705
|
-
options: __HttpHandlerOptions,
|
|
706
|
-
cb: (err: any, data?: DescribeAccessPointsCommandOutput) => void
|
|
707
|
-
): void;
|
|
708
|
-
public describeAccessPoints(
|
|
709
|
-
args: DescribeAccessPointsCommandInput,
|
|
710
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAccessPointsCommandOutput) => void),
|
|
711
|
-
cb?: (err: any, data?: DescribeAccessPointsCommandOutput) => void
|
|
712
|
-
): Promise<DescribeAccessPointsCommandOutput> | void {
|
|
713
|
-
const command = new DescribeAccessPointsCommand(args);
|
|
714
|
-
if (typeof optionsOrCb === "function") {
|
|
715
|
-
this.send(command, optionsOrCb);
|
|
716
|
-
} else if (typeof cb === "function") {
|
|
717
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
718
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
719
|
-
} else {
|
|
720
|
-
return this.send(command, optionsOrCb);
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
/**
|
|
725
|
-
* <p>Returns the account preferences settings for the Amazon Web Services account associated with the user making the request, in the current Amazon Web Services Region.
|
|
726
|
-
* For more information, see <a href="efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
|
|
727
|
-
*/
|
|
728
|
-
public describeAccountPreferences(
|
|
729
|
-
args: DescribeAccountPreferencesCommandInput,
|
|
730
|
-
options?: __HttpHandlerOptions
|
|
731
|
-
): Promise<DescribeAccountPreferencesCommandOutput>;
|
|
732
|
-
public describeAccountPreferences(
|
|
733
|
-
args: DescribeAccountPreferencesCommandInput,
|
|
734
|
-
cb: (err: any, data?: DescribeAccountPreferencesCommandOutput) => void
|
|
735
|
-
): void;
|
|
736
|
-
public describeAccountPreferences(
|
|
737
|
-
args: DescribeAccountPreferencesCommandInput,
|
|
738
|
-
options: __HttpHandlerOptions,
|
|
739
|
-
cb: (err: any, data?: DescribeAccountPreferencesCommandOutput) => void
|
|
740
|
-
): void;
|
|
741
|
-
public describeAccountPreferences(
|
|
742
|
-
args: DescribeAccountPreferencesCommandInput,
|
|
743
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAccountPreferencesCommandOutput) => void),
|
|
744
|
-
cb?: (err: any, data?: DescribeAccountPreferencesCommandOutput) => void
|
|
745
|
-
): Promise<DescribeAccountPreferencesCommandOutput> | void {
|
|
746
|
-
const command = new DescribeAccountPreferencesCommand(args);
|
|
747
|
-
if (typeof optionsOrCb === "function") {
|
|
748
|
-
this.send(command, optionsOrCb);
|
|
749
|
-
} else if (typeof cb === "function") {
|
|
750
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
751
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
752
|
-
} else {
|
|
753
|
-
return this.send(command, optionsOrCb);
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
/**
|
|
758
|
-
* <p>Returns the backup policy for the specified EFS file system.</p>
|
|
759
|
-
*/
|
|
760
|
-
public describeBackupPolicy(
|
|
761
|
-
args: DescribeBackupPolicyCommandInput,
|
|
762
|
-
options?: __HttpHandlerOptions
|
|
763
|
-
): Promise<DescribeBackupPolicyCommandOutput>;
|
|
764
|
-
public describeBackupPolicy(
|
|
765
|
-
args: DescribeBackupPolicyCommandInput,
|
|
766
|
-
cb: (err: any, data?: DescribeBackupPolicyCommandOutput) => void
|
|
767
|
-
): void;
|
|
768
|
-
public describeBackupPolicy(
|
|
769
|
-
args: DescribeBackupPolicyCommandInput,
|
|
770
|
-
options: __HttpHandlerOptions,
|
|
771
|
-
cb: (err: any, data?: DescribeBackupPolicyCommandOutput) => void
|
|
772
|
-
): void;
|
|
773
|
-
public describeBackupPolicy(
|
|
774
|
-
args: DescribeBackupPolicyCommandInput,
|
|
775
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeBackupPolicyCommandOutput) => void),
|
|
776
|
-
cb?: (err: any, data?: DescribeBackupPolicyCommandOutput) => void
|
|
777
|
-
): Promise<DescribeBackupPolicyCommandOutput> | void {
|
|
778
|
-
const command = new DescribeBackupPolicyCommand(args);
|
|
779
|
-
if (typeof optionsOrCb === "function") {
|
|
780
|
-
this.send(command, optionsOrCb);
|
|
781
|
-
} else if (typeof cb === "function") {
|
|
782
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
783
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
784
|
-
} else {
|
|
785
|
-
return this.send(command, optionsOrCb);
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
/**
|
|
790
|
-
* <p>Returns the <code>FileSystemPolicy</code> for the specified EFS file system.</p>
|
|
791
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:DescribeFileSystemPolicy</code> action.</p>
|
|
792
|
-
*/
|
|
793
|
-
public describeFileSystemPolicy(
|
|
794
|
-
args: DescribeFileSystemPolicyCommandInput,
|
|
795
|
-
options?: __HttpHandlerOptions
|
|
796
|
-
): Promise<DescribeFileSystemPolicyCommandOutput>;
|
|
797
|
-
public describeFileSystemPolicy(
|
|
798
|
-
args: DescribeFileSystemPolicyCommandInput,
|
|
799
|
-
cb: (err: any, data?: DescribeFileSystemPolicyCommandOutput) => void
|
|
800
|
-
): void;
|
|
801
|
-
public describeFileSystemPolicy(
|
|
802
|
-
args: DescribeFileSystemPolicyCommandInput,
|
|
803
|
-
options: __HttpHandlerOptions,
|
|
804
|
-
cb: (err: any, data?: DescribeFileSystemPolicyCommandOutput) => void
|
|
805
|
-
): void;
|
|
806
|
-
public describeFileSystemPolicy(
|
|
807
|
-
args: DescribeFileSystemPolicyCommandInput,
|
|
808
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFileSystemPolicyCommandOutput) => void),
|
|
809
|
-
cb?: (err: any, data?: DescribeFileSystemPolicyCommandOutput) => void
|
|
810
|
-
): Promise<DescribeFileSystemPolicyCommandOutput> | void {
|
|
811
|
-
const command = new DescribeFileSystemPolicyCommand(args);
|
|
812
|
-
if (typeof optionsOrCb === "function") {
|
|
813
|
-
this.send(command, optionsOrCb);
|
|
814
|
-
} else if (typeof cb === "function") {
|
|
815
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
816
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
817
|
-
} else {
|
|
818
|
-
return this.send(command, optionsOrCb);
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
/**
|
|
823
|
-
* <p>Returns the description of a specific Amazon EFS file system if either the file system
|
|
824
|
-
* <code>CreationToken</code> or the <code>FileSystemId</code> is provided. Otherwise, it
|
|
825
|
-
* returns descriptions of all file systems owned by the caller's Amazon Web Services account in the
|
|
826
|
-
* Amazon Web Services Region of the endpoint that you're calling.</p>
|
|
827
|
-
*
|
|
828
|
-
* <p>When retrieving all file system descriptions, you can optionally specify the
|
|
829
|
-
* <code>MaxItems</code> parameter to limit the number of descriptions in a response.
|
|
830
|
-
* Currently, this number is automatically set to 10. If more file system descriptions remain,
|
|
831
|
-
* Amazon EFS returns a <code>NextMarker</code>, an opaque token, in the response. In this case,
|
|
832
|
-
* you should send a subsequent request with the <code>Marker</code> request parameter set to the
|
|
833
|
-
* value of <code>NextMarker</code>. </p>
|
|
834
|
-
*
|
|
835
|
-
* <p>To retrieve a list of your file system descriptions, this operation is used in an
|
|
836
|
-
* iterative process, where <code>DescribeFileSystems</code> is called first without the
|
|
837
|
-
* <code>Marker</code> and then the operation continues to call it with the <code>Marker</code>
|
|
838
|
-
* parameter set to the value of the <code>NextMarker</code> from the previous response until the
|
|
839
|
-
* response has no <code>NextMarker</code>. </p>
|
|
840
|
-
*
|
|
841
|
-
* <p> The order of file systems returned in the response of one
|
|
842
|
-
* <code>DescribeFileSystems</code> call and the order of file systems returned across the
|
|
843
|
-
* responses of a multi-call iteration is unspecified. </p>
|
|
844
|
-
* <p> This operation requires permissions for the
|
|
845
|
-
* <code>elasticfilesystem:DescribeFileSystems</code> action. </p>
|
|
846
|
-
*/
|
|
847
|
-
public describeFileSystems(
|
|
848
|
-
args: DescribeFileSystemsCommandInput,
|
|
849
|
-
options?: __HttpHandlerOptions
|
|
850
|
-
): Promise<DescribeFileSystemsCommandOutput>;
|
|
851
|
-
public describeFileSystems(
|
|
852
|
-
args: DescribeFileSystemsCommandInput,
|
|
853
|
-
cb: (err: any, data?: DescribeFileSystemsCommandOutput) => void
|
|
854
|
-
): void;
|
|
855
|
-
public describeFileSystems(
|
|
856
|
-
args: DescribeFileSystemsCommandInput,
|
|
857
|
-
options: __HttpHandlerOptions,
|
|
858
|
-
cb: (err: any, data?: DescribeFileSystemsCommandOutput) => void
|
|
859
|
-
): void;
|
|
860
|
-
public describeFileSystems(
|
|
861
|
-
args: DescribeFileSystemsCommandInput,
|
|
862
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFileSystemsCommandOutput) => void),
|
|
863
|
-
cb?: (err: any, data?: DescribeFileSystemsCommandOutput) => void
|
|
864
|
-
): Promise<DescribeFileSystemsCommandOutput> | void {
|
|
865
|
-
const command = new DescribeFileSystemsCommand(args);
|
|
866
|
-
if (typeof optionsOrCb === "function") {
|
|
867
|
-
this.send(command, optionsOrCb);
|
|
868
|
-
} else if (typeof cb === "function") {
|
|
869
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
870
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
871
|
-
} else {
|
|
872
|
-
return this.send(command, optionsOrCb);
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
/**
|
|
877
|
-
* <p>Returns the current <code>LifecycleConfiguration</code> object for the specified Amazon
|
|
878
|
-
* EFS file system. EFS lifecycle management uses the <code>LifecycleConfiguration</code> object
|
|
879
|
-
* to identify which files to move to the EFS Infrequent Access (IA) storage class. For a file system
|
|
880
|
-
* without a <code>LifecycleConfiguration</code> object, the call returns an empty array in the
|
|
881
|
-
* response.</p>
|
|
882
|
-
* <p>When EFS Intelligent Tiering is enabled, <code>TransitionToPrimaryStorageClass</code> has a value of <code>AFTER_1_ACCESS</code>.</p>
|
|
883
|
-
* <p>This operation requires permissions for the
|
|
884
|
-
* <code>elasticfilesystem:DescribeLifecycleConfiguration</code> operation.</p>
|
|
885
|
-
*/
|
|
886
|
-
public describeLifecycleConfiguration(
|
|
887
|
-
args: DescribeLifecycleConfigurationCommandInput,
|
|
888
|
-
options?: __HttpHandlerOptions
|
|
889
|
-
): Promise<DescribeLifecycleConfigurationCommandOutput>;
|
|
890
|
-
public describeLifecycleConfiguration(
|
|
891
|
-
args: DescribeLifecycleConfigurationCommandInput,
|
|
892
|
-
cb: (err: any, data?: DescribeLifecycleConfigurationCommandOutput) => void
|
|
893
|
-
): void;
|
|
894
|
-
public describeLifecycleConfiguration(
|
|
895
|
-
args: DescribeLifecycleConfigurationCommandInput,
|
|
896
|
-
options: __HttpHandlerOptions,
|
|
897
|
-
cb: (err: any, data?: DescribeLifecycleConfigurationCommandOutput) => void
|
|
898
|
-
): void;
|
|
899
|
-
public describeLifecycleConfiguration(
|
|
900
|
-
args: DescribeLifecycleConfigurationCommandInput,
|
|
901
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLifecycleConfigurationCommandOutput) => void),
|
|
902
|
-
cb?: (err: any, data?: DescribeLifecycleConfigurationCommandOutput) => void
|
|
903
|
-
): Promise<DescribeLifecycleConfigurationCommandOutput> | void {
|
|
904
|
-
const command = new DescribeLifecycleConfigurationCommand(args);
|
|
905
|
-
if (typeof optionsOrCb === "function") {
|
|
906
|
-
this.send(command, optionsOrCb);
|
|
907
|
-
} else if (typeof cb === "function") {
|
|
908
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
909
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
910
|
-
} else {
|
|
911
|
-
return this.send(command, optionsOrCb);
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
/**
|
|
916
|
-
* <p>Returns the descriptions of all the current mount targets, or a specific mount target,
|
|
917
|
-
* for a file system. When requesting all of the current mount targets, the order of mount
|
|
918
|
-
* targets returned in the response is unspecified.</p>
|
|
919
|
-
*
|
|
920
|
-
* <p>This operation requires permissions for the
|
|
921
|
-
* <code>elasticfilesystem:DescribeMountTargets</code> action, on either the file system ID
|
|
922
|
-
* that you specify in <code>FileSystemId</code>, or on the file system of the mount target that
|
|
923
|
-
* you specify in <code>MountTargetId</code>.</p>
|
|
924
|
-
*/
|
|
925
|
-
public describeMountTargets(
|
|
926
|
-
args: DescribeMountTargetsCommandInput,
|
|
927
|
-
options?: __HttpHandlerOptions
|
|
928
|
-
): Promise<DescribeMountTargetsCommandOutput>;
|
|
929
|
-
public describeMountTargets(
|
|
930
|
-
args: DescribeMountTargetsCommandInput,
|
|
931
|
-
cb: (err: any, data?: DescribeMountTargetsCommandOutput) => void
|
|
932
|
-
): void;
|
|
933
|
-
public describeMountTargets(
|
|
934
|
-
args: DescribeMountTargetsCommandInput,
|
|
935
|
-
options: __HttpHandlerOptions,
|
|
936
|
-
cb: (err: any, data?: DescribeMountTargetsCommandOutput) => void
|
|
937
|
-
): void;
|
|
938
|
-
public describeMountTargets(
|
|
939
|
-
args: DescribeMountTargetsCommandInput,
|
|
940
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeMountTargetsCommandOutput) => void),
|
|
941
|
-
cb?: (err: any, data?: DescribeMountTargetsCommandOutput) => void
|
|
942
|
-
): Promise<DescribeMountTargetsCommandOutput> | void {
|
|
943
|
-
const command = new DescribeMountTargetsCommand(args);
|
|
944
|
-
if (typeof optionsOrCb === "function") {
|
|
945
|
-
this.send(command, optionsOrCb);
|
|
946
|
-
} else if (typeof cb === "function") {
|
|
947
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
948
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
949
|
-
} else {
|
|
950
|
-
return this.send(command, optionsOrCb);
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
/**
|
|
955
|
-
* <p>Returns the security groups currently in effect for a mount target. This operation
|
|
956
|
-
* requires that the network interface of the mount target has been created and the lifecycle
|
|
957
|
-
* state of the mount target is not <code>deleted</code>.</p>
|
|
958
|
-
* <p>This operation requires permissions for the following actions:</p>
|
|
959
|
-
* <ul>
|
|
960
|
-
* <li>
|
|
961
|
-
* <p>
|
|
962
|
-
* <code>elasticfilesystem:DescribeMountTargetSecurityGroups</code> action on the mount
|
|
963
|
-
* target's file system. </p>
|
|
964
|
-
* </li>
|
|
965
|
-
* <li>
|
|
966
|
-
* <p>
|
|
967
|
-
* <code>ec2:DescribeNetworkInterfaceAttribute</code> action on the mount target's
|
|
968
|
-
* network interface. </p>
|
|
969
|
-
* </li>
|
|
970
|
-
* </ul>
|
|
971
|
-
*/
|
|
972
|
-
public describeMountTargetSecurityGroups(
|
|
973
|
-
args: DescribeMountTargetSecurityGroupsCommandInput,
|
|
974
|
-
options?: __HttpHandlerOptions
|
|
975
|
-
): Promise<DescribeMountTargetSecurityGroupsCommandOutput>;
|
|
976
|
-
public describeMountTargetSecurityGroups(
|
|
977
|
-
args: DescribeMountTargetSecurityGroupsCommandInput,
|
|
978
|
-
cb: (err: any, data?: DescribeMountTargetSecurityGroupsCommandOutput) => void
|
|
979
|
-
): void;
|
|
980
|
-
public describeMountTargetSecurityGroups(
|
|
981
|
-
args: DescribeMountTargetSecurityGroupsCommandInput,
|
|
982
|
-
options: __HttpHandlerOptions,
|
|
983
|
-
cb: (err: any, data?: DescribeMountTargetSecurityGroupsCommandOutput) => void
|
|
984
|
-
): void;
|
|
985
|
-
public describeMountTargetSecurityGroups(
|
|
986
|
-
args: DescribeMountTargetSecurityGroupsCommandInput,
|
|
987
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeMountTargetSecurityGroupsCommandOutput) => void),
|
|
988
|
-
cb?: (err: any, data?: DescribeMountTargetSecurityGroupsCommandOutput) => void
|
|
989
|
-
): Promise<DescribeMountTargetSecurityGroupsCommandOutput> | void {
|
|
990
|
-
const command = new DescribeMountTargetSecurityGroupsCommand(args);
|
|
991
|
-
if (typeof optionsOrCb === "function") {
|
|
992
|
-
this.send(command, optionsOrCb);
|
|
993
|
-
} else if (typeof cb === "function") {
|
|
994
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
995
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
996
|
-
} else {
|
|
997
|
-
return this.send(command, optionsOrCb);
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
/**
|
|
1002
|
-
* @deprecated
|
|
1003
|
-
*
|
|
1004
|
-
* <note>
|
|
1005
|
-
* <p>DEPRECATED - The DeleteTags action is deprecated and not maintained. Please use the
|
|
1006
|
-
* API action to remove tags from EFS resources.</p>
|
|
1007
|
-
* </note>
|
|
1008
|
-
* <p>Returns the tags associated with a file system. The order of tags returned in the
|
|
1009
|
-
* response of one <code>DescribeTags</code> call and the order of tags returned across the
|
|
1010
|
-
* responses of a multiple-call iteration (when using pagination) is unspecified. </p>
|
|
1011
|
-
* <p> This operation requires permissions for the
|
|
1012
|
-
* <code>elasticfilesystem:DescribeTags</code> action. </p>
|
|
1013
|
-
*/
|
|
1014
|
-
public describeTags(
|
|
1015
|
-
args: DescribeTagsCommandInput,
|
|
1016
|
-
options?: __HttpHandlerOptions
|
|
1017
|
-
): Promise<DescribeTagsCommandOutput>;
|
|
1018
|
-
public describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
|
|
1019
|
-
public describeTags(
|
|
1020
|
-
args: DescribeTagsCommandInput,
|
|
1021
|
-
options: __HttpHandlerOptions,
|
|
1022
|
-
cb: (err: any, data?: DescribeTagsCommandOutput) => void
|
|
1023
|
-
): void;
|
|
1024
|
-
public describeTags(
|
|
1025
|
-
args: DescribeTagsCommandInput,
|
|
1026
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTagsCommandOutput) => void),
|
|
1027
|
-
cb?: (err: any, data?: DescribeTagsCommandOutput) => void
|
|
1028
|
-
): Promise<DescribeTagsCommandOutput> | void {
|
|
1029
|
-
const command = new DescribeTagsCommand(args);
|
|
1030
|
-
if (typeof optionsOrCb === "function") {
|
|
1031
|
-
this.send(command, optionsOrCb);
|
|
1032
|
-
} else if (typeof cb === "function") {
|
|
1033
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1034
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1035
|
-
} else {
|
|
1036
|
-
return this.send(command, optionsOrCb);
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
/**
|
|
1041
|
-
* <p>Lists all tags for a top-level EFS resource. You must provide the ID of the resource that you want to retrieve the tags for.</p>
|
|
1042
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:DescribeAccessPoints</code> action.</p>
|
|
1043
|
-
*/
|
|
1044
|
-
public listTagsForResource(
|
|
1045
|
-
args: ListTagsForResourceCommandInput,
|
|
1046
|
-
options?: __HttpHandlerOptions
|
|
1047
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
1048
|
-
public listTagsForResource(
|
|
1049
|
-
args: ListTagsForResourceCommandInput,
|
|
1050
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1051
|
-
): void;
|
|
1052
|
-
public listTagsForResource(
|
|
1053
|
-
args: ListTagsForResourceCommandInput,
|
|
1054
|
-
options: __HttpHandlerOptions,
|
|
1055
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1056
|
-
): void;
|
|
1057
|
-
public listTagsForResource(
|
|
1058
|
-
args: ListTagsForResourceCommandInput,
|
|
1059
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
1060
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1061
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
1062
|
-
const command = new ListTagsForResourceCommand(args);
|
|
1063
|
-
if (typeof optionsOrCb === "function") {
|
|
1064
|
-
this.send(command, optionsOrCb);
|
|
1065
|
-
} else if (typeof cb === "function") {
|
|
1066
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1067
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1068
|
-
} else {
|
|
1069
|
-
return this.send(command, optionsOrCb);
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
/**
|
|
1074
|
-
* <p>Modifies the set of security groups in effect for a mount target.</p>
|
|
1075
|
-
* <p>When you create a mount target, Amazon EFS also creates a new network interface. For
|
|
1076
|
-
* more information, see <a>CreateMountTarget</a>. This operation replaces the security groups in effect for the
|
|
1077
|
-
* network interface associated with a mount target, with the <code>SecurityGroups</code>
|
|
1078
|
-
* provided in the request. This operation requires that the network interface of the mount
|
|
1079
|
-
* target has been created and the lifecycle state of the mount target is not
|
|
1080
|
-
* <code>deleted</code>. </p>
|
|
1081
|
-
* <p>The operation requires permissions for the following actions:</p>
|
|
1082
|
-
* <ul>
|
|
1083
|
-
* <li>
|
|
1084
|
-
* <p>
|
|
1085
|
-
* <code>elasticfilesystem:ModifyMountTargetSecurityGroups</code> action on the mount
|
|
1086
|
-
* target's file system. </p>
|
|
1087
|
-
* </li>
|
|
1088
|
-
* <li>
|
|
1089
|
-
* <p>
|
|
1090
|
-
* <code>ec2:ModifyNetworkInterfaceAttribute</code> action on the mount target's network
|
|
1091
|
-
* interface. </p>
|
|
1092
|
-
* </li>
|
|
1093
|
-
* </ul>
|
|
1094
|
-
*/
|
|
1095
|
-
public modifyMountTargetSecurityGroups(
|
|
1096
|
-
args: ModifyMountTargetSecurityGroupsCommandInput,
|
|
1097
|
-
options?: __HttpHandlerOptions
|
|
1098
|
-
): Promise<ModifyMountTargetSecurityGroupsCommandOutput>;
|
|
1099
|
-
public modifyMountTargetSecurityGroups(
|
|
1100
|
-
args: ModifyMountTargetSecurityGroupsCommandInput,
|
|
1101
|
-
cb: (err: any, data?: ModifyMountTargetSecurityGroupsCommandOutput) => void
|
|
1102
|
-
): void;
|
|
1103
|
-
public modifyMountTargetSecurityGroups(
|
|
1104
|
-
args: ModifyMountTargetSecurityGroupsCommandInput,
|
|
1105
|
-
options: __HttpHandlerOptions,
|
|
1106
|
-
cb: (err: any, data?: ModifyMountTargetSecurityGroupsCommandOutput) => void
|
|
1107
|
-
): void;
|
|
1108
|
-
public modifyMountTargetSecurityGroups(
|
|
1109
|
-
args: ModifyMountTargetSecurityGroupsCommandInput,
|
|
1110
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyMountTargetSecurityGroupsCommandOutput) => void),
|
|
1111
|
-
cb?: (err: any, data?: ModifyMountTargetSecurityGroupsCommandOutput) => void
|
|
1112
|
-
): Promise<ModifyMountTargetSecurityGroupsCommandOutput> | void {
|
|
1113
|
-
const command = new ModifyMountTargetSecurityGroupsCommand(args);
|
|
1114
|
-
if (typeof optionsOrCb === "function") {
|
|
1115
|
-
this.send(command, optionsOrCb);
|
|
1116
|
-
} else if (typeof cb === "function") {
|
|
1117
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1118
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1119
|
-
} else {
|
|
1120
|
-
return this.send(command, optionsOrCb);
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
/**
|
|
1125
|
-
* <p>Use this operation to set the account preference in the current Amazon Web Services Region to use either long 17 character (63 bit) or short 8 character (32 bit) IDs for
|
|
1126
|
-
* new EFS file systems and mount targets created. All existing resource IDs are not affected by any changes you make. You can set the ID preference during the
|
|
1127
|
-
* opt-in period as EFS transitions to long resource IDs. For more information,
|
|
1128
|
-
* see <a href="efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
|
|
1129
|
-
*/
|
|
1130
|
-
public putAccountPreferences(
|
|
1131
|
-
args: PutAccountPreferencesCommandInput,
|
|
1132
|
-
options?: __HttpHandlerOptions
|
|
1133
|
-
): Promise<PutAccountPreferencesCommandOutput>;
|
|
1134
|
-
public putAccountPreferences(
|
|
1135
|
-
args: PutAccountPreferencesCommandInput,
|
|
1136
|
-
cb: (err: any, data?: PutAccountPreferencesCommandOutput) => void
|
|
1137
|
-
): void;
|
|
1138
|
-
public putAccountPreferences(
|
|
1139
|
-
args: PutAccountPreferencesCommandInput,
|
|
1140
|
-
options: __HttpHandlerOptions,
|
|
1141
|
-
cb: (err: any, data?: PutAccountPreferencesCommandOutput) => void
|
|
1142
|
-
): void;
|
|
1143
|
-
public putAccountPreferences(
|
|
1144
|
-
args: PutAccountPreferencesCommandInput,
|
|
1145
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutAccountPreferencesCommandOutput) => void),
|
|
1146
|
-
cb?: (err: any, data?: PutAccountPreferencesCommandOutput) => void
|
|
1147
|
-
): Promise<PutAccountPreferencesCommandOutput> | void {
|
|
1148
|
-
const command = new PutAccountPreferencesCommand(args);
|
|
1149
|
-
if (typeof optionsOrCb === "function") {
|
|
1150
|
-
this.send(command, optionsOrCb);
|
|
1151
|
-
} else if (typeof cb === "function") {
|
|
1152
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1153
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1154
|
-
} else {
|
|
1155
|
-
return this.send(command, optionsOrCb);
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* <p>Updates the file system's backup policy. Use this action to start or stop automatic backups of the file system. </p>
|
|
1161
|
-
*/
|
|
1162
|
-
public putBackupPolicy(
|
|
1163
|
-
args: PutBackupPolicyCommandInput,
|
|
1164
|
-
options?: __HttpHandlerOptions
|
|
1165
|
-
): Promise<PutBackupPolicyCommandOutput>;
|
|
1166
|
-
public putBackupPolicy(
|
|
1167
|
-
args: PutBackupPolicyCommandInput,
|
|
1168
|
-
cb: (err: any, data?: PutBackupPolicyCommandOutput) => void
|
|
1169
|
-
): void;
|
|
1170
|
-
public putBackupPolicy(
|
|
1171
|
-
args: PutBackupPolicyCommandInput,
|
|
1172
|
-
options: __HttpHandlerOptions,
|
|
1173
|
-
cb: (err: any, data?: PutBackupPolicyCommandOutput) => void
|
|
1174
|
-
): void;
|
|
1175
|
-
public putBackupPolicy(
|
|
1176
|
-
args: PutBackupPolicyCommandInput,
|
|
1177
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutBackupPolicyCommandOutput) => void),
|
|
1178
|
-
cb?: (err: any, data?: PutBackupPolicyCommandOutput) => void
|
|
1179
|
-
): Promise<PutBackupPolicyCommandOutput> | void {
|
|
1180
|
-
const command = new PutBackupPolicyCommand(args);
|
|
1181
|
-
if (typeof optionsOrCb === "function") {
|
|
1182
|
-
this.send(command, optionsOrCb);
|
|
1183
|
-
} else if (typeof cb === "function") {
|
|
1184
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1185
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1186
|
-
} else {
|
|
1187
|
-
return this.send(command, optionsOrCb);
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
|
-
/**
|
|
1192
|
-
* <p>Applies an Amazon EFS <code>FileSystemPolicy</code> to an Amazon EFS file system.
|
|
1193
|
-
* A file system policy is an IAM resource-based policy and can contain multiple policy statements.
|
|
1194
|
-
* A file system always has exactly one file system policy, which can be the default policy or
|
|
1195
|
-
* an explicit policy set or updated using this API operation.
|
|
1196
|
-
* EFS file system policies have a 20,000 character limit.
|
|
1197
|
-
* When an explicit policy is set, it overrides the default policy. For more information about the default file system policy, see
|
|
1198
|
-
* <a href="https://docs.aws.amazon.com/efs/latest/ug/iam-access-control-nfs-efs.html#default-filesystempolicy">Default EFS File System Policy</a>.
|
|
1199
|
-
* </p>
|
|
1200
|
-
* <p>EFS file system policies have a 20,000 character limit.</p>
|
|
1201
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:PutFileSystemPolicy</code> action.</p>
|
|
1202
|
-
*/
|
|
1203
|
-
public putFileSystemPolicy(
|
|
1204
|
-
args: PutFileSystemPolicyCommandInput,
|
|
1205
|
-
options?: __HttpHandlerOptions
|
|
1206
|
-
): Promise<PutFileSystemPolicyCommandOutput>;
|
|
1207
|
-
public putFileSystemPolicy(
|
|
1208
|
-
args: PutFileSystemPolicyCommandInput,
|
|
1209
|
-
cb: (err: any, data?: PutFileSystemPolicyCommandOutput) => void
|
|
1210
|
-
): void;
|
|
1211
|
-
public putFileSystemPolicy(
|
|
1212
|
-
args: PutFileSystemPolicyCommandInput,
|
|
1213
|
-
options: __HttpHandlerOptions,
|
|
1214
|
-
cb: (err: any, data?: PutFileSystemPolicyCommandOutput) => void
|
|
1215
|
-
): void;
|
|
1216
|
-
public putFileSystemPolicy(
|
|
1217
|
-
args: PutFileSystemPolicyCommandInput,
|
|
1218
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutFileSystemPolicyCommandOutput) => void),
|
|
1219
|
-
cb?: (err: any, data?: PutFileSystemPolicyCommandOutput) => void
|
|
1220
|
-
): Promise<PutFileSystemPolicyCommandOutput> | void {
|
|
1221
|
-
const command = new PutFileSystemPolicyCommand(args);
|
|
1222
|
-
if (typeof optionsOrCb === "function") {
|
|
1223
|
-
this.send(command, optionsOrCb);
|
|
1224
|
-
} else if (typeof cb === "function") {
|
|
1225
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1226
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1227
|
-
} else {
|
|
1228
|
-
return this.send(command, optionsOrCb);
|
|
1229
|
-
}
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
/**
|
|
1233
|
-
* <p>Enables lifecycle management by creating a new <code>LifecycleConfiguration</code>
|
|
1234
|
-
* object. A <code>LifecycleConfiguration</code> object defines when files in an Amazon EFS file
|
|
1235
|
-
* system are automatically transitioned to the lower-cost EFS Infrequent Access (IA) storage class.
|
|
1236
|
-
* To enable EFS Intelligent Tiering, set the value of <code>TransitionToPrimaryStorageClass</code> to <code>AFTER_1_ACCESS</code>.
|
|
1237
|
-
* For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html">EFS Lifecycle Management</a>.</p>
|
|
1238
|
-
* <p>A <code>LifecycleConfiguration</code> applies to all files in a file system.</p>
|
|
1239
|
-
* <p>Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a
|
|
1240
|
-
* <code>LifecycleConfiguration</code> object already exists for the specified file system, a
|
|
1241
|
-
* <code>PutLifecycleConfiguration</code> call modifies the existing configuration. A
|
|
1242
|
-
* <code>PutLifecycleConfiguration</code> call with an empty <code>LifecyclePolicies</code>
|
|
1243
|
-
* array in the request body deletes any existing <code>LifecycleConfiguration</code> and
|
|
1244
|
-
* disables lifecycle management.</p>
|
|
1245
|
-
*
|
|
1246
|
-
*
|
|
1247
|
-
* <p>In the request, specify the following: </p>
|
|
1248
|
-
* <ul>
|
|
1249
|
-
* <li>
|
|
1250
|
-
* <p>The ID for the file system for which you are enabling, disabling, or modifying lifecycle management.</p>
|
|
1251
|
-
* </li>
|
|
1252
|
-
* <li>
|
|
1253
|
-
* <p>A <code>LifecyclePolicies</code> array of <code>LifecyclePolicy</code> objects that
|
|
1254
|
-
* define when files are moved to the IA storage class. The array can contain only one
|
|
1255
|
-
* <code>LifecyclePolicy</code> item.</p>
|
|
1256
|
-
* </li>
|
|
1257
|
-
* </ul>
|
|
1258
|
-
*
|
|
1259
|
-
* <p>This operation requires permissions for the
|
|
1260
|
-
* <code>elasticfilesystem:PutLifecycleConfiguration</code> operation.</p>
|
|
1261
|
-
* <p>To apply a <code>LifecycleConfiguration</code> object to an encrypted file system, you
|
|
1262
|
-
* need the same Key Management Service permissions as when you created the encrypted
|
|
1263
|
-
* file system. </p>
|
|
1264
|
-
*/
|
|
1265
|
-
public putLifecycleConfiguration(
|
|
1266
|
-
args: PutLifecycleConfigurationCommandInput,
|
|
1267
|
-
options?: __HttpHandlerOptions
|
|
1268
|
-
): Promise<PutLifecycleConfigurationCommandOutput>;
|
|
1269
|
-
public putLifecycleConfiguration(
|
|
1270
|
-
args: PutLifecycleConfigurationCommandInput,
|
|
1271
|
-
cb: (err: any, data?: PutLifecycleConfigurationCommandOutput) => void
|
|
1272
|
-
): void;
|
|
1273
|
-
public putLifecycleConfiguration(
|
|
1274
|
-
args: PutLifecycleConfigurationCommandInput,
|
|
1275
|
-
options: __HttpHandlerOptions,
|
|
1276
|
-
cb: (err: any, data?: PutLifecycleConfigurationCommandOutput) => void
|
|
1277
|
-
): void;
|
|
1278
|
-
public putLifecycleConfiguration(
|
|
1279
|
-
args: PutLifecycleConfigurationCommandInput,
|
|
1280
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutLifecycleConfigurationCommandOutput) => void),
|
|
1281
|
-
cb?: (err: any, data?: PutLifecycleConfigurationCommandOutput) => void
|
|
1282
|
-
): Promise<PutLifecycleConfigurationCommandOutput> | void {
|
|
1283
|
-
const command = new PutLifecycleConfigurationCommand(args);
|
|
1284
|
-
if (typeof optionsOrCb === "function") {
|
|
1285
|
-
this.send(command, optionsOrCb);
|
|
1286
|
-
} else if (typeof cb === "function") {
|
|
1287
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1288
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1289
|
-
} else {
|
|
1290
|
-
return this.send(command, optionsOrCb);
|
|
1291
|
-
}
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
/**
|
|
1295
|
-
* <p>Creates a tag for an EFS resource. You can create tags for EFS file systems and access points using this API operation.</p>
|
|
1296
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:TagResource</code> action.</p>
|
|
1297
|
-
*/
|
|
1298
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1299
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1300
|
-
public tagResource(
|
|
1301
|
-
args: TagResourceCommandInput,
|
|
1302
|
-
options: __HttpHandlerOptions,
|
|
1303
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
1304
|
-
): void;
|
|
1305
|
-
public tagResource(
|
|
1306
|
-
args: TagResourceCommandInput,
|
|
1307
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
1308
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
1309
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
1310
|
-
const command = new TagResourceCommand(args);
|
|
1311
|
-
if (typeof optionsOrCb === "function") {
|
|
1312
|
-
this.send(command, optionsOrCb);
|
|
1313
|
-
} else if (typeof cb === "function") {
|
|
1314
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1315
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1316
|
-
} else {
|
|
1317
|
-
return this.send(command, optionsOrCb);
|
|
1318
|
-
}
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
/**
|
|
1322
|
-
* <p>Removes tags from an EFS resource. You can remove tags from EFS file systems and access points using this API operation.</p>
|
|
1323
|
-
* <p>This operation requires permissions for the <code>elasticfilesystem:UntagResource</code> action.</p>
|
|
1324
|
-
*/
|
|
1325
|
-
public untagResource(
|
|
1326
|
-
args: UntagResourceCommandInput,
|
|
1327
|
-
options?: __HttpHandlerOptions
|
|
1328
|
-
): Promise<UntagResourceCommandOutput>;
|
|
1329
|
-
public untagResource(
|
|
1330
|
-
args: UntagResourceCommandInput,
|
|
1331
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1332
|
-
): void;
|
|
1333
|
-
public untagResource(
|
|
1334
|
-
args: UntagResourceCommandInput,
|
|
1335
|
-
options: __HttpHandlerOptions,
|
|
1336
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1337
|
-
): void;
|
|
1338
|
-
public untagResource(
|
|
1339
|
-
args: UntagResourceCommandInput,
|
|
1340
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
1341
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1342
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
1343
|
-
const command = new UntagResourceCommand(args);
|
|
1344
|
-
if (typeof optionsOrCb === "function") {
|
|
1345
|
-
this.send(command, optionsOrCb);
|
|
1346
|
-
} else if (typeof cb === "function") {
|
|
1347
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1348
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1349
|
-
} else {
|
|
1350
|
-
return this.send(command, optionsOrCb);
|
|
1351
|
-
}
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
|
-
/**
|
|
1355
|
-
* <p>Updates the throughput mode or the amount of provisioned throughput of an existing file
|
|
1356
|
-
* system.</p>
|
|
1357
|
-
*/
|
|
1358
|
-
public updateFileSystem(
|
|
1359
|
-
args: UpdateFileSystemCommandInput,
|
|
1360
|
-
options?: __HttpHandlerOptions
|
|
1361
|
-
): Promise<UpdateFileSystemCommandOutput>;
|
|
1362
|
-
public updateFileSystem(
|
|
1363
|
-
args: UpdateFileSystemCommandInput,
|
|
1364
|
-
cb: (err: any, data?: UpdateFileSystemCommandOutput) => void
|
|
1365
|
-
): void;
|
|
1366
|
-
public updateFileSystem(
|
|
1367
|
-
args: UpdateFileSystemCommandInput,
|
|
1368
|
-
options: __HttpHandlerOptions,
|
|
1369
|
-
cb: (err: any, data?: UpdateFileSystemCommandOutput) => void
|
|
1370
|
-
): void;
|
|
1371
|
-
public updateFileSystem(
|
|
1372
|
-
args: UpdateFileSystemCommandInput,
|
|
1373
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFileSystemCommandOutput) => void),
|
|
1374
|
-
cb?: (err: any, data?: UpdateFileSystemCommandOutput) => void
|
|
1375
|
-
): Promise<UpdateFileSystemCommandOutput> | void {
|
|
1376
|
-
const command = new UpdateFileSystemCommand(args);
|
|
1377
|
-
if (typeof optionsOrCb === "function") {
|
|
1378
|
-
this.send(command, optionsOrCb);
|
|
1379
|
-
} else if (typeof cb === "function") {
|
|
1380
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1381
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1382
|
-
} else {
|
|
1383
|
-
return this.send(command, optionsOrCb);
|
|
1384
|
-
}
|
|
1385
|
-
}
|
|
1386
|
-
}
|