import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; import type { GetConnectionRequest, GetConnectionResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetConnectionCommand}. */ export interface GetConnectionCommandInput extends GetConnectionRequest { } /** * @public * * The output of {@link GetConnectionCommand}. */ export interface GetConnectionCommandOutput extends GetConnectionResponse, __MetadataBearer { } declare const GetConnectionCommand_base: { new (input: GetConnectionCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetConnectionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Retrieves a connection definition from the Data Catalog.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetConnectionCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetConnectionCommand } = require("@aws-sdk/client-glue"); // CommonJS import * // import type { GlueClientConfig } from "@aws-sdk/client-glue"; * const config = {}; // type is GlueClientConfig * const client = new GlueClient(config); * const input = { // GetConnectionRequest * CatalogId: "STRING_VALUE", * Name: "STRING_VALUE", // required * HidePassword: true || false, * ApplyOverrideForComputeEnvironment: "SPARK" || "ATHENA" || "PYTHON", * }; * const command = new GetConnectionCommand(input); * const response = await client.send(command); * // { // GetConnectionResponse * // Connection: { // Connection * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE" || "VIEW_VALIDATION_REDSHIFT" || "VIEW_VALIDATION_ATHENA" || "GOOGLEADS" || "GOOGLESHEETS" || "GOOGLEANALYTICS4" || "SERVICENOW" || "MARKETO" || "SAPODATA" || "ZENDESK" || "JIRACLOUD" || "NETSUITEERP" || "HUBSPOT" || "FACEBOOKADS" || "INSTAGRAMADS" || "ZOHOCRM" || "SALESFORCEPARDOT" || "SALESFORCEMARKETINGCLOUD" || "ADOBEANALYTICS" || "SLACK" || "LINKEDIN" || "MIXPANEL" || "ASANA" || "STRIPE" || "SMARTSHEET" || "DATADOG" || "WOOCOMMERCE" || "INTERCOM" || "SNAPCHATADS" || "PAYPAL" || "QUICKBOOKS" || "FACEBOOKPAGEINSIGHTS" || "FRESHDESK" || "TWILIO" || "DOCUSIGNMONITOR" || "FRESHSALES" || "ZOOM" || "GOOGLESEARCHCONSOLE" || "SALESFORCECOMMERCECLOUD" || "SAPCONCUR" || "DYNATRACE" || "MICROSOFTDYNAMIC365FINANCEANDOPS" || "MICROSOFTTEAMS" || "BLACKBAUDRAISEREDGENXT" || "MAILCHIMP" || "GITLAB" || "PENDO" || "PRODUCTBOARD" || "CIRCLECI" || "PIPEDIVE" || "SENDGRID" || "AZURECOSMOS" || "AZURESQL" || "BIGQUERY" || "BLACKBAUD" || "CLOUDERAHIVE" || "CLOUDERAIMPALA" || "CLOUDWATCH" || "CLOUDWATCHMETRICS" || "CMDB" || "DATALAKEGEN2" || "DB2" || "DB2AS400" || "DOCUMENTDB" || "DOMO" || "DYNAMODB" || "GOOGLECLOUDSTORAGE" || "HBASE" || "KUSTOMER" || "MICROSOFTDYNAMICS365CRM" || "MONDAY" || "MYSQL" || "OKTA" || "OPENSEARCH" || "ORACLE" || "PIPEDRIVE" || "POSTGRESQL" || "SAPHANA" || "SQLSERVER" || "SYNAPSE" || "TERADATA" || "TERADATANOS" || "TIMESTREAM" || "TPCDS" || "VERTICA", * // MatchCriteria: [ // MatchCriteria * // "STRING_VALUE", * // ], * // ConnectionProperties: { // ConnectionProperties * // "": "STRING_VALUE", * // }, * // SparkProperties: { // PropertyMap * // "": "STRING_VALUE", * // }, * // AthenaProperties: { * // "": "STRING_VALUE", * // }, * // PythonProperties: { * // "": "STRING_VALUE", * // }, * // PhysicalConnectionRequirements: { // PhysicalConnectionRequirements * // SubnetId: "STRING_VALUE", * // SecurityGroupIdList: [ // SecurityGroupIdList * // "STRING_VALUE", * // ], * // AvailabilityZone: "STRING_VALUE", * // }, * // CreationTime: new Date("TIMESTAMP"), * // LastUpdatedTime: new Date("TIMESTAMP"), * // LastUpdatedBy: "STRING_VALUE", * // Status: "READY" || "IN_PROGRESS" || "FAILED", * // StatusReason: "STRING_VALUE", * // LastConnectionValidationTime: new Date("TIMESTAMP"), * // AuthenticationConfiguration: { // AuthenticationConfiguration * // AuthenticationType: "BASIC" || "OAUTH2" || "CUSTOM" || "IAM", * // SecretArn: "STRING_VALUE", * // KmsKeyArn: "STRING_VALUE", * // OAuth2Properties: { // OAuth2Properties * // OAuth2GrantType: "AUTHORIZATION_CODE" || "CLIENT_CREDENTIALS" || "JWT_BEARER", * // OAuth2ClientApplication: { // OAuth2ClientApplication * // UserManagedClientApplicationClientId: "STRING_VALUE", * // AWSManagedClientApplicationReference: "STRING_VALUE", * // }, * // TokenUrl: "STRING_VALUE", * // TokenUrlParametersMap: { // TokenUrlParametersMap * // "": "STRING_VALUE", * // }, * // }, * // }, * // ConnectionSchemaVersion: Number("int"), * // CompatibleComputeEnvironments: [ // ComputeEnvironmentList * // "SPARK" || "ATHENA" || "PYTHON", * // ], * // }, * // }; * * ``` * * @param GetConnectionCommandInput - {@link GetConnectionCommandInput} * @returns {@link GetConnectionCommandOutput} * @see {@link GetConnectionCommandInput} for command's `input` shape. * @see {@link GetConnectionCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link EntityNotFoundException} (client fault) *

A specified entity does not exist

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

An encryption operation failed.

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

The input provided was not valid.

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

The operation timed out.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class GetConnectionCommand extends GetConnectionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetConnectionRequest; output: GetConnectionResponse; }; sdk: { input: GetConnectionCommandInput; output: GetConnectionCommandOutput; }; }; }