import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteModelVersionRequest, DeleteModelVersionResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteModelVersionCommand}. */ export interface DeleteModelVersionCommandInput extends DeleteModelVersionRequest { } /** * @public * * The output of {@link DeleteModelVersionCommand}. */ export interface DeleteModelVersionCommandOutput extends DeleteModelVersionResult, __MetadataBearer { } declare const DeleteModelVersionCommand_base: { new (input: DeleteModelVersionCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteModelVersionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a model version.

*

You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.

*

When you delete a model version, Amazon Fraud Detector permanently deletes that model version and the data is no longer stored in Amazon Fraud Detector.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { FraudDetectorClient, DeleteModelVersionCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import * // const { FraudDetectorClient, DeleteModelVersionCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import * // import type { FraudDetectorClientConfig } from "@aws-sdk/client-frauddetector"; * const config = {}; // type is FraudDetectorClientConfig * const client = new FraudDetectorClient(config); * const input = { // DeleteModelVersionRequest * modelId: "STRING_VALUE", // required * modelType: "ONLINE_FRAUD_INSIGHTS" || "TRANSACTION_FRAUD_INSIGHTS" || "ACCOUNT_TAKEOVER_INSIGHTS", // required * modelVersionNumber: "STRING_VALUE", // required * }; * const command = new DeleteModelVersionCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteModelVersionCommandInput - {@link DeleteModelVersionCommandInput} * @returns {@link DeleteModelVersionCommandOutput} * @see {@link DeleteModelVersionCommandInput} for command's `input` shape. * @see {@link DeleteModelVersionCommandOutput} for command's `response` shape. * @see {@link FraudDetectorClientResolvedConfig | config} for FraudDetectorClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.

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

An exception indicating there was a conflict during a delete operation.

* * @throws {@link InternalServerException} (server fault) *

An exception indicating an internal server error.

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

An exception indicating a throttling error.

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

An exception indicating a specified value is not allowed.

* * @throws {@link FraudDetectorServiceException} *

Base exception class for all service exceptions from FraudDetector service.

* * * @public */ export declare class DeleteModelVersionCommand extends DeleteModelVersionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteModelVersionRequest; output: {}; }; sdk: { input: DeleteModelVersionCommandInput; output: DeleteModelVersionCommandOutput; }; }; }