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 { CreateFleetAdvisorCollectorRequest, CreateFleetAdvisorCollectorResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateFleetAdvisorCollectorCommand}. */ export interface CreateFleetAdvisorCollectorCommandInput extends CreateFleetAdvisorCollectorRequest { } /** * @public * * The output of {@link CreateFleetAdvisorCollectorCommand}. */ export interface CreateFleetAdvisorCollectorCommandOutput extends CreateFleetAdvisorCollectorResponse, __MetadataBearer { } declare const CreateFleetAdvisorCollectorCommand_base: { new (input: CreateFleetAdvisorCollectorCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateFleetAdvisorCollectorCommandInput): 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. *

*
*

Creates a Fleet Advisor collector using the specified parameters.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, CreateFleetAdvisorCollectorCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, CreateFleetAdvisorCollectorCommand } = 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 = { // CreateFleetAdvisorCollectorRequest * CollectorName: "STRING_VALUE", // required * Description: "STRING_VALUE", * ServiceAccessRoleArn: "STRING_VALUE", // required * S3BucketName: "STRING_VALUE", // required * }; * const command = new CreateFleetAdvisorCollectorCommand(input); * const response = await client.send(command); * // { // CreateFleetAdvisorCollectorResponse * // CollectorReferencedId: "STRING_VALUE", * // CollectorName: "STRING_VALUE", * // Description: "STRING_VALUE", * // ServiceAccessRoleArn: "STRING_VALUE", * // S3BucketName: "STRING_VALUE", * // }; * * ``` * * @param CreateFleetAdvisorCollectorCommandInput - {@link CreateFleetAdvisorCollectorCommandInput} * @returns {@link CreateFleetAdvisorCollectorCommandOutput} * @see {@link CreateFleetAdvisorCollectorCommandInput} for command's `input` shape. * @see {@link CreateFleetAdvisorCollectorCommandOutput} 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 ResourceQuotaExceededFault} (client fault) *

The quota for this resource quota has been exceeded.

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

Insufficient privileges are preventing access to an Amazon S3 object.

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

A specified Amazon S3 bucket, bucket folder, or other object can't be * found.

* * @throws {@link DatabaseMigrationServiceServiceException} *

Base exception class for all service exceptions from DatabaseMigrationService service.

* * * @public */ export declare class CreateFleetAdvisorCollectorCommand extends CreateFleetAdvisorCollectorCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateFleetAdvisorCollectorRequest; output: CreateFleetAdvisorCollectorResponse; }; sdk: { input: CreateFleetAdvisorCollectorCommandInput; output: CreateFleetAdvisorCollectorCommandOutput; }; }; }