import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DisassociateUserRequest, DisassociateUserResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DisassociateUserCommand}. */ export interface DisassociateUserCommandInput extends DisassociateUserRequest { } /** * @public * * The output of {@link DisassociateUserCommand}. */ export interface DisassociateUserCommandOutput extends DisassociateUserResponse, __MetadataBearer { } declare const DisassociateUserCommand_base: { new (input: DisassociateUserCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DisassociateUserCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Disassociates the user from an EC2 instance providing user-based subscriptions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { LicenseManagerUserSubscriptionsClient, DisassociateUserCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import * // const { LicenseManagerUserSubscriptionsClient, DisassociateUserCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import * // import type { LicenseManagerUserSubscriptionsClientConfig } from "@aws-sdk/client-license-manager-user-subscriptions"; * const config = {}; // type is LicenseManagerUserSubscriptionsClientConfig * const client = new LicenseManagerUserSubscriptionsClient(config); * const input = { // DisassociateUserRequest * Username: "STRING_VALUE", * InstanceId: "STRING_VALUE", * IdentityProvider: { // IdentityProvider Union: only one key present * ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * DirectoryId: "STRING_VALUE", * ActiveDirectorySettings: { // ActiveDirectorySettings * DomainName: "STRING_VALUE", * DomainIpv4List: [ // IpV4List * "STRING_VALUE", * ], * DomainIpv6List: [ // IpV6List * "STRING_VALUE", * ], * DomainCredentialsProvider: { // CredentialsProvider Union: only one key present * SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider * SecretId: "STRING_VALUE", * }, * }, * DomainNetworkSettings: { // DomainNetworkSettings * Subnets: [ // Subnets // required * "STRING_VALUE", * ], * }, * }, * ActiveDirectoryType: "STRING_VALUE", * IsSharedActiveDirectory: true || false, * }, * }, * InstanceUserArn: "STRING_VALUE", * Domain: "STRING_VALUE", * }; * const command = new DisassociateUserCommand(input); * const response = await client.send(command); * // { // DisassociateUserResponse * // InstanceUserSummary: { // InstanceUserSummary * // Username: "STRING_VALUE", // required * // InstanceId: "STRING_VALUE", // required * // IdentityProvider: { // IdentityProvider Union: only one key present * // ActiveDirectoryIdentityProvider: { // ActiveDirectoryIdentityProvider * // DirectoryId: "STRING_VALUE", * // ActiveDirectorySettings: { // ActiveDirectorySettings * // DomainName: "STRING_VALUE", * // DomainIpv4List: [ // IpV4List * // "STRING_VALUE", * // ], * // DomainIpv6List: [ // IpV6List * // "STRING_VALUE", * // ], * // DomainCredentialsProvider: { // CredentialsProvider Union: only one key present * // SecretsManagerCredentialsProvider: { // SecretsManagerCredentialsProvider * // SecretId: "STRING_VALUE", * // }, * // }, * // DomainNetworkSettings: { // DomainNetworkSettings * // Subnets: [ // Subnets // required * // "STRING_VALUE", * // ], * // }, * // }, * // ActiveDirectoryType: "STRING_VALUE", * // IsSharedActiveDirectory: true || false, * // }, * // }, * // Status: "STRING_VALUE", // required * // InstanceUserArn: "STRING_VALUE", * // StatusMessage: "STRING_VALUE", * // Domain: "STRING_VALUE", * // AssociationDate: "STRING_VALUE", * // DisassociationDate: "STRING_VALUE", * // }, * // }; * * ``` * * @param DisassociateUserCommandInput - {@link DisassociateUserCommandInput} * @returns {@link DisassociateUserCommandOutput} * @see {@link DisassociateUserCommandInput} for command's `input` shape. * @see {@link DisassociateUserCommandOutput} for command's `response` shape. * @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient access to perform this action.

* * @throws {@link ConflictException} (server fault) *

The request couldn't be completed because it conflicted with the current state of the resource.

* * @throws {@link InternalServerException} (server fault) *

An exception occurred with the service.

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

The resource couldn't be found.

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

The request failed because a service quota is exceeded.

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

The request was denied because of request throttling. Retry the request.

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

A parameter is not valid.

* * @throws {@link LicenseManagerUserSubscriptionsServiceException} *

Base exception class for all service exceptions from LicenseManagerUserSubscriptions service.

* * * @public */ export declare class DisassociateUserCommand extends DisassociateUserCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DisassociateUserRequest; output: DisassociateUserResponse; }; sdk: { input: DisassociateUserCommandInput; output: DisassociateUserCommandOutput; }; }; }