Skip to content

Commit

Permalink
fix: add isBase64Encoded for VPCLatticeRequestV2
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoutschen committed Sep 27, 2023
1 parent de2a65f commit 055323f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions events/vpclattice.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ type VPCLatticeRequestV1 struct {

// VPCLatticeRequestV2 contains data coming from AWS VPC Lattice
type VPCLatticeRequestV2 struct {
Version string `json:"version"`
Path string `json:"path"`
Method string `json:"method"`
Headers map[string][]string `json:"headers"`
Body string `json:"body"`
RequestContext VpcLatticeRequestContext `json:"requestContext"`
Version string `json:"version"`
Path string `json:"path"`
Method string `json:"method"`
Headers map[string][]string `json:"headers"`
Body string `json:"body"`
RequestContext VpcLatticeRequestContext `json:"requestContext"`
IsBase64Encoded bool `json:"isBase64Encoded,omitempty"`
}

// VpcLatticeRequestContext contains metadata about the incoming request
Expand Down

0 comments on commit 055323f

Please sign in to comment.