import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeNFSFileSharesInput, DescribeNFSFileSharesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeNFSFileSharesCommand}. */ export interface DescribeNFSFileSharesCommandInput extends DescribeNFSFileSharesInput { } /** * @public * * The output of {@link DescribeNFSFileSharesCommand}. */ export interface DescribeNFSFileSharesCommandOutput extends DescribeNFSFileSharesOutput, __MetadataBearer { } declare const DescribeNFSFileSharesCommand_base: { new (input: DescribeNFSFileSharesCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeNFSFileSharesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets a description for one or more Network File System (NFS) file shares from an S3 File * Gateway. This operation is only supported for S3 File Gateways.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, DescribeNFSFileSharesCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, DescribeNFSFileSharesCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import * // import type { StorageGatewayClientConfig } from "@aws-sdk/client-storage-gateway"; * const config = {}; // type is StorageGatewayClientConfig * const client = new StorageGatewayClient(config); * const input = { // DescribeNFSFileSharesInput * FileShareARNList: [ // FileShareARNList // required * "STRING_VALUE", * ], * }; * const command = new DescribeNFSFileSharesCommand(input); * const response = await client.send(command); * // { // DescribeNFSFileSharesOutput * // NFSFileShareInfoList: [ // NFSFileShareInfoList * // { // NFSFileShareInfo * // NFSFileShareDefaults: { // NFSFileShareDefaults * // FileMode: "STRING_VALUE", * // DirectoryMode: "STRING_VALUE", * // GroupId: Number("long"), * // OwnerId: Number("long"), * // }, * // FileShareARN: "STRING_VALUE", * // FileShareId: "STRING_VALUE", * // FileShareStatus: "STRING_VALUE", * // GatewayARN: "STRING_VALUE", * // EncryptionType: "SseS3" || "SseKms" || "DsseKms", * // KMSEncrypted: true || false, * // KMSKey: "STRING_VALUE", * // Path: "STRING_VALUE", * // Role: "STRING_VALUE", * // LocationARN: "STRING_VALUE", * // DefaultStorageClass: "STRING_VALUE", * // ObjectACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "bucket-owner-read" || "bucket-owner-full-control" || "aws-exec-read", * // ClientList: [ // FileShareClientList * // "STRING_VALUE", * // ], * // Squash: "STRING_VALUE", * // ReadOnly: true || false, * // GuessMIMETypeEnabled: true || false, * // RequesterPays: true || false, * // Tags: [ // Tags * // { // Tag * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // FileShareName: "STRING_VALUE", * // CacheAttributes: { // CacheAttributes * // CacheStaleTimeoutInSeconds: Number("int"), * // }, * // NotificationPolicy: "STRING_VALUE", * // VPCEndpointDNSName: "STRING_VALUE", * // BucketRegion: "STRING_VALUE", * // AuditDestinationARN: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param DescribeNFSFileSharesCommandInput - {@link DescribeNFSFileSharesCommandInput} * @returns {@link DescribeNFSFileSharesCommandOutput} * @see {@link DescribeNFSFileSharesCommandInput} for command's `input` shape. * @see {@link DescribeNFSFileSharesCommandOutput} for command's `response` shape. * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An internal server error has occurred during the request. For more information, see the * error and message fields.

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

An exception occurred because an invalid gateway request was issued to the service. For * more information, see the error and message fields.

* * @throws {@link StorageGatewayServiceException} *

Base exception class for all service exceptions from StorageGateway service.

* * * @public */ export declare class DescribeNFSFileSharesCommand extends DescribeNFSFileSharesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeNFSFileSharesInput; output: DescribeNFSFileSharesOutput; }; sdk: { input: DescribeNFSFileSharesCommandInput; output: DescribeNFSFileSharesCommandOutput; }; }; }