MigrationHubStrategyRecommendations.Client.
get_assessment
(**kwargs)¶Retrieves the status of an on-going assessment.
See also: AWS API Documentation
Request Syntax
response = client.get_assessment(
id='string'
)
[REQUIRED]
The assessmentid
returned by StartAssessment.
{
'assessmentTargets': [
{
'condition': 'EQUALS'|'NOT_EQUALS'|'CONTAINS'|'NOT_CONTAINS',
'name': 'string',
'values': [
'string',
]
},
],
'dataCollectionDetails': {
'completionTime': datetime(2015, 1, 1),
'failed': 123,
'inProgress': 123,
'servers': 123,
'startTime': datetime(2015, 1, 1),
'status': 'IN_PROGRESS'|'COMPLETE'|'FAILED'|'STOPPED',
'statusMessage': 'string',
'success': 123
},
'id': 'string'
}
Response Structure
List of criteria for assessment.
Defines the criteria of assessment.
Condition of an assessment.
Name of an assessment.
Values of an assessment.
Detailed information about the assessment.
The time the assessment completes.
The number of failed servers in the assessment.
The number of servers with the assessment status IN_PROGESS
.
The total number of servers in the assessment.
The start time of assessment.
The status of the assessment.
The status message of the assessment.
The number of successful servers in the assessment.
The ID for the specific assessment task.
Exceptions
MigrationHubStrategyRecommendations.Client.exceptions.ResourceNotFoundException
MigrationHubStrategyRecommendations.Client.exceptions.AccessDeniedException
MigrationHubStrategyRecommendations.Client.exceptions.ThrottlingException
MigrationHubStrategyRecommendations.Client.exceptions.InternalServerException