MCPcopy Create free account

hub / github.com/aws-samples/serverless-samples / functions

Functions926 in github.com/aws-samples/serverless-samples

↓ 107 callersMethodlog
(String message)
apigw-vtl-editor/vtl-processor/src/test/java/com/vtl/processor/TestContext.java:66
↓ 35 callersFunctionrequest
(ctx)
serverless-graphql-api/javascript-appsync-sam-js/src/resolvers/get_booking_function.js:3
↓ 34 callersFunctiongetEvaluationResponse
(templateFileName, context)
serverless-graphql-api/javascript-appsync-sam-vtl/__tests__/unit/resolver.test.js:71
↓ 34 callersFunctiongetEvaluationResponse
(codeFileName, context, functionType)
serverless-graphql-api/javascript-appsync-sam-js/__tests__/unit/resolver.test.js:71
↓ 31 callersMethodjson
Evaluates a JSONPath expression and returns the results as a JSON string @param jsonPath The JSONPath expression to evaluate @return The result as a J
apigw-vtl-editor/vtl-processor/src/main/java/com/vtl/processor/InputWrapper.java:77
↓ 22 callersMethodbuild
Generates the policy document based on the internal lists of allowed and denied conditions. This will generate a policy with two main statemen
queue-based-ingestion/python-cdk/src/api/authorizer.py:252
↓ 22 callersMethodgetLogger
()
apigw-vtl-editor/vtl-processor/src/test/java/com/vtl/processor/TestContext.java:63
↓ 18 callersMethodgetKey
@return the key
das-lambda-java-sam/das_consumer_sam_project/database_activity_streams_event_consumer_function/src/main/java/com/amazonaws/services/lambda/samples/events/das/models/aurorastreams/PostgresActivity.java:101
↓ 16 callersMethodhandler
( event: APIGatewayProxyEvent, _context: Context )
apigw-lambda-powertools-openapi-cdk/lib/lambda/ordersCRUD/index.ts:201
↓ 12 callersMethodallow_method
Adds an API Gateway method (Http verb + Resource path) to the list of allowed methods for the policy
serverless-rest-api/python-http-cdk/src/api/authorizer.py:234
↓ 12 callersMethodallow_method
Adds an API Gateway method (Http verb + Resource path) to the list of allowed methods for the policy
serverless-rest-api/python-rest-sam/src/api/authorizer.py:234
↓ 12 callersMethodallow_method
Adds an API Gateway method (Http verb + Resource path) to the list of allowed methods for the policy
serverless-rest-api/python-http-sam/src/api/authorizer.py:234
↓ 12 callersMethodallow_method
Adds an API Gateway method (Http verb + Resource path) to the list of allowed methods for the policy
serverless-rest-api/python-rest-terraform/application/src/api/authorizer.py:234
↓ 12 callersMethodtoString
()
das-lambda-java-sam/das_consumer_sam_project/database_activity_streams_event_consumer_function/src/main/java/com/amazonaws/services/lambda/samples/events/das/models/aurorastreams/PostgresActivity.java:130
↓ 10 callersFunction_response
(status_code, body)
apigw-log-analytic/monetization/src/manage_pricing.py:79
↓ 10 callersFunctionhandler
(event)
apigw-eventbridge-schema-validation/lambda/index.mjs:120
↓ 10 callersMethodrunServiceIntegrationTest
Helper method to run a service integration test.
apigw-vtl-editor/vtl-processor/src/test/java/com/vtl/processor/IndividualScenarioTest.java:268
↓ 9 callersFunctiongetCustomerIdFromAuthInfo
({ event, }: { event: APIGatewayProxyEvent; })
apigw-lambda-powertools-openapi-cdk/lib/ordersCommonCode/customer.ts:12
↓ 8 callersMethodbuild
Generates the policy document based on the internal lists of allowed and denied conditions. This will generate a policy with two main statemen
serverless-rest-api/python-http-cdk/src/api/authorizer.py:256
↓ 7 callersMethodequals
(Object obj)
das-lambda-java-sam/das_consumer_sam_project/database_activity_streams_event_consumer_function/src/main/java/com/amazonaws/services/lambda/samples/events/das/models/aurorastreams/PostgresActivity.java:117
↓ 7 callersFunctionsetup_test_environment
()
serverless-rest-api/python-http-cdk/tests/unit/test_bookings_handler.py:21
↓ 7 callersFunctionsetup_test_environment
()
serverless-rest-api/python-rest-sam/tests/unit/test_bookings_handler.py:21
↓ 7 callersFunctionsetup_test_environment
()
serverless-rest-api/python-http-sam/tests/unit/test_bookings_handler.py:21
↓ 7 callersFunctionsetup_test_environment
()
serverless-rest-api/python-rest-terraform/application/tests/unit/test_bookings_handler.py:21
↓ 6 callersMethod_add_method
Adds a method to the internal lists of allowed or denied methods. Each object in the internal list contains a resource ARN and a condition sta
serverless-rest-api/python-http-cdk/src/api/authorizer.py:162
↓ 6 callersMethod_add_method
Adds a method to the internal lists of allowed or denied methods. Each object in the internal list contains a resource ARN and a condition sta
serverless-rest-api/python-rest-sam/src/api/authorizer.py:162
↓ 6 callersMethod_add_method
Adds a method to the internal lists of allowed or denied methods. Each object in the internal list contains a resource ARN and a condition sta
serverless-rest-api/python-http-sam/src/api/authorizer.py:162
↓ 6 callersMethod_add_method
Adds a method to the internal lists of allowed or denied methods. Each object in the internal list contains a resource ARN and a condition sta
serverless-rest-api/python-rest-terraform/application/src/api/authorizer.py:162
↓ 6 callersMethod_add_method
Adds a method to the internal lists of allowed or denied methods. Each object in the internal list contains a resource ARN and a condition sta
queue-based-ingestion/python-cdk/src/api/authorizer.py:158
↓ 6 callersMethod_add_method
Adds a method to the internal lists of allowed or denied methods. Each object in the internal list contains a resource ARN and a condition sta
queue-based-ingestion/python-sam/src/api/authorizer.py:156
↓ 6 callersMethodclose
()
serverless-graphql-api/javascript-appsync-sam-vtl/__tests__/integration/api.test.js:88
↓ 6 callersMethodclose
()
serverless-graphql-api/javascript-appsync-sam-js/__tests__/integration/api.test.js:88
↓ 6 callersFunctiongetOrder
({ customerId, orderId, }: { customerId: string; orderId: string; })
apigw-lambda-powertools-openapi-cdk/lib/lambda/ordersCRUD/ddb.ts:78
↓ 6 callersFunctionsearchOrders
({ orderSearchCriteria, customerId, }: { orderSearchCriteria: OrderSearchCriteria; customerId: string;
apigw-lambda-powertools-openapi-cdk/lib/lambda/ordersSearch/ddb.ts:131
↓ 6 callersFunctionsetup_test_environment
()
serverless-rest-api/python-http-cdk/tests/unit/test_locations_handler.py:23
↓ 6 callersFunctionsetup_test_environment
()
serverless-rest-api/python-http-cdk/tests/unit/test_resources_handler.py:23
↓ 6 callersFunctionsetup_test_environment
()
serverless-rest-api/python-rest-sam/tests/unit/test_locations_handler.py:23
↓ 6 callersFunctionsetup_test_environment
()
serverless-rest-api/python-rest-sam/tests/unit/test_resources_handler.py:23
↓ 6 callersFunctionsetup_test_environment
()
serverless-rest-api/python-http-sam/tests/unit/test_locations_handler.py:23
↓ 6 callersFunctionsetup_test_environment
()
serverless-rest-api/python-http-sam/tests/unit/test_resources_handler.py:23
↓ 6 callersFunctionsetup_test_environment
()
serverless-rest-api/python-rest-terraform/application/tests/unit/test_locations_handler.py:22
↓ 6 callersFunctionsetup_test_environment
()
serverless-rest-api/python-rest-terraform/application/tests/unit/test_resources_handler.py:23
↓ 6 callersFunctionwriteOrder
({ order, update, }: { order: Order; update: boolean; })
apigw-lambda-powertools-openapi-cdk/lib/lambda/ordersCRUD/ddb.ts:36
↓ 5 callersMethodallow_method
Adds an API Gateway method (Http verb + Resource path) to the list of allowed methods for the policy
queue-based-ingestion/python-cdk/src/api/authorizer.py:230
↓ 5 callersFunctionconvertDdbToOrder
({ ddbItem, ddbOrderItems, }: { ddbItem: DdbOrder; ddbOrderItems: DdbOrderItem[]; })
apigw-lambda-powertools-openapi-cdk/lib/ordersCommonCode/order.ts:158
↓ 5 callersMethodrunScenarioTest
Helper method to run a scenario test.
apigw-vtl-editor/vtl-processor/src/test/java/com/vtl/processor/IndividualScenarioTest.java:248
↓ 4 callersMethodclose
(self)
serverless-graphql-api/python-appsync-sam-vtl/tests/integration/test_api.py:97
↓ 4 callersFunctionconvertDdbToOrderItem
({ ddbOrderItem, }: { ddbOrderItem: DdbOrderItem; })
apigw-lambda-powertools-openapi-cdk/lib/ordersCommonCode/order.ts:132
↓ 4 callersFunctionconvertOrderToDdb
({ order }: { order: Order })
apigw-lambda-powertools-openapi-cdk/lib/ordersCommonCode/order.ts:80
↓ 4 callersFunctiondeleteOrder
({ customerId, orderId, }: { customerId: string; orderId: string; })
apigw-lambda-powertools-openapi-cdk/lib/lambda/ordersCRUD/ddb.ts:165
↓ 4 callersMethodgetContextVariables
()
apigw-vtl-editor/vtl-processor/src/main/java/com/vtl/processor/ContextVariableProvider.java:76
↓ 4 callersMethodgetDbUserName
@return the dbUserName
das-lambda-java-sam/das_consumer_sam_project/database_activity_streams_event_consumer_function/src/main/java/com/amazonaws/services/lambda/samples/events/das/models/aurorastreams/PostgresActivityEvent.java:220
↓ 4 callersFunctiongetDdbOrderItems
({ customerId, orderId, }: { customerId: string; orderId: string; })
apigw-lambda-powertools-openapi-cdk/lib/lambda/ordersCRUD/ddb.ts:132
↓ 4 callersFunctionupdateOrder
({ orderUpdate, orderId, customerId, }: { orderUpdate: OrderUpdate; orderId: string; customerId: s
apigw-lambda-powertools-openapi-cdk/lib/lambda/ordersCRUD/ddb.ts:210
↓ 3 callersMethod#onError
(error)
serverless-graphql-api/javascript-appsync-sam-vtl/__tests__/integration/api.test.js:42
↓ 3 callersMethod#onError
(error)
serverless-graphql-api/javascript-appsync-sam-js/__tests__/integration/api.test.js:42
↓ 3 callersFunction_response
(status_code, body)
apigw-log-analytic/monetization/src/get_reports.py:81
↓ 3 callersMethodallow_method
Adds an API Gateway method (Http verb + Resource path) to the list of allowed methods for the policy
queue-based-ingestion/python-sam/src/api/authorizer.py:228
↓ 3 callersFunctionsetup_test_environment
()
queue-based-ingestion/python-cdk/tests/unit/test_get_job_status_handler.py:25
↓ 3 callersFunctionsetup_test_environment
()
queue-based-ingestion/python-sam/tests/unit/test_get_job_status_handler.py:24
↓ 3 callersFunctionstore_mock_job_record
(mock_job_url_parameter, mock_job_status)
queue-based-ingestion/python-cdk/tests/unit/test_get_job_status_handler.py:114
↓ 3 callersFunctionstore_mock_job_record
(mock_job_url_parameter, mock_job_status)
queue-based-ingestion/python-sam/tests/unit/test_get_job_status_handler.py:103
↓ 2 callersFunction_decimals
(obj)
apigw-log-analytic/monetization/src/get_reports.py:89
↓ 2 callersFunction_decimals
(obj)
apigw-log-analytic/monetization/src/manage_pricing.py:87
↓ 2 callersMethod_get_empty_statement
Returns an empty statement object prepopulated with the correct action and the desired effect.
serverless-rest-api/python-http-cdk/src/api/authorizer.py:194
↓ 2 callersMethod_get_empty_statement
Returns an empty statement object prepopulated with the correct action and the desired effect.
serverless-rest-api/python-rest-sam/src/api/authorizer.py:194
↓ 2 callersMethod_get_empty_statement
Returns an empty statement object prepopulated with the correct action and the desired effect.
serverless-rest-api/python-http-sam/src/api/authorizer.py:194
↓ 2 callersMethod_get_empty_statement
Returns an empty statement object prepopulated with the correct action and the desired effect.
serverless-rest-api/python-rest-terraform/application/src/api/authorizer.py:194
↓ 2 callersMethod_get_empty_statement
Returns an empty statement object prepopulated with the correct action and the desired effect.
queue-based-ingestion/python-cdk/src/api/authorizer.py:190
↓ 2 callersMethod_get_empty_statement
Returns an empty statement object prepopulated with the correct action and the desired effect.
queue-based-ingestion/python-sam/src/api/authorizer.py:188
↓ 2 callersMethod_get_statement_for_effect
This function loops over an array of objects containing a resourceArn and conditions statement and generates the array of statements for the p
serverless-rest-api/python-http-cdk/src/api/authorizer.py:205
↓ 2 callersMethod_get_statement_for_effect
This function loops over an array of objects containing a resourceArn and conditions statement and generates the array of statements for the p
serverless-rest-api/python-rest-sam/src/api/authorizer.py:205
↓ 2 callersMethod_get_statement_for_effect
This function loops over an array of objects containing a resourceArn and conditions statement and generates the array of statements for the p
serverless-rest-api/python-http-sam/src/api/authorizer.py:205
↓ 2 callersMethod_get_statement_for_effect
This function loops over an array of objects containing a resourceArn and conditions statement and generates the array of statements for the p
serverless-rest-api/python-rest-terraform/application/src/api/authorizer.py:205
↓ 2 callersMethod_get_statement_for_effect
This function loops over an array of objects containing a resourceArn and conditions statement and generates the array of statements for the p
queue-based-ingestion/python-cdk/src/api/authorizer.py:201
↓ 2 callersMethod_get_statement_for_effect
This function loops over an array of objects containing a resourceArn and conditions statement and generates the array of statements for the p
queue-based-ingestion/python-sam/src/api/authorizer.py:199
↓ 2 callersMethodconvertJsonNodeToObject
Converts a JsonNode to a Java object
apigw-vtl-editor/vtl-processor/src/main/java/com/vtl/processor/InputUtility.java:102
↓ 2 callersFunctioncopyTemplateAsString
(template: string, type: 'request' | 'response')
apigw-vtl-editor/vtl-template-browser-testing/src/components/ApiGatewayHttpSimulator.tsx:347
↓ 2 callersMethoddecrypt
@param decoded - The encrypted byte array containing the Aurora DAS message @param decodedDataKey - The encrypted key use
das-lambda-java-sam/das_consumer_sam_project/database_activity_streams_event_consumer_function/src/main/java/com/amazonaws/services/lambda/samples/events/das/AuroraStreamsProcessor.java:160
↓ 2 callersFunctiondownloadAndUpdateSchema
* Downloads latest schema version from the registry and updates API Gateway model * @param latestVersion * @returns {Promise<void>}
apigw-eventbridge-schema-validation/cicd-driven-solution/src/updateSchema.mjs:218
↓ 2 callersMethodenhanceErrorMessage
Helper method to enhance error messages with more context @return Map containing detailed error information
apigw-vtl-editor/vtl-processor/src/main/java/com/vtl/processor/ApiGatewaySimulator.java:192
↓ 2 callersMethodgetBody
Returns the body as a string @return The request body as a string
apigw-vtl-editor/vtl-processor/src/main/java/com/vtl/processor/InputWrapper.java:60
↓ 2 callersMethodgetClusterId
@return the clusterId
das-lambda-java-sam/das_consumer_sam_project/database_activity_streams_event_consumer_function/src/main/java/com/amazonaws/services/lambda/samples/events/das/models/aurorastreams/PostgresActivityRecords.java:71
↓ 2 callersFunctiongetEmptyStatement
* Returns an empty statement object prepopulated with the correct action and the * desired effect. * * @method getEmptyStatement * @param
serverless-rest-api/javascript-http-sam/src/api/authorizer.js:160
↓ 2 callersFunctiongetEmptyStatement
* Returns an empty statement object prepopulated with the correct action and the * desired effect. * * @method getEmptyStatement * @param
fargate-rest-api/javascript-rest-nlb-ecs-sam/src/api/authorizer/authorizer.js:160
↓ 2 callersFunctiongetEmptyStatement
* Returns an empty statement object prepopulated with the correct action and the * desired effect. * * @method getEmptyStatement * @param
fargate-private-api/javascript-private-nlb-ecs-sam/src/api/authorizer/authorizer.js:160
↓ 2 callersMethodgetInstanceId
@return the instanceId
das-lambda-java-sam/das_consumer_sam_project/database_activity_streams_event_consumer_function/src/main/java/com/amazonaws/services/lambda/samples/events/das/models/aurorastreams/PostgresActivityRecords.java:85
↓ 2 callersMethodgetStageVariables
()
apigw-vtl-editor/vtl-processor/src/main/java/com/vtl/processor/ContextVariableProvider.java:84
↓ 2 callersMethodgetType
@return the type
das-lambda-java-sam/das_consumer_sam_project/database_activity_streams_event_consumer_function/src/main/java/com/amazonaws/services/lambda/samples/events/das/models/aurorastreams/PostgresActivityRecords.java:57
↓ 2 callersMethodgetType
@return the type
das-lambda-java-sam/das_consumer_sam_project/database_activity_streams_event_consumer_function/src/main/java/com/amazonaws/services/lambda/samples/events/das/models/aurorastreams/PostgresActivity.java:59
↓ 2 callersFunctionget_stack_outputs
(stack_name)
serverless-rest-api/python-http-cdk/tests/integration/conftest.py:12
↓ 2 callersFunctionget_stack_outputs
(stack_name)
serverless-rest-api/python-rest-sam/tests/integration/conftest.py:14
↓ 2 callersFunctionget_stack_outputs
(stack_name)
serverless-rest-api/python-http-sam/tests/integration/conftest.py:13
↓ 2 callersFunctionget_stack_outputs
(stack_name)
serverless-graphql-api/python-appsync-sam-vtl/tests/integration/conftest.py:13
↓ 2 callersFunctionget_stack_outputs
(stack_name)
queue-based-ingestion/python-cdk/tests/integration/conftest.py:12
↓ 2 callersFunctionget_stack_outputs
(stack_name)
queue-based-ingestion/python-sam/tests/integration/conftest.py:13
↓ 2 callersFunctionis_admin
(claims)
owasp-api-security-controls-demo/owasp-api-security-controls-demo/order/src/index.py:95
↓ 2 callersFunctionparseErrorMessage
(error: string, errorDetails?: any)
apigw-vtl-editor/vtl-template-browser-testing/src/components/ApiGatewayHttpSimulator.tsx:199
↓ 2 callersMethodparseHttpRequest
Parse an HTTP request string into its components @param httpRequest The HTTP request string @return A JsonNode containing the parsed components
apigw-vtl-editor/vtl-processor/src/main/java/com/vtl/processor/HttpFormatParser.java:25
↓ 2 callersMethodpath
Mimics the $input.path('$') functionality in API Gateway @param path The JSON path expression @return The value at the specified path
apigw-vtl-editor/vtl-processor/src/main/java/com/vtl/processor/InputUtility.java:30
next →1–100 of 926, ranked by callers