DatabaseMigrationService / Client / start_recommendations

start_recommendations#

DatabaseMigrationService.Client.start_recommendations(**kwargs)#

Starts the analysis of your source database to provide recommendations of target engines.

You can create recommendations for multiple source databases using BatchStartRecommendations.

See also: AWS API Documentation

Request Syntax

response = client.start_recommendations(
    DatabaseId='string',
    Settings={
        'InstanceSizingType': 'string',
        'WorkloadType': 'string'
    }
)
Parameters:
  • DatabaseId (string) –

    [REQUIRED]

    The identifier of the source database to analyze and provide recommendations for.

  • Settings (dict) –

    [REQUIRED]

    The settings in JSON format that Fleet Advisor uses to determine target engine recommendations. These parameters include target instance sizing and availability and durability settings. For target instance sizing, Fleet Advisor supports the following two options: total capacity and resource utilization. For availability and durability, Fleet Advisor supports the following two options: production (Multi-AZ deployments) and Dev/Test (Single-AZ deployments).

    • InstanceSizingType (string) – [REQUIRED]

      The size of your target instance. Fleet Advisor calculates this value based on your data collection type, such as total capacity and resource utilization. Valid values include "total-capacity" and "utilization".

    • WorkloadType (string) – [REQUIRED]

      The deployment option for your target engine. For production databases, Fleet Advisor chooses Multi-AZ deployment. For development or test databases, Fleet Advisor chooses Single-AZ deployment. Valid values include "development" and "production".

Returns:

None

Exceptions

  • DatabaseMigrationService.Client.exceptions.InvalidResourceStateFault

  • DatabaseMigrationService.Client.exceptions.AccessDeniedFault

  • DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault