MigrationHubStrategyRecommendations / Client / start_assessment

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(
    assessmentDataSourceType='StrategyRecommendationsApplicationDataCollector'|'ManualImport'|'ApplicationDiscoveryService',
    assessmentTargets=[
        {
            'condition': 'EQUALS'|'NOT_EQUALS'|'CONTAINS'|'NOT_CONTAINS',
            'name': 'string',
            'values': [
                'string',
            ]
        },
    ],
    s3bucketForAnalysisData='string',
    s3bucketForReportData='string'
)
Parameters:
  • assessmentDataSourceType (string) – The data source type of an assessment to be started.

  • 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