import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeLocationFsxOntapRequest, DescribeLocationFsxOntapResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeLocationFsxOntapCommand}. */ export interface DescribeLocationFsxOntapCommandInput extends DescribeLocationFsxOntapRequest { } /** * @public * * The output of {@link DescribeLocationFsxOntapCommand}. */ export interface DescribeLocationFsxOntapCommandOutput extends DescribeLocationFsxOntapResponse, __MetadataBearer { } declare const DescribeLocationFsxOntapCommand_base: { new (input: DescribeLocationFsxOntapCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeLocationFsxOntapCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Provides details about how an DataSync transfer location for an Amazon FSx for NetApp ONTAP file system is configured.

* *

If your location uses SMB, the DescribeLocationFsxOntap operation doesn't * actually return a Password.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataSyncClient, DescribeLocationFsxOntapCommand } from "@aws-sdk/client-datasync"; // ES Modules import * // const { DataSyncClient, DescribeLocationFsxOntapCommand } = 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 = { // DescribeLocationFsxOntapRequest * LocationArn: "STRING_VALUE", // required * }; * const command = new DescribeLocationFsxOntapCommand(input); * const response = await client.send(command); * // { // DescribeLocationFsxOntapResponse * // CreationTime: new Date("TIMESTAMP"), * // LocationArn: "STRING_VALUE", * // LocationUri: "STRING_VALUE", * // Protocol: { // FsxProtocol * // NFS: { // FsxProtocolNfs * // MountOptions: { // NfsMountOptions * // Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1", * // }, * // }, * // SMB: { // FsxProtocolSmb * // Domain: "STRING_VALUE", * // MountOptions: { // SmbMountOptions * // Version: "AUTOMATIC" || "SMB2" || "SMB3" || "SMB1" || "SMB2_0", * // }, * // Password: "STRING_VALUE", * // User: "STRING_VALUE", // required * // ManagedSecretConfig: { // ManagedSecretConfig * // SecretArn: "STRING_VALUE", * // }, * // CmkSecretConfig: { // CmkSecretConfig * // SecretArn: "STRING_VALUE", * // KmsKeyArn: "STRING_VALUE", * // }, * // CustomSecretConfig: { // CustomSecretConfig * // SecretArn: "STRING_VALUE", * // SecretAccessRoleArn: "STRING_VALUE", * // }, * // }, * // }, * // SecurityGroupArns: [ // Ec2SecurityGroupArnList * // "STRING_VALUE", * // ], * // StorageVirtualMachineArn: "STRING_VALUE", * // FsxFilesystemArn: "STRING_VALUE", * // }; * * ``` * * @param DescribeLocationFsxOntapCommandInput - {@link DescribeLocationFsxOntapCommandInput} * @returns {@link DescribeLocationFsxOntapCommandOutput} * @see {@link DescribeLocationFsxOntapCommandInput} for command's `input` shape. * @see {@link DescribeLocationFsxOntapCommandOutput} 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 DescribeLocationFsxOntapCommand extends DescribeLocationFsxOntapCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeLocationFsxOntapRequest; output: DescribeLocationFsxOntapResponse; }; sdk: { input: DescribeLocationFsxOntapCommandInput; output: DescribeLocationFsxOntapCommandOutput; }; }; }