Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TestInvokeAuthorizerResponse

import type { TestInvokeAuthorizerResponse } from "https://aws-api.deno.dev/v0.3/services/apigateway.ts?docs=full";

Represents the response of the test invoke request for a custom "Authorizer"

interface TestInvokeAuthorizerResponse {
authorization?: {
[key: string]: string[] | null | undefined;
}
| null;
claims?: {
[key: string]: string | null | undefined;
}
| null;
clientStatus?: number | null;
latency?: number | null;
log?: string | null;
policy?: string | null;
principalId?: string | null;
}

§Properties

§
authorization?: {
[key: string]: string[] | null | undefined;
}
| null
[src]
§
claims?: {
[key: string]: string | null | undefined;
}
| null
[src]

The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.

§
clientStatus?: number | null
[src]

The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.

§
latency?: number | null
[src]

The execution latency of the test authorizer request.

§
log?: string | null
[src]

The API Gateway execution log for the test authorizer request.

§
policy?: string | null
[src]

The JSON policy document returned by the "Authorizer"

§
principalId?: string | null
[src]

The principal identity returned by the "Authorizer"