import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateLocationNfsRequest, CreateLocationNfsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateLocationNfsCommand}. */ export interface CreateLocationNfsCommandInput extends CreateLocationNfsRequest { } /** * @public * * The output of {@link CreateLocationNfsCommand}. */ export interface CreateLocationNfsCommandOutput extends CreateLocationNfsResponse, __MetadataBearer { } declare const CreateLocationNfsCommand_base: { new (input: CreateLocationNfsCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateLocationNfsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a transfer location for a Network File System (NFS) file * server. DataSync can use this location as a source or destination for * transferring data.

*

Before you begin, make sure that you understand how DataSync * accesses NFS file * servers.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataSyncClient, CreateLocationNfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import * // const { DataSyncClient, CreateLocationNfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import * // import type { DataSyncClientConfig } from "@aws-sdk/client-datasync"; * const config = {}; // type is DataSyncClientConfig * const client = new DataSyncClient(config); * const input = { // CreateLocationNfsRequest * Subdirectory: "STRING_VALUE", // required * ServerHostname: "STRING_VALUE", // required * OnPremConfig: { // OnPremConfig * AgentArns: [ // AgentArnList // required * "STRING_VALUE", * ], * }, * MountOptions: { // NfsMountOptions * Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1", * }, * Tags: [ // InputTagList * { // TagListEntry * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", * }, * ], * }; * const command = new CreateLocationNfsCommand(input); * const response = await client.send(command); * // { // CreateLocationNfsResponse * // LocationArn: "STRING_VALUE", * // }; * * ``` * * @param CreateLocationNfsCommandInput - {@link CreateLocationNfsCommandInput} * @returns {@link CreateLocationNfsCommandOutput} * @see {@link CreateLocationNfsCommandInput} for command's `input` shape. * @see {@link CreateLocationNfsCommandOutput} for command's `response` shape. * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape. * * @throws {@link InternalException} (server fault) *

This exception is thrown when an error occurs in the DataSync * service.

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

This exception is thrown when the client submits a malformed request.

* * @throws {@link DataSyncServiceException} *

Base exception class for all service exceptions from DataSync service.

* * * @public */ export declare class CreateLocationNfsCommand extends CreateLocationNfsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateLocationNfsRequest; output: CreateLocationNfsResponse; }; sdk: { input: CreateLocationNfsCommandInput; output: CreateLocationNfsCommandOutput; }; }; }