deleteDataIntegration method

Future<void> deleteDataIntegration({
  1. required String dataIntegrationIdentifier,
})

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.

May throw AccessDeniedException. May throw InternalServiceError. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter dataIntegrationIdentifier : A unique identifier for the DataIntegration.

Implementation

Future<void> deleteDataIntegration({
  required String dataIntegrationIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/dataIntegrations/${Uri.encodeComponent(dataIntegrationIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
}