Jump to Content

Class DisassociateUserSettingsCommandProtected

Disassociates user settings from a web portal.

Example

Use a bare-bones client and the command you need to make an API call.

import { WorkSpacesWebClient, DisassociateUserSettingsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
// const { WorkSpacesWebClient, DisassociateUserSettingsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
const client = new WorkSpacesWebClient(config);
const input = { // DisassociateUserSettingsRequest
portalArn: "STRING_VALUE", // required
};
const command = new DisassociateUserSettingsCommand(input);
const response = await client.send(command);

Param

DisassociateUserSettingsCommandInput

Returns

DisassociateUserSettingsCommandOutput

See

Throws

AccessDeniedException (client fault)

Access is denied.

Throws

InternalServerException (server fault)

There is an internal server error.

Throws

ResourceNotFoundException (client fault)

The resource cannot be found.

Throws

ThrottlingException (client fault)

There is a throttling error.

Throws

ValidationException (client fault)

There is a validation error.

Hierarchy

Constructors

Properties

Methods