MigrationHubStrategyRecommendations.Client.
get_application_component_details
(**kwargs)¶Retrieves details about an application component.
See also: AWS API Documentation
Request Syntax
response = client.get_application_component_details(
applicationComponentId='string'
)
[REQUIRED]
The ID of the application component. The ID is unique within an AWS account.
{
'applicationComponentDetail': {
'analysisStatus': 'ANALYSIS_TO_BE_SCHEDULED'|'ANALYSIS_STARTED'|'ANALYSIS_SUCCESS'|'ANALYSIS_FAILED'|'ANALYSIS_PARTIAL_SUCCESS'|'UNCONFIGURED'|'CONFIGURED',
'antipatternReportS3Object': {
's3Bucket': 'string',
's3key': 'string'
},
'antipatternReportStatus': 'FAILED'|'IN_PROGRESS'|'SUCCESS',
'antipatternReportStatusMessage': 'string',
'appType': 'DotNetFramework'|'Java'|'SQLServer'|'IIS'|'Oracle'|'Other'|'Tomcat'|'JBoss'|'Spring'|'Mongo DB'|'DB2'|'Maria DB'|'MySQL'|'Sybase'|'PostgreSQLServer'|'Cassandra'|'IBM WebSphere'|'Oracle WebLogic'|'Visual Basic'|'Unknown'|'DotnetCore'|'Dotnet',
'appUnitError': {
'appUnitErrorCategory': 'CREDENTIAL_ERROR'|'CONNECTIVITY_ERROR'|'PERMISSION_ERROR'|'UNSUPPORTED_ERROR'|'OTHER_ERROR'
},
'associatedServerId': 'string',
'databaseConfigDetail': {
'secretName': 'string'
},
'id': 'string',
'inclusionStatus': 'excludeFromAssessment'|'includeInAssessment',
'lastAnalyzedTimestamp': datetime(2015, 1, 1),
'listAntipatternSeveritySummary': [
{
'count': 123,
'severity': 'HIGH'|'MEDIUM'|'LOW'
},
],
'moreServerAssociationExists': True|False,
'name': 'string',
'osDriver': 'string',
'osVersion': 'string',
'recommendationSet': {
'strategy': 'Rehost'|'Retirement'|'Refactor'|'Replatform'|'Retain'|'Relocate'|'Repurchase',
'targetDestination': 'None specified'|'AWS Elastic BeanStalk'|'AWS Fargate'|'Amazon Elastic Cloud Compute (EC2)'|'Amazon Elastic Container Service (ECS)'|'Amazon Elastic Kubernetes Service (EKS)'|'Aurora MySQL'|'Aurora PostgreSQL'|'Amazon Relational Database Service on MySQL'|'Amazon Relational Database Service on PostgreSQL'|'Amazon DocumentDB'|'Amazon DynamoDB'|'Amazon Relational Database Service'|'Babelfish for Aurora PostgreSQL',
'transformationTool': {
'description': 'string',
'name': 'App2Container'|'Porting Assistant For .NET'|'End of Support Migration'|'Windows Web Application Migration Assistant'|'Application Migration Service'|'Strategy Recommendation Support'|'In Place Operating System Upgrade'|'Schema Conversion Tool'|'Database Migration Service'|'Native SQL Server Backup/Restore',
'tranformationToolInstallationLink': 'string'
}
},
'resourceSubType': 'Database'|'Process'|'DatabaseProcess',
'resultList': [
{
'analysisStatus': {
'runtimeAnalysisStatus': 'ANALYSIS_TO_BE_SCHEDULED'|'ANALYSIS_STARTED'|'ANALYSIS_SUCCESS'|'ANALYSIS_FAILED',
'srcCodeOrDbAnalysisStatus': 'ANALYSIS_TO_BE_SCHEDULED'|'ANALYSIS_STARTED'|'ANALYSIS_SUCCESS'|'ANALYSIS_FAILED'|'ANALYSIS_PARTIAL_SUCCESS'|'UNCONFIGURED'|'CONFIGURED'
},
'analysisType': 'SOURCE_CODE_ANALYSIS'|'DATABASE_ANALYSIS'|'RUNTIME_ANALYSIS'|'BINARY_ANALYSIS',
'antipatternReportResultList': [
{
'analyzerName': {
'binaryAnalyzerName': 'DLL_ANALYZER'|'BYTECODE_ANALYZER',
'runTimeAnalyzerName': 'A2C_ANALYZER'|'REHOST_ANALYZER'|'EMP_PA_ANALYZER'|'DATABASE_ANALYZER'|'SCT_ANALYZER',
'sourceCodeAnalyzerName': 'CSHARP_ANALYZER'|'JAVA_ANALYZER'|'BYTECODE_ANALYZER'|'PORTING_ASSISTANT'
},
'antiPatternReportS3Object': {
's3Bucket': 'string',
's3key': 'string'
},
'antipatternReportStatus': 'FAILED'|'IN_PROGRESS'|'SUCCESS',
'antipatternReportStatusMessage': 'string'
},
],
'statusMessage': 'string'
},
],
'runtimeStatus': 'ANALYSIS_TO_BE_SCHEDULED'|'ANALYSIS_STARTED'|'ANALYSIS_SUCCESS'|'ANALYSIS_FAILED',
'runtimeStatusMessage': 'string',
'sourceCodeRepositories': [
{
'branch': 'string',
'projectName': 'string',
'repository': 'string',
'versionControlType': 'string'
},
],
'statusMessage': 'string'
},
'associatedApplications': [
{
'id': 'string',
'name': 'string'
},
],
'associatedServerIds': [
'string',
],
'moreApplicationResource': True|False
}
Response Structure
Detailed information about an application component.
The status of analysis, if the application component has source code or an associated database.
The S3 bucket name and the Amazon S3 key name for the anti-pattern report.
The S3 bucket name.
The Amazon S3 key name.
The status of the anti-pattern report generation.
The status message for the anti-pattern.
The type of application component.
The error in the analysis of the source code or database.
The category of the error.
The ID of the server that the application component is running on.
Configuration details for the database associated with the application component.
AWS Secrets Manager key that holds the credentials that you use to connect to a database.
The ID of the application component.
Indicates whether the application component has been included for server recommendation or not.
The timestamp of when the application component was assessed.
A list of anti-pattern severity summaries.
Contains the summary of anti-patterns and their severity.
Contains the count of anti-patterns.
Contains the severity of anti-patterns.
Set to true if the application component is running on multiple servers.
The name of application component.
OS driver.
OS version.
The top recommendation set for the application component.
The recommended strategy.
The recommended target destination.
The target destination for the recommendation set.
Description of the tool.
Name of the tool.
URL for installing the tool.
The application component subtype.
A list of the analysis results.
The error in server analysis.
The error in server analysis.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set: runtimeAnalysisStatus
, srcCodeOrDbAnalysisStatus
. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER
is as follows:
'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
The status of the analysis.
The status of the source code or database analysis.
The error in server analysis.
The error in server analysis.
The anti-pattern report result.
The analyzer name.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set: binaryAnalyzerName
, runTimeAnalyzerName
, sourceCodeAnalyzerName
. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER
is as follows:
'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
The binary analyzer names.
The assessment analyzer names.
The source code analyzer names.
Contains the S3 bucket name and the Amazon S3 key name.
The S3 bucket name.
The Amazon S3 key name.
The status of the anti-pattern report generation.
The status message for the anti-pattern.
The error in server analysis.
The status of the application unit.
The status message for the application unit.
Details about the source code repository associated with the application component.
Object containing source code information that is linked to an application component.
The branch of the source code.
The name of the project.
The repository name for the source code.
The type of repository to use for the source code.
A detailed description of the analysis status and any failure message.
The associated application group as defined in AWS Application Discovery Service.
Object containing details about applications as defined in Application Discovery Service.
ID of the application as defined in Application Discovery Service.
Name of the application as defined in Application Discovery Service.
A list of the IDs of the servers on which the application component is running.
Set to true if the application component belongs to more than one application group.
Exceptions
MigrationHubStrategyRecommendations.Client.exceptions.ResourceNotFoundException
MigrationHubStrategyRecommendations.Client.exceptions.ThrottlingException
MigrationHubStrategyRecommendations.Client.exceptions.InternalServerException