deleteEventStream method
Disables and deletes the specified event stream.
May throw AccessDeniedException.
May throw BadRequestException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter domainName :
The unique name of the domain.
Parameter eventStreamName :
The name of the event stream
Implementation
Future<void> deleteEventStream({
required String domainName,
required String eventStreamName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/domains/${Uri.encodeComponent(domainName)}/event-streams/${Uri.encodeComponent(eventStreamName)}',
exceptionFnMap: _exceptionFns,
);
}