import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StartAvailabilityMonitorTestInput, StartAvailabilityMonitorTestOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StartAvailabilityMonitorTestCommand}. */ export interface StartAvailabilityMonitorTestCommandInput extends StartAvailabilityMonitorTestInput { } /** * @public * * The output of {@link StartAvailabilityMonitorTestCommand}. */ export interface StartAvailabilityMonitorTestCommandOutput extends StartAvailabilityMonitorTestOutput, __MetadataBearer { } declare const StartAvailabilityMonitorTestCommand_base: { new (input: StartAvailabilityMonitorTestCommandInput): import("@smithy/core/client").CommandImpl; new (input: StartAvailabilityMonitorTestCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Start a test that verifies that the specified gateway is configured for High * Availability monitoring in your host environment. This request only initiates the test and * that a successful response only indicates that the test was started. It doesn't * indicate that the test passed. For the status of the test, invoke the * DescribeAvailabilityMonitorTest API.

* *

Starting this test will cause your gateway to go offline for a brief period.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, StartAvailabilityMonitorTestCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, StartAvailabilityMonitorTestCommand } = 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 = { // StartAvailabilityMonitorTestInput * GatewayARN: "STRING_VALUE", // required * }; * const command = new StartAvailabilityMonitorTestCommand(input); * const response = await client.send(command); * // { // StartAvailabilityMonitorTestOutput * // GatewayARN: "STRING_VALUE", * // }; * * ``` * * @param StartAvailabilityMonitorTestCommandInput - {@link StartAvailabilityMonitorTestCommandInput} * @returns {@link StartAvailabilityMonitorTestCommandOutput} * @see {@link StartAvailabilityMonitorTestCommandInput} for command's `input` shape. * @see {@link StartAvailabilityMonitorTestCommandOutput} 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.

* * * @public */ export declare class StartAvailabilityMonitorTestCommand extends StartAvailabilityMonitorTestCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartAvailabilityMonitorTestInput; output: StartAvailabilityMonitorTestOutput; }; sdk: { input: StartAvailabilityMonitorTestCommandInput; output: StartAvailabilityMonitorTestCommandOutput; }; }; }