import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeregisterTransitGatewayRequest, DeregisterTransitGatewayResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeregisterTransitGatewayCommand}. */ export interface DeregisterTransitGatewayCommandInput extends DeregisterTransitGatewayRequest { } /** * @public * * The output of {@link DeregisterTransitGatewayCommand}. */ export interface DeregisterTransitGatewayCommandOutput extends DeregisterTransitGatewayResponse, __MetadataBearer { } declare const DeregisterTransitGatewayCommand_base: { new (input: DeregisterTransitGatewayCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeregisterTransitGatewayCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deregisters a transit gateway from your global network. This action does not delete * your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { NetworkManagerClient, DeregisterTransitGatewayCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import * // const { NetworkManagerClient, DeregisterTransitGatewayCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import * // import type { NetworkManagerClientConfig } from "@aws-sdk/client-networkmanager"; * const config = {}; // type is NetworkManagerClientConfig * const client = new NetworkManagerClient(config); * const input = { // DeregisterTransitGatewayRequest * GlobalNetworkId: "STRING_VALUE", // required * TransitGatewayArn: "STRING_VALUE", // required * }; * const command = new DeregisterTransitGatewayCommand(input); * const response = await client.send(command); * // { // DeregisterTransitGatewayResponse * // TransitGatewayRegistration: { // TransitGatewayRegistration * // GlobalNetworkId: "STRING_VALUE", * // TransitGatewayArn: "STRING_VALUE", * // State: { // TransitGatewayRegistrationStateReason * // Code: "PENDING" || "AVAILABLE" || "DELETING" || "DELETED" || "FAILED", * // Message: "STRING_VALUE", * // }, * // }, * // }; * * ``` * * @param DeregisterTransitGatewayCommandInput - {@link DeregisterTransitGatewayCommandInput} * @returns {@link DeregisterTransitGatewayCommandOutput} * @see {@link DeregisterTransitGatewayCommandInput} for command's `input` shape. * @see {@link DeregisterTransitGatewayCommandOutput} for command's `response` shape. * @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

There was a conflict processing the request. Updating or deleting the resource can * cause an inconsistent state.

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

The request has failed due to an internal error.

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

The specified resource could not be found.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints.

* * @throws {@link NetworkManagerServiceException} *

Base exception class for all service exceptions from NetworkManager service.

* * * @public */ export declare class DeregisterTransitGatewayCommand extends DeregisterTransitGatewayCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeregisterTransitGatewayRequest; output: DeregisterTransitGatewayResponse; }; sdk: { input: DeregisterTransitGatewayCommandInput; output: DeregisterTransitGatewayCommandOutput; }; }; }