aws-sdk-efs 1.68.0 → 1.70.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-efs/client.rb +225 -119
- data/lib/aws-sdk-efs/client_api.rb +54 -0
- data/lib/aws-sdk-efs/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-efs/endpoints.rb +14 -0
- data/lib/aws-sdk-efs/errors.rb +42 -0
- data/lib/aws-sdk-efs/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-efs/types.rb +248 -88
- data/lib/aws-sdk-efs.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-efs/types.rb
CHANGED
@@ -78,8 +78,8 @@ module Aws::EFS
|
|
78
78
|
# @return [Types::PosixUser]
|
79
79
|
#
|
80
80
|
# @!attribute [rw] root_directory
|
81
|
-
# The directory on the
|
82
|
-
#
|
81
|
+
# The directory on the EFS file system that the access point exposes
|
82
|
+
# as the root directory to NFS clients using the access point.
|
83
83
|
# @return [Types::RootDirectory]
|
84
84
|
#
|
85
85
|
# @!attribute [rw] owner_id
|
@@ -216,16 +216,16 @@ module Aws::EFS
|
|
216
216
|
# @!attribute [rw] status
|
217
217
|
# Describes the status of the file system's backup policy.
|
218
218
|
#
|
219
|
-
# * <b> <code>ENABLED</code> </b>
|
219
|
+
# * <b> <code>ENABLED</code> </b> – EFS is automatically backing up
|
220
220
|
# the file system.
|
221
221
|
#
|
222
|
-
# * <b> <code>ENABLING</code> </b>
|
222
|
+
# * <b> <code>ENABLING</code> </b> – EFS is turning on automatic
|
223
223
|
# backups for the file system.
|
224
224
|
#
|
225
|
-
# * <b> <code>DISABLED</code> </b>
|
225
|
+
# * <b> <code>DISABLED</code> </b> – Automatic back ups are turned off
|
226
226
|
# for the file system.
|
227
227
|
#
|
228
|
-
# * <b> <code>DISABLING</code> </b>
|
228
|
+
# * <b> <code>DISABLING</code> </b> – EFS is turning off automatic
|
229
229
|
# backups for the file system.
|
230
230
|
# @return [String]
|
231
231
|
#
|
@@ -278,6 +278,34 @@ module Aws::EFS
|
|
278
278
|
include Aws::Structure
|
279
279
|
end
|
280
280
|
|
281
|
+
# Returned if the source file system in a replication is encrypted but
|
282
|
+
# the destination file system is unencrypted.
|
283
|
+
#
|
284
|
+
# @!attribute [rw] error_code
|
285
|
+
# The error code is a string that uniquely identifies an error
|
286
|
+
# condition. It is meant to be read and understood by programs that
|
287
|
+
# detect and handle errors by type.
|
288
|
+
# @return [String]
|
289
|
+
#
|
290
|
+
# @!attribute [rw] message
|
291
|
+
# The error message contains a generic description of the error
|
292
|
+
# condition in English. It is intended for a human audience. Simple
|
293
|
+
# programs display the message directly to the end user if they
|
294
|
+
# encounter an error condition they don't know how or don't care to
|
295
|
+
# handle. Sophisticated programs with more exhaustive error handling
|
296
|
+
# and proper internationalization are more likely to ignore the error
|
297
|
+
# message.
|
298
|
+
# @return [String]
|
299
|
+
#
|
300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ConflictException AWS API Documentation
|
301
|
+
#
|
302
|
+
class ConflictException < Struct.new(
|
303
|
+
:error_code,
|
304
|
+
:message)
|
305
|
+
SENSITIVE = []
|
306
|
+
include Aws::Structure
|
307
|
+
end
|
308
|
+
|
281
309
|
# @!attribute [rw] client_token
|
282
310
|
# A string of up to 64 ASCII characters that Amazon EFS uses to ensure
|
283
311
|
# idempotent creation.
|
@@ -308,14 +336,14 @@ module Aws::EFS
|
|
308
336
|
# @return [Types::PosixUser]
|
309
337
|
#
|
310
338
|
# @!attribute [rw] root_directory
|
311
|
-
# Specifies the directory on the
|
312
|
-
#
|
313
|
-
#
|
314
|
-
#
|
315
|
-
# `
|
316
|
-
#
|
317
|
-
#
|
318
|
-
#
|
339
|
+
# Specifies the directory on the EFS file system that the access point
|
340
|
+
# exposes as the root directory of your file system to NFS clients
|
341
|
+
# using the access point. The clients using the access point can only
|
342
|
+
# access the root directory and below. If the `RootDirectory` >
|
343
|
+
# `Path` specified does not exist, Amazon EFS creates it and applies
|
344
|
+
# the `CreationInfo` settings when a client connects to an access
|
345
|
+
# point. When specifying a `RootDirectory`, you must provide the
|
346
|
+
# `Path`, and the `CreationInfo`.
|
319
347
|
#
|
320
348
|
# Amazon EFS creates a root directory only if you have provided the
|
321
349
|
# CreationInfo: OwnUid, OwnGID, and permissions for the directory. If
|
@@ -345,18 +373,16 @@ module Aws::EFS
|
|
345
373
|
# @return [String]
|
346
374
|
#
|
347
375
|
# @!attribute [rw] performance_mode
|
348
|
-
# The
|
349
|
-
# `generalPurpose` performance mode for
|
350
|
-
#
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
# <note markdown="1"> The `maxIO` mode is not supported on file systems using One Zone
|
357
|
-
# storage classes.
|
376
|
+
# The Performance mode of the file system. We recommend
|
377
|
+
# `generalPurpose` performance mode for all file systems. File systems
|
378
|
+
# using the `maxIO` performance mode can scale to higher levels of
|
379
|
+
# aggregate throughput and operations per second with a tradeoff of
|
380
|
+
# slightly higher latencies for most file operations. The performance
|
381
|
+
# mode can't be changed after the file system has been created. The
|
382
|
+
# `maxIO` mode is not supported on One Zone file systems.
|
358
383
|
#
|
359
|
-
#
|
384
|
+
# Due to the higher per-operation latencies with Max I/O, we recommend
|
385
|
+
# using General Purpose performance mode for all file systems.
|
360
386
|
#
|
361
387
|
# Default is `generalPurpose`.
|
362
388
|
# @return [String]
|
@@ -401,10 +427,10 @@ module Aws::EFS
|
|
401
427
|
# `bursting`, `provisioned`, or `elastic`. If you set `ThroughputMode`
|
402
428
|
# to `provisioned`, you must also set a value for
|
403
429
|
# `ProvisionedThroughputInMibps`. After you create the file system,
|
404
|
-
# you can decrease your file system's throughput
|
405
|
-
#
|
406
|
-
#
|
407
|
-
#
|
430
|
+
# you can decrease your file system's Provisioned throughput or
|
431
|
+
# change between the throughput modes, with certain time restrictions.
|
432
|
+
# For more information, see [Specifying throughput with provisioned
|
433
|
+
# mode][1] in the *Amazon EFS User Guide*.
|
408
434
|
#
|
409
435
|
# Default is `bursting`.
|
410
436
|
#
|
@@ -428,15 +454,14 @@ module Aws::EFS
|
|
428
454
|
# @return [Float]
|
429
455
|
#
|
430
456
|
# @!attribute [rw] availability_zone_name
|
431
|
-
# Used to create a file system
|
432
|
-
#
|
433
|
-
#
|
434
|
-
#
|
435
|
-
# classes
|
436
|
-
# Guide*.
|
457
|
+
# Used to create a One Zone file system. It specifies the Amazon Web
|
458
|
+
# Services Availability Zone in which to create the file system. Use
|
459
|
+
# the format `us-east-1a` to specify the Availability Zone. For more
|
460
|
+
# information about One Zone file systems, see [Using EFS storage
|
461
|
+
# classes][1] in the *Amazon EFS User Guide*.
|
437
462
|
#
|
438
|
-
# <note markdown="1"> One Zone
|
439
|
-
#
|
463
|
+
# <note markdown="1"> One Zone file systems are not available in all Availability Zones in
|
464
|
+
# Amazon Web Services Regions where Amazon EFS is available.
|
440
465
|
#
|
441
466
|
# </note>
|
442
467
|
#
|
@@ -448,10 +473,9 @@ module Aws::EFS
|
|
448
473
|
# @!attribute [rw] backup
|
449
474
|
# Specifies whether automatic backups are enabled on the file system
|
450
475
|
# that you are creating. Set the value to `true` to enable automatic
|
451
|
-
# backups. If you are creating a file system
|
452
|
-
#
|
453
|
-
#
|
454
|
-
# Guide*.
|
476
|
+
# backups. If you are creating a One Zone file system, automatic
|
477
|
+
# backups are enabled by default. For more information, see [Automatic
|
478
|
+
# backups][1] in the *Amazon EFS User Guide*.
|
455
479
|
#
|
456
480
|
# Default is `false`. However, if you specify an
|
457
481
|
# `AvailabilityZoneName`, the default is `true`.
|
@@ -500,9 +524,9 @@ module Aws::EFS
|
|
500
524
|
# @return [String]
|
501
525
|
#
|
502
526
|
# @!attribute [rw] subnet_id
|
503
|
-
# The ID of the subnet to add the mount target in. For file
|
504
|
-
#
|
505
|
-
#
|
527
|
+
# The ID of the subnet to add the mount target in. For One Zone file
|
528
|
+
# systems, use the subnet that is associated with the file system's
|
529
|
+
# Availability Zone.
|
506
530
|
# @return [String]
|
507
531
|
#
|
508
532
|
# @!attribute [rw] ip_address
|
@@ -808,7 +832,8 @@ module Aws::EFS
|
|
808
832
|
end
|
809
833
|
|
810
834
|
# @!attribute [rw] file_system_id
|
811
|
-
# Specifies which EFS file system to retrieve the
|
835
|
+
# Specifies which EFS file system for which to retrieve the
|
836
|
+
# `BackupPolicy`.
|
812
837
|
# @return [String]
|
813
838
|
#
|
814
839
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeBackupPolicyRequest AWS API Documentation
|
@@ -1103,7 +1128,7 @@ module Aws::EFS
|
|
1103
1128
|
# configuration.
|
1104
1129
|
#
|
1105
1130
|
# @!attribute [rw] status
|
1106
|
-
# Describes the status of the destination
|
1131
|
+
# Describes the status of the destination EFS file system.
|
1107
1132
|
#
|
1108
1133
|
# * The `Paused` state occurs as a result of opting out of the source
|
1109
1134
|
# or destination Region after the replication configuration was
|
@@ -1154,8 +1179,8 @@ module Aws::EFS
|
|
1154
1179
|
include Aws::Structure
|
1155
1180
|
end
|
1156
1181
|
|
1157
|
-
# Describes the destination file system
|
1158
|
-
# configuration.
|
1182
|
+
# Describes the new or existing destination file system for the
|
1183
|
+
# replication configuration.
|
1159
1184
|
#
|
1160
1185
|
# @!attribute [rw] region
|
1161
1186
|
# To create a file system that uses Regional storage, specify the
|
@@ -1164,14 +1189,14 @@ module Aws::EFS
|
|
1164
1189
|
# @return [String]
|
1165
1190
|
#
|
1166
1191
|
# @!attribute [rw] availability_zone_name
|
1167
|
-
# To create a file system that uses
|
1168
|
-
#
|
1169
|
-
#
|
1192
|
+
# To create a file system that uses One Zone storage, specify the name
|
1193
|
+
# of the Availability Zone in which to create the destination file
|
1194
|
+
# system.
|
1170
1195
|
# @return [String]
|
1171
1196
|
#
|
1172
1197
|
# @!attribute [rw] kms_key_id
|
1173
|
-
#
|
1174
|
-
#
|
1198
|
+
# Specify the Key Management Service (KMS) key that you want to use to
|
1199
|
+
# encrypt the destination file system. If you do not specify a KMS
|
1175
1200
|
# key, Amazon EFS uses your default KMS key for Amazon EFS,
|
1176
1201
|
# `/aws/elasticfilesystem`. This ID can be in one of the following
|
1177
1202
|
# formats:
|
@@ -1189,12 +1214,20 @@ module Aws::EFS
|
|
1189
1214
|
# `arn:aws:kms:us-west-2:444455556666:alias/projectKey1`.
|
1190
1215
|
# @return [String]
|
1191
1216
|
#
|
1217
|
+
# @!attribute [rw] file_system_id
|
1218
|
+
# The ID of the file system to use for the destination. The file
|
1219
|
+
# system's replication overwrite replication must be disabled. If you
|
1220
|
+
# do not provide an ID, then EFS creates a new file system for the
|
1221
|
+
# replication destination.
|
1222
|
+
# @return [String]
|
1223
|
+
#
|
1192
1224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DestinationToCreate AWS API Documentation
|
1193
1225
|
#
|
1194
1226
|
class DestinationToCreate < Struct.new(
|
1195
1227
|
:region,
|
1196
1228
|
:availability_zone_name,
|
1197
|
-
:kms_key_id
|
1229
|
+
:kms_key_id,
|
1230
|
+
:file_system_id)
|
1198
1231
|
SENSITIVE = []
|
1199
1232
|
include Aws::Structure
|
1200
1233
|
end
|
@@ -1287,7 +1320,7 @@ module Aws::EFS
|
|
1287
1320
|
# @return [Types::FileSystemSize]
|
1288
1321
|
#
|
1289
1322
|
# @!attribute [rw] performance_mode
|
1290
|
-
# The
|
1323
|
+
# The Performance mode of the file system.
|
1291
1324
|
# @return [String]
|
1292
1325
|
#
|
1293
1326
|
# @!attribute [rw] encrypted
|
@@ -1316,9 +1349,9 @@ module Aws::EFS
|
|
1316
1349
|
#
|
1317
1350
|
# @!attribute [rw] availability_zone_name
|
1318
1351
|
# Describes the Amazon Web Services Availability Zone in which the
|
1319
|
-
# file system is located, and is valid only for file systems
|
1320
|
-
#
|
1321
|
-
#
|
1352
|
+
# file system is located, and is valid only for One Zone file systems.
|
1353
|
+
# For more information, see [Using EFS storage classes][1] in the
|
1354
|
+
# *Amazon EFS User Guide*.
|
1322
1355
|
#
|
1323
1356
|
#
|
1324
1357
|
#
|
@@ -1327,10 +1360,10 @@ module Aws::EFS
|
|
1327
1360
|
#
|
1328
1361
|
# @!attribute [rw] availability_zone_id
|
1329
1362
|
# The unique and consistent identifier of the Availability Zone in
|
1330
|
-
# which the file system
|
1331
|
-
# example, `use1-az1` is an Availability Zone ID for
|
1332
|
-
# Amazon Web Services Region, and it has the same
|
1333
|
-
# Amazon Web Services account.
|
1363
|
+
# which the file system is located, and is valid only for One Zone
|
1364
|
+
# file systems. For example, `use1-az1` is an Availability Zone ID for
|
1365
|
+
# the us-east-1 Amazon Web Services Region, and it has the same
|
1366
|
+
# location in every Amazon Web Services account.
|
1334
1367
|
# @return [String]
|
1335
1368
|
#
|
1336
1369
|
# @!attribute [rw] tags
|
@@ -1338,6 +1371,10 @@ module Aws::EFS
|
|
1338
1371
|
# `Tag` objects.
|
1339
1372
|
# @return [Array<Types::Tag>]
|
1340
1373
|
#
|
1374
|
+
# @!attribute [rw] file_system_protection
|
1375
|
+
# Describes the protection on the file system.
|
1376
|
+
# @return [Types::FileSystemProtectionDescription]
|
1377
|
+
#
|
1341
1378
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemDescription AWS API Documentation
|
1342
1379
|
#
|
1343
1380
|
class FileSystemDescription < Struct.new(
|
@@ -1357,7 +1394,8 @@ module Aws::EFS
|
|
1357
1394
|
:provisioned_throughput_in_mibps,
|
1358
1395
|
:availability_zone_name,
|
1359
1396
|
:availability_zone_id,
|
1360
|
-
:tags
|
1397
|
+
:tags,
|
1398
|
+
:file_system_protection)
|
1361
1399
|
SENSITIVE = []
|
1362
1400
|
include Aws::Structure
|
1363
1401
|
end
|
@@ -1463,6 +1501,37 @@ module Aws::EFS
|
|
1463
1501
|
include Aws::Structure
|
1464
1502
|
end
|
1465
1503
|
|
1504
|
+
# Describes the protection on a file system.
|
1505
|
+
#
|
1506
|
+
# @!attribute [rw] replication_overwrite_protection
|
1507
|
+
# The status of the file system's replication overwrite protection.
|
1508
|
+
#
|
1509
|
+
# * `ENABLED` – The file system cannot be used as the destination file
|
1510
|
+
# system in a replication configuration. The file system is
|
1511
|
+
# writeable. Replication overwrite protection is `ENABLED` by
|
1512
|
+
# default.
|
1513
|
+
#
|
1514
|
+
# * `DISABLED` – The file system can be used as the destination file
|
1515
|
+
# system in a replication configuration. The file system is
|
1516
|
+
# read-only and can only be modified by EFS replication.
|
1517
|
+
#
|
1518
|
+
# * `REPLICATING` – The file system is being used as the destination
|
1519
|
+
# file system in a replication configuration. The file system is
|
1520
|
+
# read-only and is only modified only by EFS replication.
|
1521
|
+
#
|
1522
|
+
# If the replication configuration is deleted, the file system's
|
1523
|
+
# replication overwrite protection is re-enabled, the file system
|
1524
|
+
# becomes writeable.
|
1525
|
+
# @return [String]
|
1526
|
+
#
|
1527
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemProtectionDescription AWS API Documentation
|
1528
|
+
#
|
1529
|
+
class FileSystemProtectionDescription < Struct.new(
|
1530
|
+
:replication_overwrite_protection)
|
1531
|
+
SENSITIVE = []
|
1532
|
+
include Aws::Structure
|
1533
|
+
end
|
1534
|
+
|
1466
1535
|
# The latest known metered size (in bytes) of data stored in the file
|
1467
1536
|
# system, in its `Value` field, and the time at which that size was
|
1468
1537
|
# determined in its `Timestamp` field. The value doesn't represent the
|
@@ -1494,13 +1563,19 @@ module Aws::EFS
|
|
1494
1563
|
# Standard storage class.
|
1495
1564
|
# @return [Integer]
|
1496
1565
|
#
|
1566
|
+
# @!attribute [rw] value_in_archive
|
1567
|
+
# The latest known metered size (in bytes) of data stored in the
|
1568
|
+
# Archive storage class.
|
1569
|
+
# @return [Integer]
|
1570
|
+
#
|
1497
1571
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemSize AWS API Documentation
|
1498
1572
|
#
|
1499
1573
|
class FileSystemSize < Struct.new(
|
1500
1574
|
:value,
|
1501
1575
|
:timestamp,
|
1502
1576
|
:value_in_ia,
|
1503
|
-
:value_in_standard
|
1577
|
+
:value_in_standard,
|
1578
|
+
:value_in_archive)
|
1504
1579
|
SENSITIVE = []
|
1505
1580
|
include Aws::Structure
|
1506
1581
|
end
|
@@ -1690,19 +1765,17 @@ module Aws::EFS
|
|
1690
1765
|
include Aws::Structure
|
1691
1766
|
end
|
1692
1767
|
|
1693
|
-
# Describes a policy used by
|
1694
|
-
#
|
1695
|
-
#
|
1696
|
-
# more information, see [EFS Intelligent‐Tiering and EFS Lifecycle
|
1697
|
-
# Management][1].
|
1768
|
+
# Describes a policy used by Lifecycle management that specifies when to
|
1769
|
+
# transition files into and out of storage classes. For more
|
1770
|
+
# information, see [Managing file system storage][1].
|
1698
1771
|
#
|
1699
1772
|
# <note markdown="1"> When using the `put-lifecycle-configuration` CLI command or the
|
1700
1773
|
# `PutLifecycleConfiguration` API action, Amazon EFS requires that each
|
1701
1774
|
# `LifecyclePolicy` object have only a single transition. This means
|
1702
1775
|
# that in a request body, `LifecyclePolicies` must be structured as an
|
1703
|
-
# array of `LifecyclePolicy` objects, one object for each transition
|
1704
|
-
#
|
1705
|
-
#
|
1776
|
+
# array of `LifecyclePolicy` objects, one object for each transition.
|
1777
|
+
# For more information, see the request examples in
|
1778
|
+
# PutLifecycleConfiguration.
|
1706
1779
|
#
|
1707
1780
|
# </note>
|
1708
1781
|
#
|
@@ -1711,14 +1784,22 @@ module Aws::EFS
|
|
1711
1784
|
# [1]: https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html
|
1712
1785
|
#
|
1713
1786
|
# @!attribute [rw] transition_to_ia
|
1714
|
-
#
|
1715
|
-
#
|
1787
|
+
# The number of days after files were last accessed in primary storage
|
1788
|
+
# (the Standard storage class) at which to move them to Infrequent
|
1789
|
+
# Access (IA) storage. Metadata operations such as listing the
|
1790
|
+
# contents of a directory don't count as file access events.
|
1791
|
+
# @return [String]
|
1792
|
+
#
|
1793
|
+
# @!attribute [rw] transition_to_primary_storage_class
|
1794
|
+
# Whether to move files back to primary (Standard) storage after they
|
1795
|
+
# are accessed in IA or Archive storage. Metadata operations such as
|
1716
1796
|
# listing the contents of a directory don't count as file access
|
1717
1797
|
# events.
|
1718
1798
|
# @return [String]
|
1719
1799
|
#
|
1720
|
-
# @!attribute [rw]
|
1721
|
-
#
|
1800
|
+
# @!attribute [rw] transition_to_archive
|
1801
|
+
# The number of days after files were last accessed in primary storage
|
1802
|
+
# (the Standard storage class) files at which to move them to Archive
|
1722
1803
|
# storage. Metadata operations such as listing the contents of a
|
1723
1804
|
# directory don't count as file access events.
|
1724
1805
|
# @return [String]
|
@@ -1727,7 +1808,8 @@ module Aws::EFS
|
|
1727
1808
|
#
|
1728
1809
|
class LifecyclePolicy < Struct.new(
|
1729
1810
|
:transition_to_ia,
|
1730
|
-
:transition_to_primary_storage_class
|
1811
|
+
:transition_to_primary_storage_class,
|
1812
|
+
:transition_to_archive)
|
1731
1813
|
SENSITIVE = []
|
1732
1814
|
include Aws::Structure
|
1733
1815
|
end
|
@@ -2141,21 +2223,37 @@ module Aws::EFS
|
|
2141
2223
|
# @!attribute [rw] lifecycle_policies
|
2142
2224
|
# An array of `LifecyclePolicy` objects that define the file system's
|
2143
2225
|
# `LifecycleConfiguration` object. A `LifecycleConfiguration` object
|
2144
|
-
# informs EFS
|
2145
|
-
# following:
|
2226
|
+
# informs EFS Lifecycle management of the following:
|
2146
2227
|
#
|
2147
|
-
# * When to move files in the
|
2148
|
-
#
|
2228
|
+
# * <b> <code>TransitionToIA</code> </b> – When to move files in the
|
2229
|
+
# file system from primary storage (Standard storage class) into the
|
2230
|
+
# Infrequent Access (IA) storage.
|
2149
2231
|
#
|
2150
|
-
# * When to move files
|
2232
|
+
# * <b> <code>TransitionToArchive</code> </b> – When to move files in
|
2233
|
+
# the file system from their current storage class (either IA or
|
2234
|
+
# Standard storage) into the Archive storage.
|
2235
|
+
#
|
2236
|
+
# File systems cannot transition into Archive storage before
|
2237
|
+
# transitioning into IA storage. Therefore, TransitionToArchive must
|
2238
|
+
# either not be set or must be later than TransitionToIA.
|
2239
|
+
#
|
2240
|
+
# <note markdown="1"> The Archive storage class is available only for file systems that
|
2241
|
+
# use the Elastic Throughput mode and the General Purpose
|
2242
|
+
# Performance mode.
|
2243
|
+
#
|
2244
|
+
# </note>
|
2245
|
+
#
|
2246
|
+
# * <b> <code>TransitionToPrimaryStorageClass</code> </b> – Whether to
|
2247
|
+
# move files in the file system back to primary storage (Standard
|
2248
|
+
# storage class) after they are accessed in IA or Archive storage.
|
2151
2249
|
#
|
2152
2250
|
# <note markdown="1"> When using the `put-lifecycle-configuration` CLI command or the
|
2153
2251
|
# `PutLifecycleConfiguration` API action, Amazon EFS requires that
|
2154
2252
|
# each `LifecyclePolicy` object have only a single transition. This
|
2155
2253
|
# means that in a request body, `LifecyclePolicies` must be structured
|
2156
2254
|
# as an array of `LifecyclePolicy` objects, one object for each
|
2157
|
-
# transition
|
2158
|
-
#
|
2255
|
+
# storage transition. See the example requests in the following
|
2256
|
+
# section for more information.
|
2159
2257
|
#
|
2160
2258
|
# </note>
|
2161
2259
|
# @return [Array<Types::LifecyclePolicy>]
|
@@ -2169,6 +2267,34 @@ module Aws::EFS
|
|
2169
2267
|
include Aws::Structure
|
2170
2268
|
end
|
2171
2269
|
|
2270
|
+
# Returned if the file system is already included in a replication
|
2271
|
+
# configuration.>
|
2272
|
+
#
|
2273
|
+
# @!attribute [rw] error_code
|
2274
|
+
# The error code is a string that uniquely identifies an error
|
2275
|
+
# condition. It is meant to be read and understood by programs that
|
2276
|
+
# detect and handle errors by type.
|
2277
|
+
# @return [String]
|
2278
|
+
#
|
2279
|
+
# @!attribute [rw] message
|
2280
|
+
# The error message contains a generic description of the error
|
2281
|
+
# condition in English. It is intended for a human audience. Simple
|
2282
|
+
# programs display the message directly to the end user if they
|
2283
|
+
# encounter an error condition they don't know how or don't care to
|
2284
|
+
# handle. Sophisticated programs with more exhaustive error handling
|
2285
|
+
# and proper internationalization are more likely to ignore the error
|
2286
|
+
# message.
|
2287
|
+
# @return [String]
|
2288
|
+
#
|
2289
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ReplicationAlreadyExists AWS API Documentation
|
2290
|
+
#
|
2291
|
+
class ReplicationAlreadyExists < Struct.new(
|
2292
|
+
:error_code,
|
2293
|
+
:message)
|
2294
|
+
SENSITIVE = []
|
2295
|
+
include Aws::Structure
|
2296
|
+
end
|
2297
|
+
|
2172
2298
|
# Describes the replication configuration for a specific file system.
|
2173
2299
|
#
|
2174
2300
|
# @!attribute [rw] source_file_system_id
|
@@ -2177,8 +2303,8 @@ module Aws::EFS
|
|
2177
2303
|
# @return [String]
|
2178
2304
|
#
|
2179
2305
|
# @!attribute [rw] source_file_system_region
|
2180
|
-
# The Amazon Web Services Region in which the source
|
2181
|
-
#
|
2306
|
+
# The Amazon Web Services Region in which the source EFS file system
|
2307
|
+
# is located.
|
2182
2308
|
# @return [String]
|
2183
2309
|
#
|
2184
2310
|
# @!attribute [rw] source_file_system_arn
|
@@ -2187,8 +2313,8 @@ module Aws::EFS
|
|
2187
2313
|
# @return [String]
|
2188
2314
|
#
|
2189
2315
|
# @!attribute [rw] original_source_file_system_arn
|
2190
|
-
# The Amazon Resource Name (ARN) of the original source
|
2191
|
-
#
|
2316
|
+
# The Amazon Resource Name (ARN) of the original source EFS file
|
2317
|
+
# system in the replication configuration.
|
2192
2318
|
# @return [String]
|
2193
2319
|
#
|
2194
2320
|
# @!attribute [rw] creation_time
|
@@ -2559,6 +2685,40 @@ module Aws::EFS
|
|
2559
2685
|
include Aws::Structure
|
2560
2686
|
end
|
2561
2687
|
|
2688
|
+
# @!attribute [rw] file_system_id
|
2689
|
+
# The ID of the file system to update.
|
2690
|
+
# @return [String]
|
2691
|
+
#
|
2692
|
+
# @!attribute [rw] replication_overwrite_protection
|
2693
|
+
# The status of the file system's replication overwrite protection.
|
2694
|
+
#
|
2695
|
+
# * `ENABLED` – The file system cannot be used as the destination file
|
2696
|
+
# system in a replication configuration. The file system is
|
2697
|
+
# writeable. Replication overwrite protection is `ENABLED` by
|
2698
|
+
# default.
|
2699
|
+
#
|
2700
|
+
# * `DISABLED` – The file system can be used as the destination file
|
2701
|
+
# system in a replication configuration. The file system is
|
2702
|
+
# read-only and can only be modified by EFS replication.
|
2703
|
+
#
|
2704
|
+
# * `REPLICATING` – The file system is being used as the destination
|
2705
|
+
# file system in a replication configuration. The file system is
|
2706
|
+
# read-only and is only modified only by EFS replication.
|
2707
|
+
#
|
2708
|
+
# If the replication configuration is deleted, the file system's
|
2709
|
+
# replication overwrite protection is re-enabled, the file system
|
2710
|
+
# becomes writeable.
|
2711
|
+
# @return [String]
|
2712
|
+
#
|
2713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/UpdateFileSystemProtectionRequest AWS API Documentation
|
2714
|
+
#
|
2715
|
+
class UpdateFileSystemProtectionRequest < Struct.new(
|
2716
|
+
:file_system_id,
|
2717
|
+
:replication_overwrite_protection)
|
2718
|
+
SENSITIVE = []
|
2719
|
+
include Aws::Structure
|
2720
|
+
end
|
2721
|
+
|
2562
2722
|
# @!attribute [rw] file_system_id
|
2563
2723
|
# The ID of the file system that you want to update.
|
2564
2724
|
# @return [String]
|
data/lib/aws-sdk-efs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-efs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.70.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|