get_server_strategies
(**kwargs)¶Retrieves recommended strategies and tools for the specified server.
See also: AWS API Documentation
Request Syntax
response = client.get_server_strategies(
serverId='string'
)
[REQUIRED]
The ID of the server.
{
'serverStrategies': [
{
'isPreferred': True|False,
'numberOfApplicationComponents': 123,
'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
A list of strategy recommendations for the server.
Contains information about a strategy recommendation for a server.
Set to true if the recommendation is set as preferred.
The number of application components with this strategy recommendation running on the server.
Strategy recommendation for the server.
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 recommendation status of the strategy for the server.
Exceptions
MigrationHubStrategyRecommendations.Client.exceptions.ResourceNotFoundException
MigrationHubStrategyRecommendations.Client.exceptions.AccessDeniedException
MigrationHubStrategyRecommendations.Client.exceptions.ThrottlingException
MigrationHubStrategyRecommendations.Client.exceptions.ValidationException
MigrationHubStrategyRecommendations.Client.exceptions.InternalServerException