import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListRecoveryGroupsRequest, ListRecoveryGroupsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListRecoveryGroupsCommand}. */ export interface ListRecoveryGroupsCommandInput extends ListRecoveryGroupsRequest { } /** * @public * * The output of {@link ListRecoveryGroupsCommand}. */ export interface ListRecoveryGroupsCommandOutput extends ListRecoveryGroupsResponse, __MetadataBearer { } declare const ListRecoveryGroupsCommand_base: { new (input: ListRecoveryGroupsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListRecoveryGroupsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists the recovery groups in an account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53RecoveryReadinessClient, ListRecoveryGroupsCommand } from "@aws-sdk/client-route53-recovery-readiness"; // ES Modules import * // const { Route53RecoveryReadinessClient, ListRecoveryGroupsCommand } = require("@aws-sdk/client-route53-recovery-readiness"); // CommonJS import * // import type { Route53RecoveryReadinessClientConfig } from "@aws-sdk/client-route53-recovery-readiness"; * const config = {}; // type is Route53RecoveryReadinessClientConfig * const client = new Route53RecoveryReadinessClient(config); * const input = { // ListRecoveryGroupsRequest * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListRecoveryGroupsCommand(input); * const response = await client.send(command); * // { // ListRecoveryGroupsResponse * // NextToken: "STRING_VALUE", * // RecoveryGroups: [ // __listOfRecoveryGroupOutput * // { // RecoveryGroupOutput * // Cells: [ // __listOf__string // required * // "STRING_VALUE", * // ], * // RecoveryGroupArn: "STRING_VALUE", // required * // RecoveryGroupName: "STRING_VALUE", // required * // Tags: { // Tags * // "": "STRING_VALUE", * // }, * // }, * // ], * // }; * * ``` * * @param ListRecoveryGroupsCommandInput - {@link ListRecoveryGroupsCommandInput} * @returns {@link ListRecoveryGroupsCommandOutput} * @see {@link ListRecoveryGroupsCommandInput} for command's `input` shape. * @see {@link ListRecoveryGroupsCommandOutput} for command's `response` shape. * @see {@link Route53RecoveryReadinessClientResolvedConfig | config} for Route53RecoveryReadinessClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) * User does not have sufficient access to perform this action. * * @throws {@link InternalServerException} (server fault) * An unexpected error occurred. * * @throws {@link ThrottlingException} (client fault) * Request was denied due to request throttling. * * @throws {@link ValidationException} (client fault) * The input fails to satisfy the constraints specified by an AWS service. * * @throws {@link Route53RecoveryReadinessServiceException} *

Base exception class for all service exceptions from Route53RecoveryReadiness service.

* * * @public */ export declare class ListRecoveryGroupsCommand extends ListRecoveryGroupsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListRecoveryGroupsRequest; output: ListRecoveryGroupsResponse; }; sdk: { input: ListRecoveryGroupsCommandInput; output: ListRecoveryGroupsCommandOutput; }; }; }