deleteEventBridgeRuleTemplate method

Future<void> deleteEventBridgeRuleTemplate({
  1. required String identifier,
})

Deletes an eventbridge rule template.

May throw BadRequestException. May throw ConflictException. 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<void> deleteEventBridgeRuleTemplate({
  required String identifier,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/prod/eventbridge-rule-templates/${Uri.encodeComponent(identifier)}',
    exceptionFnMap: _exceptionFns,
  );
}