import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateGatewayInput, CreateGatewayOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateGatewayCommand}. */ export interface CreateGatewayCommandInput extends CreateGatewayInput { } /** * @public * * The output of {@link CreateGatewayCommand}. */ export interface CreateGatewayCommandOutput extends CreateGatewayOutput, __MetadataBearer { } declare const CreateGatewayCommand_base: { new (input: CreateGatewayCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateGatewayCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a backup gateway. After you create a gateway, you can associate it with a server using the AssociateGatewayToServer operation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupGatewayClient, CreateGatewayCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import * // const { BackupGatewayClient, CreateGatewayCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import * // import type { BackupGatewayClientConfig } from "@aws-sdk/client-backup-gateway"; * const config = {}; // type is BackupGatewayClientConfig * const client = new BackupGatewayClient(config); * const input = { // CreateGatewayInput * ActivationKey: "STRING_VALUE", // required * GatewayDisplayName: "STRING_VALUE", // required * GatewayType: "STRING_VALUE", // required * Tags: [ // Tags * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * }; * const command = new CreateGatewayCommand(input); * const response = await client.send(command); * // { // CreateGatewayOutput * // GatewayArn: "STRING_VALUE", * // }; * * ``` * * @param CreateGatewayCommandInput - {@link CreateGatewayCommandInput} * @returns {@link CreateGatewayCommandOutput} * @see {@link CreateGatewayCommandInput} for command's `input` shape. * @see {@link CreateGatewayCommandOutput} for command's `response` shape. * @see {@link BackupGatewayClientResolvedConfig | config} for BackupGatewayClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

The operation did not succeed because an internal error occurred. Try again later.

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

TPS has been limited to protect against intentional or unintentional high request volumes.

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

The operation did not succeed because a validation error occurred.

* * @throws {@link BackupGatewayServiceException} *

Base exception class for all service exceptions from BackupGateway service.

* * * @public */ export declare class CreateGatewayCommand extends CreateGatewayCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateGatewayInput; output: CreateGatewayOutput; }; sdk: { input: CreateGatewayCommandInput; output: CreateGatewayCommandOutput; }; }; }