deleteConnector method

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

Deletes the specified Connector. This operation also deletes any challenges associated with the connector.

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

Parameter connectorArn : The Amazon Resource Name (ARN) of the connector to delete.

Implementation

Future<void> deleteConnector({
  required String connectorArn,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/connectors/${Uri.encodeComponent(connectorArn)}',
    exceptionFnMap: _exceptionFns,
  );
}