getEventTrigger method
Get a specific Event Trigger from the domain.
May throw AccessDeniedException.
May throw BadRequestException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter domainName :
The unique name of the domain.
Parameter eventTriggerName :
The unique name of the event trigger.
Implementation
Future<GetEventTriggerResponse> getEventTrigger({
required String domainName,
required String eventTriggerName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/domains/${Uri.encodeComponent(domainName)}/event-triggers/${Uri.encodeComponent(eventTriggerName)}',
exceptionFnMap: _exceptionFns,
);
return GetEventTriggerResponse.fromJson(response);
}