Struct aws_sdk_eventbridge::operation::put_events::PutEventsOutput
source · #[non_exhaustive]pub struct PutEventsOutput {
pub failed_entry_count: i32,
pub entries: Option<Vec<PutEventsResultEntry>>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.failed_entry_count: i32The number of failed entries.
entries: Option<Vec<PutEventsResultEntry>>The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.
For each record, the index of the response element is the same as the index in the request array.
Implementations§
source§impl PutEventsOutput
impl PutEventsOutput
sourcepub fn failed_entry_count(&self) -> i32
pub fn failed_entry_count(&self) -> i32
The number of failed entries.
sourcepub fn entries(&self) -> &[PutEventsResultEntry]
pub fn entries(&self) -> &[PutEventsResultEntry]
The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.
For each record, the index of the response element is the same as the index in the request array.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .entries.is_none().
source§impl PutEventsOutput
impl PutEventsOutput
sourcepub fn builder() -> PutEventsOutputBuilder
pub fn builder() -> PutEventsOutputBuilder
Creates a new builder-style object to manufacture PutEventsOutput.
Trait Implementations§
source§impl Clone for PutEventsOutput
impl Clone for PutEventsOutput
source§fn clone(&self) -> PutEventsOutput
fn clone(&self) -> PutEventsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PutEventsOutput
impl Debug for PutEventsOutput
source§impl PartialEq for PutEventsOutput
impl PartialEq for PutEventsOutput
source§fn eq(&self, other: &PutEventsOutput) -> bool
fn eq(&self, other: &PutEventsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for PutEventsOutput
impl RequestId for PutEventsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.