import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient"; import type { BatchStartRecommendationsRequest, BatchStartRecommendationsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link BatchStartRecommendationsCommand}. */ export interface BatchStartRecommendationsCommandInput extends BatchStartRecommendationsRequest { } /** * @public * * The output of {@link BatchStartRecommendationsCommand}. */ export interface BatchStartRecommendationsCommandOutput extends BatchStartRecommendationsResponse, __MetadataBearer { } declare const BatchStartRecommendationsCommand_base: { new (input: BatchStartRecommendationsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [BatchStartRecommendationsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** * *

* End of support notice: On May 20, 2026, Amazon Web Services will end support for Amazon Web Services DMS Fleet Advisor;. After May 20, 2026, you will no longer be able to access the Amazon Web Services DMS Fleet Advisor; console or Amazon Web Services DMS Fleet Advisor; resources. For more information, see Amazon Web Services DMS Fleet Advisor end of support. *

*
*

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.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, BatchStartRecommendationsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, BatchStartRecommendationsCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import * // import type { DatabaseMigrationServiceClientConfig } from "@aws-sdk/client-database-migration-service"; * const config = {}; // type is DatabaseMigrationServiceClientConfig * const client = new DatabaseMigrationServiceClient(config); * const input = { // BatchStartRecommendationsRequest * Data: [ // StartRecommendationsRequestEntryList * { // StartRecommendationsRequestEntry * DatabaseId: "STRING_VALUE", // required * Settings: { // RecommendationSettings * InstanceSizingType: "STRING_VALUE", // required * WorkloadType: "STRING_VALUE", // required * }, * }, * ], * }; * const command = new BatchStartRecommendationsCommand(input); * const response = await client.send(command); * // { // BatchStartRecommendationsResponse * // ErrorEntries: [ // BatchStartRecommendationsErrorEntryList * // { // BatchStartRecommendationsErrorEntry * // DatabaseId: "STRING_VALUE", * // Message: "STRING_VALUE", * // Code: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param BatchStartRecommendationsCommandInput - {@link BatchStartRecommendationsCommandInput} * @returns {@link BatchStartRecommendationsCommandOutput} * @see {@link BatchStartRecommendationsCommandInput} for command's `input` shape. * @see {@link BatchStartRecommendationsCommandOutput} for command's `response` shape. * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape. * * @throws {@link AccessDeniedFault} (client fault) *

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

* * @throws {@link InvalidResourceStateFault} (client fault) *

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

* * @throws {@link ResourceNotFoundFault} (client fault) *

The resource could not be found.

* * @throws {@link DatabaseMigrationServiceServiceException} *

Base exception class for all service exceptions from DatabaseMigrationService service.

* * * @public */ export declare class BatchStartRecommendationsCommand extends BatchStartRecommendationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchStartRecommendationsRequest; output: BatchStartRecommendationsResponse; }; sdk: { input: BatchStartRecommendationsCommandInput; output: BatchStartRecommendationsCommandOutput; }; }; }