Struct aws_sdk_codecatalyst::types::EventLogEntry
source · #[non_exhaustive]pub struct EventLogEntry {Show 15 fields
pub id: String,
pub event_name: String,
pub event_type: String,
pub event_category: String,
pub event_source: String,
pub event_time: DateTime,
pub operation_type: OperationType,
pub user_identity: Option<UserIdentity>,
pub project_information: Option<ProjectInformation>,
pub request_id: Option<String>,
pub request_payload: Option<EventPayload>,
pub response_payload: Option<EventPayload>,
pub error_code: Option<String>,
pub source_ip_address: Option<String>,
pub user_agent: Option<String>,
}
Expand description
Information about an entry in an event log of Amazon CodeCatalyst activity.
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.id: String
The system-generated unique ID of the event.
event_name: String
The name of the event.
event_type: String
The type of the event.
event_category: String
The category for the event.
event_source: String
The source of the event.
event_time: DateTime
The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
operation_type: OperationType
The type of the event.
user_identity: Option<UserIdentity>
The system-generated unique ID of the user whose actions are recorded in the event.
project_information: Option<ProjectInformation>
Information about the project where the event occurred.
request_id: Option<String>
The system-generated unique ID of the request.
request_payload: Option<EventPayload>
Information about the payload of the request.
response_payload: Option<EventPayload>
Information about the payload of the response, if any.
error_code: Option<String>
The code of the error, if any.
source_ip_address: Option<String>
The IP address of the user whose actions are recorded in the event.
user_agent: Option<String>
The user agent whose actions are recorded in the event.
Implementations§
source§impl EventLogEntry
impl EventLogEntry
sourcepub fn event_name(&self) -> &str
pub fn event_name(&self) -> &str
The name of the event.
sourcepub fn event_type(&self) -> &str
pub fn event_type(&self) -> &str
The type of the event.
sourcepub fn event_category(&self) -> &str
pub fn event_category(&self) -> &str
The category for the event.
sourcepub fn event_source(&self) -> &str
pub fn event_source(&self) -> &str
The source of the event.
sourcepub fn event_time(&self) -> &DateTime
pub fn event_time(&self) -> &DateTime
The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
sourcepub fn operation_type(&self) -> &OperationType
pub fn operation_type(&self) -> &OperationType
The type of the event.
sourcepub fn user_identity(&self) -> Option<&UserIdentity>
pub fn user_identity(&self) -> Option<&UserIdentity>
The system-generated unique ID of the user whose actions are recorded in the event.
sourcepub fn project_information(&self) -> Option<&ProjectInformation>
pub fn project_information(&self) -> Option<&ProjectInformation>
Information about the project where the event occurred.
sourcepub fn request_id(&self) -> Option<&str>
pub fn request_id(&self) -> Option<&str>
The system-generated unique ID of the request.
sourcepub fn request_payload(&self) -> Option<&EventPayload>
pub fn request_payload(&self) -> Option<&EventPayload>
Information about the payload of the request.
sourcepub fn response_payload(&self) -> Option<&EventPayload>
pub fn response_payload(&self) -> Option<&EventPayload>
Information about the payload of the response, if any.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
The code of the error, if any.
sourcepub fn source_ip_address(&self) -> Option<&str>
pub fn source_ip_address(&self) -> Option<&str>
The IP address of the user whose actions are recorded in the event.
sourcepub fn user_agent(&self) -> Option<&str>
pub fn user_agent(&self) -> Option<&str>
The user agent whose actions are recorded in the event.
source§impl EventLogEntry
impl EventLogEntry
sourcepub fn builder() -> EventLogEntryBuilder
pub fn builder() -> EventLogEntryBuilder
Creates a new builder-style object to manufacture EventLogEntry
.
Trait Implementations§
source§impl Clone for EventLogEntry
impl Clone for EventLogEntry
source§fn clone(&self) -> EventLogEntry
fn clone(&self) -> EventLogEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EventLogEntry
impl Debug for EventLogEntry
source§impl PartialEq for EventLogEntry
impl PartialEq for EventLogEntry
source§fn eq(&self, other: &EventLogEntry) -> bool
fn eq(&self, other: &EventLogEntry) -> bool
self
and other
values to be equal, and is used
by ==
.