import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient"; import type { DeleteReplicationConfigMessage, DeleteReplicationConfigResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteReplicationConfigCommand}. */ export interface DeleteReplicationConfigCommandInput extends DeleteReplicationConfigMessage { } /** * @public * * The output of {@link DeleteReplicationConfigCommand}. */ export interface DeleteReplicationConfigCommandOutput extends DeleteReplicationConfigResponse, __MetadataBearer { } declare const DeleteReplicationConfigCommand_base: { new (input: DeleteReplicationConfigCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteReplicationConfigCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes an DMS Serverless replication configuration. This effectively deprovisions any * and all replications that use this configuration. You can't delete the configuration for an * DMS Serverless replication that is ongoing. You can delete the configuration when the * replication is in a non-RUNNING and non-STARTING state.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, DeleteReplicationConfigCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, DeleteReplicationConfigCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import * // import type { DatabaseMigrationServiceClientConfig } from "@aws-sdk/client-database-migration-service"; * const config = {}; // type is DatabaseMigrationServiceClientConfig * const client = new DatabaseMigrationServiceClient(config); * const input = { // DeleteReplicationConfigMessage * ReplicationConfigArn: "STRING_VALUE", // required * }; * const command = new DeleteReplicationConfigCommand(input); * const response = await client.send(command); * // { // DeleteReplicationConfigResponse * // ReplicationConfig: { // ReplicationConfig * // ReplicationConfigIdentifier: "STRING_VALUE", * // ReplicationConfigArn: "STRING_VALUE", * // SourceEndpointArn: "STRING_VALUE", * // TargetEndpointArn: "STRING_VALUE", * // ReplicationType: "full-load" || "cdc" || "full-load-and-cdc", * // ComputeConfig: { // ComputeConfig * // AvailabilityZone: "STRING_VALUE", * // DnsNameServers: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // MaxCapacityUnits: Number("int"), * // MinCapacityUnits: Number("int"), * // MultiAZ: true || false, * // PreferredMaintenanceWindow: "STRING_VALUE", * // ReplicationSubnetGroupId: "STRING_VALUE", * // VpcSecurityGroupIds: [ // StringList * // "STRING_VALUE", * // ], * // }, * // ReplicationSettings: "STRING_VALUE", * // SupplementalSettings: "STRING_VALUE", * // TableMappings: "STRING_VALUE", * // ReplicationConfigCreateTime: new Date("TIMESTAMP"), * // ReplicationConfigUpdateTime: new Date("TIMESTAMP"), * // IsReadOnly: true || false, * // }, * // }; * * ``` * * @param DeleteReplicationConfigCommandInput - {@link DeleteReplicationConfigCommandInput} * @returns {@link DeleteReplicationConfigCommandOutput} * @see {@link DeleteReplicationConfigCommandInput} for command's `input` shape. * @see {@link DeleteReplicationConfigCommandOutput} for command's `response` shape. * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape. * * @throws {@link AccessDeniedFault} (client fault) *

DMS was denied access to the endpoint. Check that the * role is correctly configured.

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

The resource is in a state that prevents it from being used for database migration.

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

The resource could not be found.

* * @throws {@link DatabaseMigrationServiceServiceException} *

Base exception class for all service exceptions from DatabaseMigrationService service.

* * * @public */ export declare class DeleteReplicationConfigCommand extends DeleteReplicationConfigCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteReplicationConfigMessage; output: DeleteReplicationConfigResponse; }; sdk: { input: DeleteReplicationConfigCommandInput; output: DeleteReplicationConfigCommandOutput; }; }; }