import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListGatewaysInput, ListGatewaysOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListGatewaysCommand}. */ export interface ListGatewaysCommandInput extends ListGatewaysInput { } /** * @public * * The output of {@link ListGatewaysCommand}. */ export interface ListGatewaysCommandOutput extends ListGatewaysOutput, __MetadataBearer { } declare const ListGatewaysCommand_base: { new (input: ListGatewaysCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListGatewaysCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists backup gateways owned by an Amazon Web Services account in an Amazon Web Services Region. The returned list is ordered by gateway Amazon Resource Name (ARN).

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupGatewayClient, ListGatewaysCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import * // const { BackupGatewayClient, ListGatewaysCommand } = 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 = { // ListGatewaysInput * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListGatewaysCommand(input); * const response = await client.send(command); * // { // ListGatewaysOutput * // Gateways: [ // Gateways * // { // Gateway * // GatewayArn: "STRING_VALUE", * // GatewayDisplayName: "STRING_VALUE", * // GatewayType: "STRING_VALUE", * // HypervisorId: "STRING_VALUE", * // LastSeenTime: new Date("TIMESTAMP"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListGatewaysCommandInput - {@link ListGatewaysCommandInput} * @returns {@link ListGatewaysCommandOutput} * @see {@link ListGatewaysCommandInput} for command's `input` shape. * @see {@link ListGatewaysCommandOutput} 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 ListGatewaysCommand extends ListGatewaysCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListGatewaysInput; output: ListGatewaysOutput; }; sdk: { input: ListGatewaysCommandInput; output: ListGatewaysCommandOutput; }; }; }