start_assessment
async
¶
start_assessment(
*,
config_overrides: Optional[AsyncMigrationHubStrategyClientConfig] = None,
s3bucket_for_analysis_data: Optional[String] = None,
s3bucket_for_report_data: Optional[String] = None,
assessment_targets: Optional[AssessmentTargets] = None,
assessment_data_source_type: Optional[AssessmentDataSourceType] = None,
) -> StartAssessmentResponse
Starts the assessment of an on-premises environment.
Parameters:
-
s3bucket_for_analysis_data(Optional[String], default:None) –The S3 bucket used by the collectors to send analysis data to the service. The bucket name must begin with
migrationhub-strategy-. -
s3bucket_for_report_data(Optional[String], default:None) –The S3 bucket where all the reports generated by the service are stored. The bucket name must begin with
migrationhub-strategy-. -
assessment_targets(Optional[AssessmentTargets], default:None) –List of criteria for assessment.
-
assessment_data_source_type(Optional[AssessmentDataSourceType], default:None) –The data source type of an assessment to be started.
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.
-
InternalServerException–The server experienced an internal error. Try again.
-
ServiceQuotaExceededException–The AWS account has reached its quota of imports. Contact AWS Support to increase the quota for this account.
-
ThrottlingException–The request was denied due to request throttling.
-
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
1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 | |