Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Class UpdateResolverConfigCommandProtected

Updates the behavior configuration of RouteĀ 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.

Example

Use a bare-bones client and the command you need to make an API call.

import { Route53ResolverClient, UpdateResolverConfigCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
// const { Route53ResolverClient, UpdateResolverConfigCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
const client = new Route53ResolverClient(config);
const input = { // UpdateResolverConfigRequest
ResourceId: "STRING_VALUE", // required
AutodefinedReverseFlag: "ENABLE" || "DISABLE" || "USE_LOCAL_RESOURCE_SETTING", // required
};
const command = new UpdateResolverConfigCommand(input);
const response = await client.send(command);
// { // UpdateResolverConfigResponse
// ResolverConfig: { // ResolverConfig
// Id: "STRING_VALUE",
// ResourceId: "STRING_VALUE",
// OwnerId: "STRING_VALUE",
// AutodefinedReverse: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING_TO_USE_LOCAL_RESOURCE_SETTING" || "USE_LOCAL_RESOURCE_SETTING",
// },
// };

Param

UpdateResolverConfigCommandInput

Returns

UpdateResolverConfigCommandOutput

See

Throws

AccessDeniedException (client fault)

The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

Throws

InternalServiceErrorException (client fault)

We encountered an unknown error. Try again in a few minutes.

Throws

InvalidParameterException (client fault)

One or more parameters in this request are not valid.

Throws

InvalidRequestException (client fault)

The request is invalid.

Throws

LimitExceededException (client fault)

The request caused one or more limits to be exceeded.

Throws

ResourceNotFoundException (client fault)

The specified resource doesn't exist.

Throws

ResourceUnavailableException (client fault)

The specified resource isn't available.

Throws

ThrottlingException (client fault)

The request was throttled. Try again in a few minutes.

Throws

ValidationException (client fault)

You have provided an invalid command. Supported values are ADD, REMOVE, or REPLACE a domain.

Throws

Route53ResolverServiceException

Base exception class for all service exceptions from Route53Resolver service.

Hierarchy

Constructors

Properties

Methods