TestInvokeAuthorizerRequest
import type { TestInvokeAuthorizerRequest } from "https://aws-api.deno.dev/v0.3/services/apigateway.ts?docs=full";
Make a request to simulate the execution of an "Authorizer".
interface TestInvokeAuthorizerRequest {
additionalContext?: {} | null;
[key: string]: string | null | undefined;
authorizerId: string;
body?: string | null;
headers?: {} | null;
[key: string]: string | null | undefined;
multiValueHeaders?: {} | null;
[key: string]: string[] | null | undefined;
pathWithQueryString?: string | null;
restApiId: string;
stageVariables?: {} | null;
}[key: string]: string | null | undefined;
§Properties
§
additionalContext?: {} | null
[src][key: string]: string | null | undefined;
[Optional] A key-value map of additional context variables.
§
headers?: {} | null
[src][key: string]: string | null | undefined;
[Required] A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified.
§
multiValueHeaders?: {} | null
[src][key: string]: string[] | null | undefined;
[Optional] The headers as a map from string to list of values to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, may be specified.