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 { GetTargetSelectionRulesMessage, GetTargetSelectionRulesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetTargetSelectionRulesCommand}. */ export interface GetTargetSelectionRulesCommandInput extends GetTargetSelectionRulesMessage { } /** * @public * * The output of {@link GetTargetSelectionRulesCommand}. */ export interface GetTargetSelectionRulesCommandOutput extends GetTargetSelectionRulesResponse, __MetadataBearer { } declare const GetTargetSelectionRulesCommand_base: { new (input: GetTargetSelectionRulesCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetTargetSelectionRulesCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Converts source selection rules into their target counterparts for schema conversion operations.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, GetTargetSelectionRulesCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, GetTargetSelectionRulesCommand } = 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 = { // GetTargetSelectionRulesMessage * MigrationProjectIdentifier: "STRING_VALUE", // required * SelectionRules: "STRING_VALUE", // required * }; * const command = new GetTargetSelectionRulesCommand(input); * const response = await client.send(command); * // { // GetTargetSelectionRulesResponse * // TargetSelectionRules: "STRING_VALUE", * // }; * * ``` * * @param GetTargetSelectionRulesCommandInput - {@link GetTargetSelectionRulesCommandInput} * @returns {@link GetTargetSelectionRulesCommandOutput} * @see {@link GetTargetSelectionRulesCommandInput} for command's `input` shape. * @see {@link GetTargetSelectionRulesCommandOutput} 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 GetTargetSelectionRulesCommand extends GetTargetSelectionRulesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetTargetSelectionRulesMessage; output: GetTargetSelectionRulesResponse; }; sdk: { input: GetTargetSelectionRulesCommandInput; output: GetTargetSelectionRulesCommandOutput; }; }; }