From 0327fe56d681dd00db2b678cbf67d7ca1d0f47fb Mon Sep 17 00:00:00 2001 From: kdnakt Date: Fri, 22 Dec 2023 23:26:59 +0900 Subject: [PATCH] Follow stylecheck --- events/s3_object_lambda.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/events/s3_object_lambda.go b/events/s3_object_lambda.go index fbdc0ee8..f6143d16 100644 --- a/events/s3_object_lambda.go +++ b/events/s3_object_lambda.go @@ -1,7 +1,7 @@ package events type S3ObjectLambdaEvent struct { - XAmzRequestId string `json:"xAmzRequestId"` + XAmzRequestID string `json:"xAmzRequestId"` GetObjectContext *GetObjectContext `json:"getObjectContext,omitempty"` ListObjectsContext *ListObjectsContext `json:"listObjectsContext,omitempty"` ListObjectsV2Context *ListObjectsV2Context `json:"listObjectsV2Context,omitempty"` @@ -31,22 +31,22 @@ type HeadObjectContext struct { } type S3ObjectLambdaConfiguration struct { - AccessPointArn string `json:"accessPointArn"` - SupportingAccessPointArn string `json:"supportingAccessPointArn"` + AccessPointARN string `json:"accessPointArn"` + SupportingAccessPointARN string `json:"supportingAccessPointArn"` Payload string `json:"payload"` } type UserRequest struct { - Url string `json:"url"` + URL string `json:"url"` Headers map[string]string `json:"headers"` } type UserIdentity struct { Type string `json:"type"` - PrincipalId string `json:"principalId"` - Arn string `json:"arn"` - AccountId string `json:"accountId"` - AccessKeyId string `json:"accessKeyId"` + PrincipalID string `json:"principalId"` + ARN string `json:"arn"` + AccountID string `json:"accountId"` + AccessKeyID string `json:"accessKeyId"` SessionContext *SessionContext `json:"sessionContext,omitempty"` } @@ -57,8 +57,8 @@ type SessionContext struct { type SessionIssuer struct { Type string `json:"type"` - PrincipalId string `json:"principalId"` - Arn string `json:"arn"` - AccountId string `json:"accountId"` + PrincipalID string `json:"principalId"` + ARN string `json:"arn"` + AccountID string `json:"accountId"` UserName string `json:"userName"` }