Struct aws_sdk_eventbridge::types::PutEventsRequestEntry
source · #[non_exhaustive]pub struct PutEventsRequestEntry { /* private fields */ }
Expand description
Represents an event to be submitted.
Implementations§
source§impl PutEventsRequestEntry
impl PutEventsRequestEntry
sourcepub fn resources(&self) -> Option<&[String]>
pub fn resources(&self) -> Option<&[String]>
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
sourcepub fn detail_type(&self) -> Option<&str>
pub fn detail_type(&self) -> Option<&str>
Free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
sourcepub fn detail(&self) -> Option<&str>
pub fn detail(&self) -> Option<&str>
A valid JSON object. There is no other schema imposed. The JSON object may contain fields and nested subobjects.
sourcepub fn event_bus_name(&self) -> Option<&str>
pub fn event_bus_name(&self) -> Option<&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.
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
.
sourcepub fn trace_header(&self) -> Option<&str>
pub fn trace_header(&self) -> Option<&str>
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.
source§impl PutEventsRequestEntry
impl PutEventsRequestEntry
sourcepub fn builder() -> PutEventsRequestEntryBuilder
pub fn builder() -> PutEventsRequestEntryBuilder
Creates a new builder-style object to manufacture PutEventsRequestEntry
.
Trait Implementations§
source§impl Clone for PutEventsRequestEntry
impl Clone for PutEventsRequestEntry
source§fn clone(&self) -> PutEventsRequestEntry
fn clone(&self) -> PutEventsRequestEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutEventsRequestEntry
impl Debug for PutEventsRequestEntry
source§impl PartialEq<PutEventsRequestEntry> for PutEventsRequestEntry
impl PartialEq<PutEventsRequestEntry> for PutEventsRequestEntry
source§fn eq(&self, other: &PutEventsRequestEntry) -> bool
fn eq(&self, other: &PutEventsRequestEntry) -> bool
self
and other
values to be equal, and is used
by ==
.