import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient"; import type { BatchDisassociateUserStackRequest, BatchDisassociateUserStackResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link BatchDisassociateUserStackCommand}. */ export interface BatchDisassociateUserStackCommandInput extends BatchDisassociateUserStackRequest { } /** * @public * * The output of {@link BatchDisassociateUserStackCommand}. */ export interface BatchDisassociateUserStackCommandOutput extends BatchDisassociateUserStackResult, __MetadataBearer { } declare const BatchDisassociateUserStackCommand_base: { new (input: BatchDisassociateUserStackCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: BatchDisassociateUserStackCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Disassociates the specified users from the specified stacks.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AppStreamClient, BatchDisassociateUserStackCommand } from "@aws-sdk/client-appstream"; // ES Modules import * // const { AppStreamClient, BatchDisassociateUserStackCommand } = require("@aws-sdk/client-appstream"); // CommonJS import * // import type { AppStreamClientConfig } from "@aws-sdk/client-appstream"; * const config = {}; // type is AppStreamClientConfig * const client = new AppStreamClient(config); * const input = { // BatchDisassociateUserStackRequest * UserStackAssociations: [ // UserStackAssociationList // required * { // UserStackAssociation * StackName: "STRING_VALUE", // required * UserName: "STRING_VALUE", // required * AuthenticationType: "API" || "SAML" || "USERPOOL" || "AWS_AD", // required * SendEmailNotification: true || false, * }, * ], * }; * const command = new BatchDisassociateUserStackCommand(input); * const response = await client.send(command); * // { // BatchDisassociateUserStackResult * // errors: [ // UserStackAssociationErrorList * // { // UserStackAssociationError * // UserStackAssociation: { // UserStackAssociation * // StackName: "STRING_VALUE", // required * // UserName: "STRING_VALUE", // required * // AuthenticationType: "API" || "SAML" || "USERPOOL" || "AWS_AD", // required * // SendEmailNotification: true || false, * // }, * // ErrorCode: "STACK_NOT_FOUND" || "USER_NAME_NOT_FOUND" || "DIRECTORY_NOT_FOUND" || "INTERNAL_ERROR", * // ErrorMessage: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param BatchDisassociateUserStackCommandInput - {@link BatchDisassociateUserStackCommandInput} * @returns {@link BatchDisassociateUserStackCommandOutput} * @see {@link BatchDisassociateUserStackCommandInput} for command's `input` shape. * @see {@link BatchDisassociateUserStackCommandOutput} for command's `response` shape. * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape. * * @throws {@link InvalidParameterCombinationException} (client fault) *

Indicates an incorrect combination of parameters, or a missing parameter.

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

The attempted operation is not permitted.

* * @throws {@link AppStreamServiceException} *

Base exception class for all service exceptions from AppStream service.

* * * @public */ export declare class BatchDisassociateUserStackCommand extends BatchDisassociateUserStackCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchDisassociateUserStackRequest; output: BatchDisassociateUserStackResult; }; sdk: { input: BatchDisassociateUserStackCommandInput; output: BatchDisassociateUserStackCommandOutput; }; }; }