import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateResourceSetRequest, CreateResourceSetResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateResourceSetCommand}. */ export interface CreateResourceSetCommandInput extends CreateResourceSetRequest { } /** * @public * * The output of {@link CreateResourceSetCommand}. */ export interface CreateResourceSetCommandOutput extends CreateResourceSetResponse, __MetadataBearer { } declare const CreateResourceSetCommand_base: { new (input: CreateResourceSetCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateResourceSetCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a resource set. A resource set is a set of resources of one type that span multiple cells. You can associate a resource set with a readiness check to monitor the resources for failover readiness.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53RecoveryReadinessClient, CreateResourceSetCommand } from "@aws-sdk/client-route53-recovery-readiness"; // ES Modules import * // const { Route53RecoveryReadinessClient, CreateResourceSetCommand } = 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 = { // CreateResourceSetRequest * 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", * }, * }; * const command = new CreateResourceSetCommand(input); * const response = await client.send(command); * // { // CreateResourceSetResponse * // ResourceSetArn: "STRING_VALUE", * // ResourceSetName: "STRING_VALUE", * // ResourceSetType: "STRING_VALUE", * // Resources: [ // __listOfResource * // { // 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 CreateResourceSetCommandInput - {@link CreateResourceSetCommandInput} * @returns {@link CreateResourceSetCommandOutput} * @see {@link CreateResourceSetCommandInput} for command's `input` shape. * @see {@link CreateResourceSetCommandOutput} 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 ConflictException} (client fault) * Updating or deleting a resource can cause an inconsistent state. * * @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 CreateResourceSetCommand extends CreateResourceSetCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateResourceSetRequest; output: CreateResourceSetResponse; }; sdk: { input: CreateResourceSetCommandInput; output: CreateResourceSetCommandOutput; }; }; }