NAME

Paws::CloudWatchEvents::PutEventsRequestEntry

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CloudWatchEvents::PutEventsRequestEntry object:

$service_obj->Method(Att1 => { Detail => $value, ..., TraceHeader => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatchEvents::PutEventsRequestEntry object:

$result = $service_obj->Method(...);
$result->Att1->Detail

DESCRIPTION

Represents an event to be submitted.

ATTRIBUTES

Detail => Str

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

DetailType => Str

Free-form string used to decide what fields to expect in the event detail.

EventBusName => Str

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.

Resources => ArrayRef[Str|Undef]

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

Source => Str

The source of the event.

Time => Str

The time stamp of the event, per RFC3339 (https://www.rfc-editor.org/rfc/rfc3339.txt). If no time stamp is provided, the time stamp of the PutEvents call is used.

TraceHeader => Str

An AWS X-Ray trade 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 (https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader) in the AWS X-Ray Developer Guide.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CloudWatchEvents

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues