import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ResumeSessionRequest, ResumeSessionResponse } from "../models/models_2"; import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ResumeSessionCommand}. */ export interface ResumeSessionCommandInput extends ResumeSessionRequest { } /** * @public * * The output of {@link ResumeSessionCommand}. */ export interface ResumeSessionCommandOutput extends ResumeSessionResponse, __MetadataBearer { } declare const ResumeSessionCommand_base: { new (input: ResumeSessionCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ResumeSessionCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Reconnects a session to a managed node after it has been disconnected. Connections can be * resumed for disconnected sessions, but not terminated sessions.

* *

This command is primarily for use by client machines to automatically reconnect during * intermittent network issues. It isn't intended for any other use.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, ResumeSessionCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, ResumeSessionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // ResumeSessionRequest * SessionId: "STRING_VALUE", // required * }; * const command = new ResumeSessionCommand(input); * const response = await client.send(command); * // { // ResumeSessionResponse * // SessionId: "STRING_VALUE", * // TokenValue: "STRING_VALUE", * // StreamUrl: "STRING_VALUE", * // }; * * ``` * * @param ResumeSessionCommandInput - {@link ResumeSessionCommandInput} * @returns {@link ResumeSessionCommandOutput} * @see {@link ResumeSessionCommandInput} for command's `input` shape. * @see {@link ResumeSessionCommandOutput} for command's `response` shape. * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. * * @throws {@link DoesNotExistException} (client fault) *

Error returned when the ID specified for a resource, such as a maintenance window or patch * baseline, doesn't exist.

*

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the * Amazon Web Services General Reference.

* * @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 ResumeSessionCommand extends ResumeSessionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ResumeSessionRequest; output: ResumeSessionResponse; }; sdk: { input: ResumeSessionCommandInput; output: ResumeSessionCommandOutput; }; }; }