BatchStartRecommendations
Starts the analysis of up to 20 source databases to recommend target engines for each source database. This is a batch version of StartRecommendations.
The result of analysis of each source database is reported individually in the
response. Because the batch request can result in a combination of successful and
unsuccessful actions, you should check for batch errors even when the call returns an
HTTP status code of 200
.
Request Syntax
{
"Data": [
{
"DatabaseId": "string
",
"Settings": {
"InstanceSizingType": "string
",
"WorkloadType": "string
"
}
}
]
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- Data
-
Provides information about source databases to analyze. After this analysis, Fleet Advisor recommends target engines for each source database.
Type: Array of StartRecommendationsRequestEntry objects
Required: No
Response Syntax
{
"ErrorEntries": [
{
"Code": "string",
"DatabaseId": "string",
"Message": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- ErrorEntries
-
A list with error details about the analysis of each source database.
Type: Array of BatchStartRecommendationsErrorEntry objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedFault
-
Amazon DMS was denied access to the endpoint. Check that the role is correctly configured.
HTTP Status Code: 400
- InvalidResourceStateFault
-
The resource is in a state that prevents it from being used for database migration.
HTTP Status Code: 400
- ResourceNotFoundFault
-
The resource could not be found.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: