deleteIntegration method
Deletes the specified Zero-ETL integration.
May throw AccessDeniedException.
May throw ConflictException.
May throw EntityNotFoundException.
May throw IntegrationConflictOperationFault.
May throw IntegrationNotFoundFault.
May throw InternalServerException.
May throw InternalServiceException.
May throw InvalidInputException.
May throw InvalidIntegrationStateFault.
May throw InvalidStateException.
May throw ValidationException.
Parameter integrationIdentifier :
The Amazon Resource Name (ARN) for the integration.
Implementation
Future<DeleteIntegrationResponse> deleteIntegration({
required String integrationIdentifier,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSGlue.DeleteIntegration'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'IntegrationIdentifier': integrationIdentifier,
},
);
return DeleteIntegrationResponse.fromJson(jsonResponse.body);
}