import { SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOClient"; import { LogoutRequest } from "../models/models_0"; import { deserializeAws_restJson1LogoutCommand, serializeAws_restJson1LogoutCommand } from "../protocols/Aws_restJson1"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { FinalizeHandlerArguments, Handler, HandlerExecutionContext, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, SerdeContext as __SerdeContext, } from "@aws-sdk/types"; export interface LogoutCommandInput extends LogoutRequest {} export interface LogoutCommandOutput extends __MetadataBearer {} /** *
Removes the client- and server-side session that is associated with the user.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSOClient, LogoutCommand } from "@aws-sdk/client-sso"; // ES Modules import * // const { SSOClient, LogoutCommand } = require("@aws-sdk/client-sso"); // CommonJS import * const client = new SSOClient(config); * const command = new LogoutCommand(input); * const response = await client.send(command); * ``` * * @see {@link LogoutCommandInput} for command's `input` shape. * @see {@link LogoutCommandOutput} for command's `response` shape. * @see {@link SSOClientResolvedConfig | config} for command's `input` shape. * */ export class LogoutCommand extends $Command