libZSservicesZSamazonka-efsZSamazonka-efs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EFS.DescribeLifecycleConfiguration

Description

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

Creating a Request

data DescribeLifecycleConfiguration Source #

See: newDescribeLifecycleConfiguration smart constructor.

Constructors

DescribeLifecycleConfiguration' 

Fields

  • fileSystemId :: Text

    The ID of the file system whose LifecycleConfiguration object you want to retrieve (String).

Instances

Instances details
Eq DescribeLifecycleConfiguration Source # 
Instance details

Defined in Amazonka.EFS.DescribeLifecycleConfiguration

Read DescribeLifecycleConfiguration Source # 
Instance details

Defined in Amazonka.EFS.DescribeLifecycleConfiguration

Show DescribeLifecycleConfiguration Source # 
Instance details

Defined in Amazonka.EFS.DescribeLifecycleConfiguration

Generic DescribeLifecycleConfiguration Source # 
Instance details

Defined in Amazonka.EFS.DescribeLifecycleConfiguration

Associated Types

type Rep DescribeLifecycleConfiguration :: Type -> Type #

NFData DescribeLifecycleConfiguration Source # 
Instance details

Defined in Amazonka.EFS.DescribeLifecycleConfiguration

Hashable DescribeLifecycleConfiguration Source # 
Instance details

Defined in Amazonka.EFS.DescribeLifecycleConfiguration

AWSRequest DescribeLifecycleConfiguration Source # 
Instance details

Defined in Amazonka.EFS.DescribeLifecycleConfiguration

ToHeaders DescribeLifecycleConfiguration Source # 
Instance details

Defined in Amazonka.EFS.DescribeLifecycleConfiguration

ToPath DescribeLifecycleConfiguration Source # 
Instance details

Defined in Amazonka.EFS.DescribeLifecycleConfiguration

ToQuery DescribeLifecycleConfiguration Source # 
Instance details

Defined in Amazonka.EFS.DescribeLifecycleConfiguration

type Rep DescribeLifecycleConfiguration Source # 
Instance details

Defined in Amazonka.EFS.DescribeLifecycleConfiguration

type Rep DescribeLifecycleConfiguration = D1 ('MetaData "DescribeLifecycleConfiguration" "Amazonka.EFS.DescribeLifecycleConfiguration" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "DescribeLifecycleConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fileSystemId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeLifecycleConfiguration Source # 
Instance details

Defined in Amazonka.EFS.DescribeLifecycleConfiguration

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.

Constructors

LifecycleConfigurationDescription' 

Fields

Instances

Instances details
Eq LifecycleConfigurationDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription

Read LifecycleConfigurationDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription

Show LifecycleConfigurationDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription

Generic LifecycleConfigurationDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription

Associated Types

type Rep LifecycleConfigurationDescription :: Type -> Type #

NFData LifecycleConfigurationDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription

Hashable LifecycleConfigurationDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription

FromJSON LifecycleConfigurationDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription

type Rep LifecycleConfigurationDescription Source # 
Instance details

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.