import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import type { DeleteTransitGatewayRequest, DeleteTransitGatewayResult } from "../models/models_3"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteTransitGatewayCommand}. */ export interface DeleteTransitGatewayCommandInput extends DeleteTransitGatewayRequest { } /** * @public * * The output of {@link DeleteTransitGatewayCommand}. */ export interface DeleteTransitGatewayCommandOutput extends DeleteTransitGatewayResult, __MetadataBearer { } declare const DeleteTransitGatewayCommand_base: { new (input: DeleteTransitGatewayCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteTransitGatewayCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes the specified transit gateway.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, DeleteTransitGatewayCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, DeleteTransitGatewayCommand } = require("@aws-sdk/client-ec2"); // CommonJS import * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2"; * const config = {}; // type is EC2ClientConfig * const client = new EC2Client(config); * const input = { // DeleteTransitGatewayRequest * TransitGatewayId: "STRING_VALUE", // required * DryRun: true || false, * }; * const command = new DeleteTransitGatewayCommand(input); * const response = await client.send(command); * // { // DeleteTransitGatewayResult * // TransitGateway: { // TransitGateway * // TransitGatewayId: "STRING_VALUE", * // TransitGatewayArn: "STRING_VALUE", * // State: "pending" || "available" || "modifying" || "deleting" || "deleted", * // OwnerId: "STRING_VALUE", * // Description: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // Options: { // TransitGatewayOptions * // AmazonSideAsn: Number("long"), * // TransitGatewayCidrBlocks: [ // ValueStringList * // "STRING_VALUE", * // ], * // AutoAcceptSharedAttachments: "enable" || "disable", * // DefaultRouteTableAssociation: "enable" || "disable", * // AssociationDefaultRouteTableId: "STRING_VALUE", * // DefaultRouteTablePropagation: "enable" || "disable", * // PropagationDefaultRouteTableId: "STRING_VALUE", * // VpnEcmpSupport: "enable" || "disable", * // DnsSupport: "enable" || "disable", * // SecurityGroupReferencingSupport: "enable" || "disable", * // MulticastSupport: "enable" || "disable", * // EncryptionSupport: { // EncryptionSupport * // EncryptionState: "enabling" || "enabled" || "disabling" || "disabled", * // StateMessage: "STRING_VALUE", * // }, * // }, * // Tags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // }, * // }; * * ``` * * @param DeleteTransitGatewayCommandInput - {@link DeleteTransitGatewayCommandInput} * @returns {@link DeleteTransitGatewayCommandOutput} * @see {@link DeleteTransitGatewayCommandInput} for command's `input` shape. * @see {@link DeleteTransitGatewayCommandOutput} for command's `response` shape. * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. * * @throws {@link EC2ServiceException} *

Base exception class for all service exceptions from EC2 service.

* * * @public */ export declare class DeleteTransitGatewayCommand extends DeleteTransitGatewayCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteTransitGatewayRequest; output: DeleteTransitGatewayResult; }; sdk: { input: DeleteTransitGatewayCommandInput; output: DeleteTransitGatewayCommandOutput; }; }; }