namespace Amazon.Lambda.APIGatewayEvents
{
using System.Collections.Generic;
using System.Runtime.Serialization;
///
/// An object representing the expected format of an API Gateway authorization response.
/// https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
///
[DataContract]
public class APIGatewayCustomAuthorizerV2SimpleResponse
{
///
/// Gets or sets authorization result.
///
[DataMember(Name = "isAuthorized")]
#if NETCOREAPP_3_1
[System.Text.Json.Serialization.JsonPropertyName("isAuthorized")]
#endif
public bool IsAuthorized { get; set; }
///
/// Gets or sets the property.
///
[DataMember(Name = "context")]
#if NETCOREAPP_3_1
[System.Text.Json.Serialization.JsonPropertyName("context")]
#endif
public Dictionary Context { get; set; }
}
}