MCPcopy Create free account

hub / github.com/aws-samples/personalization-apis / functions

Functions174 in github.com/aws-samples/personalization-apis

Functionauto_context_time_of_day
()
tests/unit/test_auto_values.py:131
Functionconfig_cache_inheritance
()
tests/unit/test_config.py:23
Functionconfig_no_recommenders
()
tests/unit/test_config.py:92
Functionconfig_no_version
()
tests/unit/test_config.py:10
Functionconfig_with_version
()
tests/unit/test_config.py:16
Functioncreate_or_update_resource
(event, _)
src/config_validator_env_function/main.py:52
Functioncreate_or_update_resource
(event, _)
src/edge_update_function/main.py:83
Functioncreate_or_update_resource
(event, _)
src/copy_swagger_ui_assets_function/main.py:57
Functioncreate_resource
(event, _)
src/generate_config_function/main.py:199
Methoddecorate
(self, response: Dict)
src/personalization_api_function/response_decorator.py:171
Methoddecorate
(self, response: Dict)
src/personalization_api_function/response_decorator.py:208
Methoddecorate
(self, response: Dict)
src/personalization_api_function/response_decorator.py:330
Methoddefault
(self, obj)
src/personalization_api_function/util.py:12
Functiondelete_resource
Delete hosted configuration versions This is necessary here since hosted configurations are created outside of CloudFormation and therefore
src/generate_config_function/main.py:203
Methodfrom_client_error
(cls, e: ClientError)
src/personalization_api_function/personalization_error.py:29
Methodget_config
(self, max_age: int = 10)
src/layer/personalization_config.py:80
Methodget_item
(id)
src/personalization_api_function/response_decorator.py:187
Functionget_recommend_items
API entry point for getting recommended items for a given user
src/personalization_api_function/main.py:248
Methodget_recommend_items
( self, variation_config: Dict, arn: str, user_id: str,
src/personalization_api_function/personalize_resolver.py:28
Methodget_recommend_items
(self, recommender_path: str, recommender_config: Dict, variation_config: Dict, user_id: str, num_results: int
src/personalization_api_function/sagemaker_resolver.py:46
Functionget_related_items
API entry point for getting related items for a given item
src/personalization_api_function/main.py:346
Methodget_related_items
( self, variation_config: Dict, arn: str, item_id: str,
src/personalization_api_function/personalize_resolver.py:88
Methodget_related_items
(self, recommender_path: str, recommender_config: Dict, variation_config: Dict, item_id: str, num_results: int
src/personalization_api_function/sagemaker_resolver.py:68
Functionget_rerank_items
API entry point for reranking a list of items for a given user
src/personalization_api_function/main.py:508
Functionheaders_desktop_only
()
tests/unit/test_auto_values.py:11
Functionheaders_location
()
tests/unit/test_auto_values.py:29
Functionheaders_mobile_and_tablet
()
tests/unit/test_auto_values.py:20
Functionlambda_handler
(event, _)
samples/lambdas/custom_recommender_lambda.py:51
Functionlambda_handler
(event, _)
src/load_item_metadata_function/main.py:183
Functionlambda_handler
(event, _)
src/sync_dynamodb_tables_function/main.py:147
Functionlambda_handler
(event, _)
src/config_validator_function/main.py:46
Functionlambda_handler
Main function entry point that delegates to request router
src/personalization_api_function/main.py:600
Functionlambda_handler
(event, context)
src/config_validator_env_function/main.py:55
Functionlambda_handler
(event, _)
src/sync_cache_settings_function/main.py:305
Functionlambda_handler
(event, context)
src/edge_update_function/main.py:86
Functionlambda_handler
Entry point of function called from either CloudFormation or directly under test
src/generate_config_function/main.py:233
Functionlambda_handler
(event, context)
src/copy_swagger_ui_assets_function/main.py:60
Functionobj
()
tests/unit/test_config.py:107
Functionpost_put_events
API entry point for incrementally sending events/interactions back to recommenders
src/personalization_api_function/main.py:575
Functionpost_rerank_items
API entry point for reranking a list of items for a given user
src/personalization_api_function/main.py:542
Methodput_events
(self, namespace: str, namespace_config: Dict, api_event: Dict, event_body: Dict)
src/personalization_api_function/event_targets.py:60
Methodput_events
(self, namespace: str, namespace_config: Dict, api_event: Dict, event_body: Dict)
src/personalization_api_function/event_targets.py:91
Methodput_events
(self, namespace: str, namespace_config: Dict, api_event: Dict, event_body: Dict)
src/personalization_api_function/event_targets.py:118
Methodreadable
(self)
src/load_item_metadata_function/main.py:35
Methodrerank_items
( self, variation_config: Dict, arn: str, user_id: str,
src/personalization_api_function/personalize_resolver.py:153
Methodrerank_items
(self, recommender_path: str, recommender_config: Dict, variation_config: Dict, user_id: str, input_list: List
src/personalization_api_function/sagemaker_resolver.py:91
Functionsample_config
()
tests/unit/test_openapi.py:11
Functiontest_cache_inheritance
(obj, config_cache_inheritance)
tests/unit/test_config.py:119
Functiontest_day_of_week_friday
(mock_datetime, auto_context_day_of_week, headers_location)
tests/unit/test_auto_values.py:395
Functiontest_day_of_week_monday
(mock_datetime, auto_context_day_of_week, headers_location)
tests/unit/test_auto_values.py:340
Functiontest_day_of_week_saturday
(mock_datetime, auto_context_day_of_week, headers_location)
tests/unit/test_auto_values.py:406
Functiontest_day_of_week_sunday
(mock_datetime, auto_context_day_of_week, headers_location)
tests/unit/test_auto_values.py:417
Functiontest_day_of_week_thursday
(mock_datetime, auto_context_day_of_week, headers_location)
tests/unit/test_auto_values.py:384
Functiontest_day_of_week_tuesday
(mock_datetime, auto_context_day_of_week, headers_location)
tests/unit/test_auto_values.py:362
Functiontest_day_of_week_wednesday
(mock_datetime, auto_context_day_of_week, headers_location)
tests/unit/test_auto_values.py:373
Functiontest_device_type_desktop
(headers_desktop_only, auto_context_device_type)
tests/unit/test_auto_values.py:266
Functiontest_device_type_phone_and_tablet
(headers_mobile_and_tablet, auto_context_device_type)
tests/unit/test_auto_values.py:275
Functiontest_location
(headers_location, auto_context_location)
tests/unit/test_auto_values.py:285
Functiontest_no_recommenders
(obj, config_no_recommenders)
tests/unit/test_config.py:144
Functiontest_no_version
(obj, config_no_version)
tests/unit/test_config.py:111
Functiontest_season_northern_hemi_fall
()
tests/unit/test_auto_values.py:236
Functiontest_season_northern_hemi_spring
()
tests/unit/test_auto_values.py:226
Functiontest_season_northern_hemi_summer
()
tests/unit/test_auto_values.py:231
Functiontest_season_northern_hemi_winter
()
tests/unit/test_auto_values.py:241
Functiontest_season_southern_hemi_fall
()
tests/unit/test_auto_values.py:256
Functiontest_season_southern_hemi_spring
()
tests/unit/test_auto_values.py:246
Functiontest_season_southern_hemi_summer
()
tests/unit/test_auto_values.py:251
Functiontest_season_southern_hemi_winter
()
tests/unit/test_auto_values.py:261
Functiontest_simple_apikey
(sample_config)
tests/unit/test_openapi.py:27
Functiontest_simple_noauth
(sample_config)
tests/unit/test_openapi.py:15
Functiontest_time_of_day_afternoon
(mock_datetime, auto_context_time_of_day, headers_location)
tests/unit/test_auto_values.py:318
Functiontest_time_of_day_evening
(mock_datetime, auto_context_time_of_day, headers_location)
tests/unit/test_auto_values.py:329
Functiontest_time_of_day_morning
(mock_datetime, auto_context_time_of_day, headers_location)
tests/unit/test_auto_values.py:307
Functiontest_with_version
(obj, config_with_version)
tests/unit/test_config.py:115
← previous101–174 of 174, ranked by callers