import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeactivateKeySigningKeyRequest, DeactivateKeySigningKeyResponse } from "../models/models_0"; import type { Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53Client"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeactivateKeySigningKeyCommand}. */ export interface DeactivateKeySigningKeyCommandInput extends DeactivateKeySigningKeyRequest { } /** * @public * * The output of {@link DeactivateKeySigningKeyCommand}. */ export interface DeactivateKeySigningKeyCommandOutput extends DeactivateKeySigningKeyResponse, __MetadataBearer { } declare const DeactivateKeySigningKeyCommand_base: { new (input: DeactivateKeySigningKeyCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeactivateKeySigningKeyCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deactivates a key-signing key (KSK) so that it will not be used for signing by DNSSEC. * This operation changes the KSK status to INACTIVE.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53Client, DeactivateKeySigningKeyCommand } from "@aws-sdk/client-route-53"; // ES Modules import * // const { Route53Client, DeactivateKeySigningKeyCommand } = require("@aws-sdk/client-route-53"); // CommonJS import * // import type { Route53ClientConfig } from "@aws-sdk/client-route-53"; * const config = {}; // type is Route53ClientConfig * const client = new Route53Client(config); * const input = { // DeactivateKeySigningKeyRequest * HostedZoneId: "STRING_VALUE", // required * Name: "STRING_VALUE", // required * }; * const command = new DeactivateKeySigningKeyCommand(input); * const response = await client.send(command); * // { // DeactivateKeySigningKeyResponse * // ChangeInfo: { // ChangeInfo * // Id: "STRING_VALUE", // required * // Status: "PENDING" || "INSYNC", // required * // SubmittedAt: new Date("TIMESTAMP"), // required * // Comment: "STRING_VALUE", * // }, * // }; * * ``` * * @param DeactivateKeySigningKeyCommandInput - {@link DeactivateKeySigningKeyCommandInput} * @returns {@link DeactivateKeySigningKeyCommandOutput} * @see {@link DeactivateKeySigningKeyCommandInput} for command's `input` shape. * @see {@link DeactivateKeySigningKeyCommandOutput} for command's `response` shape. * @see {@link Route53ClientResolvedConfig | config} for Route53Client's `config` shape. * * @throws {@link 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 {@link InvalidInput} (client fault) *

The input is not valid.

* * @throws {@link InvalidKeySigningKeyStatus} (client fault) *

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

* * @throws {@link 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 {@link KeySigningKeyInParentDSRecord} (client fault) *

The key-signing key (KSK) is specified in a parent DS record.

* * @throws {@link KeySigningKeyInUse} (client fault) *

The key-signing key (KSK) that you specified can't be deactivated because it's the * only KSK for a currently-enabled DNSSEC. Disable DNSSEC signing, or add or enable * another KSK.

* * @throws {@link NoSuchKeySigningKey} (client fault) *

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

* * @throws {@link Route53ServiceException} *

Base exception class for all service exceptions from Route53 service.

* * * @public */ export declare class DeactivateKeySigningKeyCommand extends DeactivateKeySigningKeyCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeactivateKeySigningKeyRequest; output: DeactivateKeySigningKeyResponse; }; sdk: { input: DeactivateKeySigningKeyCommandInput; output: DeactivateKeySigningKeyCommandOutput; }; }; }