import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ModifyCertificatesMessage, ModifyCertificatesResult } from "../models/models_1"; import type { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ModifyCertificatesCommand}. */ export interface ModifyCertificatesCommandInput extends ModifyCertificatesMessage { } /** * @public * * The output of {@link ModifyCertificatesCommand}. */ export interface ModifyCertificatesCommandOutput extends ModifyCertificatesResult, __MetadataBearer { } declare const ModifyCertificatesCommand_base: { new (input: ModifyCertificatesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ModifyCertificatesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Override the system-default Secure Sockets Layer/Transport Layer Security (SSL/TLS) certificate for Amazon RDS for new DB instances, or remove the override.

By using this operation, you can specify an RDS-approved SSL/TLS certificate for new DB instances that is different from the default certificate provided by RDS. You can also use this operation to remove the override, so that new DB instances use the default certificate provided by RDS.

You might need to override the default certificate in the following situations:

For more information about rotating your SSL/TLS certificate for RDS DB engines, see Rotating Your SSL/TLS Certificate in the Amazon RDS User Guide.

For more information about rotating your SSL/TLS certificate for Aurora DB engines, see Rotating Your SSL/TLS Certificate in the Amazon Aurora User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, ModifyCertificatesCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, ModifyCertificatesCommand } = require("@aws-sdk/client-rds"); // CommonJS import * // import type { RDSClientConfig } from "@aws-sdk/client-rds"; * const config = {}; // type is RDSClientConfig * const client = new RDSClient(config); * const input = { // ModifyCertificatesMessage * CertificateIdentifier: "STRING_VALUE", * RemoveCustomerOverride: true || false, * }; * const command = new ModifyCertificatesCommand(input); * const response = await client.send(command); * // { // ModifyCertificatesResult * // Certificate: { // Certificate * // CertificateIdentifier: "STRING_VALUE", * // CertificateType: "STRING_VALUE", * // Thumbprint: "STRING_VALUE", * // ValidFrom: new Date("TIMESTAMP"), * // ValidTill: new Date("TIMESTAMP"), * // CertificateArn: "STRING_VALUE", * // CustomerOverride: true || false, * // CustomerOverrideValidTill: new Date("TIMESTAMP"), * // }, * // }; * * ``` * * @param ModifyCertificatesCommandInput - {@link ModifyCertificatesCommandInput} * @returns {@link ModifyCertificatesCommandOutput} * @see {@link ModifyCertificatesCommandInput} for command's `input` shape. * @see {@link ModifyCertificatesCommandOutput} for command's `response` shape. * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. * * @throws {@link CertificateNotFoundFault} (client fault) *

CertificateIdentifier doesn't refer to an existing certificate.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* * * @example To temporarily override the system-default SSL/TLS certificate for new DB instances * ```javascript * // The following example temporarily overrides the system-default SSL/TLS certificate for new DB instances. * const input = { * CertificateIdentifier: "rds-ca-2019" * }; * const command = new ModifyCertificatesCommand(input); * const response = await client.send(command); * /* response is * { * Certificate: { * CertificateArn: "arn:aws:rds:us-east-1::cert:rds-ca-2019", * CertificateIdentifier: "rds-ca-2019", * CertificateType: "CA", * CustomerOverride: true, * CustomerOverrideValidTill: "2024-08-22T17:08:50Z", * Thumbprint: "EXAMPLE123456789012", * ValidFrom: "2019-09-19T18:16:53Z", * ValidTill: "2024-08-22T17:08:50Z" * } * } * *\/ * ``` * * @public */ export declare class ModifyCertificatesCommand extends ModifyCertificatesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyCertificatesMessage; output: ModifyCertificatesResult; }; sdk: { input: ModifyCertificatesCommandInput; output: ModifyCertificatesCommandOutput; }; }; }