import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeAgentRequest, DescribeAgentResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeAgentCommand}. */ export interface DescribeAgentCommandInput extends DescribeAgentRequest { } /** * @public * * The output of {@link DescribeAgentCommand}. */ export interface DescribeAgentCommandOutput extends DescribeAgentResponse, __MetadataBearer { } declare const DescribeAgentCommand_base: { new (input: DescribeAgentCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeAgentCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns information about an DataSync agent, such as its name, service * endpoint type, and status.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataSyncClient, DescribeAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import * // const { DataSyncClient, DescribeAgentCommand } = 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 = { // DescribeAgentRequest * AgentArn: "STRING_VALUE", // required * }; * const command = new DescribeAgentCommand(input); * const response = await client.send(command); * // { // DescribeAgentResponse * // AgentArn: "STRING_VALUE", * // Name: "STRING_VALUE", * // Status: "ONLINE" || "OFFLINE", * // LastConnectionTime: new Date("TIMESTAMP"), * // CreationTime: new Date("TIMESTAMP"), * // EndpointType: "PUBLIC" || "PRIVATE_LINK" || "FIPS" || "FIPS_PRIVATE_LINK", * // PrivateLinkConfig: { // PrivateLinkConfig * // VpcEndpointId: "STRING_VALUE", * // PrivateLinkEndpoint: "STRING_VALUE", * // SubnetArns: [ // PLSubnetArnList * // "STRING_VALUE", * // ], * // SecurityGroupArns: [ // PLSecurityGroupArnList * // "STRING_VALUE", * // ], * // }, * // Platform: { // Platform * // Version: "STRING_VALUE", * // }, * // }; * * ``` * * @param DescribeAgentCommandInput - {@link DescribeAgentCommandInput} * @returns {@link DescribeAgentCommandOutput} * @see {@link DescribeAgentCommandInput} for command's `input` shape. * @see {@link DescribeAgentCommandOutput} 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 DescribeAgentCommand extends DescribeAgentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeAgentRequest; output: DescribeAgentResponse; }; sdk: { input: DescribeAgentCommandInput; output: DescribeAgentCommandOutput; }; }; }