@aws-sdk/client-efs 3.48.0 → 3.52.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 +35 -0
- package/README.md +1 -1
- package/dist-cjs/EFS.js +45 -0
- package/dist-cjs/commands/CreateReplicationConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DeleteReplicationConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DescribeReplicationConfigurationsCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoints.js +9 -0
- package/dist-cjs/models/models_0.js +51 -2
- package/dist-cjs/protocols/Aws_restJson1.js +482 -2
- package/dist-es/EFS.js +45 -0
- package/dist-es/commands/CreateReplicationConfigurationCommand.js +39 -0
- package/dist-es/commands/DeleteReplicationConfigurationCommand.js +39 -0
- package/dist-es/commands/DescribeReplicationConfigurationsCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoints.js +9 -0
- package/dist-es/models/models_0.js +35 -0
- package/dist-es/protocols/Aws_restJson1.js +606 -78
- package/dist-types/EFS.d.ts +106 -3
- package/dist-types/EFSClient.d.ts +6 -3
- package/dist-types/commands/CreateReplicationConfigurationCommand.d.ts +110 -0
- package/dist-types/commands/DeleteReplicationConfigurationCommand.d.ts +39 -0
- package/dist-types/commands/DescribeReplicationConfigurationsCommand.d.ts +36 -0
- package/dist-types/commands/PutAccountPreferencesCommand.d.ts +4 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +538 -24
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/EFS.d.ts +15 -0
- package/dist-types/ts3.4/EFSClient.d.ts +5 -2
- package/dist-types/ts3.4/commands/CreateReplicationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteReplicationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeReplicationConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +164 -7
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +9 -0
- package/package.json +40 -34
package/dist-types/EFS.d.ts
CHANGED
|
@@ -2,11 +2,13 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
|
2
2
|
import { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
|
|
3
3
|
import { CreateFileSystemCommandInput, CreateFileSystemCommandOutput } from "./commands/CreateFileSystemCommand";
|
|
4
4
|
import { CreateMountTargetCommandInput, CreateMountTargetCommandOutput } from "./commands/CreateMountTargetCommand";
|
|
5
|
+
import { CreateReplicationConfigurationCommandInput, CreateReplicationConfigurationCommandOutput } from "./commands/CreateReplicationConfigurationCommand";
|
|
5
6
|
import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
|
|
6
7
|
import { DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput } from "./commands/DeleteAccessPointCommand";
|
|
7
8
|
import { DeleteFileSystemCommandInput, DeleteFileSystemCommandOutput } from "./commands/DeleteFileSystemCommand";
|
|
8
9
|
import { DeleteFileSystemPolicyCommandInput, DeleteFileSystemPolicyCommandOutput } from "./commands/DeleteFileSystemPolicyCommand";
|
|
9
10
|
import { DeleteMountTargetCommandInput, DeleteMountTargetCommandOutput } from "./commands/DeleteMountTargetCommand";
|
|
11
|
+
import { DeleteReplicationConfigurationCommandInput, DeleteReplicationConfigurationCommandOutput } from "./commands/DeleteReplicationConfigurationCommand";
|
|
10
12
|
import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
|
|
11
13
|
import { DescribeAccessPointsCommandInput, DescribeAccessPointsCommandOutput } from "./commands/DescribeAccessPointsCommand";
|
|
12
14
|
import { DescribeAccountPreferencesCommandInput, DescribeAccountPreferencesCommandOutput } from "./commands/DescribeAccountPreferencesCommand";
|
|
@@ -16,6 +18,7 @@ import { DescribeFileSystemsCommandInput, DescribeFileSystemsCommandOutput } fro
|
|
|
16
18
|
import { DescribeLifecycleConfigurationCommandInput, DescribeLifecycleConfigurationCommandOutput } from "./commands/DescribeLifecycleConfigurationCommand";
|
|
17
19
|
import { DescribeMountTargetsCommandInput, DescribeMountTargetsCommandOutput } from "./commands/DescribeMountTargetsCommand";
|
|
18
20
|
import { DescribeMountTargetSecurityGroupsCommandInput, DescribeMountTargetSecurityGroupsCommandOutput } from "./commands/DescribeMountTargetSecurityGroupsCommand";
|
|
21
|
+
import { DescribeReplicationConfigurationsCommandInput, DescribeReplicationConfigurationsCommandOutput } from "./commands/DescribeReplicationConfigurationsCommand";
|
|
19
22
|
import { DescribeTagsCommandInput, DescribeTagsCommandOutput } from "./commands/DescribeTagsCommand";
|
|
20
23
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
21
24
|
import { ModifyMountTargetSecurityGroupsCommandInput, ModifyMountTargetSecurityGroupsCommandOutput } from "./commands/ModifyMountTargetSecurityGroupsCommand";
|
|
@@ -30,7 +33,7 @@ import { EFSClient } from "./EFSClient";
|
|
|
30
33
|
/**
|
|
31
34
|
* <fullname>Amazon Elastic File System</fullname>
|
|
32
35
|
* <p>Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use
|
|
33
|
-
* with Amazon EC2 instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic,
|
|
36
|
+
* with Amazon EC2 Linux and Mac instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic,
|
|
34
37
|
* growing and shrinking automatically as you add and remove files, so your applications have the
|
|
35
38
|
* 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>
|
|
36
39
|
*/
|
|
@@ -254,6 +257,87 @@ export declare class EFS extends EFSClient {
|
|
|
254
257
|
createMountTarget(args: CreateMountTargetCommandInput, options?: __HttpHandlerOptions): Promise<CreateMountTargetCommandOutput>;
|
|
255
258
|
createMountTarget(args: CreateMountTargetCommandInput, cb: (err: any, data?: CreateMountTargetCommandOutput) => void): void;
|
|
256
259
|
createMountTarget(args: CreateMountTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMountTargetCommandOutput) => void): void;
|
|
260
|
+
/**
|
|
261
|
+
* <p>Creates a replication configuration that replicates an existing EFS file
|
|
262
|
+
* system to a new, read-only file system. For more information, see
|
|
263
|
+
* <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-replication.html">Amazon EFS replication</a>.
|
|
264
|
+
* The replication configuration specifies the following:</p>
|
|
265
|
+
* <ul>
|
|
266
|
+
* <li>
|
|
267
|
+
* <p>
|
|
268
|
+
* <b>Source file system</b> - an existing
|
|
269
|
+
* EFS file system that you want replicated. The source file system cannot be a destination file system
|
|
270
|
+
* in an existing replication configuration.</p>
|
|
271
|
+
* </li>
|
|
272
|
+
* <li>
|
|
273
|
+
* <p>
|
|
274
|
+
* <b>Destination file system configuration</b>
|
|
275
|
+
* - the configuration of the destination file system to which the source file system
|
|
276
|
+
* will be replicated. There can only be one destination file system in a replication
|
|
277
|
+
* configuration.</p>
|
|
278
|
+
* <ul>
|
|
279
|
+
* <li>
|
|
280
|
+
* <p>
|
|
281
|
+
* <b>Amazon Web Services Region</b> - The Amazon Web Services Region in which the destination
|
|
282
|
+
* file system is created. EFS Replication is available in all Amazon Web Services Region that Amazon EFS is available in, except the following regions:
|
|
283
|
+
* Asia Pacific (Hong Kong) Europe (Milan), Middle East (Bahrain), Africa (Cape Town), and Asia Pacific (Jakarta).</p>
|
|
284
|
+
* </li>
|
|
285
|
+
* <li>
|
|
286
|
+
* <p>
|
|
287
|
+
* <b>Availability zone</b> - If you want the destination file system to use
|
|
288
|
+
* One Zone availability and durability, you must specify the Availability Zone to create the file system in.
|
|
289
|
+
* For more information about EFS storage classes, see <a href="https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html">
|
|
290
|
+
* Amazon EFS storage classes</a> in the <i>Amazon EFS User Guide</i>.</p>
|
|
291
|
+
* </li>
|
|
292
|
+
* <li>
|
|
293
|
+
* <p>
|
|
294
|
+
* <b>Encryption</b> - All destination file systems are
|
|
295
|
+
* created with encryption at rest enabled. You can specify the
|
|
296
|
+
* KMS key that is used to encrypt the destination file system.
|
|
297
|
+
* Your service-managed KMS key for Amazon EFS is used if you don't specify a KMS key.
|
|
298
|
+
* You cannot change this after the file system is created.</p>
|
|
299
|
+
* </li>
|
|
300
|
+
* </ul>
|
|
301
|
+
* </li>
|
|
302
|
+
* </ul>
|
|
303
|
+
*
|
|
304
|
+
* <p>The following properties are set by default:</p>
|
|
305
|
+
* <ul>
|
|
306
|
+
* <li>
|
|
307
|
+
* <p>
|
|
308
|
+
* <b>Performance mode</b> - The destination file system's
|
|
309
|
+
* performance mode will match that of the source file system, unless the destination file
|
|
310
|
+
* system uses One Zone storage. In that case, the <i>General Purpose</i>
|
|
311
|
+
* performance mode is used. The Performance mode cannot be changed.</p>
|
|
312
|
+
* </li>
|
|
313
|
+
* <li>
|
|
314
|
+
* <p>
|
|
315
|
+
* <b>Throughput mode</b> - The destination file system
|
|
316
|
+
* use the Bursting throughput mode by default. You can modify the throughput mode once the file system
|
|
317
|
+
* is created.</p>
|
|
318
|
+
* </li>
|
|
319
|
+
* </ul>
|
|
320
|
+
*
|
|
321
|
+
* <p>The following properties are turned off by default:</p>
|
|
322
|
+
* <ul>
|
|
323
|
+
* <li>
|
|
324
|
+
* <p>
|
|
325
|
+
* <b>Lifecycle management</b> - EFS lifecycle
|
|
326
|
+
* management and intelligent tiering are not enabled on the destination file system. You can enable
|
|
327
|
+
* EFS lifecycle management and intelligent tiering after the destination file system is created.</p>
|
|
328
|
+
* </li>
|
|
329
|
+
* <li>
|
|
330
|
+
* <p>
|
|
331
|
+
* <b>Automatic backups</b> - Automatic daily backups
|
|
332
|
+
* not enabled on the destination file system. You can change this setting after the file system is created.</p>
|
|
333
|
+
* </li>
|
|
334
|
+
* </ul>
|
|
335
|
+
*
|
|
336
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-replication.html">Amazon EFS replication</a>.</p>
|
|
337
|
+
*/
|
|
338
|
+
createReplicationConfiguration(args: CreateReplicationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateReplicationConfigurationCommandOutput>;
|
|
339
|
+
createReplicationConfiguration(args: CreateReplicationConfigurationCommandInput, cb: (err: any, data?: CreateReplicationConfigurationCommandOutput) => void): void;
|
|
340
|
+
createReplicationConfiguration(args: CreateReplicationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateReplicationConfigurationCommandOutput) => void): void;
|
|
257
341
|
/**
|
|
258
342
|
* @deprecated
|
|
259
343
|
*
|
|
@@ -348,6 +432,16 @@ export declare class EFS extends EFSClient {
|
|
|
348
432
|
deleteMountTarget(args: DeleteMountTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMountTargetCommandOutput>;
|
|
349
433
|
deleteMountTarget(args: DeleteMountTargetCommandInput, cb: (err: any, data?: DeleteMountTargetCommandOutput) => void): void;
|
|
350
434
|
deleteMountTarget(args: DeleteMountTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMountTargetCommandOutput) => void): void;
|
|
435
|
+
/**
|
|
436
|
+
* <p>Deletes an existing replication configuration. To delete a replication
|
|
437
|
+
* configuration, you must make the request from the Amazon Web Services Region
|
|
438
|
+
* in which the destination file system is located. Deleting a replication
|
|
439
|
+
* configuration ends the replication process. You can write to the destination file
|
|
440
|
+
* system once it's status becomes <code>Writeable</code>.</p>
|
|
441
|
+
*/
|
|
442
|
+
deleteReplicationConfiguration(args: DeleteReplicationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteReplicationConfigurationCommandOutput>;
|
|
443
|
+
deleteReplicationConfiguration(args: DeleteReplicationConfigurationCommandInput, cb: (err: any, data?: DeleteReplicationConfigurationCommandOutput) => void): void;
|
|
444
|
+
deleteReplicationConfiguration(args: DeleteReplicationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteReplicationConfigurationCommandOutput) => void): void;
|
|
351
445
|
/**
|
|
352
446
|
* @deprecated
|
|
353
447
|
*
|
|
@@ -470,6 +564,13 @@ export declare class EFS extends EFSClient {
|
|
|
470
564
|
describeMountTargetSecurityGroups(args: DescribeMountTargetSecurityGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMountTargetSecurityGroupsCommandOutput>;
|
|
471
565
|
describeMountTargetSecurityGroups(args: DescribeMountTargetSecurityGroupsCommandInput, cb: (err: any, data?: DescribeMountTargetSecurityGroupsCommandOutput) => void): void;
|
|
472
566
|
describeMountTargetSecurityGroups(args: DescribeMountTargetSecurityGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMountTargetSecurityGroupsCommandOutput) => void): void;
|
|
567
|
+
/**
|
|
568
|
+
* <p>Retrieves the replication configurations for either a specific file system, or all configurations for the
|
|
569
|
+
* Amazon Web Services account in an Amazon Web Services Region if a file system is not specified.</p>
|
|
570
|
+
*/
|
|
571
|
+
describeReplicationConfigurations(args: DescribeReplicationConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReplicationConfigurationsCommandOutput>;
|
|
572
|
+
describeReplicationConfigurations(args: DescribeReplicationConfigurationsCommandInput, cb: (err: any, data?: DescribeReplicationConfigurationsCommandOutput) => void): void;
|
|
573
|
+
describeReplicationConfigurations(args: DescribeReplicationConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReplicationConfigurationsCommandOutput) => void): void;
|
|
473
574
|
/**
|
|
474
575
|
* @deprecated
|
|
475
576
|
*
|
|
@@ -519,8 +620,10 @@ export declare class EFS extends EFSClient {
|
|
|
519
620
|
modifyMountTargetSecurityGroups(args: ModifyMountTargetSecurityGroupsCommandInput, cb: (err: any, data?: ModifyMountTargetSecurityGroupsCommandOutput) => void): void;
|
|
520
621
|
modifyMountTargetSecurityGroups(args: ModifyMountTargetSecurityGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyMountTargetSecurityGroupsCommandOutput) => void): void;
|
|
521
622
|
/**
|
|
522
|
-
* <p>Use this operation to set the account preference in the current Amazon Web Services Region
|
|
523
|
-
*
|
|
623
|
+
* <p>Use this operation to set the account preference in the current Amazon Web Services Region
|
|
624
|
+
* to use long 17 character (63 bit) or short 8 character (32 bit) resource IDs for
|
|
625
|
+
* new EFS file system and mount target resources. All existing resource IDs are not affected
|
|
626
|
+
* by any changes you make. You can set the ID preference during the
|
|
524
627
|
* opt-in period as EFS transitions to long resource IDs. For more information,
|
|
525
628
|
* see <a href="https://docs.aws.amazon.com/efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
|
|
526
629
|
* <note>
|
|
@@ -9,11 +9,13 @@ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encode
|
|
|
9
9
|
import { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
|
|
10
10
|
import { CreateFileSystemCommandInput, CreateFileSystemCommandOutput } from "./commands/CreateFileSystemCommand";
|
|
11
11
|
import { CreateMountTargetCommandInput, CreateMountTargetCommandOutput } from "./commands/CreateMountTargetCommand";
|
|
12
|
+
import { CreateReplicationConfigurationCommandInput, CreateReplicationConfigurationCommandOutput } from "./commands/CreateReplicationConfigurationCommand";
|
|
12
13
|
import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
|
|
13
14
|
import { DeleteAccessPointCommandInput, DeleteAccessPointCommandOutput } from "./commands/DeleteAccessPointCommand";
|
|
14
15
|
import { DeleteFileSystemCommandInput, DeleteFileSystemCommandOutput } from "./commands/DeleteFileSystemCommand";
|
|
15
16
|
import { DeleteFileSystemPolicyCommandInput, DeleteFileSystemPolicyCommandOutput } from "./commands/DeleteFileSystemPolicyCommand";
|
|
16
17
|
import { DeleteMountTargetCommandInput, DeleteMountTargetCommandOutput } from "./commands/DeleteMountTargetCommand";
|
|
18
|
+
import { DeleteReplicationConfigurationCommandInput, DeleteReplicationConfigurationCommandOutput } from "./commands/DeleteReplicationConfigurationCommand";
|
|
17
19
|
import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
|
|
18
20
|
import { DescribeAccessPointsCommandInput, DescribeAccessPointsCommandOutput } from "./commands/DescribeAccessPointsCommand";
|
|
19
21
|
import { DescribeAccountPreferencesCommandInput, DescribeAccountPreferencesCommandOutput } from "./commands/DescribeAccountPreferencesCommand";
|
|
@@ -23,6 +25,7 @@ import { DescribeFileSystemsCommandInput, DescribeFileSystemsCommandOutput } fro
|
|
|
23
25
|
import { DescribeLifecycleConfigurationCommandInput, DescribeLifecycleConfigurationCommandOutput } from "./commands/DescribeLifecycleConfigurationCommand";
|
|
24
26
|
import { DescribeMountTargetsCommandInput, DescribeMountTargetsCommandOutput } from "./commands/DescribeMountTargetsCommand";
|
|
25
27
|
import { DescribeMountTargetSecurityGroupsCommandInput, DescribeMountTargetSecurityGroupsCommandOutput } from "./commands/DescribeMountTargetSecurityGroupsCommand";
|
|
28
|
+
import { DescribeReplicationConfigurationsCommandInput, DescribeReplicationConfigurationsCommandOutput } from "./commands/DescribeReplicationConfigurationsCommand";
|
|
26
29
|
import { DescribeTagsCommandInput, DescribeTagsCommandOutput } from "./commands/DescribeTagsCommand";
|
|
27
30
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
28
31
|
import { ModifyMountTargetSecurityGroupsCommandInput, ModifyMountTargetSecurityGroupsCommandOutput } from "./commands/ModifyMountTargetSecurityGroupsCommand";
|
|
@@ -33,8 +36,8 @@ import { PutLifecycleConfigurationCommandInput, PutLifecycleConfigurationCommand
|
|
|
33
36
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
34
37
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
35
38
|
import { UpdateFileSystemCommandInput, UpdateFileSystemCommandOutput } from "./commands/UpdateFileSystemCommand";
|
|
36
|
-
export declare type ServiceInputTypes = CreateAccessPointCommandInput | CreateFileSystemCommandInput | CreateMountTargetCommandInput | CreateTagsCommandInput | DeleteAccessPointCommandInput | DeleteFileSystemCommandInput | DeleteFileSystemPolicyCommandInput | DeleteMountTargetCommandInput | DeleteTagsCommandInput | DescribeAccessPointsCommandInput | DescribeAccountPreferencesCommandInput | DescribeBackupPolicyCommandInput | DescribeFileSystemPolicyCommandInput | DescribeFileSystemsCommandInput | DescribeLifecycleConfigurationCommandInput | DescribeMountTargetSecurityGroupsCommandInput | DescribeMountTargetsCommandInput | DescribeTagsCommandInput | ListTagsForResourceCommandInput | ModifyMountTargetSecurityGroupsCommandInput | PutAccountPreferencesCommandInput | PutBackupPolicyCommandInput | PutFileSystemPolicyCommandInput | PutLifecycleConfigurationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFileSystemCommandInput;
|
|
37
|
-
export declare type ServiceOutputTypes = CreateAccessPointCommandOutput | CreateFileSystemCommandOutput | CreateMountTargetCommandOutput | CreateTagsCommandOutput | DeleteAccessPointCommandOutput | DeleteFileSystemCommandOutput | DeleteFileSystemPolicyCommandOutput | DeleteMountTargetCommandOutput | DeleteTagsCommandOutput | DescribeAccessPointsCommandOutput | DescribeAccountPreferencesCommandOutput | DescribeBackupPolicyCommandOutput | DescribeFileSystemPolicyCommandOutput | DescribeFileSystemsCommandOutput | DescribeLifecycleConfigurationCommandOutput | DescribeMountTargetSecurityGroupsCommandOutput | DescribeMountTargetsCommandOutput | DescribeTagsCommandOutput | ListTagsForResourceCommandOutput | ModifyMountTargetSecurityGroupsCommandOutput | PutAccountPreferencesCommandOutput | PutBackupPolicyCommandOutput | PutFileSystemPolicyCommandOutput | PutLifecycleConfigurationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFileSystemCommandOutput;
|
|
39
|
+
export declare type ServiceInputTypes = CreateAccessPointCommandInput | CreateFileSystemCommandInput | CreateMountTargetCommandInput | CreateReplicationConfigurationCommandInput | CreateTagsCommandInput | DeleteAccessPointCommandInput | DeleteFileSystemCommandInput | DeleteFileSystemPolicyCommandInput | DeleteMountTargetCommandInput | DeleteReplicationConfigurationCommandInput | DeleteTagsCommandInput | DescribeAccessPointsCommandInput | DescribeAccountPreferencesCommandInput | DescribeBackupPolicyCommandInput | DescribeFileSystemPolicyCommandInput | DescribeFileSystemsCommandInput | DescribeLifecycleConfigurationCommandInput | DescribeMountTargetSecurityGroupsCommandInput | DescribeMountTargetsCommandInput | DescribeReplicationConfigurationsCommandInput | DescribeTagsCommandInput | ListTagsForResourceCommandInput | ModifyMountTargetSecurityGroupsCommandInput | PutAccountPreferencesCommandInput | PutBackupPolicyCommandInput | PutFileSystemPolicyCommandInput | PutLifecycleConfigurationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFileSystemCommandInput;
|
|
40
|
+
export declare type ServiceOutputTypes = CreateAccessPointCommandOutput | CreateFileSystemCommandOutput | CreateMountTargetCommandOutput | CreateReplicationConfigurationCommandOutput | CreateTagsCommandOutput | DeleteAccessPointCommandOutput | DeleteFileSystemCommandOutput | DeleteFileSystemPolicyCommandOutput | DeleteMountTargetCommandOutput | DeleteReplicationConfigurationCommandOutput | DeleteTagsCommandOutput | DescribeAccessPointsCommandOutput | DescribeAccountPreferencesCommandOutput | DescribeBackupPolicyCommandOutput | DescribeFileSystemPolicyCommandOutput | DescribeFileSystemsCommandOutput | DescribeLifecycleConfigurationCommandOutput | DescribeMountTargetSecurityGroupsCommandOutput | DescribeMountTargetsCommandOutput | DescribeReplicationConfigurationsCommandOutput | DescribeTagsCommandOutput | ListTagsForResourceCommandOutput | ModifyMountTargetSecurityGroupsCommandOutput | PutAccountPreferencesCommandOutput | PutBackupPolicyCommandOutput | PutFileSystemPolicyCommandOutput | PutLifecycleConfigurationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFileSystemCommandOutput;
|
|
38
41
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
39
42
|
/**
|
|
40
43
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -155,7 +158,7 @@ export interface EFSClientResolvedConfig extends EFSClientResolvedConfigType {
|
|
|
155
158
|
/**
|
|
156
159
|
* <fullname>Amazon Elastic File System</fullname>
|
|
157
160
|
* <p>Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use
|
|
158
|
-
* with Amazon EC2 instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic,
|
|
161
|
+
* with Amazon EC2 Linux and Mac instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic,
|
|
159
162
|
* growing and shrinking automatically as you add and remove files, so your applications have the
|
|
160
163
|
* 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>
|
|
161
164
|
*/
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
|
|
4
|
+
import { CreateReplicationConfigurationRequest, ReplicationConfigurationDescription } from "../models/models_0";
|
|
5
|
+
export interface CreateReplicationConfigurationCommandInput extends CreateReplicationConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateReplicationConfigurationCommandOutput extends ReplicationConfigurationDescription, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a replication configuration that replicates an existing EFS file
|
|
11
|
+
* system to a new, read-only file system. For more information, see
|
|
12
|
+
* <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-replication.html">Amazon EFS replication</a>.
|
|
13
|
+
* The replication configuration specifies the following:</p>
|
|
14
|
+
* <ul>
|
|
15
|
+
* <li>
|
|
16
|
+
* <p>
|
|
17
|
+
* <b>Source file system</b> - an existing
|
|
18
|
+
* EFS file system that you want replicated. The source file system cannot be a destination file system
|
|
19
|
+
* in an existing replication configuration.</p>
|
|
20
|
+
* </li>
|
|
21
|
+
* <li>
|
|
22
|
+
* <p>
|
|
23
|
+
* <b>Destination file system configuration</b>
|
|
24
|
+
* - the configuration of the destination file system to which the source file system
|
|
25
|
+
* will be replicated. There can only be one destination file system in a replication
|
|
26
|
+
* configuration.</p>
|
|
27
|
+
* <ul>
|
|
28
|
+
* <li>
|
|
29
|
+
* <p>
|
|
30
|
+
* <b>Amazon Web Services Region</b> - The Amazon Web Services Region in which the destination
|
|
31
|
+
* file system is created. EFS Replication is available in all Amazon Web Services Region that Amazon EFS is available in, except the following regions:
|
|
32
|
+
* Asia Pacific (Hong Kong) Europe (Milan), Middle East (Bahrain), Africa (Cape Town), and Asia Pacific (Jakarta).</p>
|
|
33
|
+
* </li>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>
|
|
36
|
+
* <b>Availability zone</b> - If you want the destination file system to use
|
|
37
|
+
* One Zone availability and durability, you must specify the Availability Zone to create the file system in.
|
|
38
|
+
* For more information about EFS storage classes, see <a href="https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html">
|
|
39
|
+
* Amazon EFS storage classes</a> in the <i>Amazon EFS User Guide</i>.</p>
|
|
40
|
+
* </li>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>
|
|
43
|
+
* <b>Encryption</b> - All destination file systems are
|
|
44
|
+
* created with encryption at rest enabled. You can specify the
|
|
45
|
+
* KMS key that is used to encrypt the destination file system.
|
|
46
|
+
* Your service-managed KMS key for Amazon EFS is used if you don't specify a KMS key.
|
|
47
|
+
* You cannot change this after the file system is created.</p>
|
|
48
|
+
* </li>
|
|
49
|
+
* </ul>
|
|
50
|
+
* </li>
|
|
51
|
+
* </ul>
|
|
52
|
+
*
|
|
53
|
+
* <p>The following properties are set by default:</p>
|
|
54
|
+
* <ul>
|
|
55
|
+
* <li>
|
|
56
|
+
* <p>
|
|
57
|
+
* <b>Performance mode</b> - The destination file system's
|
|
58
|
+
* performance mode will match that of the source file system, unless the destination file
|
|
59
|
+
* system uses One Zone storage. In that case, the <i>General Purpose</i>
|
|
60
|
+
* performance mode is used. The Performance mode cannot be changed.</p>
|
|
61
|
+
* </li>
|
|
62
|
+
* <li>
|
|
63
|
+
* <p>
|
|
64
|
+
* <b>Throughput mode</b> - The destination file system
|
|
65
|
+
* use the Bursting throughput mode by default. You can modify the throughput mode once the file system
|
|
66
|
+
* is created.</p>
|
|
67
|
+
* </li>
|
|
68
|
+
* </ul>
|
|
69
|
+
*
|
|
70
|
+
* <p>The following properties are turned off by default:</p>
|
|
71
|
+
* <ul>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>
|
|
74
|
+
* <b>Lifecycle management</b> - EFS lifecycle
|
|
75
|
+
* management and intelligent tiering are not enabled on the destination file system. You can enable
|
|
76
|
+
* EFS lifecycle management and intelligent tiering after the destination file system is created.</p>
|
|
77
|
+
* </li>
|
|
78
|
+
* <li>
|
|
79
|
+
* <p>
|
|
80
|
+
* <b>Automatic backups</b> - Automatic daily backups
|
|
81
|
+
* not enabled on the destination file system. You can change this setting after the file system is created.</p>
|
|
82
|
+
* </li>
|
|
83
|
+
* </ul>
|
|
84
|
+
*
|
|
85
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-replication.html">Amazon EFS replication</a>.</p>
|
|
86
|
+
* @example
|
|
87
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
88
|
+
* ```javascript
|
|
89
|
+
* import { EFSClient, CreateReplicationConfigurationCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
90
|
+
* // const { EFSClient, CreateReplicationConfigurationCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
91
|
+
* const client = new EFSClient(config);
|
|
92
|
+
* const command = new CreateReplicationConfigurationCommand(input);
|
|
93
|
+
* const response = await client.send(command);
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
96
|
+
* @see {@link CreateReplicationConfigurationCommandInput} for command's `input` shape.
|
|
97
|
+
* @see {@link CreateReplicationConfigurationCommandOutput} for command's `response` shape.
|
|
98
|
+
* @see {@link EFSClientResolvedConfig | config} for EFSClient's `config` shape.
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
export declare class CreateReplicationConfigurationCommand extends $Command<CreateReplicationConfigurationCommandInput, CreateReplicationConfigurationCommandOutput, EFSClientResolvedConfig> {
|
|
102
|
+
readonly input: CreateReplicationConfigurationCommandInput;
|
|
103
|
+
constructor(input: CreateReplicationConfigurationCommandInput);
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateReplicationConfigurationCommandInput, CreateReplicationConfigurationCommandOutput>;
|
|
108
|
+
private serialize;
|
|
109
|
+
private deserialize;
|
|
110
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
|
|
4
|
+
import { DeleteReplicationConfigurationRequest } from "../models/models_0";
|
|
5
|
+
export interface DeleteReplicationConfigurationCommandInput extends DeleteReplicationConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteReplicationConfigurationCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes an existing replication configuration. To delete a replication
|
|
11
|
+
* configuration, you must make the request from the Amazon Web Services Region
|
|
12
|
+
* in which the destination file system is located. Deleting a replication
|
|
13
|
+
* configuration ends the replication process. You can write to the destination file
|
|
14
|
+
* system once it's status becomes <code>Writeable</code>.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { EFSClient, DeleteReplicationConfigurationCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
19
|
+
* // const { EFSClient, DeleteReplicationConfigurationCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
20
|
+
* const client = new EFSClient(config);
|
|
21
|
+
* const command = new DeleteReplicationConfigurationCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DeleteReplicationConfigurationCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DeleteReplicationConfigurationCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link EFSClientResolvedConfig | config} for EFSClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DeleteReplicationConfigurationCommand extends $Command<DeleteReplicationConfigurationCommandInput, DeleteReplicationConfigurationCommandOutput, EFSClientResolvedConfig> {
|
|
31
|
+
readonly input: DeleteReplicationConfigurationCommandInput;
|
|
32
|
+
constructor(input: DeleteReplicationConfigurationCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteReplicationConfigurationCommandInput, DeleteReplicationConfigurationCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { EFSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EFSClient";
|
|
4
|
+
import { DescribeReplicationConfigurationsRequest, DescribeReplicationConfigurationsResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeReplicationConfigurationsCommandInput extends DescribeReplicationConfigurationsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeReplicationConfigurationsCommandOutput extends DescribeReplicationConfigurationsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Retrieves the replication configurations for either a specific file system, or all configurations for the
|
|
11
|
+
* Amazon Web Services account in an Amazon Web Services Region if a file system is not specified.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { EFSClient, DescribeReplicationConfigurationsCommand } from "@aws-sdk/client-efs"; // ES Modules import
|
|
16
|
+
* // const { EFSClient, DescribeReplicationConfigurationsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
|
|
17
|
+
* const client = new EFSClient(config);
|
|
18
|
+
* const command = new DescribeReplicationConfigurationsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DescribeReplicationConfigurationsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DescribeReplicationConfigurationsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link EFSClientResolvedConfig | config} for EFSClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DescribeReplicationConfigurationsCommand extends $Command<DescribeReplicationConfigurationsCommandInput, DescribeReplicationConfigurationsCommandOutput, EFSClientResolvedConfig> {
|
|
28
|
+
readonly input: DescribeReplicationConfigurationsCommandInput;
|
|
29
|
+
constructor(input: DescribeReplicationConfigurationsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeReplicationConfigurationsCommandInput, DescribeReplicationConfigurationsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -7,8 +7,10 @@ export interface PutAccountPreferencesCommandInput extends PutAccountPreferences
|
|
|
7
7
|
export interface PutAccountPreferencesCommandOutput extends PutAccountPreferencesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Use this operation to set the account preference in the current Amazon Web Services Region
|
|
11
|
-
*
|
|
10
|
+
* <p>Use this operation to set the account preference in the current Amazon Web Services Region
|
|
11
|
+
* to use long 17 character (63 bit) or short 8 character (32 bit) resource IDs for
|
|
12
|
+
* new EFS file system and mount target resources. All existing resource IDs are not affected
|
|
13
|
+
* by any changes you make. You can set the ID preference during the
|
|
12
14
|
* opt-in period as EFS transitions to long resource IDs. For more information,
|
|
13
15
|
* see <a href="https://docs.aws.amazon.com/efs/latest/ug/manage-efs-resource-ids.html">Managing Amazon EFS resource IDs</a>.</p>
|
|
14
16
|
* <note>
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export * from "./CreateAccessPointCommand";
|
|
2
2
|
export * from "./CreateFileSystemCommand";
|
|
3
3
|
export * from "./CreateMountTargetCommand";
|
|
4
|
+
export * from "./CreateReplicationConfigurationCommand";
|
|
4
5
|
export * from "./CreateTagsCommand";
|
|
5
6
|
export * from "./DeleteAccessPointCommand";
|
|
6
7
|
export * from "./DeleteFileSystemCommand";
|
|
7
8
|
export * from "./DeleteFileSystemPolicyCommand";
|
|
8
9
|
export * from "./DeleteMountTargetCommand";
|
|
10
|
+
export * from "./DeleteReplicationConfigurationCommand";
|
|
9
11
|
export * from "./DeleteTagsCommand";
|
|
10
12
|
export * from "./DescribeAccessPointsCommand";
|
|
11
13
|
export * from "./DescribeAccountPreferencesCommand";
|
|
@@ -15,6 +17,7 @@ export * from "./DescribeFileSystemsCommand";
|
|
|
15
17
|
export * from "./DescribeLifecycleConfigurationCommand";
|
|
16
18
|
export * from "./DescribeMountTargetSecurityGroupsCommand";
|
|
17
19
|
export * from "./DescribeMountTargetsCommand";
|
|
20
|
+
export * from "./DescribeReplicationConfigurationsCommand";
|
|
18
21
|
export * from "./DescribeTagsCommand";
|
|
19
22
|
export * from "./ListTagsForResourceCommand";
|
|
20
23
|
export * from "./ModifyMountTargetSecurityGroupsCommand";
|