Learn R Programming

paws.storage (version 0.1.12)

efs_describe_lifecycle_configuration: Returns the current LifecycleConfiguration object for the specified Amazon EFS file system

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.

This operation requires permissions for the elasticfilesystem:DescribeLifecycleConfiguration operation.

Usage

efs_describe_lifecycle_configuration(FileSystemId)

Value

A list with the following syntax:

list(
  LifecyclePolicies = list(
    list(
      TransitionToIA = "AFTER_7_DAYS"|"AFTER_14_DAYS"|"AFTER_30_DAYS"|"AFTER_60_DAYS"|"AFTER_90_DAYS"
    )
  )
)

Arguments

FileSystemId

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

Request syntax

svc$describe_lifecycle_configuration(
  FileSystemId = "string"
)

Examples

Run this code
if (FALSE) {
# This operation describes a file system's LifecycleConfiguration. EFS
# lifecycle management uses the LifecycleConfiguration object to identify
# which files to move to the EFS Infrequent Access (IA) storage class.
svc$describe_lifecycle_configuration(
  FileSystemId = "fs-01234567"
)
}

Run the code above in your browser using DataLab