import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { RegisterTransitGatewayRequest, RegisterTransitGatewayResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link RegisterTransitGatewayCommand}. */ export interface RegisterTransitGatewayCommandInput extends RegisterTransitGatewayRequest { } /** * @public * * The output of {@link RegisterTransitGatewayCommand}. */ export interface RegisterTransitGatewayCommandOutput extends RegisterTransitGatewayResponse, __MetadataBearer { } declare const RegisterTransitGatewayCommand_base: { new (input: RegisterTransitGatewayCommandInput): import("@smithy/core/client").CommandImpl; new (input: RegisterTransitGatewayCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Registers a transit gateway in your global network. Not all Regions support transit * gateways for global networks. For a list of the supported Regions, see Region Availability in the Amazon Web Services Transit Gateways for Global * Networks User Guide. The transit gateway can be in any of the supported * Amazon Web Services Regions, but it must be owned by the same Amazon Web Services account that owns the global * network. You cannot register a transit gateway in more than one global network.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { NetworkManagerClient, RegisterTransitGatewayCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import * // const { NetworkManagerClient, RegisterTransitGatewayCommand } = 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 = { // RegisterTransitGatewayRequest * GlobalNetworkId: "STRING_VALUE", // required * TransitGatewayArn: "STRING_VALUE", // required * }; * const command = new RegisterTransitGatewayCommand(input); * const response = await client.send(command); * // { // RegisterTransitGatewayResponse * // TransitGatewayRegistration: { // TransitGatewayRegistration * // GlobalNetworkId: "STRING_VALUE", * // TransitGatewayArn: "STRING_VALUE", * // State: { // TransitGatewayRegistrationStateReason * // Code: "PENDING" || "AVAILABLE" || "DELETING" || "DELETED" || "FAILED", * // Message: "STRING_VALUE", * // }, * // }, * // }; * * ``` * * @param RegisterTransitGatewayCommandInput - {@link RegisterTransitGatewayCommandInput} * @returns {@link RegisterTransitGatewayCommandOutput} * @see {@link RegisterTransitGatewayCommandInput} for command's `input` shape. * @see {@link RegisterTransitGatewayCommandOutput} 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 RegisterTransitGatewayCommand extends RegisterTransitGatewayCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RegisterTransitGatewayRequest; output: RegisterTransitGatewayResponse; }; sdk: { input: RegisterTransitGatewayCommandInput; output: RegisterTransitGatewayCommandOutput; }; }; }