@@ -299,28 +299,28 @@ func TestApiGatewayV2HTTPRequestIAMMarshaling(t *testing.T) {
299
299
if authContext .IAM .AccessKey != "ARIA2ZJZYVUEREEIHAKY" {
300
300
t .Errorf ("could not extract accessKey from IAM authorizer: %v" , authContext )
301
301
}
302
- if authContext .IAM .AccountId != "1234567890" {
302
+ if authContext .IAM .AccountID != "1234567890" {
303
303
t .Errorf ("could not extract accountId from IAM authorizer: %v" , authContext )
304
304
}
305
- if authContext .IAM .CallerId != "AROA7ZJZYVRE7C3DUXHH6:CognitoIdentityCredentials" {
305
+ if authContext .IAM .CallerID != "AROA7ZJZYVRE7C3DUXHH6:CognitoIdentityCredentials" {
306
306
t .Errorf ("could not extract callerId from IAM authorizer: %v" , authContext )
307
307
}
308
- if authContext .IAM .CognitoIdentity .Amr [0 ] != "foo" {
308
+ if authContext .IAM .CognitoIdentity .AMR [0 ] != "foo" {
309
309
t .Errorf ("could not extract amr from CognitoIdentity: %v" , authContext )
310
310
}
311
- if authContext .IAM .CognitoIdentity .IdentityId != "us-east-1:3f291106-8703-466b-8f2b-3ecee1ca56ce" {
311
+ if authContext .IAM .CognitoIdentity .IdentityID != "us-east-1:3f291106-8703-466b-8f2b-3ecee1ca56ce" {
312
312
t .Errorf ("could not extract identityId from CognitoIdentity: %v" , authContext )
313
313
}
314
- if authContext .IAM .CognitoIdentity .IdentityPoolId != "us-east-1:4f291106-8703-466b-8f2b-3ecee1ca56ce" {
314
+ if authContext .IAM .CognitoIdentity .IdentityPoolID != "us-east-1:4f291106-8703-466b-8f2b-3ecee1ca56ce" {
315
315
t .Errorf ("could not extract identityPoolId from CognitoIdentity: %v" , authContext )
316
316
}
317
- if authContext .IAM .PrincipalOrgId != "AwsOrgId" {
317
+ if authContext .IAM .PrincipalOrgID != "AwsOrgId" {
318
318
t .Errorf ("could not extract principalOrgId from IAM authorizer: %v" , authContext )
319
319
}
320
- if authContext .IAM .UserArn != "arn:aws:iam::1234567890:user/Admin" {
320
+ if authContext .IAM .UserARN != "arn:aws:iam::1234567890:user/Admin" {
321
321
t .Errorf ("could not extract userArn from IAM authorizer: %v" , authContext )
322
322
}
323
- if authContext .IAM .UserId != "AROA2ZJZYVRE7Y3TUXHH6" {
323
+ if authContext .IAM .UserID != "AROA2ZJZYVRE7Y3TUXHH6" {
324
324
t .Errorf ("could not extract userId from IAM authorizer: %v" , authContext )
325
325
}
326
326
0 commit comments