aws-sdk-efs 1.67.0 → 1.69.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 +123 -93
- data/lib/aws-sdk-efs/client_api.rb +15 -0
- data/lib/aws-sdk-efs/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-efs/types.rb +109 -82
- data/lib/aws-sdk-efs.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5afd8c3a446341a16c01afcd5cf1c80ad61e3cd716ab7838a27383fc29e9193
|
4
|
+
data.tar.gz: 3286149eef342387f18ed201a75b0d0e2bd73edd0399b95dd4c5692b00ff5096
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60614ebf4e79e8c46d4be4769f7962bc3030bda7bcdc0c6645a3acd7ce1c8ea1789302ebd081b2b9be609b3d6e77698b47e5a0ee559348502bc0ba5938c8025e
|
7
|
+
data.tar.gz: 841604338076e74e8f2fe8541100ffcc509db1896cfbca1430e2e18536799ea572db39c0bf0ced06bd01a28de837e8e1647037b641cf07e829db6356975a620e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.69.0 (2023-11-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding support for EFS Archive lifecycle configuration.
|
8
|
+
|
9
|
+
1.68.0 (2023-11-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.67.0 (2023-09-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.69.0
|
data/lib/aws-sdk-efs/client.rb
CHANGED
@@ -448,11 +448,11 @@ module Aws::EFS
|
|
448
448
|
# requests made using the access point.
|
449
449
|
#
|
450
450
|
# @option params [Types::RootDirectory] :root_directory
|
451
|
-
# Specifies the directory on the
|
452
|
-
#
|
453
|
-
#
|
454
|
-
#
|
455
|
-
#
|
451
|
+
# Specifies the directory on the EFS file system that the access point
|
452
|
+
# exposes as the root directory of your file system to NFS clients using
|
453
|
+
# the access point. The clients using the access point can only access
|
454
|
+
# the root directory and below. If the `RootDirectory` > `Path`
|
455
|
+
# specified does not exist, Amazon EFS creates it and applies the
|
456
456
|
# `CreationInfo` settings when a client connects to an access point.
|
457
457
|
# When specifying a `RootDirectory`, you must provide the `Path`, and
|
458
458
|
# the `CreationInfo`.
|
@@ -573,12 +573,17 @@ module Aws::EFS
|
|
573
573
|
#
|
574
574
|
# This operation accepts an optional `PerformanceMode` parameter that
|
575
575
|
# you choose for your file system. We recommend `generalPurpose`
|
576
|
-
# performance mode for
|
577
|
-
#
|
578
|
-
#
|
579
|
-
#
|
580
|
-
#
|
581
|
-
#
|
576
|
+
# performance mode for all file systems. File systems using the `maxIO`
|
577
|
+
# mode is a previous generation performance type that is designed for
|
578
|
+
# highly parallelized workloads that can tolerate higher latencies than
|
579
|
+
# the General Purpose mode. Max I/O mode is not supported for One Zone
|
580
|
+
# file systems or file systems that use Elastic throughput.
|
581
|
+
#
|
582
|
+
# Due to the higher per-operation latencies with Max I/O, we recommend
|
583
|
+
# using General Purpose performance mode for all file systems.
|
584
|
+
#
|
585
|
+
# The performance mode can't be changed after the file system has been
|
586
|
+
# created. For more information, see [Amazon EFS performance modes][2].
|
582
587
|
#
|
583
588
|
# You can set the throughput mode for the file system using the
|
584
589
|
# `ThroughputMode` parameter.
|
@@ -616,17 +621,16 @@ module Aws::EFS
|
|
616
621
|
# not need to pass this option.**
|
617
622
|
#
|
618
623
|
# @option params [String] :performance_mode
|
619
|
-
# The
|
620
|
-
# performance mode for
|
624
|
+
# The Performance mode of the file system. We recommend `generalPurpose`
|
625
|
+
# performance mode for all file systems. File systems using the `maxIO`
|
621
626
|
# performance mode can scale to higher levels of aggregate throughput
|
622
627
|
# and operations per second with a tradeoff of slightly higher latencies
|
623
628
|
# for most file operations. The performance mode can't be changed after
|
624
|
-
# the file system has been created.
|
629
|
+
# the file system has been created. The `maxIO` mode is not supported on
|
630
|
+
# One Zone file systems.
|
625
631
|
#
|
626
|
-
#
|
627
|
-
#
|
628
|
-
#
|
629
|
-
# </note>
|
632
|
+
# Due to the higher per-operation latencies with Max I/O, we recommend
|
633
|
+
# using General Purpose performance mode for all file systems.
|
630
634
|
#
|
631
635
|
# Default is `generalPurpose`.
|
632
636
|
#
|
@@ -668,10 +672,10 @@ module Aws::EFS
|
|
668
672
|
# `bursting`, `provisioned`, or `elastic`. If you set `ThroughputMode`
|
669
673
|
# to `provisioned`, you must also set a value for
|
670
674
|
# `ProvisionedThroughputInMibps`. After you create the file system, you
|
671
|
-
# can decrease your file system's throughput
|
672
|
-
#
|
673
|
-
#
|
674
|
-
#
|
675
|
+
# can decrease your file system's Provisioned throughput or change
|
676
|
+
# between the throughput modes, with certain time restrictions. For more
|
677
|
+
# information, see [Specifying throughput with provisioned mode][1] in
|
678
|
+
# the *Amazon EFS User Guide*.
|
675
679
|
#
|
676
680
|
# Default is `bursting`.
|
677
681
|
#
|
@@ -693,15 +697,14 @@ module Aws::EFS
|
|
693
697
|
# [1]: https://docs.aws.amazon.com/efs/latest/ug/limits.html#soft-limits
|
694
698
|
#
|
695
699
|
# @option params [String] :availability_zone_name
|
696
|
-
# Used to create a file system
|
697
|
-
#
|
698
|
-
#
|
699
|
-
#
|
700
|
-
# classes
|
701
|
-
# Guide*.
|
700
|
+
# Used to create a One Zone file system. It specifies the Amazon Web
|
701
|
+
# Services Availability Zone in which to create the file system. Use the
|
702
|
+
# format `us-east-1a` to specify the Availability Zone. For more
|
703
|
+
# information about One Zone file systems, see [Using EFS storage
|
704
|
+
# classes][1] in the *Amazon EFS User Guide*.
|
702
705
|
#
|
703
|
-
# <note markdown="1"> One Zone
|
704
|
-
#
|
706
|
+
# <note markdown="1"> One Zone file systems are not available in all Availability Zones in
|
707
|
+
# Amazon Web Services Regions where Amazon EFS is available.
|
705
708
|
#
|
706
709
|
# </note>
|
707
710
|
#
|
@@ -712,10 +715,9 @@ module Aws::EFS
|
|
712
715
|
# @option params [Boolean] :backup
|
713
716
|
# Specifies whether automatic backups are enabled on the file system
|
714
717
|
# that you are creating. Set the value to `true` to enable automatic
|
715
|
-
# backups. If you are creating a file system
|
716
|
-
#
|
717
|
-
#
|
718
|
-
# Guide*.
|
718
|
+
# backups. If you are creating a One Zone file system, automatic backups
|
719
|
+
# are enabled by default. For more information, see [Automatic
|
720
|
+
# backups][1] in the *Amazon EFS User Guide*.
|
719
721
|
#
|
720
722
|
# Default is `false`. However, if you specify an `AvailabilityZoneName`,
|
721
723
|
# the default is `true`.
|
@@ -834,6 +836,7 @@ module Aws::EFS
|
|
834
836
|
# resp.size_in_bytes.timestamp #=> Time
|
835
837
|
# resp.size_in_bytes.value_in_ia #=> Integer
|
836
838
|
# resp.size_in_bytes.value_in_standard #=> Integer
|
839
|
+
# resp.size_in_bytes.value_in_archive #=> Integer
|
837
840
|
# resp.performance_mode #=> String, one of "generalPurpose", "maxIO"
|
838
841
|
# resp.encrypted #=> Boolean
|
839
842
|
# resp.kms_key_id #=> String
|
@@ -864,13 +867,12 @@ module Aws::EFS
|
|
864
867
|
# the subnets. EC2 instances do not need to be in the same subnet as the
|
865
868
|
# mount target in order to access their file system.
|
866
869
|
#
|
867
|
-
# You can create only one mount target for
|
868
|
-
#
|
869
|
-
#
|
870
|
-
# `
|
871
|
-
#
|
872
|
-
#
|
873
|
-
# creating the mount target.
|
870
|
+
# You can create only one mount target for a One Zone file system. You
|
871
|
+
# must create that mount target in the same Availability Zone in which
|
872
|
+
# the file system is located. Use the `AvailabilityZoneName` and
|
873
|
+
# `AvailabiltyZoneId` properties in the DescribeFileSystems response
|
874
|
+
# object to get this information. Use the `subnetId` associated with the
|
875
|
+
# file system's Availability Zone when creating the mount target.
|
874
876
|
#
|
875
877
|
# For more information, see [Amazon EFS: How it Works][1].
|
876
878
|
#
|
@@ -986,9 +988,9 @@ module Aws::EFS
|
|
986
988
|
# The ID of the file system for which to create the mount target.
|
987
989
|
#
|
988
990
|
# @option params [required, String] :subnet_id
|
989
|
-
# The ID of the subnet to add the mount target in. For
|
990
|
-
#
|
991
|
-
#
|
991
|
+
# The ID of the subnet to add the mount target in. For One Zone file
|
992
|
+
# systems, use the subnet that is associated with the file system's
|
993
|
+
# Availability Zone.
|
992
994
|
#
|
993
995
|
# @option params [String] :ip_address
|
994
996
|
# Valid IPv4 address within the address range of the specified subnet.
|
@@ -1086,10 +1088,10 @@ module Aws::EFS
|
|
1086
1088
|
# *Amazon Web Services General Reference Reference Guide*
|
1087
1089
|
#
|
1088
1090
|
# * **Availability Zone** - If you want the destination file system to
|
1089
|
-
# use EFS One Zone availability
|
1090
|
-
#
|
1091
|
-
#
|
1092
|
-
#
|
1091
|
+
# use EFS One Zone availability, you must specify the Availability
|
1092
|
+
# Zone to create the file system in. For more information about EFS
|
1093
|
+
# storage classes, see [ Amazon EFS storage classes][3] in the
|
1094
|
+
# *Amazon EFS User Guide*.
|
1093
1095
|
#
|
1094
1096
|
# * **Encryption** - All destination file systems are created with
|
1095
1097
|
# encryption at rest enabled. You can specify the Key Management
|
@@ -1115,12 +1117,11 @@ module Aws::EFS
|
|
1115
1117
|
#
|
1116
1118
|
# The following properties are turned off by default:
|
1117
1119
|
#
|
1118
|
-
# * **Lifecycle management**
|
1119
|
-
#
|
1120
|
-
#
|
1121
|
-
# lifecycle management and EFS Intelligent-Tiering.
|
1120
|
+
# * **Lifecycle management** – Lifecycle management is not enabled on
|
1121
|
+
# the destination file system. After the destination file system is
|
1122
|
+
# created, you can enable it.
|
1122
1123
|
#
|
1123
|
-
# * **Automatic backups**
|
1124
|
+
# * **Automatic backups** – Automatic daily backups are enabled on the
|
1124
1125
|
# destination file system. After the file system is created, you can
|
1125
1126
|
# change this setting.
|
1126
1127
|
#
|
@@ -1629,7 +1630,8 @@ module Aws::EFS
|
|
1629
1630
|
# Returns the backup policy for the specified EFS file system.
|
1630
1631
|
#
|
1631
1632
|
# @option params [required, String] :file_system_id
|
1632
|
-
# Specifies which EFS file system to retrieve the
|
1633
|
+
# Specifies which EFS file system for which to retrieve the
|
1634
|
+
# `BackupPolicy`.
|
1633
1635
|
#
|
1634
1636
|
# @return [Types::BackupPolicyDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1635
1637
|
#
|
@@ -1801,6 +1803,7 @@ module Aws::EFS
|
|
1801
1803
|
# resp.file_systems[0].size_in_bytes.timestamp #=> Time
|
1802
1804
|
# resp.file_systems[0].size_in_bytes.value_in_ia #=> Integer
|
1803
1805
|
# resp.file_systems[0].size_in_bytes.value_in_standard #=> Integer
|
1806
|
+
# resp.file_systems[0].size_in_bytes.value_in_archive #=> Integer
|
1804
1807
|
# resp.file_systems[0].performance_mode #=> String, one of "generalPurpose", "maxIO"
|
1805
1808
|
# resp.file_systems[0].encrypted #=> Boolean
|
1806
1809
|
# resp.file_systems[0].kms_key_id #=> String
|
@@ -1823,14 +1826,10 @@ module Aws::EFS
|
|
1823
1826
|
end
|
1824
1827
|
|
1825
1828
|
# Returns the current `LifecycleConfiguration` object for the specified
|
1826
|
-
# Amazon EFS file system.
|
1827
|
-
# `LifecycleConfiguration` object to identify
|
1828
|
-
#
|
1829
|
-
#
|
1830
|
-
# the response.
|
1831
|
-
#
|
1832
|
-
# When EFS Intelligent-Tiering is enabled,
|
1833
|
-
# `TransitionToPrimaryStorageClass` has a value of `AFTER_1_ACCESS`.
|
1829
|
+
# Amazon EFS file system. Llifecycle management uses the
|
1830
|
+
# `LifecycleConfiguration` object to identify when to move files between
|
1831
|
+
# storage classes. For a file system without a `LifecycleConfiguration`
|
1832
|
+
# object, the call returns an empty array in the response.
|
1834
1833
|
#
|
1835
1834
|
# This operation requires permissions for the
|
1836
1835
|
# `elasticfilesystem:DescribeLifecycleConfiguration` operation.
|
@@ -1871,8 +1870,9 @@ module Aws::EFS
|
|
1871
1870
|
# @example Response structure
|
1872
1871
|
#
|
1873
1872
|
# resp.lifecycle_policies #=> Array
|
1874
|
-
# resp.lifecycle_policies[0].transition_to_ia #=> String, one of "AFTER_7_DAYS", "AFTER_14_DAYS", "AFTER_30_DAYS", "AFTER_60_DAYS", "AFTER_90_DAYS", "AFTER_1_DAY"
|
1873
|
+
# resp.lifecycle_policies[0].transition_to_ia #=> String, one of "AFTER_7_DAYS", "AFTER_14_DAYS", "AFTER_30_DAYS", "AFTER_60_DAYS", "AFTER_90_DAYS", "AFTER_1_DAY", "AFTER_180_DAYS", "AFTER_270_DAYS", "AFTER_365_DAYS"
|
1875
1874
|
# resp.lifecycle_policies[0].transition_to_primary_storage_class #=> String, one of "AFTER_1_ACCESS"
|
1875
|
+
# resp.lifecycle_policies[0].transition_to_archive #=> String, one of "AFTER_1_DAY", "AFTER_7_DAYS", "AFTER_14_DAYS", "AFTER_30_DAYS", "AFTER_60_DAYS", "AFTER_90_DAYS", "AFTER_180_DAYS", "AFTER_270_DAYS", "AFTER_365_DAYS"
|
1876
1876
|
#
|
1877
1877
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeLifecycleConfiguration AWS API Documentation
|
1878
1878
|
#
|
@@ -1983,6 +1983,8 @@ module Aws::EFS
|
|
1983
1983
|
# * {Types::DescribeMountTargetsResponse#mount_targets #mount_targets} => Array<Types::MountTargetDescription>
|
1984
1984
|
# * {Types::DescribeMountTargetsResponse#next_marker #next_marker} => String
|
1985
1985
|
#
|
1986
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1987
|
+
#
|
1986
1988
|
#
|
1987
1989
|
# @example Example: To describe the mount targets for a file system
|
1988
1990
|
#
|
@@ -2064,6 +2066,8 @@ module Aws::EFS
|
|
2064
2066
|
# * {Types::DescribeReplicationConfigurationsResponse#replications #replications} => Array<Types::ReplicationConfigurationDescription>
|
2065
2067
|
# * {Types::DescribeReplicationConfigurationsResponse#next_token #next_token} => String
|
2066
2068
|
#
|
2069
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2070
|
+
#
|
2067
2071
|
# @example Request syntax with placeholder values
|
2068
2072
|
#
|
2069
2073
|
# resp = client.describe_replication_configurations({
|
@@ -2444,25 +2448,33 @@ module Aws::EFS
|
|
2444
2448
|
req.send_request(options)
|
2445
2449
|
end
|
2446
2450
|
|
2447
|
-
# Use this action to manage
|
2448
|
-
#
|
2449
|
-
#
|
2451
|
+
# Use this action to manage storage of your file system. A
|
2452
|
+
# `LifecycleConfiguration` consists of one or more `LifecyclePolicy`
|
2453
|
+
# objects that define the following:
|
2454
|
+
#
|
2455
|
+
# * <b> <code>TransitionToIA</code> </b> – When to move files in the
|
2456
|
+
# file system from primary storage (Standard storage class) into the
|
2457
|
+
# Infrequent Access (IA) storage.
|
2450
2458
|
#
|
2451
|
-
# *
|
2452
|
-
#
|
2453
|
-
#
|
2459
|
+
# * <b> <code>TransitionToArchive</code> </b> – When to move files in
|
2460
|
+
# the file system from their current storage class (either IA or
|
2461
|
+
# Standard storage) into the Archive storage.
|
2454
2462
|
#
|
2455
|
-
#
|
2456
|
-
#
|
2463
|
+
# File systems cannot transition into Archive storage before
|
2464
|
+
# transitioning into IA storage. Therefore, TransitionToArchive must
|
2465
|
+
# either not be set or must be later than TransitionToIA.
|
2457
2466
|
#
|
2458
|
-
#
|
2459
|
-
#
|
2460
|
-
#
|
2467
|
+
# <note markdown="1"> The Archive storage class is available only for file systems that
|
2468
|
+
# use the Elastic Throughput mode and the General Purpose Performance
|
2469
|
+
# mode.
|
2461
2470
|
#
|
2462
|
-
#
|
2463
|
-
# `TransitionToPrimaryStorageClass` to `AFTER_1_ACCESS`.
|
2471
|
+
# </note>
|
2464
2472
|
#
|
2465
|
-
#
|
2473
|
+
# * <b> <code>TransitionToPrimaryStorageClass</code> </b> – Whether to
|
2474
|
+
# move files in the file system back to primary storage (Standard
|
2475
|
+
# storage class) after they are accessed in IA or Archive storage.
|
2476
|
+
#
|
2477
|
+
# For more information, see [ Managing file system storage][1].
|
2466
2478
|
#
|
2467
2479
|
# Each Amazon EFS file system supports one lifecycle configuration,
|
2468
2480
|
# which applies to all files in the file system. If a
|
@@ -2470,17 +2482,16 @@ module Aws::EFS
|
|
2470
2482
|
# system, a `PutLifecycleConfiguration` call modifies the existing
|
2471
2483
|
# configuration. A `PutLifecycleConfiguration` call with an empty
|
2472
2484
|
# `LifecyclePolicies` array in the request body deletes any existing
|
2473
|
-
# `LifecycleConfiguration`
|
2474
|
-
# Intelligent-Tiering for the file system.
|
2485
|
+
# `LifecycleConfiguration` for the file system.
|
2475
2486
|
#
|
2476
2487
|
# In the request, specify the following:
|
2477
2488
|
#
|
2478
2489
|
# * The ID for the file system for which you are enabling, disabling, or
|
2479
|
-
# modifying
|
2490
|
+
# modifying Lifecycle management.
|
2480
2491
|
#
|
2481
2492
|
# * A `LifecyclePolicies` array of `LifecyclePolicy` objects that define
|
2482
|
-
# when
|
2483
|
-
#
|
2493
|
+
# when to move files to IA storage, to Archive storage, and back to
|
2494
|
+
# primary storage.
|
2484
2495
|
#
|
2485
2496
|
# <note markdown="1"> Amazon EFS requires that each `LifecyclePolicy` object have only
|
2486
2497
|
# have a single transition, so the `LifecyclePolicies` array needs to
|
@@ -2507,21 +2518,37 @@ module Aws::EFS
|
|
2507
2518
|
# @option params [required, Array<Types::LifecyclePolicy>] :lifecycle_policies
|
2508
2519
|
# An array of `LifecyclePolicy` objects that define the file system's
|
2509
2520
|
# `LifecycleConfiguration` object. A `LifecycleConfiguration` object
|
2510
|
-
# informs EFS
|
2511
|
-
#
|
2521
|
+
# informs EFS Lifecycle management of the following:
|
2522
|
+
#
|
2523
|
+
# * <b> <code>TransitionToIA</code> </b> – When to move files in the
|
2524
|
+
# file system from primary storage (Standard storage class) into the
|
2525
|
+
# Infrequent Access (IA) storage.
|
2512
2526
|
#
|
2513
|
-
# * When to move files in
|
2514
|
-
# storage class
|
2527
|
+
# * <b> <code>TransitionToArchive</code> </b> – When to move files in
|
2528
|
+
# the file system from their current storage class (either IA or
|
2529
|
+
# Standard storage) into the Archive storage.
|
2530
|
+
#
|
2531
|
+
# File systems cannot transition into Archive storage before
|
2532
|
+
# transitioning into IA storage. Therefore, TransitionToArchive must
|
2533
|
+
# either not be set or must be later than TransitionToIA.
|
2534
|
+
#
|
2535
|
+
# <note markdown="1"> The Archive storage class is available only for file systems that
|
2536
|
+
# use the Elastic Throughput mode and the General Purpose Performance
|
2537
|
+
# mode.
|
2538
|
+
#
|
2539
|
+
# </note>
|
2515
2540
|
#
|
2516
|
-
# *
|
2541
|
+
# * <b> <code>TransitionToPrimaryStorageClass</code> </b> – Whether to
|
2542
|
+
# move files in the file system back to primary storage (Standard
|
2543
|
+
# storage class) after they are accessed in IA or Archive storage.
|
2517
2544
|
#
|
2518
2545
|
# <note markdown="1"> When using the `put-lifecycle-configuration` CLI command or the
|
2519
2546
|
# `PutLifecycleConfiguration` API action, Amazon EFS requires that each
|
2520
2547
|
# `LifecyclePolicy` object have only a single transition. This means
|
2521
2548
|
# that in a request body, `LifecyclePolicies` must be structured as an
|
2522
|
-
# array of `LifecyclePolicy` objects, one object for each
|
2523
|
-
#
|
2524
|
-
#
|
2549
|
+
# array of `LifecyclePolicy` objects, one object for each storage
|
2550
|
+
# transition. See the example requests in the following section for more
|
2551
|
+
# information.
|
2525
2552
|
#
|
2526
2553
|
# </note>
|
2527
2554
|
#
|
@@ -2560,8 +2587,9 @@ module Aws::EFS
|
|
2560
2587
|
# file_system_id: "FileSystemId", # required
|
2561
2588
|
# lifecycle_policies: [ # required
|
2562
2589
|
# {
|
2563
|
-
# transition_to_ia: "AFTER_7_DAYS", # accepts AFTER_7_DAYS, AFTER_14_DAYS, AFTER_30_DAYS, AFTER_60_DAYS, AFTER_90_DAYS, AFTER_1_DAY
|
2590
|
+
# transition_to_ia: "AFTER_7_DAYS", # accepts AFTER_7_DAYS, AFTER_14_DAYS, AFTER_30_DAYS, AFTER_60_DAYS, AFTER_90_DAYS, AFTER_1_DAY, AFTER_180_DAYS, AFTER_270_DAYS, AFTER_365_DAYS
|
2564
2591
|
# transition_to_primary_storage_class: "AFTER_1_ACCESS", # accepts AFTER_1_ACCESS
|
2592
|
+
# transition_to_archive: "AFTER_1_DAY", # accepts AFTER_1_DAY, AFTER_7_DAYS, AFTER_14_DAYS, AFTER_30_DAYS, AFTER_60_DAYS, AFTER_90_DAYS, AFTER_180_DAYS, AFTER_270_DAYS, AFTER_365_DAYS
|
2565
2593
|
# },
|
2566
2594
|
# ],
|
2567
2595
|
# })
|
@@ -2569,8 +2597,9 @@ module Aws::EFS
|
|
2569
2597
|
# @example Response structure
|
2570
2598
|
#
|
2571
2599
|
# resp.lifecycle_policies #=> Array
|
2572
|
-
# resp.lifecycle_policies[0].transition_to_ia #=> String, one of "AFTER_7_DAYS", "AFTER_14_DAYS", "AFTER_30_DAYS", "AFTER_60_DAYS", "AFTER_90_DAYS", "AFTER_1_DAY"
|
2600
|
+
# resp.lifecycle_policies[0].transition_to_ia #=> String, one of "AFTER_7_DAYS", "AFTER_14_DAYS", "AFTER_30_DAYS", "AFTER_60_DAYS", "AFTER_90_DAYS", "AFTER_1_DAY", "AFTER_180_DAYS", "AFTER_270_DAYS", "AFTER_365_DAYS"
|
2573
2601
|
# resp.lifecycle_policies[0].transition_to_primary_storage_class #=> String, one of "AFTER_1_ACCESS"
|
2602
|
+
# resp.lifecycle_policies[0].transition_to_archive #=> String, one of "AFTER_1_DAY", "AFTER_7_DAYS", "AFTER_14_DAYS", "AFTER_30_DAYS", "AFTER_60_DAYS", "AFTER_90_DAYS", "AFTER_180_DAYS", "AFTER_270_DAYS", "AFTER_365_DAYS"
|
2574
2603
|
#
|
2575
2604
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutLifecycleConfiguration AWS API Documentation
|
2576
2605
|
#
|
@@ -2716,6 +2745,7 @@ module Aws::EFS
|
|
2716
2745
|
# resp.size_in_bytes.timestamp #=> Time
|
2717
2746
|
# resp.size_in_bytes.value_in_ia #=> Integer
|
2718
2747
|
# resp.size_in_bytes.value_in_standard #=> Integer
|
2748
|
+
# resp.size_in_bytes.value_in_archive #=> Integer
|
2719
2749
|
# resp.performance_mode #=> String, one of "generalPurpose", "maxIO"
|
2720
2750
|
# resp.encrypted #=> Boolean
|
2721
2751
|
# resp.kms_key_id #=> String
|
@@ -2749,7 +2779,7 @@ module Aws::EFS
|
|
2749
2779
|
params: params,
|
2750
2780
|
config: config)
|
2751
2781
|
context[:gem_name] = 'aws-sdk-efs'
|
2752
|
-
context[:gem_version] = '1.
|
2782
|
+
context[:gem_version] = '1.69.0'
|
2753
2783
|
Seahorse::Client::Request.new(handlers, context)
|
2754
2784
|
end
|
2755
2785
|
|
@@ -154,6 +154,7 @@ module Aws::EFS
|
|
154
154
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
155
155
|
Token = Shapes::StringShape.new(name: 'Token')
|
156
156
|
TooManyRequests = Shapes::StructureShape.new(name: 'TooManyRequests')
|
157
|
+
TransitionToArchiveRules = Shapes::StringShape.new(name: 'TransitionToArchiveRules')
|
157
158
|
TransitionToIARules = Shapes::StringShape.new(name: 'TransitionToIARules')
|
158
159
|
TransitionToPrimaryStorageClassRules = Shapes::StringShape.new(name: 'TransitionToPrimaryStorageClassRules')
|
159
160
|
Uid = Shapes::IntegerShape.new(name: 'Uid')
|
@@ -400,6 +401,7 @@ module Aws::EFS
|
|
400
401
|
FileSystemSize.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
401
402
|
FileSystemSize.add_member(:value_in_ia, Shapes::ShapeRef.new(shape: FileSystemNullableSizeValue, location_name: "ValueInIA"))
|
402
403
|
FileSystemSize.add_member(:value_in_standard, Shapes::ShapeRef.new(shape: FileSystemNullableSizeValue, location_name: "ValueInStandard"))
|
404
|
+
FileSystemSize.add_member(:value_in_archive, Shapes::ShapeRef.new(shape: FileSystemNullableSizeValue, location_name: "ValueInArchive"))
|
403
405
|
FileSystemSize.struct_class = Types::FileSystemSize
|
404
406
|
|
405
407
|
IncorrectFileSystemLifeCycleState.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
|
@@ -433,6 +435,7 @@ module Aws::EFS
|
|
433
435
|
|
434
436
|
LifecyclePolicy.add_member(:transition_to_ia, Shapes::ShapeRef.new(shape: TransitionToIARules, location_name: "TransitionToIA"))
|
435
437
|
LifecyclePolicy.add_member(:transition_to_primary_storage_class, Shapes::ShapeRef.new(shape: TransitionToPrimaryStorageClassRules, location_name: "TransitionToPrimaryStorageClass"))
|
438
|
+
LifecyclePolicy.add_member(:transition_to_archive, Shapes::ShapeRef.new(shape: TransitionToArchiveRules, location_name: "TransitionToArchive"))
|
436
439
|
LifecyclePolicy.struct_class = Types::LifecyclePolicy
|
437
440
|
|
438
441
|
ListTagsForResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ResourceId"))
|
@@ -859,6 +862,12 @@ module Aws::EFS
|
|
859
862
|
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
860
863
|
o.errors << Shapes::ShapeRef.new(shape: MountTargetNotFound)
|
861
864
|
o.errors << Shapes::ShapeRef.new(shape: AccessPointNotFound)
|
865
|
+
o[:pager] = Aws::Pager.new(
|
866
|
+
limit_key: "max_items",
|
867
|
+
tokens: {
|
868
|
+
"next_marker" => "marker"
|
869
|
+
}
|
870
|
+
)
|
862
871
|
end)
|
863
872
|
|
864
873
|
api.add_operation(:describe_replication_configurations, Seahorse::Model::Operation.new.tap do |o|
|
@@ -872,6 +881,12 @@ module Aws::EFS
|
|
872
881
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
873
882
|
o.errors << Shapes::ShapeRef.new(shape: ReplicationNotFound)
|
874
883
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
884
|
+
o[:pager] = Aws::Pager.new(
|
885
|
+
limit_key: "max_results",
|
886
|
+
tokens: {
|
887
|
+
"next_token" => "next_token"
|
888
|
+
}
|
889
|
+
)
|
875
890
|
end)
|
876
891
|
|
877
892
|
api.add_operation(:describe_tags, Seahorse::Model::Operation.new.tap do |o|
|
@@ -32,7 +32,7 @@ module Aws::EFS
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
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
|
#
|
@@ -308,14 +308,14 @@ module Aws::EFS
|
|
308
308
|
# @return [Types::PosixUser]
|
309
309
|
#
|
310
310
|
# @!attribute [rw] root_directory
|
311
|
-
# Specifies the directory on the
|
312
|
-
#
|
313
|
-
#
|
314
|
-
#
|
315
|
-
# `
|
316
|
-
#
|
317
|
-
#
|
318
|
-
#
|
311
|
+
# Specifies the directory on the EFS file system that the access point
|
312
|
+
# exposes as the root directory of your file system to NFS clients
|
313
|
+
# using the access point. The clients using the access point can only
|
314
|
+
# access the root directory and below. If the `RootDirectory` >
|
315
|
+
# `Path` specified does not exist, Amazon EFS creates it and applies
|
316
|
+
# the `CreationInfo` settings when a client connects to an access
|
317
|
+
# point. When specifying a `RootDirectory`, you must provide the
|
318
|
+
# `Path`, and the `CreationInfo`.
|
319
319
|
#
|
320
320
|
# Amazon EFS creates a root directory only if you have provided the
|
321
321
|
# CreationInfo: OwnUid, OwnGID, and permissions for the directory. If
|
@@ -345,18 +345,16 @@ module Aws::EFS
|
|
345
345
|
# @return [String]
|
346
346
|
#
|
347
347
|
# @!attribute [rw] performance_mode
|
348
|
-
# The
|
349
|
-
# `generalPurpose` performance mode for
|
350
|
-
#
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
348
|
+
# The Performance mode of the file system. We recommend
|
349
|
+
# `generalPurpose` performance mode for all file systems. File systems
|
350
|
+
# using the `maxIO` performance mode can scale to higher levels of
|
351
|
+
# aggregate throughput and operations per second with a tradeoff of
|
352
|
+
# slightly higher latencies for most file operations. The performance
|
353
|
+
# mode can't be changed after the file system has been created. The
|
354
|
+
# `maxIO` mode is not supported on One Zone file systems.
|
355
355
|
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
# </note>
|
356
|
+
# Due to the higher per-operation latencies with Max I/O, we recommend
|
357
|
+
# using General Purpose performance mode for all file systems.
|
360
358
|
#
|
361
359
|
# Default is `generalPurpose`.
|
362
360
|
# @return [String]
|
@@ -401,10 +399,10 @@ module Aws::EFS
|
|
401
399
|
# `bursting`, `provisioned`, or `elastic`. If you set `ThroughputMode`
|
402
400
|
# to `provisioned`, you must also set a value for
|
403
401
|
# `ProvisionedThroughputInMibps`. After you create the file system,
|
404
|
-
# you can decrease your file system's throughput
|
405
|
-
#
|
406
|
-
#
|
407
|
-
#
|
402
|
+
# you can decrease your file system's Provisioned throughput or
|
403
|
+
# change between the throughput modes, with certain time restrictions.
|
404
|
+
# For more information, see [Specifying throughput with provisioned
|
405
|
+
# mode][1] in the *Amazon EFS User Guide*.
|
408
406
|
#
|
409
407
|
# Default is `bursting`.
|
410
408
|
#
|
@@ -428,15 +426,14 @@ module Aws::EFS
|
|
428
426
|
# @return [Float]
|
429
427
|
#
|
430
428
|
# @!attribute [rw] availability_zone_name
|
431
|
-
# Used to create a file system
|
432
|
-
#
|
433
|
-
#
|
434
|
-
#
|
435
|
-
# classes
|
436
|
-
# Guide*.
|
429
|
+
# Used to create a One Zone file system. It specifies the Amazon Web
|
430
|
+
# Services Availability Zone in which to create the file system. Use
|
431
|
+
# the format `us-east-1a` to specify the Availability Zone. For more
|
432
|
+
# information about One Zone file systems, see [Using EFS storage
|
433
|
+
# classes][1] in the *Amazon EFS User Guide*.
|
437
434
|
#
|
438
|
-
# <note markdown="1"> One Zone
|
439
|
-
#
|
435
|
+
# <note markdown="1"> One Zone file systems are not available in all Availability Zones in
|
436
|
+
# Amazon Web Services Regions where Amazon EFS is available.
|
440
437
|
#
|
441
438
|
# </note>
|
442
439
|
#
|
@@ -448,10 +445,9 @@ module Aws::EFS
|
|
448
445
|
# @!attribute [rw] backup
|
449
446
|
# Specifies whether automatic backups are enabled on the file system
|
450
447
|
# 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*.
|
448
|
+
# backups. If you are creating a One Zone file system, automatic
|
449
|
+
# backups are enabled by default. For more information, see [Automatic
|
450
|
+
# backups][1] in the *Amazon EFS User Guide*.
|
455
451
|
#
|
456
452
|
# Default is `false`. However, if you specify an
|
457
453
|
# `AvailabilityZoneName`, the default is `true`.
|
@@ -500,9 +496,9 @@ module Aws::EFS
|
|
500
496
|
# @return [String]
|
501
497
|
#
|
502
498
|
# @!attribute [rw] subnet_id
|
503
|
-
# The ID of the subnet to add the mount target in. For file
|
504
|
-
#
|
505
|
-
#
|
499
|
+
# The ID of the subnet to add the mount target in. For One Zone file
|
500
|
+
# systems, use the subnet that is associated with the file system's
|
501
|
+
# Availability Zone.
|
506
502
|
# @return [String]
|
507
503
|
#
|
508
504
|
# @!attribute [rw] ip_address
|
@@ -808,7 +804,8 @@ module Aws::EFS
|
|
808
804
|
end
|
809
805
|
|
810
806
|
# @!attribute [rw] file_system_id
|
811
|
-
# Specifies which EFS file system to retrieve the
|
807
|
+
# Specifies which EFS file system for which to retrieve the
|
808
|
+
# `BackupPolicy`.
|
812
809
|
# @return [String]
|
813
810
|
#
|
814
811
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeBackupPolicyRequest AWS API Documentation
|
@@ -1103,7 +1100,7 @@ module Aws::EFS
|
|
1103
1100
|
# configuration.
|
1104
1101
|
#
|
1105
1102
|
# @!attribute [rw] status
|
1106
|
-
# Describes the status of the destination
|
1103
|
+
# Describes the status of the destination EFS file system.
|
1107
1104
|
#
|
1108
1105
|
# * The `Paused` state occurs as a result of opting out of the source
|
1109
1106
|
# or destination Region after the replication configuration was
|
@@ -1164,9 +1161,9 @@ module Aws::EFS
|
|
1164
1161
|
# @return [String]
|
1165
1162
|
#
|
1166
1163
|
# @!attribute [rw] availability_zone_name
|
1167
|
-
# To create a file system that uses
|
1168
|
-
#
|
1169
|
-
#
|
1164
|
+
# To create a file system that uses One Zone storage, specify the name
|
1165
|
+
# of the Availability Zone in which to create the destination file
|
1166
|
+
# system.
|
1170
1167
|
# @return [String]
|
1171
1168
|
#
|
1172
1169
|
# @!attribute [rw] kms_key_id
|
@@ -1287,7 +1284,7 @@ module Aws::EFS
|
|
1287
1284
|
# @return [Types::FileSystemSize]
|
1288
1285
|
#
|
1289
1286
|
# @!attribute [rw] performance_mode
|
1290
|
-
# The
|
1287
|
+
# The Performance mode of the file system.
|
1291
1288
|
# @return [String]
|
1292
1289
|
#
|
1293
1290
|
# @!attribute [rw] encrypted
|
@@ -1316,9 +1313,9 @@ module Aws::EFS
|
|
1316
1313
|
#
|
1317
1314
|
# @!attribute [rw] availability_zone_name
|
1318
1315
|
# Describes the Amazon Web Services Availability Zone in which the
|
1319
|
-
# file system is located, and is valid only for file systems
|
1320
|
-
#
|
1321
|
-
#
|
1316
|
+
# file system is located, and is valid only for One Zone file systems.
|
1317
|
+
# For more information, see [Using EFS storage classes][1] in the
|
1318
|
+
# *Amazon EFS User Guide*.
|
1322
1319
|
#
|
1323
1320
|
#
|
1324
1321
|
#
|
@@ -1327,10 +1324,10 @@ module Aws::EFS
|
|
1327
1324
|
#
|
1328
1325
|
# @!attribute [rw] availability_zone_id
|
1329
1326
|
# 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.
|
1327
|
+
# which the file system is located, and is valid only for One Zone
|
1328
|
+
# file systems. For example, `use1-az1` is an Availability Zone ID for
|
1329
|
+
# the us-east-1 Amazon Web Services Region, and it has the same
|
1330
|
+
# location in every Amazon Web Services account.
|
1334
1331
|
# @return [String]
|
1335
1332
|
#
|
1336
1333
|
# @!attribute [rw] tags
|
@@ -1494,13 +1491,19 @@ module Aws::EFS
|
|
1494
1491
|
# Standard storage class.
|
1495
1492
|
# @return [Integer]
|
1496
1493
|
#
|
1494
|
+
# @!attribute [rw] value_in_archive
|
1495
|
+
# The latest known metered size (in bytes) of data stored in the
|
1496
|
+
# Archive storage class.
|
1497
|
+
# @return [Integer]
|
1498
|
+
#
|
1497
1499
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemSize AWS API Documentation
|
1498
1500
|
#
|
1499
1501
|
class FileSystemSize < Struct.new(
|
1500
1502
|
:value,
|
1501
1503
|
:timestamp,
|
1502
1504
|
:value_in_ia,
|
1503
|
-
:value_in_standard
|
1505
|
+
:value_in_standard,
|
1506
|
+
:value_in_archive)
|
1504
1507
|
SENSITIVE = []
|
1505
1508
|
include Aws::Structure
|
1506
1509
|
end
|
@@ -1690,19 +1693,18 @@ module Aws::EFS
|
|
1690
1693
|
include Aws::Structure
|
1691
1694
|
end
|
1692
1695
|
|
1693
|
-
# Describes a policy used by
|
1694
|
-
#
|
1695
|
-
#
|
1696
|
-
#
|
1697
|
-
# Management][1].
|
1696
|
+
# Describes a policy used by Lifecycle management that specifies when to
|
1697
|
+
# transition files into and out of the Infrequent Access (IA) and
|
1698
|
+
# Archive storage classes. For more information, see [Managing file
|
1699
|
+
# system storage][1].
|
1698
1700
|
#
|
1699
1701
|
# <note markdown="1"> When using the `put-lifecycle-configuration` CLI command or the
|
1700
1702
|
# `PutLifecycleConfiguration` API action, Amazon EFS requires that each
|
1701
1703
|
# `LifecyclePolicy` object have only a single transition. This means
|
1702
1704
|
# that in a request body, `LifecyclePolicies` must be structured as an
|
1703
|
-
# array of `LifecyclePolicy` objects, one object for each transition
|
1704
|
-
#
|
1705
|
-
#
|
1705
|
+
# array of `LifecyclePolicy` objects, one object for each transition.
|
1706
|
+
# For more information, see the request examples in
|
1707
|
+
# PutLifecycleConfiguration.
|
1706
1708
|
#
|
1707
1709
|
# </note>
|
1708
1710
|
#
|
@@ -1711,14 +1713,22 @@ module Aws::EFS
|
|
1711
1713
|
# [1]: https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html
|
1712
1714
|
#
|
1713
1715
|
# @!attribute [rw] transition_to_ia
|
1714
|
-
#
|
1715
|
-
#
|
1716
|
+
# The number of days after files were last accessed in primary storage
|
1717
|
+
# (the Standard storage class) at which to move them to Infrequent
|
1718
|
+
# Access (IA) storage. Metadata operations such as listing the
|
1719
|
+
# contents of a directory don't count as file access events.
|
1720
|
+
# @return [String]
|
1721
|
+
#
|
1722
|
+
# @!attribute [rw] transition_to_primary_storage_class
|
1723
|
+
# Whether to move files back to primary (Standard) storage after they
|
1724
|
+
# are accessed in IA or Archive storage. Metadata operations such as
|
1716
1725
|
# listing the contents of a directory don't count as file access
|
1717
1726
|
# events.
|
1718
1727
|
# @return [String]
|
1719
1728
|
#
|
1720
|
-
# @!attribute [rw]
|
1721
|
-
#
|
1729
|
+
# @!attribute [rw] transition_to_archive
|
1730
|
+
# The number of days after files were last accessed in primary storage
|
1731
|
+
# (the Standard storage class) files at which to move them to Archive
|
1722
1732
|
# storage. Metadata operations such as listing the contents of a
|
1723
1733
|
# directory don't count as file access events.
|
1724
1734
|
# @return [String]
|
@@ -1727,7 +1737,8 @@ module Aws::EFS
|
|
1727
1737
|
#
|
1728
1738
|
class LifecyclePolicy < Struct.new(
|
1729
1739
|
:transition_to_ia,
|
1730
|
-
:transition_to_primary_storage_class
|
1740
|
+
:transition_to_primary_storage_class,
|
1741
|
+
:transition_to_archive)
|
1731
1742
|
SENSITIVE = []
|
1732
1743
|
include Aws::Structure
|
1733
1744
|
end
|
@@ -2141,21 +2152,37 @@ module Aws::EFS
|
|
2141
2152
|
# @!attribute [rw] lifecycle_policies
|
2142
2153
|
# An array of `LifecyclePolicy` objects that define the file system's
|
2143
2154
|
# `LifecycleConfiguration` object. A `LifecycleConfiguration` object
|
2144
|
-
# informs EFS
|
2145
|
-
#
|
2155
|
+
# informs EFS Lifecycle management of the following:
|
2156
|
+
#
|
2157
|
+
# * <b> <code>TransitionToIA</code> </b> – When to move files in the
|
2158
|
+
# file system from primary storage (Standard storage class) into the
|
2159
|
+
# Infrequent Access (IA) storage.
|
2146
2160
|
#
|
2147
|
-
# * When to move files in
|
2148
|
-
#
|
2161
|
+
# * <b> <code>TransitionToArchive</code> </b> – When to move files in
|
2162
|
+
# the file system from their current storage class (either IA or
|
2163
|
+
# Standard storage) into the Archive storage.
|
2149
2164
|
#
|
2150
|
-
#
|
2165
|
+
# File systems cannot transition into Archive storage before
|
2166
|
+
# transitioning into IA storage. Therefore, TransitionToArchive must
|
2167
|
+
# either not be set or must be later than TransitionToIA.
|
2168
|
+
#
|
2169
|
+
# <note markdown="1"> The Archive storage class is available only for file systems that
|
2170
|
+
# use the Elastic Throughput mode and the General Purpose
|
2171
|
+
# Performance mode.
|
2172
|
+
#
|
2173
|
+
# </note>
|
2174
|
+
#
|
2175
|
+
# * <b> <code>TransitionToPrimaryStorageClass</code> </b> – Whether to
|
2176
|
+
# move files in the file system back to primary storage (Standard
|
2177
|
+
# storage class) after they are accessed in IA or Archive storage.
|
2151
2178
|
#
|
2152
2179
|
# <note markdown="1"> When using the `put-lifecycle-configuration` CLI command or the
|
2153
2180
|
# `PutLifecycleConfiguration` API action, Amazon EFS requires that
|
2154
2181
|
# each `LifecyclePolicy` object have only a single transition. This
|
2155
2182
|
# means that in a request body, `LifecyclePolicies` must be structured
|
2156
2183
|
# as an array of `LifecyclePolicy` objects, one object for each
|
2157
|
-
# transition
|
2158
|
-
#
|
2184
|
+
# storage transition. See the example requests in the following
|
2185
|
+
# section for more information.
|
2159
2186
|
#
|
2160
2187
|
# </note>
|
2161
2188
|
# @return [Array<Types::LifecyclePolicy>]
|
@@ -2177,8 +2204,8 @@ module Aws::EFS
|
|
2177
2204
|
# @return [String]
|
2178
2205
|
#
|
2179
2206
|
# @!attribute [rw] source_file_system_region
|
2180
|
-
# The Amazon Web Services Region in which the source
|
2181
|
-
#
|
2207
|
+
# The Amazon Web Services Region in which the source EFS file system
|
2208
|
+
# is located.
|
2182
2209
|
# @return [String]
|
2183
2210
|
#
|
2184
2211
|
# @!attribute [rw] source_file_system_arn
|
@@ -2187,8 +2214,8 @@ module Aws::EFS
|
|
2187
2214
|
# @return [String]
|
2188
2215
|
#
|
2189
2216
|
# @!attribute [rw] original_source_file_system_arn
|
2190
|
-
# The Amazon Resource Name (ARN) of the original source
|
2191
|
-
#
|
2217
|
+
# The Amazon Resource Name (ARN) of the original source EFS file
|
2218
|
+
# system in the replication configuration.
|
2192
2219
|
# @return [String]
|
2193
2220
|
#
|
2194
2221
|
# @!attribute [rw] creation_time
|
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.69.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
|
+
date: 2023-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.188.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.188.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '2.
|
83
|
+
version: '2.5'
|
84
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - ">="
|