import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeConnectorRequest, DescribeConnectorResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeConnectorCommand}. */ export interface DescribeConnectorCommandInput extends DescribeConnectorRequest { } /** * @public * * The output of {@link DescribeConnectorCommand}. */ export interface DescribeConnectorCommandOutput extends DescribeConnectorResponse, __MetadataBearer { } declare const DescribeConnectorCommand_base: { new (input: DescribeConnectorCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeConnectorCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Describes the connector that's identified by the ConnectorId.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TransferClient, DescribeConnectorCommand } from "@aws-sdk/client-transfer"; // ES Modules import * // const { TransferClient, DescribeConnectorCommand } = require("@aws-sdk/client-transfer"); // CommonJS import * // import type { TransferClientConfig } from "@aws-sdk/client-transfer"; * const config = {}; // type is TransferClientConfig * const client = new TransferClient(config); * const input = { // DescribeConnectorRequest * ConnectorId: "STRING_VALUE", // required * }; * const command = new DescribeConnectorCommand(input); * const response = await client.send(command); * // { // DescribeConnectorResponse * // Connector: { // DescribedConnector * // Arn: "STRING_VALUE", // required * // ConnectorId: "STRING_VALUE", * // Url: "STRING_VALUE", * // As2Config: { // As2ConnectorConfig * // LocalProfileId: "STRING_VALUE", * // PartnerProfileId: "STRING_VALUE", * // MessageSubject: "STRING_VALUE", * // Compression: "ZLIB" || "DISABLED", * // EncryptionAlgorithm: "AES128_CBC" || "AES192_CBC" || "AES256_CBC" || "DES_EDE3_CBC" || "NONE", * // SigningAlgorithm: "SHA256" || "SHA384" || "SHA512" || "SHA1" || "NONE", * // MdnSigningAlgorithm: "SHA256" || "SHA384" || "SHA512" || "SHA1" || "NONE" || "DEFAULT", * // MdnResponse: "SYNC" || "NONE" || "ASYNC", * // BasicAuthSecretId: "STRING_VALUE", * // PreserveContentType: "ENABLED" || "DISABLED", * // AsyncMdnConfig: { // As2AsyncMdnConnectorConfig * // Url: "STRING_VALUE", * // ServerIds: [ // As2AsyncMdnServerIds * // "STRING_VALUE", * // ], * // }, * // }, * // AccessRole: "STRING_VALUE", * // LoggingRole: "STRING_VALUE", * // Tags: [ // Tags * // { // Tag * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // SftpConfig: { // SftpConnectorConfig * // UserSecretId: "STRING_VALUE", * // TrustedHostKeys: [ // SftpConnectorTrustedHostKeyList * // "STRING_VALUE", * // ], * // MaxConcurrentConnections: Number("int"), * // }, * // ServiceManagedEgressIpAddresses: [ // ServiceManagedEgressIpAddresses * // "STRING_VALUE", * // ], * // SecurityPolicyName: "STRING_VALUE", * // EgressConfig: { // DescribedConnectorEgressConfig Union: only one key present * // VpcLattice: { // DescribedConnectorVpcLatticeEgressConfig * // ResourceConfigurationArn: "STRING_VALUE", // required * // PortNumber: Number("int"), * // }, * // }, * // EgressType: "SERVICE_MANAGED" || "VPC_LATTICE", // required * // ErrorMessage: "STRING_VALUE", * // Status: "ACTIVE" || "ERRORED" || "PENDING", // required * // }, * // }; * * ``` * * @param DescribeConnectorCommandInput - {@link DescribeConnectorCommandInput} * @returns {@link DescribeConnectorCommandOutput} * @see {@link DescribeConnectorCommandInput} for command's `input` shape. * @see {@link DescribeConnectorCommandOutput} for command's `response` shape. * @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape. * * @throws {@link InternalServiceError} (server fault) *

This exception is thrown when an error occurs in the Transfer Family service.

* * @throws {@link InvalidRequestException} (client fault) *

This exception is thrown when the client submits a malformed request.

* * @throws {@link ResourceNotFoundException} (client fault) *

This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.

* * @throws {@link ServiceUnavailableException} (server fault) *

The request has failed because the Amazon Web ServicesTransfer Family service is not available.

* * @throws {@link TransferServiceException} *

Base exception class for all service exceptions from Transfer service.

* * * @public */ export declare class DescribeConnectorCommand extends DescribeConnectorCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeConnectorRequest; output: DescribeConnectorResponse; }; sdk: { input: DescribeConnectorCommandInput; output: DescribeConnectorCommandOutput; }; }; }