Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class ActivateKeySigningKeyCommandProtected

Activates a key-signing key (KSK) so that it can be used for signing by DNSSEC. This operation changes the KSK status to ACTIVE.

Example

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

import { Route53Client, ActivateKeySigningKeyCommand } from "@aws-sdk/client-route-53"; // ES Modules import
// const { Route53Client, ActivateKeySigningKeyCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
const client = new Route53Client(config);
const input = { // ActivateKeySigningKeyRequest
HostedZoneId: "STRING_VALUE", // required
Name: "STRING_VALUE", // required
};
const command = new ActivateKeySigningKeyCommand(input);
const response = await client.send(command);
// { // ActivateKeySigningKeyResponse
// ChangeInfo: { // ChangeInfo
// Id: "STRING_VALUE", // required
// Status: "PENDING" || "INSYNC", // required
// SubmittedAt: new Date("TIMESTAMP"), // required
// Comment: "STRING_VALUE",
// },
// };

Param

ActivateKeySigningKeyCommandInput

Returns

ActivateKeySigningKeyCommandOutput

See

Throws

ConcurrentModification (client fault)

Another user submitted a request to create, update, or delete the object at the same time that you did. Retry the request.

Throws

InvalidInput (client fault)

The input is not valid.

Throws

InvalidKeySigningKeyStatus (client fault)

The key-signing key (KSK) status isn't valid or another KSK has the status INTERNAL_FAILURE.

Throws

InvalidKMSArn (client fault)

The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC signing.

Throws

InvalidSigningStatus (client fault)

Your hosted zone status isn't valid for this operation. In the hosted zone, change the status to enable DNSSEC or disable DNSSEC.

Throws

NoSuchKeySigningKey (client fault)

The specified key-signing key (KSK) doesn't exist.

Throws

Route53ServiceException

Base exception class for all service exceptions from Route53 service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods