Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PutEventsRequestEntry

import type { PutEventsRequestEntry } from "https://aws-api.deno.dev/v0.4/services/eventbridge.ts?docs=full";

Represents an event to be submitted.

interface PutEventsRequestEntry {
Detail?: string | null;
DetailType?: string | null;
EventBusName?: string | null;
Resources?: string[] | null;
Source?: string | null;
Time?: Date | number | null;
TraceHeader?: string | null;
}

§Properties

§
Detail?: string | null
[src]

A valid JSON object. There is no other schema imposed. The JSON object may contain fields and nested subobjects.

§
DetailType?: string | null
[src]

Free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.

§
EventBusName?: string | null
[src]

The name or ARN of the event bus to receive the event. Only the rules that are associated with this event bus are used to match the event. If you omit this, the default event bus is used.

Note: If you're using a global endpoint with a custom bus, you must enter the name, not the ARN, of the event bus in either the primary or secondary Region here and the corresponding event bus in the other Region will be determined based on the endpoint referenced by the EndpointId.

§
Resources?: string[] | null
[src]

Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.

§
Source?: string | null
[src]

The source of the event.

§
Time?: Date | number | null
[src]

The time stamp of the event, per RFC3339. If no time stamp is provided, the time stamp of the PutEvents call is used.

§
TraceHeader?: string | null
[src]

An X-Ray trace header, which is an http header (X-Amzn-Trace-Id) that contains the trace-id associated with the event.

To learn more about X-Ray trace headers, see Tracing header in the X-Ray Developer Guide.