import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteIntegrationMessage, Integration } from "../models/models_0"; import type { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteIntegrationCommand}. */ export interface DeleteIntegrationCommandInput extends DeleteIntegrationMessage { } /** * @public * * The output of {@link DeleteIntegrationCommand}. */ export interface DeleteIntegrationCommandOutput extends Integration, __MetadataBearer { } declare const DeleteIntegrationCommand_base: { new (input: DeleteIntegrationCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteIntegrationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Deletes a zero-ETL integration with Amazon Redshift.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, DeleteIntegrationCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, DeleteIntegrationCommand } = 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 = { // DeleteIntegrationMessage * IntegrationIdentifier: "STRING_VALUE", // required * }; * const command = new DeleteIntegrationCommand(input); * const response = await client.send(command); * // { // Integration * // SourceArn: "STRING_VALUE", * // TargetArn: "STRING_VALUE", * // IntegrationName: "STRING_VALUE", * // IntegrationArn: "STRING_VALUE", * // KMSKeyId: "STRING_VALUE", * // AdditionalEncryptionContext: { // EncryptionContextMap * // "": "STRING_VALUE", * // }, * // Status: "creating" || "active" || "modifying" || "failed" || "deleting" || "syncing" || "needs_attention", * // Tags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // DataFilter: "STRING_VALUE", * // Description: "STRING_VALUE", * // CreateTime: new Date("TIMESTAMP"), * // Errors: [ // IntegrationErrorList * // { // IntegrationError * // ErrorCode: "STRING_VALUE", // required * // ErrorMessage: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param DeleteIntegrationCommandInput - {@link DeleteIntegrationCommandInput} * @returns {@link DeleteIntegrationCommandOutput} * @see {@link DeleteIntegrationCommandInput} for command's `input` shape. * @see {@link DeleteIntegrationCommandOutput} for command's `response` shape. * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. * * @throws {@link IntegrationConflictOperationFault} (client fault) *

A conflicting conditional operation is currently in progress against this resource. Typically occurs when there are multiple requests being made to the same resource at the same time, and these requests conflict with each other.

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

The specified integration could not be found.

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

The integration is in an invalid state and can't perform the requested operation.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* * * @example To delete a zero-ETL integration * ```javascript * // The following example deletes a zero-ETL integration with Amazon Redshift. * const input = { * IntegrationIdentifier: "5b9f3d79-7392-4a3e-896c-58eaa1b53231" * }; * const command = new DeleteIntegrationCommand(input); * const response = await client.send(command); * /* response is * { * CreateTime: "2023-12-28T17:20:20.629Z", * IntegrationArn: "arn:aws:rds:us-east-1:123456789012:integration:5b9f3d79-7392-4a3e-896c-58eaa1b53231", * IntegrationName: "my-integration", * KMSKeyId: "arn:aws:kms:us-east-1:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa", * SourceArn: "arn:aws:rds:us-east-1:123456789012:cluster:my-cluster", * Status: "deleting", * Tags: [], * TargetArn: "arn:aws:redshift-serverless:us-east-1:123456789012:namespace/62c70612-0302-4db7-8414-b5e3e049f0d8" * } * *\/ * ``` * * @public */ export declare class DeleteIntegrationCommand extends DeleteIntegrationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteIntegrationMessage; output: Integration; }; sdk: { input: DeleteIntegrationCommandInput; output: DeleteIntegrationCommandOutput; }; }; }