describeLifecycleConfiguration
abstract suspend fun describeLifecycleConfiguration(input: DescribeLifecycleConfigurationRequest): DescribeLifecycleConfigurationResponse
Returns the current LifecycleConfiguration
object for the specified Amazon EFS file system. Lifecycle management uses the LifecycleConfiguration
object to identify when to move files between storage classes. 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.
Samples
fun main() {
//sampleStart
// 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.
val resp = efsClient.describeLifecycleConfiguration {
fileSystemId = "fs-01234567"
}
//sampleEnd
}