File tree 2 files changed +10
-6
lines changed
2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,14 @@ type AppSyncResolverTemplate struct {
11
11
12
12
// AppSyncIAMIdentity contains information about the caller authed via IAM.
13
13
type AppSyncIAMIdentity struct {
14
- AccountID string `json:"accountId"`
15
- CognitoIdentityPoolID string `json:"cognitoIdentityPoolId"`
16
- CognitoIdentityID string `json:"cognitoIdentityId"`
17
- SourceIP []string `json:"sourceIp"`
18
- Username string `json:"username"`
19
- UserARN string `json:"userArn"`
14
+ AccountID string `json:"accountId"`
15
+ CognitoIdentityAuthProvider string `json:"cognitoIdentityAuthProvider"`
16
+ CognitoIdentityAuthType string `json:"cognitoIdentityAuthType"`
17
+ CognitoIdentityPoolID string `json:"cognitoIdentityPoolId"`
18
+ CognitoIdentityID string `json:"cognitoIdentityId"`
19
+ SourceIP []string `json:"sourceIp"`
20
+ Username string `json:"username"`
21
+ UserARN string `json:"userArn"`
20
22
}
21
23
22
24
// AppSyncCognitoIdentity contains information about the caller authed via Cognito.
Original file line number Diff line number Diff line change 2
2
"accountId" : " accountid123" ,
3
3
"cognitoIdentityPoolId" : " identitypoolid123" ,
4
4
"cognitoIdentityId" : " identityid123" ,
5
+ "cognitoIdentityAuthType" : " authenticated" ,
6
+ "cognitoIdentityAuthProvider" : " providerABC" ,
5
7
"sourceIp" : [" 192.168.196.186" , " 193.168.196.186" ],
6
8
"username" : " user1" ,
7
9
"userArn" : " arn:aws:iam::123456789012:user/appsync"
You can’t perform that action at this time.
0 commit comments