Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LogoutCommand

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.

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

LogoutCommandInput for command's input shape.

see

LogoutCommandOutput for command's response shape.

see

config for SSOClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

Readonly middlewareStack

middlewareStack: IMiddlewareStack<LogoutCommandInput, LogoutCommandOutput>