start_assessment

MigrationHubStrategyRecommendations.Client.start_assessment(**kwargs)

Starts the assessment of an on-premises environment.

See also: AWS API Documentation

Request Syntax

response = client.start_assessment(
    assessmentTargets=[
        {
            'condition': 'EQUALS'|'NOT_EQUALS'|'CONTAINS'|'NOT_CONTAINS',
            'name': 'string',
            'values': [
                'string',
            ]
        },
    ],
    s3bucketForAnalysisData='string',
    s3bucketForReportData='string'
)
Parameters
  • assessmentTargets (list) --

    List of criteria for assessment.

    • (dict) --

      Defines the criteria of assessment.

      • condition (string) -- [REQUIRED]

        Condition of an assessment.

      • name (string) -- [REQUIRED]

        Name of an assessment.

      • values (list) -- [REQUIRED]

        Values of an assessment.

        • (string) --
  • s3bucketForAnalysisData (string) -- The S3 bucket used by the collectors to send analysis data to the service. The bucket name must begin with migrationhub-strategy- .
  • s3bucketForReportData (string) -- The S3 bucket where all the reports generated by the service are stored. The bucket name must begin with migrationhub-strategy- .
Return type

dict

Returns

Response Syntax

{
    'assessmentId': 'string'
}

Response Structure

  • (dict) --

    • assessmentId (string) --

      The ID of the assessment.

Exceptions

  • MigrationHubStrategyRecommendations.Client.exceptions.AccessDeniedException
  • MigrationHubStrategyRecommendations.Client.exceptions.ThrottlingException
  • MigrationHubStrategyRecommendations.Client.exceptions.ServiceQuotaExceededException
  • MigrationHubStrategyRecommendations.Client.exceptions.InternalServerException