A developer is writing code for an AWS Lambda function. The function will be used as a Lambda authorizer o that Amazon API Gateway can control access to a specific API.
What should this code return in addition to the principal identifier upon successful authentication?
A. An HTTP response status code of 200 that indicates successful completion
B. An integer 0 that indicates successful completion
C. The Amazon Resource Name (ARN) of an IAM role that will be assumed for authentication
D. A policy document with desired permissions
What should this code return in addition to the principal identifier upon successful authentication?
A. An HTTP response status code of 200 that indicates successful completion
B. An integer 0 that indicates successful completion
C. The Amazon Resource Name (ARN) of an IAM role that will be assumed for authentication
D. A policy document with desired permissions