pub struct RequestEvent {Show 17 fields
pub id: String,
pub ts: f64,
pub method: String,
pub path: String,
pub service: String,
pub operation: Option<String>,
pub account_id: String,
pub region: String,
pub principal_arn: Option<String>,
pub status_code: u16,
pub duration_ms: f64,
pub request_size: u64,
pub response_size: u64,
pub error_code: Option<String>,
pub memory_mb: Option<u32>,
pub state_transitions: Option<u32>,
pub character_count: Option<u64>,
}Fields§
§id: String§ts: f64§method: String§path: String§service: String§operation: Option<String>§account_id: String§region: String§principal_arn: Option<String>§status_code: u16§duration_ms: f64§request_size: u64§response_size: u64§error_code: Option<String>§memory_mb: Option<u32>Lambda-style memory size in MB, populated when the responding
service sets the X-Awsim-Memory-MB header on its response.
Used by the billing meter for accurate GB-second compute cost
(otherwise it falls back to the 128 MB minimum).
state_transitions: Option<u32>Number of state transitions executed by the responding service for this request. Step Functions emits this so the meter can charge per-transition (the actual AWS billing unit) instead of per-StartExecution call. None for non-stateful services.
character_count: Option<u64>Number of characters in the request payload. Polly / Comprehend / Translate emit this so the meter can charge per-character (the AWS billing unit for these services). None for services that don’t bill per character.
Trait Implementations§
Source§impl Clone for RequestEvent
impl Clone for RequestEvent
Source§fn clone(&self) -> RequestEvent
fn clone(&self) -> RequestEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RequestEvent
impl Debug for RequestEvent
Auto Trait Implementations§
impl Freeze for RequestEvent
impl RefUnwindSafe for RequestEvent
impl Send for RequestEvent
impl Sync for RequestEvent
impl Unpin for RequestEvent
impl UnsafeUnpin for RequestEvent
impl UnwindSafe for RequestEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more