import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { GetConnectionStatusRequest, GetConnectionStatusResponse } from "../models/models_1"; import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetConnectionStatusCommand}. */ export interface GetConnectionStatusCommandInput extends GetConnectionStatusRequest { } /** * @public * * The output of {@link GetConnectionStatusCommand}. */ export interface GetConnectionStatusCommandOutput extends GetConnectionStatusResponse, __MetadataBearer { } declare const GetConnectionStatusCommand_base: { new (input: GetConnectionStatusCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetConnectionStatusCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves the Session Manager connection status for a managed node to determine whether it is running * and ready to receive Session Manager connections.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, GetConnectionStatusCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, GetConnectionStatusCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // GetConnectionStatusRequest * Target: "STRING_VALUE", // required * }; * const command = new GetConnectionStatusCommand(input); * const response = await client.send(command); * // { // GetConnectionStatusResponse * // Target: "STRING_VALUE", * // Status: "connected" || "notconnected", * // }; * * ``` * * @param GetConnectionStatusCommandInput - {@link GetConnectionStatusCommandInput} * @returns {@link GetConnectionStatusCommandOutput} * @see {@link GetConnectionStatusCommandInput} for command's `input` shape. * @see {@link GetConnectionStatusCommandOutput} for command's `response` shape. * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An error occurred on the server side.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class GetConnectionStatusCommand extends GetConnectionStatusCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetConnectionStatusRequest; output: GetConnectionStatusResponse; }; sdk: { input: GetConnectionStatusCommandInput; output: GetConnectionStatusCommandOutput; }; }; }