deleteConnectorDefinition method
Deletes a connector definition.
May throw BadRequestException.
Parameter connectorDefinitionId
:
The ID of the connector definition.
Implementation
Future<void> deleteConnectorDefinition({
required String connectorDefinitionId,
}) async {
ArgumentError.checkNotNull(connectorDefinitionId, 'connectorDefinitionId');
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/greengrass/definition/connectors/${Uri.encodeComponent(connectorDefinitionId)}',
exceptionFnMap: _exceptionFns,
);
}