import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateResourceSetRequest, UpdateResourceSetResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateResourceSetCommand}. */ export interface UpdateResourceSetCommandInput extends UpdateResourceSetRequest { } /** * @public * * The output of {@link UpdateResourceSetCommand}. */ export interface UpdateResourceSetCommandOutput extends UpdateResourceSetResponse, __MetadataBearer { } declare const UpdateResourceSetCommand_base: { new (input: UpdateResourceSetCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateResourceSetCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates a resource set.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53RecoveryReadinessClient, UpdateResourceSetCommand } from "@aws-sdk/client-route53-recovery-readiness"; // ES Modules import * // const { Route53RecoveryReadinessClient, UpdateResourceSetCommand } = 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 = { // UpdateResourceSetRequest * 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", * }, * ], * }; * const command = new UpdateResourceSetCommand(input); * const response = await client.send(command); * // { // UpdateResourceSetResponse * // 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 UpdateResourceSetCommandInput - {@link UpdateResourceSetCommandInput} * @returns {@link UpdateResourceSetCommandOutput} * @see {@link UpdateResourceSetCommandInput} for command's `input` shape. * @see {@link UpdateResourceSetCommandOutput} 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 ResourceNotFoundException} (client fault) * The requested resource does not exist. * * @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 UpdateResourceSetCommand extends UpdateResourceSetCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateResourceSetRequest; output: UpdateResourceSetResponse; }; sdk: { input: UpdateResourceSetCommandInput; output: UpdateResourceSetCommandOutput; }; }; }