MigrationHubStrategyRecommendations / Client / get_application_component_strategies

get_application_component_strategies#

MigrationHubStrategyRecommendations.Client.get_application_component_strategies(**kwargs)#

Retrieves a list of all the recommended strategies and tools for an application component running on a server.

See also: AWS API Documentation

Request Syntax

response = client.get_application_component_strategies(
    applicationComponentId='string'
)
Parameters:

applicationComponentId (string) –

[REQUIRED]

The ID of the application component. The ID is unique within an AWS account.

Return type:

dict

Returns:

Response Syntax

{
    'applicationComponentStrategies': [
        {
            'isPreferred': True|False,
            'recommendation': {
                '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'
                }
            },
            'status': 'recommended'|'viableOption'|'notRecommended'|'potential'
        },
    ]
}

Response Structure

  • (dict) –

    • applicationComponentStrategies (list) –

      A list of application component strategy recommendations.

      • (dict) –

        Contains information about a strategy recommendation for an application component.

        • isPreferred (boolean) –

          Set to true if the recommendation is set as preferred.

        • recommendation (dict) –

          Strategy recommendation for the application component.

          • strategy (string) –

            The recommended strategy.

          • targetDestination (string) –

            The recommended target destination.

          • transformationTool (dict) –

            The target destination for the recommendation set.

            • description (string) –

              Description of the tool.

            • name (string) –

              Name of the tool.

            • tranformationToolInstallationLink (string) –

              URL for installing the tool.

        • status (string) –

          The recommendation status of a strategy for an application component.

Exceptions

  • MigrationHubStrategyRecommendations.Client.exceptions.ResourceNotFoundException

  • MigrationHubStrategyRecommendations.Client.exceptions.ThrottlingException

  • MigrationHubStrategyRecommendations.Client.exceptions.InternalServerException