MCPcopy Create free account

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

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

↓ 2 callersMethodstoreOriginalContent
( userId: string, fileId: string, content: string | Buffer, fileType: string, )
ecs_fargate_app/backend/src/modules/storage/storage.service.ts:1070
↓ 2 callersMethodstorePackedContent
* Stores the packed content in S3 * @param userId User ID * @param fileId File ID * @param content Packed content as string
ecs_fargate_app/backend/src/modules/storage/storage.service.ts:599
↓ 2 callersFunctionstore_lens_metadata
Store metadata about processed lens in DynamoDB
ecs_fargate_app/lambda_kb_synchronizer/kb_synchronizer.py:176
↓ 2 callersFunctionuseHelpContent
()
ecs_fargate_app/frontend/src/components/utils/help-content.tsx:18
↓ 2 callersFunctionuseHelpPanel
()
ecs_fargate_app/frontend/src/contexts/HelpPanelContext.tsx:36
↓ 2 callersFunctionvalidateFileContent
( buffer: Buffer, fileName: string, )
ecs_fargate_app/backend/src/shared/utils/file-validator.ts:56
↓ 2 callersFunctionwithMeta
(bp: FlatBestPractice, x: number, y: number)
ecs_fargate_app/frontend/src/components/utils/priority-matrix.ts:364
↓ 1 callersFunctionanalyze
( fileId: string, workloadId: string, selectedPillars: string[], uploadMode?: FileUploadMode,
ecs_fargate_app/frontend/src/services/api.ts:64
↓ 1 callersMethodanalyze
( fileId: string, workloadId: string, selectedPillars: string[], uploadMode: F
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:898
↓ 1 callersMethodanalyzePdfFiles
* Analyzes PDF files against AWS Well-Architected best practices * @param pdfFiles Array of PDF files with filename and buffer * @param question The
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2724
↓ 1 callersMethodanalyzeQuestion
( fileContent: string | any, question: QuestionGroup, kbContexts: string[], fi
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2242
↓ 1 callersFunctionbestPracticeDocUrl
( item: FlatBestPractice, lensAlias: string, lensName: string, )
ecs_fargate_app/frontend/src/components/utils/priority-matrix.ts:472
↓ 1 callersFunctionbootstrap
()
ecs_fargate_app/backend/src/main.ts:8
↓ 1 callersFunctionbuildPillarColorMap
(pillarNames: string[])
ecs_fargate_app/frontend/src/components/utils/priority-matrix.ts:162
↓ 1 callersMethodcancelAnalysis
()
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:894
↓ 1 callersMethodcancelIaCGeneration
()
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:1249
↓ 1 callersFunctioncheck_migration_needed
Checks if migration is needed by scanning the DynamoDB table Returns True if migration is needed, False otherwise
ecs_fargate_app/lambda_migration/migration.py:63
↓ 1 callersMethodcleanJsonString
(jsonString: string)
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2332
↓ 1 callersFunctioncleanup_stale_temp_workloads
Periodically lists and removes temporary workloads that have been inactive for more than 24 hours to prevent resource accumulation.
ecs_fargate_app/lambda_kb_synchronizer/kb_synchronizer.py:513
↓ 1 callersFunctioncomputeDistribution
(results: AnalysisResult[] | null | undefined)
ecs_fargate_app/frontend/src/components/utils/priority-matrix.ts:273
↓ 1 callersFunctioncomputeMatrixLayout
(items: FlatBestPractice[])
ecs_fargate_app/frontend/src/components/utils/priority-matrix.ts:426
↓ 1 callersMethodcreateBedrockAgentClient
()
ecs_fargate_app/backend/src/config/aws.config.ts:25
↓ 1 callersMethodcreateMilestone
(workloadId: string, milestoneName: string)
ecs_fargate_app/backend/src/modules/well-architected/well-architected.service.ts:176
↓ 1 callersMethodcreateWorkItem
( userId: string, fileName: string, fileType: string, fileBuffer: Buffer, uploadMode: File
ecs_fargate_app/backend/src/modules/storage/storage.service.ts:661
↓ 1 callersMethodcreateZipFromFiles
* Creates a zip file from multiple files * @param files Array of {filename, buffer, type} objects * @returns Buffer containing the zip file
ecs_fargate_app/backend/src/shared/utils/project-packer.ts:751
↓ 1 callersMethodcreate_alb_auth_action
( self, auth_config: dict, alb_domain: str, existing_user_pool=None, e
ecs_fargate_app/wa_genai_stack.py:80
↓ 1 callersMethodcreate_knowledge_base_with_opensearch
Create Knowledge Base with OpenSearch Serverless vector store (default option) Returns: tuple of (kb, kbDataSource, KB_ID)
local_development/kb_storage_stack.py:26
↓ 1 callersMethodcreate_knowledge_base_with_opensearch
Create Knowledge Base with OpenSearch Serverless vector store (default option) Returns: tuple of (kb, kbDataSource, KB_ID)
ecs_fargate_app/wa_genai_stack.py:368
↓ 1 callersMethodcreate_knowledge_base_with_s3_vectors
Create Knowledge Base with S3 Vectors store Returns: tuple of (kb_id, data_source_id, vector_bucket, vector_index, cfn_kb, cfn_data_s
local_development/kb_storage_stack.py:82
↓ 1 callersMethodcreate_knowledge_base_with_s3_vectors
Create Knowledge Base with S3 Vectors store Returns: tuple of (kb_id, data_source_id, vector_bucket, vector_index)
ecs_fargate_app/wa_genai_stack.py:402
↓ 1 callersFunctioncreate_metadata_json
Creates metadata JSON content for a lens
ecs_fargate_app/lambda_kb_synchronizer/kb_synchronizer.py:20
↓ 1 callersMethodcreate_stack_cleanup_resources
Create resources for automatic stack cleanup via EventBridge and Lambda
ecs_fargate_app/wa_genai_stack.py:190
↓ 1 callersMethoddeleteWorkItem
(userId: string, fileId: string)
ecs_fargate_app/backend/src/modules/storage/storage.service.ts:872
↓ 1 callersFunctiondeleteWorkload
(workloadId: string)
ecs_fargate_app/frontend/src/services/api.ts:185
↓ 1 callersFunctiondetectType
(buffer: Buffer)
ecs_fargate_app/backend/src/shared/utils/file-validator.ts:121
↓ 1 callersFunctiondetermineFileType
(file: File)
ecs_fargate_app/frontend/src/components/SupportingDocumentUpload.tsx:127
↓ 1 callersMethoddisconnect
()
ecs_fargate_app/frontend/src/services/socket.ts:32
↓ 1 callersFunctiondotColor
(item: MatrixItem)
ecs_fargate_app/frontend/src/components/PrioritiesView.tsx:92
↓ 1 callersFunctiondownloadRecommendations
(originalFileName: string = 'unknown_file', lensAlias?: string)
ecs_fargate_app/frontend/src/hooks/useAnalyzer.ts:331
↓ 1 callersMethodensureBase64Format
(fileContent: string, fileType: string)
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:872
↓ 1 callersMethodexecuteWithTimeout
( operation: () => Promise<T>, timeoutMs: number = 30000 )
ecs_fargate_app/backend/src/shared/utils/project-packer.ts:562
↓ 1 callersFunctionfetchAuthConfig
()
ecs_fargate_app/frontend/src/contexts/AuthContext.tsx:18
↓ 1 callersFunctionfetchLensMetadata
()
ecs_fargate_app/frontend/src/components/LensSelector.tsx:27
↓ 1 callersFunctionfetchWorkloads
()
ecs_fargate_app/frontend/src/components/WorkloadIdInput.tsx:26
↓ 1 callersMethodformatAsTree
* Formats file paths as a tree structure * @param files Array of file paths * @param basePath Base directory path * @returns Formatted
ecs_fargate_app/backend/src/shared/utils/project-packer.ts:353
↓ 1 callersFunctionformatDateTime
(dateStr: string)
ecs_fargate_app/frontend/src/components/WorkSideNavigation.tsx:202
↓ 1 callersFunctionformatDateTime
(dateStr: string)
ecs_fargate_app/frontend/src/components/WellArchitectedAnalyzer.tsx:628
↓ 1 callersMethodgenerateIacDocument
( fileId: string, recommendations: any[], templateType: IaCTemplateType, userI
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:1253
↓ 1 callersMethodgenerateRandomString
(length: number)
ecs_fargate_app/backend/src/modules/well-architected/well-architected.service.ts:243
↓ 1 callersMethodgenerateRecommendations
(@Body() results: any[])
ecs_fargate_app/backend/src/modules/report/report.controller.ts:32
↓ 1 callersMethodgenerateRecommendationsCsv
(results: AnalysisResult[])
ecs_fargate_app/backend/src/modules/report/report.service.ts:47
↓ 1 callersFunctiongenerateReport
(workloadId: string, lensAliasArn?: string)
ecs_fargate_app/frontend/src/services/api.ts:152
↓ 1 callersMethodgenerateReport
(workloadId: string, lensAliasArn?: string)
ecs_fargate_app/backend/src/modules/report/report.service.ts:31
↓ 1 callersFunctiongetActionItems
(results: AnalysisResult[] | null | undefined)
ecs_fargate_app/frontend/src/components/utils/priority-matrix.ts:254
↓ 1 callersFunctiongetBadgeColor
(status?: WorkItemStatus)
ecs_fargate_app/frontend/src/components/WorkSideNavigation.tsx:57
↓ 1 callersFunctiongetBestPracticeCounts
(practices: EnhancedBestPractice[])
ecs_fargate_app/frontend/src/components/AnalysisResults.tsx:193
↓ 1 callersMethodgetChatHistory
( @Param('fileId') fileId: string, @Headers('x-amzn-oidc-data') userDataHeader: string, )
ecs_fargate_app/backend/src/modules/storage/storage.controller.ts:581
↓ 1 callersMethodgetExtensionFromTemplateType
(templateType: string)
ecs_fargate_app/backend/src/modules/storage/storage.service.ts:1064
↓ 1 callersMethodgetFilesRecursively
* Recursively gets all files from a directory, excluding patterns * @param dirPath Directory path * @returns Array of file paths relative to
ecs_fargate_app/backend/src/shared/utils/project-packer.ts:264
↓ 1 callersMethodgetKnowledgeBaseModelArn
* Returns a model ARN suitable for the Bedrock Knowledge Base RetrieveAndGenerate API. * Some models (e.g. Claude Opus 4.7) are not supported by
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2124
↓ 1 callersFunctiongetLanguage
(lang: string)
ecs_fargate_app/frontend/src/components/utils/CodeBlock.tsx:46
↓ 1 callersFunctiongetLanguageName
(code: string)
ecs_fargate_app/backend/src/prompts/languages.ts:62
↓ 1 callersMethodgetLensMetadata
()
ecs_fargate_app/backend/src/modules/well-architected/well-architected.service.ts:40
↓ 1 callersMethodgetLensNameFromAlias
(lenses: LensInfo[], lensAlias: string)
ecs_fargate_app/backend/src/modules/storage/storage.service.ts:364
↓ 1 callersMethodgetMoreDetails
( selectedItems: any[], userId: string, fileId: string, templateType?: IaCTemp
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:1563
↓ 1 callersFunctiongetQuadrant
( criticality: CriticalityLevel | undefined, complexity: ComplexityLevel | undefined, )
ecs_fargate_app/frontend/src/components/utils/priority-matrix.ts:197
↓ 1 callersFunctiongetStringContent
(node: ReactNode)
ecs_fargate_app/frontend/src/components/utils/CodeBlock.tsx:17
↓ 1 callersMethodgetSupportingDocumentMetadataPath
(lensAlias: string, documentId: string)
ecs_fargate_app/backend/src/shared/interfaces/storage.interface.ts:106
↓ 1 callersFunctionget_custom_lenses_from_ssm
Retrieve custom lenses configuration from SSM Parameter Store
ecs_fargate_app/lambda_kb_synchronizer/kb_synchronizer.py:202
↓ 1 callersFunctionhandleAiChatClick
(item: EnhancedBestPractice)
ecs_fargate_app/frontend/src/components/AnalysisResults.tsx:273
↓ 1 callersFunctionhandleDelete
(item: WorkItem)
ecs_fargate_app/frontend/src/components/WorkSideNavigation.tsx:179
↓ 1 callersFunctionhandleDeleteChatHistory
(item: WorkItem, event: any)
ecs_fargate_app/frontend/src/components/WorkSideNavigation.tsx:142
↓ 1 callersFunctionhandleDeleteWorkload
(activeWorkItem?: any, activeLensAlias?: string, activeLensArn?: string)
ecs_fargate_app/frontend/src/components/WellArchitectedAnalyzer.tsx:404
↓ 1 callersFunctionhandleDownload
(item: WorkItem, event: any)
ecs_fargate_app/frontend/src/components/WorkSideNavigation.tsx:94
↓ 1 callersFunctionhandleDownloadChatHistory
(item: WorkItem, event: any)
ecs_fargate_app/frontend/src/components/WorkSideNavigation.tsx:125
↓ 1 callersFunctionhandleDownloadSupportingDocument
(supportingDocId: string, fileName: string)
ecs_fargate_app/frontend/src/components/WellArchitectedAnalyzer.tsx:490
↓ 1 callersFunctionhandleFileChange
(files: File[])
ecs_fargate_app/frontend/src/components/FileUpload.tsx:82
↓ 1 callersFunctionhandleFileChange
(files: File[])
ecs_fargate_app/frontend/src/components/SupportingDocumentUpload.tsx:43
↓ 1 callersFunctionhandleGenerateReport
(specificWorkloadId?: string, specificLensAliasArn?: string)
ecs_fargate_app/frontend/src/components/WellArchitectedAnalyzer.tsx:514
↓ 1 callersMethodhandleMultipleFiles
* Handles multiple file uploads * @param userId User ID * @param files Array of files with filename, buffer, and mimetype * @returns Object c
ecs_fargate_app/backend/src/modules/storage/storage.service.ts:505
↓ 1 callersFunctionhandleOriginalFileDownload
(fileId: string, fileName: string)
ecs_fargate_app/frontend/src/components/WellArchitectedAnalyzer.tsx:611
↓ 1 callersMethodhandlePdfFiles
* Handles uploading PDF files * @param userId User ID * @param files Array of files with filename, buffer, and mimetype * @returns Object containin
ecs_fargate_app/backend/src/modules/storage/storage.service.ts:1126
↓ 1 callersFunctionhandleUpdate
(activeWorkItem?: any, specificWorkloadId?: string, specificLensAliasArn?: string, currentWorkloadProtected?:
ecs_fargate_app/frontend/src/components/WellArchitectedAnalyzer.tsx:382
↓ 1 callersMethodhandleZipFile
* Handles zip file upload * @param userId User ID * @param filename Original filename * @param buffer File buffer * @returns Object contai
ecs_fargate_app/backend/src/modules/storage/storage.service.ts:443
↓ 1 callersFunctionhasPrioritizationData
(results: AnalysisResult[] | null | undefined)
ecs_fargate_app/frontend/src/components/utils/priority-matrix.ts:238
↓ 1 callersMethodinvokeBedrockModel
( prompt: string, systemPrompt: string, supportingDocContent?: string, support
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2494
↓ 1 callersMethodinvokeBedrockModelForIacGeneration
( imageData: string, mediaType: string, recommendations: any[], previousSectio
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2578
↓ 1 callersMethodinvokeBedrockModelWithImage
( prompt: string, systemPrompt: string, imageContent: string, supportingDocCon
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2390
↓ 1 callersMethodinvokeBedrockModelWithPdfs
* Invokes Bedrock model with PDF documents * @param prompt The prompt text for analysis * @param systemPrompt The system prompt for the mode
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2775
↓ 1 callersMethodisFable5
()
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:358
↓ 1 callersFunctionisIaCFile
(file: File)
ecs_fargate_app/frontend/src/components/FileUpload.tsx:58
↓ 1 callersMethodisImageFile
(fileType: string | undefined)
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:889
↓ 1 callersMethodisOpus47
()
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:339
↓ 1 callersMethodisOpus48
()
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:348
↓ 1 callersFunctionisPdfFile
(file: File)
ecs_fargate_app/frontend/src/components/FileUpload.tsx:46
↓ 1 callersMethodisValidPathLength
* Checks if a file path length exceeds the maximum allowed length * @param filePath The file path to check * @returns True if path length is
ecs_fargate_app/backend/src/shared/utils/project-packer.ts:87
↓ 1 callersFunctionisZipFile
(file: File)
ecs_fargate_app/frontend/src/components/FileUpload.tsx:52
↓ 1 callersMethodkbModelForbidsSamplingParams
* Returns whether the configured model forbids explicit sampling parameters * (temperature, top_p, top_k) in the KB generation inference config.
ecs_fargate_app/backend/src/modules/analyzer/analyzer.service.ts:2154
↓ 1 callersMethodlistAnswers
(workloadId: string, pillarId: string, lensAlias?: string)
ecs_fargate_app/backend/src/modules/well-architected/well-architected.service.ts:92
↓ 1 callersMethodlistWorkItems
(userId: string)
ecs_fargate_app/backend/src/modules/storage/storage.service.ts:847
← previousnext →101–200 of 421, ranked by callers