Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

fix(aws_lambda_events): Mark session_context optional for CloudTrail #90

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aws_lambda_events/src/cloudwatch_events/cloudtrail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub struct UserIdentity {
pub principal_id: String,
pub arn: String,
pub account_id: String,
pub session_context: SessionContext,
pub session_context: Option<SessionContext>,
}

#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
Expand Down