*Q2*: In the previous versions of guide, we get th...
# help
a
Q2: In the previous versions of guide, we get the user identity id by
event.requestContext.identity.cognitoIdentityId
, why does it become
event.requestContext.authorizer.iam.cognitoIdentity.identityId
in the latest guide?
f
The previous version of the guide used the API Gateway REST API. The newer version uses the API Gateway HTTP API, which is a newer service that’s cheaper and faster at the cost of lesser feature.
a
Got it, Thank you!