@aws-sdk/client-efs 3.1179.0 → 3.1180.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/README.md +7 -0
- package/dist-cjs/index.js +55 -6
- package/dist-es/EFS.js +2 -0
- package/dist-es/commands/CreateMountSessionCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +40 -5
- package/dist-types/EFS.d.ts +7 -0
- package/dist-types/EFSClient.d.ts +3 -2
- package/dist-types/commands/CreateFileSystemCommand.d.ts +5 -0
- package/dist-types/commands/CreateMountSessionCommand.d.ts +109 -0
- package/dist-types/commands/CreateMountTargetCommand.d.ts +39 -92
- package/dist-types/commands/DeleteMountTargetCommand.d.ts +9 -2
- package/dist-types/commands/DeleteReplicationConfigurationCommand.d.ts +5 -0
- package/dist-types/commands/DescribeBackupPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFileSystemPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeMountTargetsCommand.d.ts +2 -0
- package/dist-types/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +8 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/errors.d.ts +8 -7
- package/dist-types/models/models_0.d.ts +129 -31
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/EFS.d.ts +17 -0
- package/dist-types/ts3.4/EFSClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CreateMountSessionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +1 -1
|
@@ -44,6 +44,8 @@ export declare var BackupPolicy$: StaticStructureSchema;
|
|
|
44
44
|
export declare var BackupPolicyDescription$: StaticStructureSchema;
|
|
45
45
|
export declare var CreateAccessPointRequest$: StaticStructureSchema;
|
|
46
46
|
export declare var CreateFileSystemRequest$: StaticStructureSchema;
|
|
47
|
+
export declare var CreateMountSessionRequest$: StaticStructureSchema;
|
|
48
|
+
export declare var CreateMountSessionResponse$: StaticStructureSchema;
|
|
47
49
|
export declare var CreateMountTargetRequest$: StaticStructureSchema;
|
|
48
50
|
export declare var CreateReplicationConfigurationRequest$: StaticStructureSchema;
|
|
49
51
|
export declare var CreateTagsRequest$: StaticStructureSchema;
|
|
@@ -82,6 +84,7 @@ export declare var LifecyclePolicy$: StaticStructureSchema;
|
|
|
82
84
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
83
85
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
84
86
|
export declare var ModifyMountTargetSecurityGroupsRequest$: StaticStructureSchema;
|
|
87
|
+
export declare var MountSessionEndpoint$: StaticStructureSchema;
|
|
85
88
|
export declare var MountTargetDescription$: StaticStructureSchema;
|
|
86
89
|
export declare var PosixUser$: StaticStructureSchema;
|
|
87
90
|
export declare var PutAccountPreferencesRequest$: StaticStructureSchema;
|
|
@@ -99,6 +102,7 @@ export declare var UpdateFileSystemProtectionRequest$: StaticStructureSchema;
|
|
|
99
102
|
export declare var UpdateFileSystemRequest$: StaticStructureSchema;
|
|
100
103
|
export declare var CreateAccessPoint$: StaticOperationSchema;
|
|
101
104
|
export declare var CreateFileSystem$: StaticOperationSchema;
|
|
105
|
+
export declare var CreateMountSession$: StaticOperationSchema;
|
|
102
106
|
export declare var CreateMountTarget$: StaticOperationSchema;
|
|
103
107
|
export declare var CreateReplicationConfiguration$: StaticOperationSchema;
|
|
104
108
|
export declare var CreateTags$: StaticOperationSchema;
|
|
@@ -12,6 +12,10 @@ import {
|
|
|
12
12
|
CreateFileSystemCommandInput,
|
|
13
13
|
CreateFileSystemCommandOutput,
|
|
14
14
|
} from "./commands/CreateFileSystemCommand";
|
|
15
|
+
import {
|
|
16
|
+
CreateMountSessionCommandInput,
|
|
17
|
+
CreateMountSessionCommandOutput,
|
|
18
|
+
} from "./commands/CreateMountSessionCommand";
|
|
15
19
|
import {
|
|
16
20
|
CreateMountTargetCommandInput,
|
|
17
21
|
CreateMountTargetCommandOutput,
|
|
@@ -150,6 +154,19 @@ export interface EFS {
|
|
|
150
154
|
options: EFSRequestOptions,
|
|
151
155
|
cb: (err: any, data?: CreateFileSystemCommandOutput) => void,
|
|
152
156
|
): void;
|
|
157
|
+
createMountSession(
|
|
158
|
+
args: CreateMountSessionCommandInput,
|
|
159
|
+
options?: EFSRequestOptions,
|
|
160
|
+
): Promise<CreateMountSessionCommandOutput>;
|
|
161
|
+
createMountSession(
|
|
162
|
+
args: CreateMountSessionCommandInput,
|
|
163
|
+
cb: (err: any, data?: CreateMountSessionCommandOutput) => void,
|
|
164
|
+
): void;
|
|
165
|
+
createMountSession(
|
|
166
|
+
args: CreateMountSessionCommandInput,
|
|
167
|
+
options: EFSRequestOptions,
|
|
168
|
+
cb: (err: any, data?: CreateMountSessionCommandOutput) => void,
|
|
169
|
+
): void;
|
|
153
170
|
createMountTarget(
|
|
154
171
|
args: CreateMountTargetCommandInput,
|
|
155
172
|
options?: EFSRequestOptions,
|
|
@@ -41,6 +41,10 @@ import {
|
|
|
41
41
|
CreateFileSystemCommandInput,
|
|
42
42
|
CreateFileSystemCommandOutput,
|
|
43
43
|
} from "./commands/CreateFileSystemCommand";
|
|
44
|
+
import {
|
|
45
|
+
CreateMountSessionCommandInput,
|
|
46
|
+
CreateMountSessionCommandOutput,
|
|
47
|
+
} from "./commands/CreateMountSessionCommand";
|
|
44
48
|
import {
|
|
45
49
|
CreateMountTargetCommandInput,
|
|
46
50
|
CreateMountTargetCommandOutput,
|
|
@@ -158,6 +162,7 @@ export { __Client };
|
|
|
158
162
|
export type ServiceInputTypes =
|
|
159
163
|
| CreateAccessPointCommandInput
|
|
160
164
|
| CreateFileSystemCommandInput
|
|
165
|
+
| CreateMountSessionCommandInput
|
|
161
166
|
| CreateMountTargetCommandInput
|
|
162
167
|
| CreateReplicationConfigurationCommandInput
|
|
163
168
|
| CreateTagsCommandInput
|
|
@@ -190,6 +195,7 @@ export type ServiceInputTypes =
|
|
|
190
195
|
export type ServiceOutputTypes =
|
|
191
196
|
| CreateAccessPointCommandOutput
|
|
192
197
|
| CreateFileSystemCommandOutput
|
|
198
|
+
| CreateMountSessionCommandOutput
|
|
193
199
|
| CreateMountTargetCommandOutput
|
|
194
200
|
| CreateReplicationConfigurationCommandOutput
|
|
195
201
|
| CreateTagsCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { CreateMountSessionRequest, CreateMountSessionResponse } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface CreateMountSessionCommandInput extends CreateMountSessionRequest {}
|
|
5
|
+
export interface CreateMountSessionCommandOutput
|
|
6
|
+
extends CreateMountSessionResponse, __MetadataBearer {}
|
|
7
|
+
declare const CreateMountSessionCommand_base: {
|
|
8
|
+
new (
|
|
9
|
+
input: CreateMountSessionCommandInput,
|
|
10
|
+
): import("@smithy/core/client").CommandImpl<
|
|
11
|
+
CreateMountSessionCommandInput,
|
|
12
|
+
CreateMountSessionCommandOutput,
|
|
13
|
+
import("..").EFSClientResolvedConfig,
|
|
14
|
+
import("..").ServiceInputTypes,
|
|
15
|
+
import("..").ServiceOutputTypes
|
|
16
|
+
>;
|
|
17
|
+
new (
|
|
18
|
+
input: CreateMountSessionCommandInput,
|
|
19
|
+
): import("@smithy/core/client").CommandImpl<
|
|
20
|
+
CreateMountSessionCommandInput,
|
|
21
|
+
CreateMountSessionCommandOutput,
|
|
22
|
+
import("..").EFSClientResolvedConfig,
|
|
23
|
+
import("..").ServiceInputTypes,
|
|
24
|
+
import("..").ServiceOutputTypes
|
|
25
|
+
>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
export declare class CreateMountSessionCommand extends CreateMountSessionCommand_base {
|
|
29
|
+
protected static __types: {
|
|
30
|
+
api: {
|
|
31
|
+
input: CreateMountSessionRequest;
|
|
32
|
+
output: CreateMountSessionResponse;
|
|
33
|
+
};
|
|
34
|
+
sdk: {
|
|
35
|
+
input: CreateMountSessionCommandInput;
|
|
36
|
+
output: CreateMountSessionCommandOutput;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./CreateAccessPointCommand";
|
|
2
2
|
export * from "./CreateFileSystemCommand";
|
|
3
|
+
export * from "./CreateMountSessionCommand";
|
|
3
4
|
export * from "./CreateMountTargetCommand";
|
|
4
5
|
export * from "./CreateReplicationConfigurationCommand";
|
|
5
6
|
export * from "./CreateTagsCommand";
|
|
@@ -32,6 +32,11 @@ export declare const ReplicationOverwriteProtection: {
|
|
|
32
32
|
};
|
|
33
33
|
export type ReplicationOverwriteProtection =
|
|
34
34
|
(typeof ReplicationOverwriteProtection)[keyof typeof ReplicationOverwriteProtection];
|
|
35
|
+
export declare const NetworkOrigin: {
|
|
36
|
+
readonly AWS_NETWORK: "AWS_NETWORK";
|
|
37
|
+
readonly EXTERNAL_NETWORK: "EXTERNAL_NETWORK";
|
|
38
|
+
};
|
|
39
|
+
export type NetworkOrigin = (typeof NetworkOrigin)[keyof typeof NetworkOrigin];
|
|
35
40
|
export declare const IpAddressType: {
|
|
36
41
|
readonly DUAL_STACK: "DUAL_STACK";
|
|
37
42
|
readonly IPV4_ONLY: "IPV4_ONLY";
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
DeletionMode,
|
|
3
3
|
IpAddressType,
|
|
4
4
|
LifeCycleState,
|
|
5
|
+
NetworkOrigin,
|
|
5
6
|
PerformanceMode,
|
|
6
7
|
ReplicationOverwriteProtection,
|
|
7
8
|
ReplicationStatus,
|
|
@@ -97,6 +98,24 @@ export interface FileSystemDescription {
|
|
|
97
98
|
Tags: Tag[] | undefined;
|
|
98
99
|
FileSystemProtection?: FileSystemProtectionDescription | undefined;
|
|
99
100
|
}
|
|
101
|
+
export interface CreateMountSessionRequest {
|
|
102
|
+
FileSystemId: string | undefined;
|
|
103
|
+
PreferredAvailabilityZoneId?: string | undefined;
|
|
104
|
+
NetworkOrigin?: NetworkOrigin | undefined;
|
|
105
|
+
}
|
|
106
|
+
export interface MountSessionEndpoint {
|
|
107
|
+
AvailabilityZoneId?: string | undefined;
|
|
108
|
+
Ipv4Address?: string | undefined;
|
|
109
|
+
Ipv6Address?: string | undefined;
|
|
110
|
+
Port?: number | undefined;
|
|
111
|
+
MountToken?: string | undefined;
|
|
112
|
+
IssuedAt?: Date | undefined;
|
|
113
|
+
}
|
|
114
|
+
export interface CreateMountSessionResponse {
|
|
115
|
+
FileSystemId?: string | undefined;
|
|
116
|
+
PreferredAvailabilityZoneId?: string | undefined;
|
|
117
|
+
Endpoints?: MountSessionEndpoint[] | undefined;
|
|
118
|
+
}
|
|
100
119
|
export interface CreateMountTargetRequest {
|
|
101
120
|
FileSystemId: string | undefined;
|
|
102
121
|
SubnetId: string | undefined;
|
|
@@ -117,6 +136,7 @@ export interface MountTargetDescription {
|
|
|
117
136
|
AvailabilityZoneId?: string | undefined;
|
|
118
137
|
AvailabilityZoneName?: string | undefined;
|
|
119
138
|
VpcId?: string | undefined;
|
|
139
|
+
StatusMessage?: string | undefined;
|
|
120
140
|
}
|
|
121
141
|
export interface DestinationToCreate {
|
|
122
142
|
Region?: string | undefined;
|
|
@@ -39,6 +39,8 @@ export declare var BackupPolicy$: StaticStructureSchema;
|
|
|
39
39
|
export declare var BackupPolicyDescription$: StaticStructureSchema;
|
|
40
40
|
export declare var CreateAccessPointRequest$: StaticStructureSchema;
|
|
41
41
|
export declare var CreateFileSystemRequest$: StaticStructureSchema;
|
|
42
|
+
export declare var CreateMountSessionRequest$: StaticStructureSchema;
|
|
43
|
+
export declare var CreateMountSessionResponse$: StaticStructureSchema;
|
|
42
44
|
export declare var CreateMountTargetRequest$: StaticStructureSchema;
|
|
43
45
|
export declare var CreateReplicationConfigurationRequest$: StaticStructureSchema;
|
|
44
46
|
export declare var CreateTagsRequest$: StaticStructureSchema;
|
|
@@ -77,6 +79,7 @@ export declare var LifecyclePolicy$: StaticStructureSchema;
|
|
|
77
79
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
78
80
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
79
81
|
export declare var ModifyMountTargetSecurityGroupsRequest$: StaticStructureSchema;
|
|
82
|
+
export declare var MountSessionEndpoint$: StaticStructureSchema;
|
|
80
83
|
export declare var MountTargetDescription$: StaticStructureSchema;
|
|
81
84
|
export declare var PosixUser$: StaticStructureSchema;
|
|
82
85
|
export declare var PutAccountPreferencesRequest$: StaticStructureSchema;
|
|
@@ -94,6 +97,7 @@ export declare var UpdateFileSystemProtectionRequest$: StaticStructureSchema;
|
|
|
94
97
|
export declare var UpdateFileSystemRequest$: StaticStructureSchema;
|
|
95
98
|
export declare var CreateAccessPoint$: StaticOperationSchema;
|
|
96
99
|
export declare var CreateFileSystem$: StaticOperationSchema;
|
|
100
|
+
export declare var CreateMountSession$: StaticOperationSchema;
|
|
97
101
|
export declare var CreateMountTarget$: StaticOperationSchema;
|
|
98
102
|
export declare var CreateReplicationConfiguration$: StaticOperationSchema;
|
|
99
103
|
export declare var CreateTags$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-efs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1180.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Efs Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-efs",
|
|
6
6
|
"license": "Apache-2.0",
|