TestInvokeMethodRequest
import type { TestInvokeMethodRequest } from "https://aws-api.deno.dev/v0.4/services/apigateway.ts?docs=full";
Make a request to simulate the invocation of a Method.
interface TestInvokeMethodRequest {
body?: string | null;
clientCertificateId?: string | null;
headers?: {} | null;
[key: string]: string | null | undefined;
httpMethod: string;
multiValueHeaders?: {} | null;
[key: string]: string[] | null | undefined;
pathWithQueryString?: string | null;
resourceId: string;
restApiId: string;
stageVariables?: {} | null;
}[key: string]: string | null | undefined;
§Properties
§
clientCertificateId?: string | null
[src]A ClientCertificate identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint.
§
headers?: {} | null
[src][key: string]: string | null | undefined;
A key-value map of headers to simulate an incoming invocation request.
§
multiValueHeaders?: {} | null
[src][key: string]: string[] | null | undefined;
The headers as a map from string to list of values to simulate an incoming invocation request.