import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeFileSystemsRequest, DescribeFileSystemsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeFileSystemsCommand}. */ export interface DescribeFileSystemsCommandInput extends DescribeFileSystemsRequest { } /** * @public * * The output of {@link DescribeFileSystemsCommand}. */ export interface DescribeFileSystemsCommandOutput extends DescribeFileSystemsResponse, __MetadataBearer { } declare const DescribeFileSystemsCommand_base: { new (input: DescribeFileSystemsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeFileSystemsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns the description of a specific Amazon EFS file system if either the file system * CreationToken or the FileSystemId is provided. Otherwise, it * returns descriptions of all file systems owned by the caller's Amazon Web Services account in the * Amazon Web Services Region of the endpoint that you're calling.

*

When retrieving all file system descriptions, you can optionally specify the * MaxItems parameter to limit the number of descriptions in a response. * This number is automatically set to 100. If more file system descriptions remain, * Amazon EFS returns a NextMarker, an opaque token, in the response. In this case, * you should send a subsequent request with the Marker request parameter set to the * value of NextMarker.

*

To retrieve a list of your file system descriptions, this operation is used in an * iterative process, where DescribeFileSystems is called first without the * Marker and then the operation continues to call it with the Marker * parameter set to the value of the NextMarker from the previous response until the * response has no NextMarker.

*

The order of file systems returned in the response of one * DescribeFileSystems call and the order of file systems returned across the * responses of a multi-call iteration is unspecified.

*

This operation requires permissions for the * elasticfilesystem:DescribeFileSystems action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EFSClient, DescribeFileSystemsCommand } from "@aws-sdk/client-efs"; // ES Modules import * // const { EFSClient, DescribeFileSystemsCommand } = 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 = { // DescribeFileSystemsRequest * MaxItems: Number("int"), * Marker: "STRING_VALUE", * CreationToken: "STRING_VALUE", * FileSystemId: "STRING_VALUE", * }; * const command = new DescribeFileSystemsCommand(input); * const response = await client.send(command); * // { // DescribeFileSystemsResponse * // Marker: "STRING_VALUE", * // FileSystems: [ // FileSystemDescriptions * // { // FileSystemDescription * // OwnerId: "STRING_VALUE", // required * // CreationToken: "STRING_VALUE", // required * // FileSystemId: "STRING_VALUE", // required * // FileSystemArn: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), // required * // LifeCycleState: "creating" || "available" || "updating" || "deleting" || "deleted" || "error", // required * // Name: "STRING_VALUE", * // NumberOfMountTargets: Number("int"), // required * // SizeInBytes: { // FileSystemSize * // Value: Number("long"), // required * // Timestamp: new Date("TIMESTAMP"), * // ValueInIA: Number("long"), * // ValueInStandard: Number("long"), * // ValueInArchive: Number("long"), * // }, * // PerformanceMode: "generalPurpose" || "maxIO", // required * // Encrypted: true || false, * // KmsKeyId: "STRING_VALUE", * // ThroughputMode: "bursting" || "provisioned" || "elastic", * // ProvisionedThroughputInMibps: Number("double"), * // AvailabilityZoneName: "STRING_VALUE", * // AvailabilityZoneId: "STRING_VALUE", * // Tags: [ // Tags // required * // { // Tag * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // FileSystemProtection: { // FileSystemProtectionDescription * // ReplicationOverwriteProtection: "ENABLED" || "DISABLED" || "REPLICATING", * // }, * // }, * // ], * // NextMarker: "STRING_VALUE", * // }; * * ``` * * @param DescribeFileSystemsCommandInput - {@link DescribeFileSystemsCommandInput} * @returns {@link DescribeFileSystemsCommandOutput} * @see {@link DescribeFileSystemsCommandInput} for command's `input` shape. * @see {@link DescribeFileSystemsCommandOutput} 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.

* * * @public */ export declare class DescribeFileSystemsCommand extends DescribeFileSystemsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeFileSystemsRequest; output: DescribeFileSystemsResponse; }; sdk: { input: DescribeFileSystemsCommandInput; output: DescribeFileSystemsCommandOutput; }; }; }