import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateLocationNfsRequest, UpdateLocationNfsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateLocationNfsCommand}. */ export interface UpdateLocationNfsCommandInput extends UpdateLocationNfsRequest { } /** * @public * * The output of {@link UpdateLocationNfsCommand}. */ export interface UpdateLocationNfsCommandOutput extends UpdateLocationNfsResponse, __MetadataBearer { } declare const UpdateLocationNfsCommand_base: { new (input: UpdateLocationNfsCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateLocationNfsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Modifies the following configuration parameters of the Network File System (NFS) transfer * location that you're using with DataSync.

*

For more information, see Configuring transfers with an NFS * file server.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataSyncClient, UpdateLocationNfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import * // const { DataSyncClient, UpdateLocationNfsCommand } = 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 = { // UpdateLocationNfsRequest * LocationArn: "STRING_VALUE", // required * Subdirectory: "STRING_VALUE", * ServerHostname: "STRING_VALUE", * OnPremConfig: { // OnPremConfig * AgentArns: [ // AgentArnList // required * "STRING_VALUE", * ], * }, * MountOptions: { // NfsMountOptions * Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1", * }, * }; * const command = new UpdateLocationNfsCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateLocationNfsCommandInput - {@link UpdateLocationNfsCommandInput} * @returns {@link UpdateLocationNfsCommandOutput} * @see {@link UpdateLocationNfsCommandInput} for command's `input` shape. * @see {@link UpdateLocationNfsCommandOutput} 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 UpdateLocationNfsCommand extends UpdateLocationNfsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateLocationNfsRequest; output: {}; }; sdk: { input: UpdateLocationNfsCommandInput; output: UpdateLocationNfsCommandOutput; }; }; }