import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { BatchCreateVariableCommand , BatchCreateVariableCommandInput , BatchCreateVariableCommandOutput , } from "./commands/BatchCreateVariableCommand" ; import { BatchGetVariableCommand , BatchGetVariableCommandInput , BatchGetVariableCommandOutput , } from "./commands/BatchGetVariableCommand" ; import { CancelBatchImportJobCommand , CancelBatchImportJobCommandInput , CancelBatchImportJobCommandOutput , } from "./commands/CancelBatchImportJobCommand" ; import { CancelBatchPredictionJobCommand , CancelBatchPredictionJobCommandInput , CancelBatchPredictionJobCommandOutput , } from "./commands/CancelBatchPredictionJobCommand" ; import { CreateBatchImportJobCommand , CreateBatchImportJobCommandInput , CreateBatchImportJobCommandOutput , } from "./commands/CreateBatchImportJobCommand" ; import { CreateBatchPredictionJobCommand , CreateBatchPredictionJobCommandInput , CreateBatchPredictionJobCommandOutput , } from "./commands/CreateBatchPredictionJobCommand" ; import { CreateDetectorVersionCommand , CreateDetectorVersionCommandInput , CreateDetectorVersionCommandOutput , } from "./commands/CreateDetectorVersionCommand" ; import { CreateModelCommand , CreateModelCommandInput , CreateModelCommandOutput } from "./commands/CreateModelCommand" ; import { CreateModelVersionCommand , CreateModelVersionCommandInput , CreateModelVersionCommandOutput , } from "./commands/CreateModelVersionCommand" ; import { CreateRuleCommand , CreateRuleCommandInput , CreateRuleCommandOutput } from "./commands/CreateRuleCommand" ; import { CreateVariableCommand , CreateVariableCommandInput , CreateVariableCommandOutput , } from "./commands/CreateVariableCommand" ; import { DeleteBatchImportJobCommand , DeleteBatchImportJobCommandInput , DeleteBatchImportJobCommandOutput , } from "./commands/DeleteBatchImportJobCommand" ; import { DeleteBatchPredictionJobCommand , DeleteBatchPredictionJobCommandInput , DeleteBatchPredictionJobCommandOutput , } from "./commands/DeleteBatchPredictionJobCommand" ; import { DeleteDetectorCommand , DeleteDetectorCommandInput , DeleteDetectorCommandOutput , } from "./commands/DeleteDetectorCommand" ; import { DeleteDetectorVersionCommand , DeleteDetectorVersionCommandInput , DeleteDetectorVersionCommandOutput , } from "./commands/DeleteDetectorVersionCommand" ; import { DeleteEntityTypeCommand , DeleteEntityTypeCommandInput , DeleteEntityTypeCommandOutput , } from "./commands/DeleteEntityTypeCommand" ; import { DeleteEventCommand , DeleteEventCommandInput , DeleteEventCommandOutput } from "./commands/DeleteEventCommand" ; import { DeleteEventsByEventTypeCommand , DeleteEventsByEventTypeCommandInput , DeleteEventsByEventTypeCommandOutput , } from "./commands/DeleteEventsByEventTypeCommand" ; import { DeleteEventTypeCommand , DeleteEventTypeCommandInput , DeleteEventTypeCommandOutput , } from "./commands/DeleteEventTypeCommand" ; import { DeleteExternalModelCommand , DeleteExternalModelCommandInput , DeleteExternalModelCommandOutput , } from "./commands/DeleteExternalModelCommand" ; import { DeleteLabelCommand , DeleteLabelCommandInput , DeleteLabelCommandOutput } from "./commands/DeleteLabelCommand" ; import { DeleteModelCommand , DeleteModelCommandInput , DeleteModelCommandOutput } from "./commands/DeleteModelCommand" ; import { DeleteModelVersionCommand , DeleteModelVersionCommandInput , DeleteModelVersionCommandOutput , } from "./commands/DeleteModelVersionCommand" ; import { DeleteOutcomeCommand , DeleteOutcomeCommandInput , DeleteOutcomeCommandOutput , } from "./commands/DeleteOutcomeCommand" ; import { DeleteRuleCommand , DeleteRuleCommandInput , DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand" ; import { DeleteVariableCommand , DeleteVariableCommandInput , DeleteVariableCommandOutput , } from "./commands/DeleteVariableCommand" ; import { DescribeDetectorCommand , DescribeDetectorCommandInput , DescribeDetectorCommandOutput , } from "./commands/DescribeDetectorCommand" ; import { DescribeModelVersionsCommand , DescribeModelVersionsCommandInput , DescribeModelVersionsCommandOutput , } from "./commands/DescribeModelVersionsCommand" ; import { GetBatchImportJobsCommand , GetBatchImportJobsCommandInput , GetBatchImportJobsCommandOutput , } from "./commands/GetBatchImportJobsCommand" ; import { GetBatchPredictionJobsCommand , GetBatchPredictionJobsCommandInput , GetBatchPredictionJobsCommandOutput , } from "./commands/GetBatchPredictionJobsCommand" ; import { GetDeleteEventsByEventTypeStatusCommand , GetDeleteEventsByEventTypeStatusCommandInput , GetDeleteEventsByEventTypeStatusCommandOutput , } from "./commands/GetDeleteEventsByEventTypeStatusCommand" ; import { GetDetectorsCommand , GetDetectorsCommandInput , GetDetectorsCommandOutput , } from "./commands/GetDetectorsCommand" ; import { GetDetectorVersionCommand , GetDetectorVersionCommandInput , GetDetectorVersionCommandOutput , } from "./commands/GetDetectorVersionCommand" ; import { GetEntityTypesCommand , GetEntityTypesCommandInput , GetEntityTypesCommandOutput , } from "./commands/GetEntityTypesCommand" ; import { GetEventCommand , GetEventCommandInput , GetEventCommandOutput } from "./commands/GetEventCommand" ; import { GetEventPredictionCommand , GetEventPredictionCommandInput , GetEventPredictionCommandOutput , } from "./commands/GetEventPredictionCommand" ; import { GetEventTypesCommand , GetEventTypesCommandInput , GetEventTypesCommandOutput , } from "./commands/GetEventTypesCommand" ; import { GetExternalModelsCommand , GetExternalModelsCommandInput , GetExternalModelsCommandOutput , } from "./commands/GetExternalModelsCommand" ; import { GetKMSEncryptionKeyCommand , GetKMSEncryptionKeyCommandInput , GetKMSEncryptionKeyCommandOutput , } from "./commands/GetKMSEncryptionKeyCommand" ; import { GetLabelsCommand , GetLabelsCommandInput , GetLabelsCommandOutput } from "./commands/GetLabelsCommand" ; import { GetModelsCommand , GetModelsCommandInput , GetModelsCommandOutput } from "./commands/GetModelsCommand" ; import { GetModelVersionCommand , GetModelVersionCommandInput , GetModelVersionCommandOutput , } from "./commands/GetModelVersionCommand" ; import { GetOutcomesCommand , GetOutcomesCommandInput , GetOutcomesCommandOutput } from "./commands/GetOutcomesCommand" ; import { GetRulesCommand , GetRulesCommandInput , GetRulesCommandOutput } from "./commands/GetRulesCommand" ; import { GetVariablesCommand , GetVariablesCommandInput , GetVariablesCommandOutput , } from "./commands/GetVariablesCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { PutDetectorCommand , PutDetectorCommandInput , PutDetectorCommandOutput } from "./commands/PutDetectorCommand" ; import { PutEntityTypeCommand , PutEntityTypeCommandInput , PutEntityTypeCommandOutput , } from "./commands/PutEntityTypeCommand" ; import { PutEventTypeCommand , PutEventTypeCommandInput , PutEventTypeCommandOutput , } from "./commands/PutEventTypeCommand" ; import { PutExternalModelCommand , PutExternalModelCommandInput , PutExternalModelCommandOutput , } from "./commands/PutExternalModelCommand" ; import { PutKMSEncryptionKeyCommand , PutKMSEncryptionKeyCommandInput , PutKMSEncryptionKeyCommandOutput , } from "./commands/PutKMSEncryptionKeyCommand" ; import { PutLabelCommand , PutLabelCommandInput , PutLabelCommandOutput } from "./commands/PutLabelCommand" ; import { PutOutcomeCommand , PutOutcomeCommandInput , PutOutcomeCommandOutput } from "./commands/PutOutcomeCommand" ; import { SendEventCommand , SendEventCommandInput , SendEventCommandOutput } from "./commands/SendEventCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateDetectorVersionCommand , UpdateDetectorVersionCommandInput , UpdateDetectorVersionCommandOutput , } from "./commands/UpdateDetectorVersionCommand" ; import { UpdateDetectorVersionMetadataCommand , UpdateDetectorVersionMetadataCommandInput , UpdateDetectorVersionMetadataCommandOutput , } from "./commands/UpdateDetectorVersionMetadataCommand" ; import { UpdateDetectorVersionStatusCommand , UpdateDetectorVersionStatusCommandInput , UpdateDetectorVersionStatusCommandOutput , } from "./commands/UpdateDetectorVersionStatusCommand" ; import { UpdateEventLabelCommand , UpdateEventLabelCommandInput , UpdateEventLabelCommandOutput , } from "./commands/UpdateEventLabelCommand" ; import { UpdateModelCommand , UpdateModelCommandInput , UpdateModelCommandOutput } from "./commands/UpdateModelCommand" ; import { UpdateModelVersionCommand , UpdateModelVersionCommandInput , UpdateModelVersionCommandOutput , } from "./commands/UpdateModelVersionCommand" ; import { UpdateModelVersionStatusCommand , UpdateModelVersionStatusCommandInput , UpdateModelVersionStatusCommandOutput , } from "./commands/UpdateModelVersionStatusCommand" ; import { UpdateRuleMetadataCommand , UpdateRuleMetadataCommandInput , UpdateRuleMetadataCommandOutput , } from "./commands/UpdateRuleMetadataCommand" ; import { UpdateRuleVersionCommand , UpdateRuleVersionCommandInput , UpdateRuleVersionCommandOutput , } from "./commands/UpdateRuleVersionCommand" ; import { UpdateVariableCommand , UpdateVariableCommandInput , UpdateVariableCommandOutput , } from "./commands/UpdateVariableCommand" ; import { FraudDetectorClient } from "./FraudDetectorClient" ; /**
 * <p>This is the Amazon Fraud Detector API Reference. This guide is for developers who need
 *             detailed information about Amazon Fraud Detector API actions, data types, and errors. For
 *             more information about Amazon Fraud Detector features, see the <a href="https://docs.aws.amazon.com/frauddetector/latest/ug/">Amazon Fraud Detector User Guide</a>.</p>
 */ export class FraudDetector extends FraudDetectorClient { /**
     * <p>Creates a batch of variables.</p>
     */ public batchCreateVariable ( args , options ? ) ; public batchCreateVariable ( args , cb ) ; public batchCreateVariable ( args , options , cb ) ; public batchCreateVariable ( args , optionsOrCb ? , cb ? ) { const command = new BatchCreateVariableCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a batch of variables.</p>
     */ public batchGetVariable ( args , options ? ) ; public batchGetVariable ( args , cb ) ; public batchGetVariable ( args , options , cb ) ; public batchGetVariable ( args , optionsOrCb ? , cb ? ) { const command = new BatchGetVariableCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Cancels an in-progress batch import job.</p>
     */ public cancelBatchImportJob ( args , options ? ) ; public cancelBatchImportJob ( args , cb ) ; public cancelBatchImportJob ( args , options , cb ) ; public cancelBatchImportJob ( args , optionsOrCb ? , cb ? ) { const command = new CancelBatchImportJobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Cancels the specified batch prediction job.</p>
     */ public cancelBatchPredictionJob ( args , options ? ) ; public cancelBatchPredictionJob ( args , cb ) ; public cancelBatchPredictionJob ( args , options , cb ) ; public cancelBatchPredictionJob ( args , optionsOrCb ? , cb ? ) { const command = new CancelBatchPredictionJobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a batch import job. </p>
     */ public createBatchImportJob ( args , options ? ) ; public createBatchImportJob ( args , cb ) ; public createBatchImportJob ( args , options , cb ) ; public createBatchImportJob ( args , optionsOrCb ? , cb ? ) { const command = new CreateBatchImportJobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a batch prediction job.</p>
     */ public createBatchPredictionJob ( args , options ? ) ; public createBatchPredictionJob ( args , cb ) ; public createBatchPredictionJob ( args , options , cb ) ; public createBatchPredictionJob ( args , optionsOrCb ? , cb ? ) { const command = new CreateBatchPredictionJobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a detector version. The detector version starts in a <code>DRAFT</code> status.</p>
     */ public createDetectorVersion ( args , options ? ) ; public createDetectorVersion ( args , cb ) ; public createDetectorVersion ( args , options , cb ) ; public createDetectorVersion ( args , optionsOrCb ? , cb ? ) { const command = new CreateDetectorVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a model using the specified model type.</p>
     */ public createModel ( args , options ? ) ; public createModel ( args , cb ) ; public createModel ( args , options , cb ) ; public createModel ( args , optionsOrCb ? , cb ? ) { const command = new CreateModelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a version of the model using the specified model type and model id.
     *         </p>
     */ public createModelVersion ( args , options ? ) ; public createModelVersion ( args , cb ) ; public createModelVersion ( args , options , cb ) ; public createModelVersion ( args , optionsOrCb ? , cb ? ) { const command = new CreateModelVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a rule for use with the specified detector. </p>
     */ public createRule ( args , options ? ) ; public createRule ( args , cb ) ; public createRule ( args , options , cb ) ; public createRule ( args , optionsOrCb ? , cb ? ) { const command = new CreateRuleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a variable.</p>
     */ public createVariable ( args , options ? ) ; public createVariable ( args , cb ) ; public createVariable ( args , options , cb ) ; public createVariable ( args , optionsOrCb ? , cb ? ) { const command = new CreateVariableCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes data that was batch imported to Amazon Fraud Detector. </p>
     */ public deleteBatchImportJob ( args , options ? ) ; public deleteBatchImportJob ( args , cb ) ; public deleteBatchImportJob ( args , options , cb ) ; public deleteBatchImportJob ( args , optionsOrCb ? , cb ? ) { const command = new DeleteBatchImportJobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a batch prediction job.</p>
     */ public deleteBatchPredictionJob ( args , options ? ) ; public deleteBatchPredictionJob ( args , cb ) ; public deleteBatchPredictionJob ( args , options , cb ) ; public deleteBatchPredictionJob ( args , optionsOrCb ? , cb ? ) { const command = new DeleteBatchPredictionJobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.</p>
     * 	        <p>When you delete a detector, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.</p>
     */ public deleteDetector ( args , options ? ) ; public deleteDetector ( args , cb ) ; public deleteDetector ( args , options , cb ) ; public deleteDetector ( args , optionsOrCb ? , cb ? ) { const command = new DeleteDetectorCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the detector version. You cannot delete detector versions that are in <code>ACTIVE</code> status.</p>
     * 	  	     <p>When you delete a detector version, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.</p>
     */ public deleteDetectorVersion ( args , options ? ) ; public deleteDetectorVersion ( args , cb ) ; public deleteDetectorVersion ( args , options , cb ) ; public deleteDetectorVersion ( args , optionsOrCb ? , cb ? ) { const command = new DeleteDetectorVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an entity type.</p>
     * 	        <p>You cannot delete an entity type that is included in an event type.</p>
     * 	        <p>When you delete an entity type, Amazon Fraud Detector permanently deletes that entity type and the data is no longer stored in Amazon Fraud Detector.</p>
     */ public deleteEntityType ( args , options ? ) ; public deleteEntityType ( args , cb ) ; public deleteEntityType ( args , options , cb ) ; public deleteEntityType ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEntityTypeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified event.</p>
     * 	        <p>When you delete an event, Amazon Fraud Detector permanently deletes that event and the event data is no longer stored in Amazon Fraud Detector.</p>
     */ public deleteEvent ( args , options ? ) ; public deleteEvent ( args , cb ) ; public deleteEvent ( args , options , cb ) ; public deleteEvent ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEventCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes all events of a particular event type.</p>
     */ public deleteEventsByEventType ( args , options ? ) ; public deleteEventsByEventType ( args , cb ) ; public deleteEventsByEventType ( args , options , cb ) ; public deleteEventsByEventType ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEventsByEventTypeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an event type.</p>
     * 	        <p>You cannot delete an event type that is used in a detector or a model.</p>
     * 	        <p>When you delete an event type, Amazon Fraud Detector permanently deletes that event type and the data is no longer stored in Amazon Fraud Detector.</p>
     */ public deleteEventType ( args , options ? ) ; public deleteEventType ( args , cb ) ; public deleteEventType ( args , options , cb ) ; public deleteEventType ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEventTypeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes a SageMaker model from Amazon Fraud Detector.</p>
     * 	        <p>You can remove an Amazon SageMaker model if it is not associated with a detector version. Removing a SageMaker model disconnects it from Amazon Fraud Detector, but the model remains available in SageMaker.</p>
     */ public deleteExternalModel ( args , options ? ) ; public deleteExternalModel ( args , cb ) ; public deleteExternalModel ( args , options , cb ) ; public deleteExternalModel ( args , optionsOrCb ? , cb ? ) { const command = new DeleteExternalModelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a label.</p>
     * 	        <p>You cannot delete labels that are included in an event type in Amazon Fraud Detector.</p>
     *          <p>You cannot delete a label assigned to an event ID. You must first delete the relevant event ID.</p>
     *
     *          <p>When you delete a label, Amazon Fraud Detector permanently deletes that label and the data is no longer stored in Amazon Fraud Detector.</p>
     */ public deleteLabel ( args , options ? ) ; public deleteLabel ( args , cb ) ; public deleteLabel ( args , options , cb ) ; public deleteLabel ( args , optionsOrCb ? , cb ? ) { const command = new DeleteLabelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a model.</p>
     * 	        <p>You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.</p>
     * 	        <p> When you delete a model, Amazon Fraud Detector permanently deletes that model and the data is no longer stored in Amazon Fraud Detector.</p>
     */ public deleteModel ( args , options ? ) ; public deleteModel ( args , cb ) ; public deleteModel ( args , options , cb ) ; public deleteModel ( args , optionsOrCb ? , cb ? ) { const command = new DeleteModelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a model version.</p>
     * 	        <p>You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.</p>
     * 	        <p> 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.</p>
     */ public deleteModelVersion ( args , options ? ) ; public deleteModelVersion ( args , cb ) ; public deleteModelVersion ( args , options , cb ) ; public deleteModelVersion ( args , optionsOrCb ? , cb ? ) { const command = new DeleteModelVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an outcome.</p>
     * 	        <p>You cannot delete an outcome that is used in a rule version.</p>
     * 	        <p>When you delete an outcome, Amazon Fraud Detector permanently deletes that outcome and the data is no longer stored in Amazon Fraud Detector.</p>
     */ public deleteOutcome ( args , options ? ) ; public deleteOutcome ( args , cb ) ; public deleteOutcome ( args , options , cb ) ; public deleteOutcome ( args , optionsOrCb ? , cb ? ) { const command = new DeleteOutcomeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the rule. You cannot delete a rule if it is used by an <code>ACTIVE</code> or <code>INACTIVE</code> detector version.</p>
     * 	  	     <p>When you delete a rule, Amazon Fraud Detector permanently deletes that rule and the data is no longer stored in Amazon Fraud Detector.</p>
     */ public deleteRule ( args , options ? ) ; public deleteRule ( args , cb ) ; public deleteRule ( args , options , cb ) ; public deleteRule ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRuleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a variable.</p>
     * 	        <p>You can't delete variables that are included in an event type in Amazon Fraud Detector.</p>
     * 	        <p>Amazon Fraud Detector automatically deletes model output variables and SageMaker model output variables when you delete the model. You can't delete these variables manually.</p>
     * 	        <p>When you delete a variable, Amazon Fraud Detector permanently deletes that variable and the data is no longer stored in Amazon Fraud Detector.</p>
     */ public deleteVariable ( args , options ? ) ; public deleteVariable ( args , cb ) ; public deleteVariable ( args , options , cb ) ; public deleteVariable ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVariableCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets all versions for a specified detector.</p>
     */ public describeDetector ( args , options ? ) ; public describeDetector ( args , cb ) ; public describeDetector ( args , options , cb ) ; public describeDetector ( args , optionsOrCb ? , cb ? ) { const command = new DescribeDetectorCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets all of the model versions for the specified model type or for the specified model type and model ID. You can also get details for a single, specified model version. </p>
     */ public describeModelVersions ( args , options ? ) ; public describeModelVersions ( args , cb ) ; public describeModelVersions ( args , options , cb ) ; public describeModelVersions ( args , optionsOrCb ? , cb ? ) { const command = new DescribeModelVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets all batch import jobs or a specific job of the specified ID. This is a paginated API. If you provide a null <code>maxResults</code>,
     *          this action retrieves a maximum of 50 records per page. If you provide a <code>maxResults</code>, the value must be between 1 and 50.
     *          To get the next page results, provide the pagination token from the <code>GetBatchImportJobsResponse</code> as part of your request.
     *          A null pagination token fetches the records from the beginning.</p>
     */ public getBatchImportJobs ( args , options ? ) ; public getBatchImportJobs ( args , cb ) ; public getBatchImportJobs ( args , options , cb ) ; public getBatchImportJobs ( args , optionsOrCb ? , cb ? ) { const command = new GetBatchImportJobsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets all batch prediction jobs or a specific job if you specify a job ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchPredictionJobsResponse as part of your request. A null pagination token fetches the records from the beginning.</p>
     */ public getBatchPredictionJobs ( args , options ? ) ; public getBatchPredictionJobs ( args , cb ) ; public getBatchPredictionJobs ( args , options , cb ) ; public getBatchPredictionJobs ( args , optionsOrCb ? , cb ? ) { const command = new GetBatchPredictionJobsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the status of a <code>DeleteEventsByEventType</code> action.</p>
     */ public getDeleteEventsByEventTypeStatus ( args , options ? ) ; public getDeleteEventsByEventTypeStatus ( args , cb ) ; public getDeleteEventsByEventTypeStatus ( args , options , cb ) ; public getDeleteEventsByEventTypeStatus ( args , optionsOrCb ? , cb ? ) { const command = new GetDeleteEventsByEventTypeStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets all detectors or a single detector if a <code>detectorId</code> is specified. This is a paginated API. If you
     *          provide a null <code>maxResults</code>, this action retrieves a maximum of 10 records
     *          per page. If you provide a <code>maxResults</code>, the value must be between 5 and 10.
     *          To get the next page results, provide the pagination token from the
     *             <code>GetDetectorsResponse</code> as part of your request. A null pagination token
     *          fetches the records from the beginning. </p>
     */ public getDetectors ( args , options ? ) ; public getDetectors ( args , cb ) ; public getDetectors ( args , options , cb ) ; public getDetectors ( args , optionsOrCb ? , cb ? ) { const command = new GetDetectorsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a particular detector version. </p>
     */ public getDetectorVersion ( args , options ? ) ; public getDetectorVersion ( args , cb ) ; public getDetectorVersion ( args , options , cb ) ; public getDetectorVersion ( args , optionsOrCb ? , cb ? ) { const command = new GetDetectorVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets all entity types or a specific entity type if a name is specified. This is a paginated API. If you
     *          provide a null <code>maxResults</code>, this action retrieves a maximum of 10 records
     *          per page. If you provide a <code>maxResults</code>, the value must be between 5 and 10.
     *          To get the next page results, provide the pagination token from the
     *          <code>GetEntityTypesResponse</code> as part of your request. A null pagination token
     *          fetches the records from the beginning. </p>
     */ public getEntityTypes ( args , options ? ) ; public getEntityTypes ( args , cb ) ; public getEntityTypes ( args , options , cb ) ; public getEntityTypes ( args , optionsOrCb ? , cb ? ) { const command = new GetEntityTypesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves details of events stored with Amazon Fraud Detector. This action does not retrieve prediction results.</p>
     */ public getEvent ( args , options ? ) ; public getEvent ( args , cb ) ; public getEvent ( args , options , cb ) ; public getEvent ( args , optionsOrCb ? , cb ? ) { const command = new GetEventCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Evaluates an event against a detector version. If a version ID is not provided, the detector’s (<code>ACTIVE</code>) version is used.</p>
     */ public getEventPrediction ( args , options ? ) ; public getEventPrediction ( args , cb ) ; public getEventPrediction ( args , options , cb ) ; public getEventPrediction ( args , optionsOrCb ? , cb ? ) { const command = new GetEventPredictionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets all event types or a specific event type if name is provided. This is a paginated API. If you
     *          provide a null <code>maxResults</code>, this action retrieves a maximum of 10 records
     *          per page. If you provide a <code>maxResults</code>, the value must be between 5 and 10.
     *          To get the next page results, provide the pagination token from the
     *             <code>GetEventTypesResponse</code> as part of your request. A null pagination token
     *          fetches the records from the beginning. </p>
     */ public getEventTypes ( args , options ? ) ; public getEventTypes ( args , cb ) ; public getEventTypes ( args , options , cb ) ; public getEventTypes ( args , optionsOrCb ? , cb ? ) { const command = new GetEventTypesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the details for one or more Amazon SageMaker models that have been imported into the
     *          service. This is a paginated API. If you provide a null <code>maxResults</code>, this
     *          actions retrieves a maximum of 10 records per page. If you provide a
     *             <code>maxResults</code>, the value must be between 5 and 10. To get the next page
     *          results, provide the pagination token from the <code>GetExternalModelsResult</code> as part
     *          of your request. A null pagination token fetches the records from the beginning. </p>
     */ public getExternalModels ( args , options ? ) ; public getExternalModels ( args , cb ) ; public getExternalModels ( args , options , cb ) ; public getExternalModels ( args , optionsOrCb ? , cb ? ) { const command = new GetExternalModelsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.</p>
     */ public getKMSEncryptionKey ( args , options ? ) ; public getKMSEncryptionKey ( args , cb ) ; public getKMSEncryptionKey ( args , options , cb ) ; public getKMSEncryptionKey ( args , optionsOrCb ? , cb ? ) { const command = new GetKMSEncryptionKeyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets all labels or a specific label if name is provided. This is a paginated API. If you
     *          provide a null <code>maxResults</code>, this action retrieves a maximum of 50 records
     *          per page. If you provide a <code>maxResults</code>, the value must be between 10 and 50.
     *          To get the next page results, provide the pagination token from the
     *          <code>GetGetLabelsResponse</code> as part of your request. A null pagination token
     *          fetches the records from the beginning. </p>
     */ public getLabels ( args , options ? ) ; public getLabels ( args , cb ) ; public getLabels ( args , options , cb ) ; public getLabels ( args , optionsOrCb ? , cb ? ) { const command = new GetLabelsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets one or more models. Gets all models for the Amazon Web Services account if no model type and no model id provided. Gets all models for the Amazon Web Services account and model type, if the model type is specified but model id is not provided. Gets a specific model if (model type, model id) tuple is specified. </p>
     *          <p>This is a paginated API. If you
     *          provide a null <code>maxResults</code>, this action retrieves a maximum of 10 records
     *          per page. If you provide a <code>maxResults</code>, the value must be between 1 and 10.
     *          To get the next page results, provide the pagination token from the
     *             response as part of your request. A null pagination token
     *          fetches the records from the beginning.</p>
     */ public getModels ( args , options ? ) ; public getModels ( args , cb ) ; public getModels ( args , options , cb ) ; public getModels ( args , optionsOrCb ? , cb ? ) { const command = new GetModelsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the details of the specified model version.</p>
     */ public getModelVersion ( args , options ? ) ; public getModelVersion ( args , cb ) ; public getModelVersion ( args , options , cb ) ; public getModelVersion ( args , optionsOrCb ? , cb ? ) { const command = new GetModelVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets one or more outcomes. This is a paginated
     *          API. If you provide a null <code>maxResults</code>, this actions retrieves a maximum of
     *          100 records per page. If you provide a <code>maxResults</code>, the value must be
     *          between 50 and 100. To get the next page results, provide the pagination token from the
     *         <code>GetOutcomesResult</code> as part of your request. A null pagination token
     *          fetches the records from the beginning. </p>
     */ public getOutcomes ( args , options ? ) ; public getOutcomes ( args , cb ) ; public getOutcomes ( args , options , cb ) ; public getOutcomes ( args , optionsOrCb ? , cb ? ) { const command = new GetOutcomesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get all rules for a detector (paginated) if <code>ruleId</code> and <code>ruleVersion</code> are not specified. Gets all rules for the detector and the <code>ruleId</code> if present (paginated). Gets a specific rule if both the <code>ruleId</code> and the <code>ruleVersion</code> are specified.</p>
     *          <p>This is a paginated API. Providing null maxResults results in retrieving maximum of 100 records per page. If you provide maxResults the value must be between 50 and 100. To get the next page result, a provide a pagination token from GetRulesResult as part of your request. Null pagination token fetches the records from the beginning.</p>
     */ public getRules ( args , options ? ) ; public getRules ( args , cb ) ; public getRules ( args , options , cb ) ; public getRules ( args , optionsOrCb ? , cb ? ) { const command = new GetRulesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets all of the variables or the specific variable. This is a
     *          paginated API. Providing null <code>maxSizePerPage</code> results in retrieving maximum of
     *          100 records per page. If you provide <code>maxSizePerPage</code> the value must be between
     *          50 and 100. To get the next page result, a provide a pagination token from
     *         <code>GetVariablesResult</code> as part of your request. Null pagination token
     *          fetches the records from the beginning. </p>
     */ public getVariables ( args , options ? ) ; public getVariables ( args , cb ) ; public getVariables ( args , options , cb ) ; public getVariables ( args , optionsOrCb ? , cb ? ) { const command = new GetVariablesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all tags associated with the resource. This is a paginated API. To get the next page results, provide the pagination token from the
     *             response as part of your request. A null pagination token
     *          fetches the records from the beginning. </p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates or updates a detector. </p>
     */ public putDetector ( args , options ? ) ; public putDetector ( args , cb ) ; public putDetector ( args , options , cb ) ; public putDetector ( args , optionsOrCb ? , cb ? ) { const command = new PutDetectorCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates or updates an entity type. An entity represents who is performing the event. As part of a fraud prediction, you pass the entity ID to indicate the specific entity who performed the event. An entity type classifies the entity. Example classifications include customer, merchant, or account.</p>
     */ public putEntityType ( args , options ? ) ; public putEntityType ( args , cb ) ; public putEntityType ( args , options , cb ) ; public putEntityType ( args , optionsOrCb ? , cb ? ) { const command = new PutEntityTypeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates or updates an event type. An event is a business activity that is evaluated for fraud risk. With Amazon Fraud Detector, you generate fraud predictions for events. An event type defines the structure for an event sent to Amazon Fraud Detector. This includes the variables sent as part of the event, the entity performing the event (such as a customer), and the labels that classify the event. Example event types include online payment transactions, account registrations, and authentications.</p>
     */ public putEventType ( args , options ? ) ; public putEventType ( args , cb ) ; public putEventType ( args , options , cb ) ; public putEventType ( args , optionsOrCb ? , cb ? ) { const command = new PutEventTypeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates or updates an Amazon SageMaker model endpoint. You can also use this action to update the configuration of the model endpoint, including the IAM role and/or the mapped variables.  </p>
     */ public putExternalModel ( args , options ? ) ; public putExternalModel ( args , cb ) ; public putExternalModel ( args , options , cb ) ; public putExternalModel ( args , optionsOrCb ? , cb ? ) { const command = new PutExternalModelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector.</p>
     */ public putKMSEncryptionKey ( args , options ? ) ; public putKMSEncryptionKey ( args , cb ) ; public putKMSEncryptionKey ( args , options , cb ) ; public putKMSEncryptionKey ( args , optionsOrCb ? , cb ? ) { const command = new PutKMSEncryptionKeyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates or updates label. A label classifies an event as fraudulent or legitimate. Labels are associated with event types and used to train supervised machine learning models in Amazon Fraud Detector. </p>
     */ public putLabel ( args , options ? ) ; public putLabel ( args , cb ) ; public putLabel ( args , options , cb ) ; public putLabel ( args , optionsOrCb ? , cb ? ) { const command = new PutLabelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates or updates an outcome. </p>
     */ public putOutcome ( args , options ? ) ; public putOutcome ( args , cb ) ; public putOutcome ( args , options , cb ) ; public putOutcome ( args , optionsOrCb ? , cb ? ) { const command = new PutOutcomeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Stores events in Amazon Fraud Detector without generating fraud predictions for those events. For example, you can use <code>SendEvent</code> to upload a historical dataset, which you can then later use to train a model.</p>
     */ public sendEvent ( args , options ? ) ; public sendEvent ( args , cb ) ; public sendEvent ( args , options , cb ) ; public sendEvent ( args , optionsOrCb ? , cb ? ) { const command = new SendEventCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Assigns tags to a resource.</p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes tags from a resource.</p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Updates a detector version. The detector version attributes that you can update include models, external model endpoints, rules, rule execution mode, and description. You can only update a <code>DRAFT</code> detector version.</p>
     */ public updateDetectorVersion ( args , options ? ) ; public updateDetectorVersion ( args , cb ) ; public updateDetectorVersion ( args , options , cb ) ; public updateDetectorVersion ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDetectorVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the detector version's description. You can update the metadata for any detector version (<code>DRAFT, ACTIVE,</code> or
     *                 <code>INACTIVE</code>). </p>
     */ public updateDetectorVersionMetadata ( args , options ? ) ; public updateDetectorVersionMetadata ( args , cb ) ; public updateDetectorVersionMetadata ( args , options , cb ) ; public updateDetectorVersionMetadata ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDetectorVersionMetadataCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the detector version’s status. You can perform the following promotions or
     *             demotions using <code>UpdateDetectorVersionStatus</code>: <code>DRAFT</code> to <code>ACTIVE</code>, <code>ACTIVE</code> to <code>INACTIVE</code>, and <code>INACTIVE</code> to <code>ACTIVE</code>.</p>
     */ public updateDetectorVersionStatus ( args , options ? ) ; public updateDetectorVersionStatus ( args , cb ) ; public updateDetectorVersionStatus ( args , options , cb ) ; public updateDetectorVersionStatus ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDetectorVersionStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the specified event with a new label.</p>
     */ public updateEventLabel ( args , options ? ) ; public updateEventLabel ( args , cb ) ; public updateEventLabel ( args , options , cb ) ; public updateEventLabel ( args , optionsOrCb ? , cb ? ) { const command = new UpdateEventLabelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates model description.</p>
     */ public updateModel ( args , options ? ) ; public updateModel ( args , cb ) ; public updateModel ( args , options , cb ) ; public updateModel ( args , optionsOrCb ? , cb ? ) { const command = new UpdateModelCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a model version. Updating a model version retrains an existing model version using updated training data and produces a new minor version of the model. You can update the training data set location and data access role attributes using this action. This action creates and trains a new minor version of the model, for example version 1.01, 1.02, 1.03.</p>
     */ public updateModelVersion ( args , options ? ) ; public updateModelVersion ( args , cb ) ; public updateModelVersion ( args , options , cb ) ; public updateModelVersion ( args , optionsOrCb ? , cb ? ) { const command = new UpdateModelVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the status of a model version.</p>
     *          <p>You can perform the following status updates:</p>
     *          <ol>
     *             <li>
     *                <p>Change the <code>TRAINING_COMPLETE</code> status to <code>ACTIVE</code>.</p>
     *             </li>
     *             <li>
     *                <p>Change <code>ACTIVE</code> to <code>INACTIVE</code>.</p>
     *             </li>
     *          </ol>
     */ public updateModelVersionStatus ( args , options ? ) ; public updateModelVersionStatus ( args , cb ) ; public updateModelVersionStatus ( args , options , cb ) ; public updateModelVersionStatus ( args , optionsOrCb ? , cb ? ) { const command = new UpdateModelVersionStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a rule's metadata. The description attribute can be updated.</p>
     */ public updateRuleMetadata ( args , options ? ) ; public updateRuleMetadata ( args , cb ) ; public updateRuleMetadata ( args , options , cb ) ; public updateRuleMetadata ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRuleMetadataCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...). </p>
     */ public updateRuleVersion ( args , options ? ) ; public updateRuleVersion ( args , cb ) ; public updateRuleVersion ( args , options , cb ) ; public updateRuleVersion ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRuleVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a variable.</p>
     */ public updateVariable ( args , options ? ) ; public updateVariable ( args , cb ) ; public updateVariable ( args , options , cb ) ; public updateVariable ( args , optionsOrCb ? , cb ? ) { const command = new UpdateVariableCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }