DeleteDataIntegrationCommand

Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role.

You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration  API.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { AppIntegrationsClient, DeleteDataIntegrationCommand } from "@aws-sdk/client-appintegrations"; // ES Modules import
// const { AppIntegrationsClient, DeleteDataIntegrationCommand } = require("@aws-sdk/client-appintegrations"); // CommonJS import
const client = new AppIntegrationsClient(config);
const input = { // DeleteDataIntegrationRequest
  DataIntegrationIdentifier: "STRING_VALUE", // required
};
const command = new DeleteDataIntegrationCommand(input);
const response = await client.send(command);
// {};

DeleteDataIntegrationCommand Input

Parameter
Type
Description
DataIntegrationIdentifier
Required
string | undefined

A unique identifier for the DataIntegration.

DeleteDataIntegrationCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.

Throws

Name
Fault
Details
AccessDeniedException
client

You do not have sufficient access to perform this action.

InternalServiceError
server

Request processing failed due to an error or failure with the service.

InvalidRequestException
client

The request is not valid.

ResourceNotFoundException
client

The specified resource was not found.

ThrottlingException
client

The throttling limit has been exceeded.

AppIntegrationsServiceException
Base exception class for all service exceptions from AppIntegrations service.