MCPcopy Index your code
hub / github.com/aws/aws-lambda-go / NewResponse

Function NewResponse

cfn/response.go:39–47  ·  view source on GitHub ↗

NewResponse creates a Response with the relevant verbatim copied data from a Event

(r *Event)

Source from the content-addressed store, hash-verified

37// NewResponse creates a Response with the relevant verbatim copied
38// data from a Event
39func NewResponse(r *Event) *Response {
40 return &Response{
41 RequestID: r.RequestID,
42 LogicalResourceID: r.LogicalResourceID,
43 StackID: r.StackID,
44
45 url: r.ResponseURL,
46 }
47}
48
49type httpClient interface {
50 Do(req *http.Request) (*http.Response, error)

Callers 2

lambdaWrapWithClientFunction · 0.85

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…