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