import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListResourceSetsRequest, ListResourceSetsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListResourceSetsCommand}. */ export interface ListResourceSetsCommandInput extends ListResourceSetsRequest { } /** * @public * * The output of {@link ListResourceSetsCommand}. */ export interface ListResourceSetsCommandOutput extends ListResourceSetsResponse, __MetadataBearer { } declare const ListResourceSetsCommand_base: { new (input: ListResourceSetsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListResourceSetsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists the resource sets in an account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53RecoveryReadinessClient, ListResourceSetsCommand } from "@aws-sdk/client-route53-recovery-readiness"; // ES Modules import * // const { Route53RecoveryReadinessClient, ListResourceSetsCommand } = 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 = { // ListResourceSetsRequest * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListResourceSetsCommand(input); * const response = await client.send(command); * // { // ListResourceSetsResponse * // NextToken: "STRING_VALUE", * // ResourceSets: [ // __listOfResourceSetOutput * // { // ResourceSetOutput * // ResourceSetArn: "STRING_VALUE", // required * // ResourceSetName: "STRING_VALUE", // required * // ResourceSetType: "STRING_VALUE", // required * // Resources: [ // __listOfResource // required * // { // Resource * // ComponentId: "STRING_VALUE", * // DnsTargetResource: { // DNSTargetResource * // DomainName: "STRING_VALUE", * // HostedZoneArn: "STRING_VALUE", * // RecordSetId: "STRING_VALUE", * // RecordType: "STRING_VALUE", * // TargetResource: { // TargetResource * // NLBResource: { // NLBResource * // Arn: "STRING_VALUE", * // }, * // R53Resource: { // R53ResourceRecord * // DomainName: "STRING_VALUE", * // RecordSetId: "STRING_VALUE", * // }, * // }, * // }, * // ReadinessScopes: [ // __listOf__string * // "STRING_VALUE", * // ], * // ResourceArn: "STRING_VALUE", * // }, * // ], * // Tags: { // Tags * // "": "STRING_VALUE", * // }, * // }, * // ], * // }; * * ``` * * @param ListResourceSetsCommandInput - {@link ListResourceSetsCommandInput} * @returns {@link ListResourceSetsCommandOutput} * @see {@link ListResourceSetsCommandInput} for command's `input` shape. * @see {@link ListResourceSetsCommandOutput} 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 ListResourceSetsCommand extends ListResourceSetsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListResourceSetsRequest; output: ListResourceSetsResponse; }; sdk: { input: ListResourceSetsCommandInput; output: ListResourceSetsCommandOutput; }; }; }