import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetSessionEndpointRequest, GetSessionEndpointResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetSessionEndpointCommand}. */ export interface GetSessionEndpointCommandInput extends GetSessionEndpointRequest { } /** * @public * * The output of {@link GetSessionEndpointCommand}. */ export interface GetSessionEndpointCommandOutput extends GetSessionEndpointResponse, __MetadataBearer { } declare const GetSessionEndpointCommand_base: { new (input: GetSessionEndpointCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetSessionEndpointCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns the session endpoint URL and a time-limited authentication token for the specified session. Use the endpoint and token to connect a client to the session. Call this operation again when the authentication token expires to obtain a new token.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EMRServerlessClient, GetSessionEndpointCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import * // const { EMRServerlessClient, GetSessionEndpointCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import * // import type { EMRServerlessClientConfig } from "@aws-sdk/client-emr-serverless"; * const config = {}; // type is EMRServerlessClientConfig * const client = new EMRServerlessClient(config); * const input = { // GetSessionEndpointRequest * applicationId: "STRING_VALUE", // required * sessionId: "STRING_VALUE", // required * }; * const command = new GetSessionEndpointCommand(input); * const response = await client.send(command); * // { // GetSessionEndpointResponse * // applicationId: "STRING_VALUE", // required * // sessionId: "STRING_VALUE", // required * // endpoint: "STRING_VALUE", // required * // authToken: "STRING_VALUE", // required * // authTokenExpiresAt: new Date("TIMESTAMP"), // required * // }; * * ``` * * @param GetSessionEndpointCommandInput - {@link GetSessionEndpointCommandInput} * @returns {@link GetSessionEndpointCommandOutput} * @see {@link GetSessionEndpointCommandInput} for command's `input` shape. * @see {@link GetSessionEndpointCommandOutput} for command's `response` shape. * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

Request processing failed because of an error or failure with the service.

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

The specified resource was not found.

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

The input fails to satisfy the constraints specified by an Amazon Web Services service.

* * @throws {@link EMRServerlessServiceException} *

Base exception class for all service exceptions from EMRServerless service.

* * * @public */ export declare class GetSessionEndpointCommand extends GetSessionEndpointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetSessionEndpointRequest; output: GetSessionEndpointResponse; }; sdk: { input: GetSessionEndpointCommandInput; output: GetSessionEndpointCommandOutput; }; }; }