Skip to content

Put Events

cloudwatchevents_put_events R Documentation

Sends custom events to Amazon EventBridge so that they can be matched to rules

Description

Sends custom events to Amazon EventBridge so that they can be matched to rules.

Usage

cloudwatchevents_put_events(Entries)

Arguments

Entries

[required] The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.

Value

A list with the following syntax:

list(
  FailedEntryCount = 123,
  Entries = list(
    list(
      EventId = "string",
      ErrorCode = "string",
      ErrorMessage = "string"
    )
  )
)

Request syntax

svc$put_events(
  Entries = list(
    list(
      Time = as.POSIXct(
        "2015-01-01"
      ),
      Source = "string",
      Resources = list(
        "string"
      ),
      DetailType = "string",
      Detail = "string",
      EventBusName = "string",
      TraceHeader = "string"
    )
  )
)