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.
Protected
Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created.
Use a bare-bones client and the command you need to make an API call.
import { Route53ResolverClient, UpdateResolverDnssecConfigCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import// const { Route53ResolverClient, UpdateResolverDnssecConfigCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS importconst client = new Route53ResolverClient(config);const input = { // UpdateResolverDnssecConfigRequest ResourceId: "STRING_VALUE", // required Validation: "ENABLE" || "DISABLE" || "USE_LOCAL_RESOURCE_SETTING", // required};const command = new UpdateResolverDnssecConfigCommand(input);const response = await client.send(command);// { // UpdateResolverDnssecConfigResponse// ResolverDNSSECConfig: { // ResolverDnssecConfig// Id: "STRING_VALUE",// OwnerId: "STRING_VALUE",// ResourceId: "STRING_VALUE",// ValidationStatus: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING_TO_USE_LOCAL_RESOURCE_SETTING" || "USE_LOCAL_RESOURCE_SETTING",// },// };
UpdateResolverDnssecConfigCommandInput
UpdateResolverDnssecConfigCommandOutput
input
response
config
AccessDeniedException (client fault)
The current account doesn't have the IAM permissions required to perform the specified Resolver operation.
InternalServiceErrorException (client fault)
We encountered an unknown error. Try again in a few minutes.
InvalidParameterException (client fault)
One or more parameters in this request are not valid.
InvalidRequestException (client fault)
The request is invalid.
ResourceNotFoundException (client fault)
The specified resource doesn't exist.
ThrottlingException (client fault)
The request was throttled. Try again in a few minutes.
Route53ResolverServiceException
Base exception class for all service exceptions from Route53Resolver service.
Readonly
Static
Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created.
Example
Use a bare-bones client and the command you need to make an API call.
Param
UpdateResolverDnssecConfigCommandInput
Returns
UpdateResolverDnssecConfigCommandOutput
See
input
shape.response
shape.config
shape.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
ResourceNotFoundException (client fault)
The specified resource doesn't exist.
Throws
ThrottlingException (client fault)
The request was throttled. Try again in a few minutes.
Throws
Route53ResolverServiceException
Base exception class for all service exceptions from Route53Resolver service.