File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,16 @@ type APIGatewayV2HTTPRequestContextHTTPDescription struct {
9393 UserAgent string `json:"userAgent"`
9494}
9595
96+ // APIGatewayV2HTTPResponse configures the response to be returned by API Gateway V2 for the request
97+ type APIGatewayV2HTTPResponse struct {
98+ StatusCode int `json:"statusCode"`
99+ Headers map [string ]string `json:"headers"`
100+ MultiValueHeaders map [string ][]string `json:"multiValueHeaders"`
101+ Body string `json:"body"`
102+ IsBase64Encoded bool `json:"isBase64Encoded,omitempty"`
103+ Cookies []string `json:"cookies"`
104+ }
105+
96106// APIGatewayRequestIdentity contains identity information for the request caller.
97107type APIGatewayRequestIdentity struct {
98108 CognitoIdentityPoolID string `json:"cognitoIdentityPoolId"`
You can’t perform that action at this time.
0 commit comments