in src/lambdas/r8s_api_handler/handler.py [0:0]
def __init__(self, user_service: CognitoUserService,
access_control_service: AccessControlService,
algorithm_service: AlgorithmService, iam_service: IamService,
storage_service: StorageService,
environment_service: EnvironmentService,
batch_client: BatchClient,
job_service: JobService, report_service: ReportService,
customer_service: CustomerService,
tenant_service: TenantService,
settings_service: SettingsService,
shape_service: ShapeService,
shape_price_service: ShapePriceService,
application_service: RightSizerApplicationService,
parent_service: RightSizerParentService,
ssm_service: SSMService,
api_gateway_client: ApiGatewayClient,
s3_client: S3Client,
shape_rules_filter_service: ShapeRulesFilterService,
recommendation_history_service: RecommendationHistoryService,
lambda_client: LambdaClient,
customer_preferences_service: CustomerPreferencesService,
resize_service: ResizeService,
key_management_service: KeyManagementService,
license_manager_service: LicenseManagerService,
license_service: LicenseService):
self.user_service = user_service
self.access_control_service = access_control_service
self.algorithm_service = algorithm_service
self.iam_service = iam_service
self.storage_service = storage_service
self.environment_service = environment_service
self.batch_client = batch_client
self.job_service = job_service
self.report_service = report_service
self.customer_service = customer_service
self.tenant_service = tenant_service
self.settings_service = settings_service
self.shape_service = shape_service
self.shape_price_service = shape_price_service
self.application_service = application_service
self.parent_service = parent_service
self.ssm_service = ssm_service
self.api_gateway_client = api_gateway_client
self.s3_client = s3_client
self.shape_rules_filter_service = shape_rules_filter_service
self.recommendation_history_service = recommendation_history_service
self.lambda_client = lambda_client
self.customer_preferences_service = customer_preferences_service
self.resize_service = resize_service
self.key_management_service = key_management_service
self.license_manager_service = license_manager_service
self.license_service = license_service
self.processor_registry = {
SIGNIN_ACTION: self._instantiate_signin_processor,
SIGNUP_ACTION: self._instantiate_signup_processor,
POLICY_ACTION: self._instantiate_policy_processor,
ROLE_ACTION: self._instantiate_role_processor,
ALGORITHM_ACTION: self._instantiate_algorithm_processor,
STORAGE_ACTION: self._instantiate_storage_processor,
APPLICATION_ACTION: self._instantiate_application_processor,
JOB_ACTION: self._instantiate_job_processor,
REPORT_ACTION: self._instantiate_report_processor,
MAIL_REPORT_ACTION: self._instantiate_mail_report_processor,
STORAGE_DATA_ACTION: self._instantiate_storage_data_processor,
SHAPE_RULE_ACTION: self._instantiate_shape_rule_processor,
SHAPE_RULE_DRY_RUN_ACTION:
self._instantiate_shape_rule_dry_run_processor,
PARENT_ACTION: self._instantiate_parent_processor,
PARENT_LICENSES_ACTION: self._instantiate_parent_licenses_processor,
USER_ACTION: self._instantiate_user_processor,
SHAPE_ACTION: self._instantiate_shape_processor,
SHAPE_PRICE_ACTION: self._instantiate_shape_price_processor,
HEALTH_CHECK_ACTION: self._instantiate_health_check_processor,
RECOMMENDATION_ACTION: self._instantiate_recommendation_processor,
PARENT_INSIGHTS_RESIZE_ACTION:
self._instantiate_resize_insights_processor,
LM_SETTING_CONFIG_ACTION: self._instantiate_lm_config_processor,
LM_SETTING_CLIENT_ACTION: self._instantiate_lm_client_processor,
LICENSE_ACTION: self._instantiate_license_processor,
LICENSE_SYNC_ACTION: self._instantiate_license_sync_processor
}