import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateCertificateRequest, UpdateCertificateResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateCertificateCommand}. */ export interface UpdateCertificateCommandInput extends UpdateCertificateRequest { } /** * @public * * The output of {@link UpdateCertificateCommand}. */ export interface UpdateCertificateCommandOutput extends UpdateCertificateResponse, __MetadataBearer { } declare const UpdateCertificateCommand_base: { new (input: UpdateCertificateCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateCertificateCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Updates the active and inactive dates for a certificate.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TransferClient, UpdateCertificateCommand } from "@aws-sdk/client-transfer"; // ES Modules import * // const { TransferClient, UpdateCertificateCommand } = require("@aws-sdk/client-transfer"); // CommonJS import * // import type { TransferClientConfig } from "@aws-sdk/client-transfer"; * const config = {}; // type is TransferClientConfig * const client = new TransferClient(config); * const input = { // UpdateCertificateRequest * CertificateId: "STRING_VALUE", // required * ActiveDate: new Date("TIMESTAMP"), * InactiveDate: new Date("TIMESTAMP"), * Description: "STRING_VALUE", * }; * const command = new UpdateCertificateCommand(input); * const response = await client.send(command); * // { // UpdateCertificateResponse * // CertificateId: "STRING_VALUE", // required * // }; * * ``` * * @param UpdateCertificateCommandInput - {@link UpdateCertificateCommandInput} * @returns {@link UpdateCertificateCommandOutput} * @see {@link UpdateCertificateCommandInput} for command's `input` shape. * @see {@link UpdateCertificateCommandOutput} for command's `response` shape. * @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape. * * @throws {@link InternalServiceError} (server fault) *

This exception is thrown when an error occurs in the Transfer Family service.

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

This exception is thrown when the client submits a malformed request.

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

This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.

* * @throws {@link ServiceUnavailableException} (server fault) *

The request has failed because the Amazon Web ServicesTransfer Family service is not available.

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

The request was denied due to request throttling.

* * @throws {@link TransferServiceException} *

Base exception class for all service exceptions from Transfer service.

* * * @public */ export declare class UpdateCertificateCommand extends UpdateCertificateCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateCertificateRequest; output: UpdateCertificateResponse; }; sdk: { input: UpdateCertificateCommandInput; output: UpdateCertificateCommandOutput; }; }; }