import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteIntegrationMessage, Integration } from "../models/models_0"; import type { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; /** * @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/smithy-client").CommandImpl; new (input: DeleteIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes a zero-ETL integration or S3 event integration with Amazon Redshift.

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

A conflicting conditional operation is currently in progress against this resource. * This 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 IntegrationConflictStateFault} (client fault) *

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

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

The integration can't be found.

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

The requested operation isn't supported.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @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; }; }; }