Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns the current LifecycleConfiguration
object for the specified
Amazon EFS file system. EFS lifecycle management uses the
LifecycleConfiguration
object to identify which files to move to the
EFS Infrequent Access (IA) storage class. For a file system without a
LifecycleConfiguration
object, the call returns an empty array in the
response.
When EFS Intelligent Tiering is enabled,
TransitionToPrimaryStorageClass
has a value of AFTER_1_ACCESS
.
This operation requires permissions for the
elasticfilesystem:DescribeLifecycleConfiguration
operation.
Synopsis
- data DescribeLifecycleConfiguration = DescribeLifecycleConfiguration' {
- fileSystemId :: Text
- newDescribeLifecycleConfiguration :: Text -> DescribeLifecycleConfiguration
- describeLifecycleConfiguration_fileSystemId :: Lens' DescribeLifecycleConfiguration Text
- data LifecycleConfigurationDescription = LifecycleConfigurationDescription' {}
- newLifecycleConfigurationDescription :: LifecycleConfigurationDescription
- lifecycleConfigurationDescription_lifecyclePolicies :: Lens' LifecycleConfigurationDescription (Maybe [LifecyclePolicy])
Creating a Request
data DescribeLifecycleConfiguration Source #
See: newDescribeLifecycleConfiguration
smart constructor.
DescribeLifecycleConfiguration' | |
|
Instances
newDescribeLifecycleConfiguration Source #
Create a value of DescribeLifecycleConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileSystemId:DescribeLifecycleConfiguration'
, describeLifecycleConfiguration_fileSystemId
- The ID of the file system whose LifecycleConfiguration
object you want
to retrieve (String).
Request Lenses
describeLifecycleConfiguration_fileSystemId :: Lens' DescribeLifecycleConfiguration Text Source #
The ID of the file system whose LifecycleConfiguration
object you want
to retrieve (String).
Destructuring the Response
data LifecycleConfigurationDescription Source #
See: newLifecycleConfigurationDescription
smart constructor.
LifecycleConfigurationDescription' | |
|
Instances
Eq LifecycleConfigurationDescription Source # | |
Read LifecycleConfigurationDescription Source # | |
Show LifecycleConfigurationDescription Source # | |
Generic LifecycleConfigurationDescription Source # | |
NFData LifecycleConfigurationDescription Source # | |
Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription rnf :: LifecycleConfigurationDescription -> () # | |
Hashable LifecycleConfigurationDescription Source # | |
FromJSON LifecycleConfigurationDescription Source # | |
type Rep LifecycleConfigurationDescription Source # | |
Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription type Rep LifecycleConfigurationDescription = D1 ('MetaData "LifecycleConfigurationDescription" "Amazonka.EFS.Types.LifecycleConfigurationDescription" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "LifecycleConfigurationDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lifecyclePolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LifecyclePolicy])))) |
newLifecycleConfigurationDescription :: LifecycleConfigurationDescription Source #
Create a value of LifecycleConfigurationDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lifecyclePolicies:LifecycleConfigurationDescription'
, lifecycleConfigurationDescription_lifecyclePolicies
- An array of lifecycle management policies. EFS supports a maximum of one
policy per file system.
Response Lenses
lifecycleConfigurationDescription_lifecyclePolicies :: Lens' LifecycleConfigurationDescription (Maybe [LifecyclePolicy]) Source #
An array of lifecycle management policies. EFS supports a maximum of one policy per file system.