MCPcopy Create free account

hub / github.com/aws-samples/well-architected-iac-analyzer / functions

Functions421 in github.com/aws-samples/well-architected-iac-analyzer

↓ 1 callersMethodlistWorkloads
()
ecs_fargate_app/backend/src/modules/well-architected/well-architected.service.ts:333
↓ 1 callersMethodloadBestPractices
(workloadId: string, lensAliasArn: string, lensPillars: Record<string, string>)
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2996
↓ 1 callersMethodloadWellArchitectedAnswers
(workloadId: string, lensAlias?: string)
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2953
↓ 1 callersFunctionlogout
()
ecs_fargate_app/frontend/src/contexts/AuthContext.tsx:55
↓ 1 callersFunctionmigrate_s3_objects
Migrates S3 objects from the old structure to the new multi-lens structure
ecs_fargate_app/lambda_migration/migration.py:216
↓ 1 callersFunctionnormalizeLensName
(lensName: string)
ecs_fargate_app/frontend/src/components/WorkSideNavigation.tsx:52
↓ 1 callersFunctionnormalize_lens_name_to_prefix
Normalize a lens name to a valid S3 prefix. Removes spaces, converts to lowercase, removes non-alphanumeric characters.
ecs_fargate_app/lambda_kb_synchronizer/kb_synchronizer.py:272
↓ 1 callersMethodonAnalysisProgress
(callback: (data: { processedQuestions: number; totalQuestions: number; currentPillar:
ecs_fargate_app/frontend/src/services/socket.ts:39
↓ 1 callersMethodonImplementationProgress
(callback: (data: { status: string; progress: number; }) => void)
ecs_fargate_app/frontend/src/services/socket.ts:49
↓ 1 callersFunctionpackCell
* Packs n items into a compact grid clustered around `center`, never overlapping * and never leaving `box` (the box keeps the cluster inside its quad
ecs_fargate_app/frontend/src/components/utils/priority-matrix.ts:362
↓ 1 callersMethodparseImplementationModelResponse
(content: string)
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:1535
↓ 1 callersMethodparse_auth_config
(self, config: configparser.ConfigParser)
ecs_fargate_app/wa_genai_stack.py:38
↓ 1 callersFunctionpriorityBadgeColor
(value?: string)
ecs_fargate_app/frontend/src/components/AnalysisResults.tsx:131
↓ 1 callersFunctionpriorityBadgeColor
(value?: string)
ecs_fargate_app/frontend/src/components/utils/priority-matrix.ts:131
↓ 1 callersFunctionpriorityLabel
(value?: string)
ecs_fargate_app/frontend/src/components/AnalysisResults.tsx:103
↓ 1 callersMethodprocessBatch
* Process a batch of questions in parallel
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:241
↓ 1 callersMethodprocessMultipleFiles
* Process multiple files and create a packed project * @param files Array of {filename, buffer, type} objects * @returns PackedProject objec
ecs_fargate_app/backend/src/shared/utils/project-packer.ts:636
↓ 1 callersMethodprocessZipFile
* Process a zip file and create a packed project with security validations * @param buffer Zip file buffer * @param originalFilename Origina
ecs_fargate_app/backend/src/shared/utils/project-packer.ts:589
↓ 1 callersFunctionprocess_custom_lens
Process a custom lens. Unlike additional (AWS official) lenses, the PDF is NOT downloaded (admin user uploads it manually). This function
ecs_fargate_app/lambda_kb_synchronizer/kb_synchronizer.py:399
↓ 1 callersFunctionrefreshSummary
(workloadId: string, lensAliasArn?: string)
ecs_fargate_app/frontend/src/hooks/useAnalyzer.ts:352
↓ 1 callersMethodretrieveBestPractices
(pillarId: string, workloadId: string, lensAliasArn?: string, lensPillars?: Record<string, string>)
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:3077
↓ 1 callersMethodretrieveFromKnowledgeBase
( pillar: string, question: string, questionGroup: QuestionGroup, lensName?: s
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2163
↓ 1 callersMethodsanitizeComplexity
(value: any)
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2883
↓ 1 callersMethodsanitizeCriticality
(value: any)
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2874
↓ 1 callersMethodsanitizePriority
(value: any)
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2892
↓ 1 callersFunctionsetHelpContent
(header: string, body: ReactNode)
ecs_fargate_app/frontend/src/contexts/HelpPanelContext.tsx:19
↓ 1 callersFunctionsetSortedItems
(newItems: WorkItem[])
ecs_fargate_app/frontend/src/components/WorkSideNavigation.tsx:111
↓ 1 callersMethodstoreSupportingDocument
( userId: string, mainFileId: string, fileName: string, fileType: string, fileBuffer: Buff
ecs_fargate_app/backend/src/modules/storage/storage.service.ts:244
↓ 1 callersMethodsupportsAdaptiveThinking
()
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:327
↓ 1 callersMethodsupportsExtendedThinking
()
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:312
↓ 1 callersMethodunzipBuffer
* Safely extracts a ZIP file with security validations * @param buffer The ZIP file as a Buffer * @returns Directory path where files were e
ecs_fargate_app/backend/src/shared/utils/project-packer.ts:96
↓ 1 callersFunctionupdateWorkload
(workloadId: string, questionId: string, selectedChoices: string[], notApplicableChoiceIds: string[] = [], not
ecs_fargate_app/frontend/src/services/api.ts:105
↓ 1 callersFunctionupdate_dynamodb_items
Updates all DynamoDB items to the new multi-lens format
ecs_fargate_app/lambda_migration/migration.py:89
↓ 1 callersFunctionupgrade_lens_review
(workload_id, lens_alias)
ecs_fargate_app/lambda_kb_synchronizer/kb_synchronizer.py:76
↓ 1 callersMethoduploadSupportingDocument
( @UploadedFile() file: Express.Multer.File, @Body('description') description: string,
ecs_fargate_app/backend/src/modules/storage/storage.controller.ts:75
↓ 1 callersFunctionuseAnalyzer
()
ecs_fargate_app/frontend/src/hooks/useAnalyzer.ts:6
↓ 1 callersFunctionuseUserMenuUtilities
()
ecs_fargate_app/frontend/src/components/UserMenu.tsx:4
FunctionActions
({ content, authorId }: { content: string, authorId: string })
ecs_fargate_app/frontend/src/components/chat/utils/common-components.tsx:33
FunctionAnalysisResults
({ results, isAnalyzing, onDownloadRecommendations, onGenerateIacDocument, isDownloading, isImplementing, isLo
ecs_fargate_app/frontend/src/components/AnalysisResults.tsx:61
FunctionApp
()
ecs_fargate_app/frontend/src/App.tsx:195
FunctionAppContent
()
ecs_fargate_app/frontend/src/App.tsx:17
FunctionAuthProvider
({ children })
ecs_fargate_app/frontend/src/contexts/AuthContext.tsx:11
FunctionChat
({ isAnalysisComplete, fileId, lensName })
ecs_fargate_app/frontend/src/components/chat/index.tsx:11
FunctionChatBubbleAvatar
({ type, name, initials, loading }: AuthorAvatarProps)
ecs_fargate_app/frontend/src/components/chat/utils/common-components.tsx:8
FunctionChatButton
({ isAnalysisComplete })
ecs_fargate_app/frontend/src/components/chat/ChatButton.tsx:9
FunctionChatMessage
({ message, hideAvatar = false })
ecs_fargate_app/frontend/src/components/chat/ChatMessage.tsx:19
FunctionChatProvider
({ children, fileId, lensName = 'Well-Architected Framework', // Default value if not provided
ecs_fargate_app/frontend/src/components/chat/ChatContext.tsx:9
FunctionChatWindow
({ isAnalysisComplete, fileId, lensName })
ecs_fargate_app/frontend/src/components/chat/ChatWindow.tsx:23
FunctionCodeBlock
({ children, className })
ecs_fargate_app/frontend/src/components/utils/CodeBlock.tsx:15
FunctionCopyButton
({ content })
ecs_fargate_app/frontend/src/components/utils/CopyButton.tsx:29
FunctionDetailsModal
({ visible, onDismiss, content, error, originalFileName = 'unknown_file', lensAlias =
ecs_fargate_app/frontend/src/components/DetailsModal.tsx:23
FunctionDocumentView
({ content, fileName, selectedIaCType, lensAlias = 'unknown_lens', })
ecs_fargate_app/frontend/src/components/DocumentView.tsx:23
FunctionFileUpload
({ onFileUploaded, acceptedFileTypes, })
ecs_fargate_app/frontend/src/components/FileUpload.tsx:28
FunctionHelpButton
({ contentId })
ecs_fargate_app/frontend/src/components/utils/HelpButton.tsx:10
FunctionHelpPanelProvider
({ children })
ecs_fargate_app/frontend/src/contexts/HelpPanelContext.tsx:15
FunctionIaCTemplateSelector
({ value, onChange, disabled = false, })
ecs_fargate_app/frontend/src/components/IaCTemplateSelector.tsx:13
FunctionLanguageProvider
({ children })
ecs_fargate_app/frontend/src/contexts/LanguageContext.tsx:29
FunctionLanguageSelector
()
ecs_fargate_app/frontend/src/components/utils/LanguageSelector.tsx:6
FunctionLanguageToggle
()
ecs_fargate_app/frontend/src/components/utils/LanguageSelector.tsx:41
FunctionLensSelector
({ value, onChange, disabled = false, })
ecs_fargate_app/frontend/src/components/LensSelector.tsx:14
FunctionMatrixLegend
({ colorBy, pillarNames, pillarColorMap, isPillarActive, onTogglePillar, onReset, allPillarsActi
ecs_fargate_app/frontend/src/components/PrioritiesView.tsx:518
FunctionPillarSelector
({ pillars, selectedPillars, onChange, disabled = false, selectedLens })
ecs_fargate_app/frontend/src/components/PillarSelector.tsx:16
FunctionPrioritiesView
({ results, lensAliasArn, lensName })
ecs_fargate_app/frontend/src/components/PrioritiesView.tsx:49
FunctionPriorityPlot
({ items, dotColor, isPillarActive, selectedUid, onSelect, hoveredUid, onHover, quadrantString
ecs_fargate_app/frontend/src/components/PrioritiesView.tsx:341
FunctionRiskSummary
({ summary, onUpdate, onGenerateReport, onDeleteWorkload, onRefresh, isUpdating, isRefreshing,
ecs_fargate_app/frontend/src/components/RiskSummary.tsx:19
FunctionSelectedDetail
({ item, lensAlias, lensName, onAskAssistant, onClear, pillarColorMap, localizePriority, local
ecs_fargate_app/frontend/src/components/PrioritiesView.tsx:601
FunctionSupportingDocumentUpload
({ onDocumentUploaded, onUploadStatusChange, disabled = false, activeWorkItemId, lensAlias
ecs_fargate_app/frontend/src/components/SupportingDocumentUpload.tsx:27
FunctionWellArchitectedAnalyzer
({ onWorkItemsRefreshNeeded, onAnalysisStart, onCurrentLensResultsSelection })
ecs_fargate_app/frontend/src/components/WellArchitectedAnalyzer.tsx:44
FunctionWorkloadIdInput
({ value, onChange, optional = false, disabled = false, })
ecs_fargate_app/frontend/src/components/WorkloadIdInput.tsx:14
Method__init__
(self, scope: Construct, construct_id: str, **kwargs)
local_development/kb_storage_stack.py:267
Method__init__
(self, scope: Construct, construct_id: str, **kwarg)
ecs_fargate_app/wa_genai_stack.py:564
Functionanalyze
( fileId: string, workloadId: string | undefined, selectedPillars: string[], uploadMode?: File
ecs_fargate_app/frontend/src/hooks/useAnalyzer.ts:46
Methodanalyze
( @Body() analyzeRequest: AnalyzeRequestDto, @Headers('x-amzn-oidc-data') userDataHeader: string, )
ecs_fargate_app/backend/src/modules/analyzer/analyzer.controller.ts:62
FunctionaskAssistant
(item: MatrixItem)
ecs_fargate_app/frontend/src/components/PrioritiesView.tsx:99
MethodassociateLens
(workloadId: string, lensAliasArn: string)
ecs_fargate_app/backend/src/modules/well-architected/well-architected.service.ts:298
MethodassociateLens
( @Param('workloadId') workloadId: string, @Body() body: { lensAliasArn: string } )
ecs_fargate_app/backend/src/modules/well-architected/well-architected.controller.ts:107
FunctionassociateLenses
(workloadId: string, lensAliasArn?: string)
ecs_fargate_app/frontend/src/services/api.ts:50
FunctionbuildChatSystemPrompt
( uploadMode: FileUploadMode, analysisContext: any[], fileType: string, lensName?: string )
ecs_fargate_app/backend/src/prompts/chat-prompts.ts:11
FunctionbuildDetailsPrompt
( item: any, fileContent: string, previousContent: string, supportingDocName?: string, supportingDoc
ecs_fargate_app/backend/src/prompts/details-prompts.ts:10
FunctionbuildDetailsSystemPrompt
(modelId?: string, lensName?: string, outputLanguage: string = 'en')
ecs_fargate_app/backend/src/prompts/system-prompts.ts:592
FunctionbuildIacGenerationPrompt
( previousSections: number, allPreviousSections: string, recommendations: any[], supportingDoc
ecs_fargate_app/backend/src/prompts/iac-generation-prompts.ts:10
FunctionbuildIacGenerationSystemPrompt
(templateType: IaCTemplateType, modelId?: string, lensName?: string, outputLanguage: string = 'en')
ecs_fargate_app/backend/src/prompts/system-prompts.ts:653
FunctionbuildImageDetailsPrompt
( item: any, previousContent: string, supportingDocName?: string, supportingDocDescription?: string )
ecs_fargate_app/backend/src/prompts/details-prompts.ts:72
FunctionbuildImageDetailsSystemPrompt
(templateType: IaCTemplateType, modelId?: string, lensName?: string, outputLanguage: string = 'en')
ecs_fargate_app/backend/src/prompts/system-prompts.ts:724
FunctionbuildImagePrompt
( question: QuestionGroup, kbContexts: string[], supportingDocName?: string, supportingDocDescription?
ecs_fargate_app/backend/src/prompts/analysis-prompts.ts:11
FunctionbuildImageSystemPrompt
( question: QuestionGroup, lensName?: string, pillarNames?: string, lensPillars?: Record<string, stri
ecs_fargate_app/backend/src/prompts/system-prompts.ts:100
FunctionbuildKnowledgeBaseInputPrompt
( question: string, pillar: string, questionGroup: QuestionGroup, lensName?: string )
ecs_fargate_app/backend/src/prompts/knowledge-base-prompts.ts:11
FunctionbuildKnowledgeBasePromptTemplate
(lensName?: string)
ecs_fargate_app/backend/src/prompts/knowledge-base-prompts.ts:47
FunctionbuildPdfDetailsSystemPrompt
(lensName?: string, outputLanguage: string = 'en')
ecs_fargate_app/backend/src/prompts/system-prompts.ts:913
FunctionbuildPdfSystemPrompt
( question: QuestionGroup, lensName?: string, numberOfPdfs: number = 1, lensPillars?: Record<string, s
ecs_fargate_app/backend/src/prompts/system-prompts.ts:799
FunctionbuildProjectPrompt
( question: QuestionGroup, kbContexts: string[], supportingDocName?: string, supportingDocDescription?
ecs_fargate_app/backend/src/prompts/analysis-prompts.ts:158
FunctionbuildProjectSystemPrompt
( question: QuestionGroup, lensName?: string, pillarNames?: string, lensPillars?: Record<string, strin
ecs_fargate_app/backend/src/prompts/system-prompts.ts:437
FunctionbuildPrompt
( question: QuestionGroup, kbContexts: string[], supportingDocName?: string, supportingDocDescription?
ecs_fargate_app/backend/src/prompts/analysis-prompts.ts:78
FunctionbuildSystemPrompt
( question: QuestionGroup, lensName?: string, pillarNames?: string, lensPillars?: Record<string, strin
ecs_fargate_app/backend/src/prompts/system-prompts.ts:270
FunctioncancelAnalysis
()
ecs_fargate_app/frontend/src/services/api.ts:97
FunctioncancelAnalysis
()
ecs_fargate_app/frontend/src/hooks/useAnalyzer.ts:152
MethodcancelAnalysis
()
ecs_fargate_app/backend/src/modules/analyzer/analyzer.controller.ts:207
FunctioncancelIaCGeneration
()
ecs_fargate_app/frontend/src/services/api.ts:247
MethodcancelIaCGeneration
()
ecs_fargate_app/backend/src/modules/analyzer/analyzer.controller.ts:201
Methodchat
( @Body() body: { fileId: string; message: string, lensName?: string, lensAliasArn?: string }, @Header
ecs_fargate_app/backend/src/modules/analyzer/analyzer.controller.ts:222
← previousnext →201–300 of 421, ranked by callers