deleteConnector method

Future<void> deleteConnector({
  1. required String arn,
})

Deletes the specified connector.

May throw ResourceNotFoundException. May throw ValidationException.

Parameter arn : The Amazon Resource Name (ARN) of the connector that you want to delete.

Implementation

Future<void> deleteConnector({
  required String arn,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'StarlingDoveService.DeleteConnector'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'Arn': arn,
    },
  );
}