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

Modifies 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, ModifyIntegrationCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, ModifyIntegrationCommand } = 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 = { // ModifyIntegrationMessage * IntegrationIdentifier: "STRING_VALUE", // required * IntegrationName: "STRING_VALUE", * DataFilter: "STRING_VALUE", * Description: "STRING_VALUE", * }; * const command = new ModifyIntegrationCommand(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 ModifyIntegrationCommandInput - {@link ModifyIntegrationCommandInput} * @returns {@link ModifyIntegrationCommandOutput} * @see {@link ModifyIntegrationCommandInput} for command's `input` shape. * @see {@link ModifyIntegrationCommandOutput} 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 modify a zero-ETL integration * ```javascript * // The following example modifies the name of an existing zero-ETL integration. * const input = { * IntegrationIdentifier: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", * IntegrationName: "my-renamed-integration" * }; * const command = new ModifyIntegrationCommand(input); * const response = await client.send(command); * /* response is * { * CreateTime: "2023-12-28T17:20:20.629Z", * DataFilter: "include: *.*", * IntegrationArn: "arn:aws:rds:us-east-1:123456789012:integration:5b9f3d79-7392-4a3e-896c-58eaa1b53231", * IntegrationName: "my-renamed-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: "active", * Tags: [], * TargetArn: "arn:aws:redshift-serverless:us-east-1:123456789012:namespace/62c70612-0302-4db7-8414-b5e3e049f0d8" * } * *\/ * ``` * * @public */ export declare class ModifyIntegrationCommand extends ModifyIntegrationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyIntegrationMessage; output: Integration; }; sdk: { input: ModifyIntegrationCommandInput; output: ModifyIntegrationCommandOutput; }; }; }