import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateLocationFsxWindowsRequest, CreateLocationFsxWindowsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateLocationFsxWindowsCommand}. */ export interface CreateLocationFsxWindowsCommandInput extends CreateLocationFsxWindowsRequest { } /** * @public * * The output of {@link CreateLocationFsxWindowsCommand}. */ export interface CreateLocationFsxWindowsCommandOutput extends CreateLocationFsxWindowsResponse, __MetadataBearer { } declare const CreateLocationFsxWindowsCommand_base: { new (input: CreateLocationFsxWindowsCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateLocationFsxWindowsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a transfer location for an Amazon FSx for Windows File Server file * system. DataSync can use this location as a source or destination for * transferring data.

*

Before you begin, make sure that you understand how DataSync * accesses * FSx for Windows File Server file systems.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataSyncClient, CreateLocationFsxWindowsCommand } from "@aws-sdk/client-datasync"; // ES Modules import * // const { DataSyncClient, CreateLocationFsxWindowsCommand } = 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 = { // CreateLocationFsxWindowsRequest * Subdirectory: "STRING_VALUE", * FsxFilesystemArn: "STRING_VALUE", // required * SecurityGroupArns: [ // Ec2SecurityGroupArnList // required * "STRING_VALUE", * ], * Tags: [ // InputTagList * { // TagListEntry * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", * }, * ], * User: "STRING_VALUE", // required * Domain: "STRING_VALUE", * Password: "STRING_VALUE", * CmkSecretConfig: { // CmkSecretConfig * SecretArn: "STRING_VALUE", * KmsKeyArn: "STRING_VALUE", * }, * CustomSecretConfig: { // CustomSecretConfig * SecretArn: "STRING_VALUE", * SecretAccessRoleArn: "STRING_VALUE", * }, * }; * const command = new CreateLocationFsxWindowsCommand(input); * const response = await client.send(command); * // { // CreateLocationFsxWindowsResponse * // LocationArn: "STRING_VALUE", * // }; * * ``` * * @param CreateLocationFsxWindowsCommandInput - {@link CreateLocationFsxWindowsCommandInput} * @returns {@link CreateLocationFsxWindowsCommandOutput} * @see {@link CreateLocationFsxWindowsCommandInput} for command's `input` shape. * @see {@link CreateLocationFsxWindowsCommandOutput} 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 CreateLocationFsxWindowsCommand extends CreateLocationFsxWindowsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateLocationFsxWindowsRequest; output: CreateLocationFsxWindowsResponse; }; sdk: { input: CreateLocationFsxWindowsCommandInput; output: CreateLocationFsxWindowsCommandOutput; }; }; }