import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateLocationHdfsRequest, UpdateLocationHdfsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateLocationHdfsCommand}. */ export interface UpdateLocationHdfsCommandInput extends UpdateLocationHdfsRequest { } /** * @public * * The output of {@link UpdateLocationHdfsCommand}. */ export interface UpdateLocationHdfsCommandOutput extends UpdateLocationHdfsResponse, __MetadataBearer { } declare const UpdateLocationHdfsCommand_base: { new (input: UpdateLocationHdfsCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateLocationHdfsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

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

*

For more information, see Configuring DataSync * transfers with an HDFS cluster.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataSyncClient, UpdateLocationHdfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import * // const { DataSyncClient, UpdateLocationHdfsCommand } = 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 = { // UpdateLocationHdfsRequest * LocationArn: "STRING_VALUE", // required * Subdirectory: "STRING_VALUE", * NameNodes: [ // HdfsNameNodeList * { // HdfsNameNode * Hostname: "STRING_VALUE", // required * Port: Number("int"), // required * }, * ], * BlockSize: Number("int"), * ReplicationFactor: Number("int"), * KmsKeyProviderUri: "STRING_VALUE", * QopConfiguration: { // QopConfiguration * RpcProtection: "DISABLED" || "AUTHENTICATION" || "INTEGRITY" || "PRIVACY", * DataTransferProtection: "DISABLED" || "AUTHENTICATION" || "INTEGRITY" || "PRIVACY", * }, * AuthenticationType: "SIMPLE" || "KERBEROS", * SimpleUser: "STRING_VALUE", * KerberosPrincipal: "STRING_VALUE", * KerberosKeytab: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") * KerberosKrb5Conf: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") * AgentArns: [ // AgentArnList * "STRING_VALUE", * ], * CmkSecretConfig: { // CmkSecretConfig * SecretArn: "STRING_VALUE", * KmsKeyArn: "STRING_VALUE", * }, * CustomSecretConfig: { // CustomSecretConfig * SecretArn: "STRING_VALUE", * SecretAccessRoleArn: "STRING_VALUE", * }, * }; * const command = new UpdateLocationHdfsCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateLocationHdfsCommandInput - {@link UpdateLocationHdfsCommandInput} * @returns {@link UpdateLocationHdfsCommandOutput} * @see {@link UpdateLocationHdfsCommandInput} for command's `input` shape. * @see {@link UpdateLocationHdfsCommandOutput} 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 UpdateLocationHdfsCommand extends UpdateLocationHdfsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateLocationHdfsRequest; output: {}; }; sdk: { input: UpdateLocationHdfsCommandInput; output: UpdateLocationHdfsCommandOutput; }; }; }