import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StartGatewayInput, StartGatewayOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StartGatewayCommand}. */ export interface StartGatewayCommandInput extends StartGatewayInput { } /** * @public * * The output of {@link StartGatewayCommand}. */ export interface StartGatewayCommandOutput extends StartGatewayOutput, __MetadataBearer { } declare const StartGatewayCommand_base: { new (input: StartGatewayCommandInput): import("@smithy/core/client").CommandImpl; new (input: StartGatewayCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Starts a gateway that you previously shut down (see ShutdownGateway). * After the gateway starts, you can then make other API calls, your applications can read * from or write to the gateway's storage volumes and you will be able to take snapshot * backups.

* *

When you make a request, you will get a 200 OK success response immediately. However, * it might take some time for the gateway to be ready. You should call DescribeGatewayInformation and check the status before making any * additional API calls. For more information, see ActivateGateway.

*
*

To specify which gateway to start, use the Amazon Resource Name (ARN) of the gateway in * your request.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, StartGatewayCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, StartGatewayCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import * // import type { StorageGatewayClientConfig } from "@aws-sdk/client-storage-gateway"; * const config = {}; // type is StorageGatewayClientConfig * const client = new StorageGatewayClient(config); * const input = { // StartGatewayInput * GatewayARN: "STRING_VALUE", // required * }; * const command = new StartGatewayCommand(input); * const response = await client.send(command); * // { // StartGatewayOutput * // GatewayARN: "STRING_VALUE", * // }; * * ``` * * @param StartGatewayCommandInput - {@link StartGatewayCommandInput} * @returns {@link StartGatewayCommandOutput} * @see {@link StartGatewayCommandInput} for command's `input` shape. * @see {@link StartGatewayCommandOutput} for command's `response` shape. * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An internal server error has occurred during the request. For more information, see the * error and message fields.

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

An exception occurred because an invalid gateway request was issued to the service. For * more information, see the error and message fields.

* * @throws {@link StorageGatewayServiceException} *

Base exception class for all service exceptions from StorageGateway service.

* * * @example To start a gateway service * ```javascript * // Starts a gateway service that was previously shut down. * const input = { * GatewayARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B" * }; * const command = new StartGatewayCommand(input); * const response = await client.send(command); * /* response is * { * GatewayARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B" * } * *\/ * ``` * * @public */ export declare class StartGatewayCommand extends StartGatewayCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartGatewayInput; output: StartGatewayOutput; }; sdk: { input: StartGatewayCommandInput; output: StartGatewayCommandOutput; }; }; }