put_portfolio_preferences
async
¶
put_portfolio_preferences(
*,
config_overrides: Optional[AsyncMigrationHubStrategyClientConfig] = None,
prioritize_business_goals: Optional[PrioritizeBusinessGoals] = None,
application_preferences: Optional[ApplicationPreferences] = None,
database_preferences: Optional[DatabasePreferences] = None,
application_mode: Optional[ApplicationMode] = None,
) -> PutPortfolioPreferencesResponse
Saves the specified migration and modernization preferences.
Parameters:
-
prioritize_business_goals(Optional[PrioritizeBusinessGoals], default:None) –The rank of the business goals based on priority.
-
application_preferences(Optional[ApplicationPreferences], default:None) –The transformation preferences for non-database applications.
-
database_preferences(Optional[DatabasePreferences], default:None) –The transformation preferences for database applications.
-
application_mode(Optional[ApplicationMode], default:None) –The classification for application component types.
Raises:
-
AccessDeniedException–The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
-
ConflictException–Exception to indicate that there is an ongoing task when a new task is created. Return when once the existing tasks are complete.
-
InternalServerException–The server experienced an internal error. Try again.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request body isn't valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_migrationhubstrategy/_services/async_migration_hub_strategy.py
1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 | |