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

Commit

Permalink
Make S3Bucket ownerIdentity optional. (#164)
Browse files Browse the repository at this point in the history
Signed-off-by: David Calavera <[email protected]>
  • Loading branch information
calavera authored Apr 28, 2023
1 parent 75eb9ba commit 358d6c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aws_lambda_events"
version = "0.8.4"
version = "0.8.5"
description = "AWS Lambda event definitions"
authors = [
"Christian Legnitto <[email protected]>",
Expand Down
4 changes: 2 additions & 2 deletions src/s3/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ pub struct S3Entity {
pub struct S3Bucket {
#[serde(default)]
pub name: Option<String>,
pub owner_identity: S3UserIdentity,
/// nolint: stylecheck
#[serde(default)]
pub owner_identity: Option<S3UserIdentity>,
#[serde(default)]
pub arn: Option<String>,
}
Expand Down

0 comments on commit 358d6c2

Please sign in to comment.