File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,14 @@ type AppSyncResolverTemplate struct {
1111
1212// AppSyncIAMIdentity contains information about the caller authed via IAM.
1313type 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"`
2022}
2123
2224// AppSyncCognitoIdentity contains information about the caller authed via Cognito.
Original file line number Diff line number Diff line change 22 "accountId" : " accountid123" ,
33 "cognitoIdentityPoolId" : " identitypoolid123" ,
44 "cognitoIdentityId" : " identityid123" ,
5+ "cognitoIdentityAuthType" : " authenticated" ,
6+ "cognitoIdentityAuthProvider" : " providerABC" ,
57 "sourceIp" : [" 192.168.196.186" , " 193.168.196.186" ],
68 "username" : " user1" ,
79 "userArn" : " arn:aws:iam::123456789012:user/appsync"
You can’t perform that action at this time.
0 commit comments