MigrationHubStrategyRecommendations.Client.
get_portfolio_preferences
()¶Retrieves your migration and modernization preferences.
See also: AWS API Documentation
Request Syntax
response = client.get_portfolio_preferences()
{
'applicationMode': 'ALL'|'KNOWN'|'UNKNOWN',
'applicationPreferences': {
'managementPreference': {
'awsManagedResources': {
'targetDestination': [
'None specified'|'AWS Elastic BeanStalk'|'AWS Fargate',
]
},
'noPreference': {
'targetDestination': [
'None specified'|'AWS Elastic BeanStalk'|'AWS Fargate'|'Amazon Elastic Cloud Compute (EC2)'|'Amazon Elastic Container Service (ECS)'|'Amazon Elastic Kubernetes Service (EKS)',
]
},
'selfManageResources': {
'targetDestination': [
'None specified'|'Amazon Elastic Cloud Compute (EC2)'|'Amazon Elastic Container Service (ECS)'|'Amazon Elastic Kubernetes Service (EKS)',
]
}
}
},
'databasePreferences': {
'databaseManagementPreference': 'AWS-managed'|'Self-manage'|'No preference',
'databaseMigrationPreference': {
'heterogeneous': {
'targetDatabaseEngine': [
'None specified'|'Amazon Aurora'|'AWS PostgreSQL'|'MySQL'|'Microsoft SQL Server'|'Oracle Database'|'MariaDB'|'SAP'|'Db2 LUW'|'MongoDB',
]
},
'homogeneous': {
'targetDatabaseEngine': [
'None specified',
]
},
'noPreference': {
'targetDatabaseEngine': [
'None specified'|'Amazon Aurora'|'AWS PostgreSQL'|'MySQL'|'Microsoft SQL Server'|'Oracle Database'|'MariaDB'|'SAP'|'Db2 LUW'|'MongoDB',
]
}
}
},
'prioritizeBusinessGoals': {
'businessGoals': {
'licenseCostReduction': 123,
'modernizeInfrastructureWithCloudNativeTechnologies': 123,
'reduceOperationalOverheadWithManagedServices': 123,
'speedOfMigration': 123
}
}
}
Response Structure
The classification for application component types.
The transformation preferences for non-database applications.
Application preferences that you specify to prefer managed environment.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set: awsManagedResources
, noPreference
, selfManageResources
. 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'}
Indicates interest in solutions that are managed by AWS.
The choice of application destination that you specify.
No specific preference.
The choice of application destination that you specify.
Indicates interest in managing your own resources on AWS.
Self-managed resources target destination.
The transformation preferences for database applications.
Specifies whether you're interested in self-managed databases or databases managed by AWS.
Specifies your preferred migration path.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set: heterogeneous
, homogeneous
, noPreference
. 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'}
Indicates whether you are interested in moving from one type of database to another. For example, from SQL Server to Amazon Aurora MySQL-Compatible Edition.
The target database engine for heterogeneous database migration preference.
Indicates whether you are interested in moving to the same type of database into AWS. For example, from SQL Server in your environment to SQL Server on AWS.
The target database engine for homogeneous database migration preferences.
Indicated that you do not prefer heterogeneous or homogeneous.
The target database engine for database migration preference that you specify.
The rank of business goals based on priority.
Rank of business goals based on priority.
Business goal to reduce license costs.
Business goal to modernize infrastructure by moving to cloud native technologies.
Business goal to reduce the operational overhead on the team by moving into managed services.
Business goal to achieve migration at a fast pace.
Exceptions
MigrationHubStrategyRecommendations.Client.exceptions.ResourceNotFoundException
MigrationHubStrategyRecommendations.Client.exceptions.AccessDeniedException
MigrationHubStrategyRecommendations.Client.exceptions.ThrottlingException
MigrationHubStrategyRecommendations.Client.exceptions.InternalServerException