import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeLifecycleConfigurationRequest, LifecycleConfigurationDescription } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeLifecycleConfigurationCommand}. */ export interface DescribeLifecycleConfigurationCommandInput extends DescribeLifecycleConfigurationRequest { } /** * @public * * The output of {@link DescribeLifecycleConfigurationCommand}. */ export interface DescribeLifecycleConfigurationCommandOutput extends LifecycleConfigurationDescription, __MetadataBearer { } declare const DescribeLifecycleConfigurationCommand_base: { new (input: DescribeLifecycleConfigurationCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeLifecycleConfigurationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns the current LifecycleConfiguration object for the specified * 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.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EFSClient, DescribeLifecycleConfigurationCommand } from "@aws-sdk/client-efs"; // ES Modules import * // const { EFSClient, DescribeLifecycleConfigurationCommand } = require("@aws-sdk/client-efs"); // CommonJS import * // import type { EFSClientConfig } from "@aws-sdk/client-efs"; * const config = {}; // type is EFSClientConfig * const client = new EFSClient(config); * const input = { // DescribeLifecycleConfigurationRequest * FileSystemId: "STRING_VALUE", // required * }; * const command = new DescribeLifecycleConfigurationCommand(input); * const response = await client.send(command); * // { // LifecycleConfigurationDescription * // LifecyclePolicies: [ // LifecyclePolicies * // { // LifecyclePolicy * // TransitionToIA: "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", * // TransitionToPrimaryStorageClass: "AFTER_1_ACCESS", * // TransitionToArchive: "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", * // }, * // ], * // }; * * ``` * * @param DescribeLifecycleConfigurationCommandInput - {@link DescribeLifecycleConfigurationCommandInput} * @returns {@link DescribeLifecycleConfigurationCommandOutput} * @see {@link DescribeLifecycleConfigurationCommandInput} for command's `input` shape. * @see {@link DescribeLifecycleConfigurationCommandOutput} for command's `response` shape. * @see {@link EFSClientResolvedConfig | config} for EFSClient's `config` shape. * * @throws {@link BadRequest} (client fault) *

Returned if the request is malformed or contains an error such as an invalid * parameter value or a missing required parameter.

* * @throws {@link FileSystemNotFound} (client fault) *

Returned if the specified FileSystemId value doesn't exist in the * requester's Amazon Web Services account.

* * @throws {@link InternalServerError} (server fault) *

Returned if an error occurred on the server side.

* * @throws {@link EFSServiceException} *

Base exception class for all service exceptions from EFS service.

* * * @example To describe the lifecycle configuration for a file system * ```javascript * // 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. * const input = { * FileSystemId: "fs-01234567" * }; * const command = new DescribeLifecycleConfigurationCommand(input); * const response = await client.send(command); * /* response is * { * LifecyclePolicies: [ * { * TransitionToIA: "AFTER_30_DAYS" * } * ] * } * *\/ * ``` * * @public */ export declare class DescribeLifecycleConfigurationCommand extends DescribeLifecycleConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeLifecycleConfigurationRequest; output: LifecycleConfigurationDescription; }; sdk: { input: DescribeLifecycleConfigurationCommandInput; output: DescribeLifecycleConfigurationCommandOutput; }; }; }