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

Function defaultInvokeMetadata

lambda/invoke_loop_test.go:463–482  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

461}
462
463func defaultInvokeMetadata() eventMetadata {
464 return eventMetadata{
465 clientContext: `{
466 "Client": {
467 "app_title": "dummytitle",
468 "installation_id": "dummyinstallid",
469 "app_version_code": "dummycode",
470 "app_package_name": "dummyname"
471 }
472 }`,
473 cognito: `{
474 "cognitoIdentityId": "dummyident",
475 "cognitoIdentityPoolId": "dummypool"
476 }`,
477 xray: "its-xray-time",
478 requestID: "dummyid",
479 deadline: "22",
480 functionARN: "dummyarn",
481 }
482}
483
484func runtimeAPIServer(eventPayload string, failAfter int, overrides ...eventMetadata) (*httptest.Server, *requestRecord) {
485 ctx, cancel := context.WithCancel(context.Background())

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…