start_assessment
¶
start_assessment(
*,
config_overrides: Optional[MigrationHubStrategyClientConfig] = 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/migration_hub_strategy.py
1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 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 | |