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 { UpdateSubscriptionsToEventBridgeMessage, UpdateSubscriptionsToEventBridgeResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateSubscriptionsToEventBridgeCommand}. */ export interface UpdateSubscriptionsToEventBridgeCommandInput extends UpdateSubscriptionsToEventBridgeMessage { } /** * @public * * The output of {@link UpdateSubscriptionsToEventBridgeCommand}. */ export interface UpdateSubscriptionsToEventBridgeCommandOutput extends UpdateSubscriptionsToEventBridgeResponse, __MetadataBearer { } declare const UpdateSubscriptionsToEventBridgeCommand_base: { new (input: UpdateSubscriptionsToEventBridgeCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [UpdateSubscriptionsToEventBridgeCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to * corresponding Amazon EventBridge rules. By default, this operation migrates subscriptions * only when all your replication instance versions are 3.4.5 or higher. If any replication * instances are from versions earlier than 3.4.5, the operation raises an error and tells you * to upgrade these instances to version 3.4.5 or higher. To enable migration regardless of * version, set the Force option to true. However, if you don't upgrade instances * earlier than version 3.4.5, some types of events might not be available when you use Amazon * EventBridge.

*

To call this operation, make sure that you have certain permissions added to your user * account. For more information, see Migrating event subscriptions to Amazon EventBridge in the * Amazon Web Services Database Migration Service User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, UpdateSubscriptionsToEventBridgeCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, UpdateSubscriptionsToEventBridgeCommand } = 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 = { // UpdateSubscriptionsToEventBridgeMessage * ForceMove: true || false, * }; * const command = new UpdateSubscriptionsToEventBridgeCommand(input); * const response = await client.send(command); * // { // UpdateSubscriptionsToEventBridgeResponse * // Result: "STRING_VALUE", * // }; * * ``` * * @param UpdateSubscriptionsToEventBridgeCommandInput - {@link UpdateSubscriptionsToEventBridgeCommandInput} * @returns {@link UpdateSubscriptionsToEventBridgeCommandOutput} * @see {@link UpdateSubscriptionsToEventBridgeCommandInput} for command's `input` shape. * @see {@link UpdateSubscriptionsToEventBridgeCommandOutput} 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 DatabaseMigrationServiceServiceException} *

Base exception class for all service exceptions from DatabaseMigrationService service.

* * * @public */ export declare class UpdateSubscriptionsToEventBridgeCommand extends UpdateSubscriptionsToEventBridgeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateSubscriptionsToEventBridgeMessage; output: UpdateSubscriptionsToEventBridgeResponse; }; sdk: { input: UpdateSubscriptionsToEventBridgeCommandInput; output: UpdateSubscriptionsToEventBridgeCommandOutput; }; }; }