deleteIntegration method

Future<void> deleteIntegration({
  1. required String integrationId,
})

Deletes an integration with a third-party provider.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter integrationId : The unique identifier of the integration to delete.

Implementation

Future<void> deleteIntegration({
  required String integrationId,
}) async {
  final $payload = <String, dynamic>{
    'integrationId': integrationId,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/DeleteIntegration',
    exceptionFnMap: _exceptionFns,
  );
}