import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteConnectionAliasRequest, DeleteConnectionAliasResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteConnectionAliasCommand}. */ export interface DeleteConnectionAliasCommandInput extends DeleteConnectionAliasRequest { } /** * @public * * The output of {@link DeleteConnectionAliasCommand}. */ export interface DeleteConnectionAliasCommandOutput extends DeleteConnectionAliasResult, __MetadataBearer { } declare const DeleteConnectionAliasCommand_base: { new (input: DeleteConnectionAliasCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteConnectionAliasCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the specified connection alias. For more information, see * Cross-Region Redirection for Amazon WorkSpaces.

* *

* If you will no longer be using a fully qualified domain name * (FQDN) as the registration code for your WorkSpaces users, you must take certain * precautions to prevent potential security issues. For more information, * see Security Considerations if You Stop Using Cross-Region Redirection.

*
* *

To delete a connection alias that has been shared, the shared account must first * disassociate the connection alias from any directories it has been associated with. Then * you must unshare the connection alias from the account it has been shared with. You can * delete a connection alias only after it is no longer shared with any accounts or * associated with any directories.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WorkSpacesClient, DeleteConnectionAliasCommand } from "@aws-sdk/client-workspaces"; // ES Modules import * // const { WorkSpacesClient, DeleteConnectionAliasCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import * // import type { WorkSpacesClientConfig } from "@aws-sdk/client-workspaces"; * const config = {}; // type is WorkSpacesClientConfig * const client = new WorkSpacesClient(config); * const input = { // DeleteConnectionAliasRequest * AliasId: "STRING_VALUE", // required * }; * const command = new DeleteConnectionAliasCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteConnectionAliasCommandInput - {@link DeleteConnectionAliasCommandInput} * @returns {@link DeleteConnectionAliasCommandOutput} * @see {@link DeleteConnectionAliasCommandInput} for command's `input` shape. * @see {@link DeleteConnectionAliasCommandOutput} for command's `response` shape. * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The user is not authorized to access a resource.

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

One or more parameter values are not valid.

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

The state of the resource is not valid for this operation.

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

This operation is not supported.

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

The resource is associated with a directory.

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

The resource could not be found.

* * @throws {@link WorkSpacesServiceException} *

Base exception class for all service exceptions from WorkSpaces service.

* * * @public */ export declare class DeleteConnectionAliasCommand extends DeleteConnectionAliasCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteConnectionAliasRequest; output: {}; }; sdk: { input: DeleteConnectionAliasCommandInput; output: DeleteConnectionAliasCommandOutput; }; }; }