getEventBridgeRuleTemplate method
Future<GetEventBridgeRuleTemplateResponse>
getEventBridgeRuleTemplate({
- required String identifier,
Retrieves the specified eventbridge rule template.
May throw BadRequestException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter identifier :
An eventbridge rule template's identifier. Can be either be its id or
current name.
Implementation
Future<GetEventBridgeRuleTemplateResponse> getEventBridgeRuleTemplate({
required String identifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/prod/eventbridge-rule-templates/${Uri.encodeComponent(identifier)}',
exceptionFnMap: _exceptionFns,
);
return GetEventBridgeRuleTemplateResponse.fromJson(response);
}