Removes the client- and server-side session that is associated with the user.
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);
LogoutCommandInput for command's input shape.
input
LogoutCommandOutput for command's response shape.
response
config for SSOClient's config shape.
config
Removes the client- and server-side session that is associated with the user.
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);
LogoutCommandInput for command's
input
shape.LogoutCommandOutput for command's
response
shape.config for SSOClient's
config
shape.