

# StartRecommendations
<a name="API_StartRecommendations"></a>

**Important**  
 End of support notice: On May 20, 2026, Amazon will end support for Amazon DMS Fleet Advisor;. After May 20, 2026, you will no longer be able to access the Amazon DMS Fleet Advisor; console or Amazon DMS Fleet Advisor; resources. For more information, see [Amazon DMS Fleet Advisor end of support](https://docs.amazonaws.cn/dms/latest/userguide/dms_fleet.advisor-end-of-support.html). 

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

You can create recommendations for multiple source databases using [BatchStartRecommendations](https://docs.amazonaws.cn/dms/latest/APIReference/API_BatchStartRecommendations.html).

## Request Syntax
<a name="API_StartRecommendations_RequestSyntax"></a>

```
{
   "DatabaseId": "{{string}}",
   "Settings": { 
      "InstanceSizingType": "{{string}}",
      "WorkloadType": "{{string}}"
   }
}
```

## Request Parameters
<a name="API_StartRecommendations_RequestParameters"></a>

For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

The request accepts the following data in JSON format.

 ** [DatabaseId](#API_StartRecommendations_RequestSyntax) **   <a name="DMS-StartRecommendations-request-DatabaseId"></a>
The identifier of the source database to analyze and provide recommendations for.  
Type: String  
Required: Yes

 ** [Settings](#API_StartRecommendations_RequestSyntax) **   <a name="DMS-StartRecommendations-request-Settings"></a>
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).  
Type: [RecommendationSettings](API_RecommendationSettings.md) object  
Required: Yes

## Response Elements
<a name="API_StartRecommendations_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_StartRecommendations_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedFault **   
 Amazon DMS was denied access to the endpoint. Check that the role is correctly configured.    
 ** message **   

HTTP Status Code: 400

 ** InvalidResourceStateFault **   
The resource is in a state that prevents it from being used for database migration.    
 ** message **   

HTTP Status Code: 400

 ** ResourceNotFoundFault **   
The resource could not be found.    
 ** message **   

HTTP Status Code: 400

## See Also
<a name="API_StartRecommendations_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon Command Line Interface V2](https://docs.amazonaws.cn/goto/cli2/dms-2016-01-01/StartRecommendations) 
+  [Amazon SDK for .NET V4](https://docs.amazonaws.cn/goto/DotNetSDKV4/dms-2016-01-01/StartRecommendations) 
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/dms-2016-01-01/StartRecommendations) 
+  [Amazon SDK for Go v2](https://docs.amazonaws.cn/goto/SdkForGoV2/dms-2016-01-01/StartRecommendations) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/dms-2016-01-01/StartRecommendations) 
+  [Amazon SDK for JavaScript V3](https://docs.amazonaws.cn/goto/SdkForJavaScriptV3/dms-2016-01-01/StartRecommendations) 
+  [Amazon SDK for Kotlin](https://docs.amazonaws.cn/goto/SdkForKotlin/dms-2016-01-01/StartRecommendations) 
+  [Amazon SDK for PHP V3](https://docs.amazonaws.cn/goto/SdkForPHPV3/dms-2016-01-01/StartRecommendations) 
+  [Amazon SDK for Python](https://docs.amazonaws.cn/goto/boto3/dms-2016-01-01/StartRecommendations) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/dms-2016-01-01/StartRecommendations) 