deleteTrigger method
Deletes a Trigger from the specified agent space
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter agentSpaceId :
The unique identifier for the agent space containing the Trigger
Parameter triggerId :
The unique identifier of the Trigger to delete
Implementation
Future<void> deleteTrigger({
required String agentSpaceId,
required String triggerId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/trigger/agent-space/${Uri.encodeComponent(agentSpaceId)}/triggers/${Uri.encodeComponent(triggerId)}',
hostPrefix: 'dp.',
exceptionFnMap: _exceptionFns,
);
}