Package-level declarations

Types

Link copied to clipboard

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 Amazon Fraud Detector User Guide.

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Functions

Link copied to clipboard

Creates a batch of variables.

Link copied to clipboard

Gets a batch of variables.

Link copied to clipboard

Cancels an in-progress batch import job.

Link copied to clipboard

Cancels the specified batch prediction job.

Link copied to clipboard

Creates a batch import job.

Link copied to clipboard

Creates a batch prediction job.

Link copied to clipboard

Creates a detector version. The detector version starts in a DRAFT status.

Link copied to clipboard

Creates a list.

Link copied to clipboard

Creates a model using the specified model type.

Link copied to clipboard

Creates a version of the model using the specified model type and model id.

Link copied to clipboard

Creates a rule for use with the specified detector.

Link copied to clipboard

Creates a variable.

Link copied to clipboard

Deletes the specified batch import job ID record. This action does not delete the data that was batch imported.

Link copied to clipboard

Deletes a batch prediction job.

Link copied to clipboard

Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.

Link copied to clipboard

Deletes the detector version. You cannot delete detector versions that are in ACTIVE status.

Link copied to clipboard

Deletes an entity type.

Link copied to clipboard

Deletes the specified event.

Link copied to clipboard

Deletes all events of a particular event type.

Link copied to clipboard

Deletes an event type.

Link copied to clipboard

Removes a SageMaker model from Amazon Fraud Detector.

Link copied to clipboard

Deletes a label.

Link copied to clipboard

Deletes the list, provided it is not used in a rule.

Link copied to clipboard

Deletes a model.

Link copied to clipboard

Deletes a model version.

Link copied to clipboard

Deletes an outcome.

Link copied to clipboard

Deletes the rule. You cannot delete a rule if it is used by an ACTIVE or INACTIVE detector version.

Link copied to clipboard

Deletes a variable.

Link copied to clipboard

Gets all versions for a specified detector.

Link copied to clipboard

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.

Link copied to clipboard

Gets all batch import jobs or a specific job of the specified 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 GetBatchImportJobsResponse as part of your request. A null pagination token fetches the records from the beginning.

Link copied to clipboard

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.

Link copied to clipboard

Retrieves the status of a DeleteEventsByEventType action.

Link copied to clipboard

Gets all detectors or a single detector if a detectorId is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetDetectorsResponse as part of your request. A null pagination token fetches the records from the beginning.

Link copied to clipboard

Gets a particular detector version.

Link copied to clipboard

Gets all entity types or a specific entity type if a name is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEntityTypesResponse as part of your request. A null pagination token fetches the records from the beginning.

Link copied to clipboard
inline suspend fun FraudDetectorClient.getEvent(crossinline block: GetEventRequest.Builder.() -> Unit): GetEventResponse

Retrieves details of events stored with Amazon Fraud Detector. This action does not retrieve prediction results.

Link copied to clipboard

Evaluates an event against a detector version. If a version ID is not provided, the detector’s (ACTIVE) version is used.

Link copied to clipboard

Gets details of the past fraud predictions for the specified event ID, event type, detector ID, and detector version ID that was generated in the specified time period.

Link copied to clipboard

Gets all event types or a specific event type if name is provided. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEventTypesResponse as part of your request. A null pagination token fetches the records from the beginning.

Link copied to clipboard

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 maxResults, this actions retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetExternalModelsResult as part of your request. A null pagination token fetches the records from the beginning.

Link copied to clipboard

Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.

Link copied to clipboard
inline suspend fun FraudDetectorClient.getLabels(crossinline block: GetLabelsRequest.Builder.() -> Unit): GetLabelsResponse

Gets all labels or a specific label if name is provided. 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 10 and 50. To get the next page results, provide the pagination token from the GetGetLabelsResponse as part of your request. A null pagination token fetches the records from the beginning.

Link copied to clipboard

Gets all the elements in the specified list.

Link copied to clipboard

Gets the metadata of either all the lists under the account or the specified list.

Link copied to clipboard
inline suspend fun FraudDetectorClient.getModels(crossinline block: GetModelsRequest.Builder.() -> Unit): GetModelsResponse

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.

Link copied to clipboard

Gets the details of the specified model version.

Link copied to clipboard

Gets one or more outcomes. This is a paginated API. If you provide a null maxResults, this actions retrieves a maximum of 100 records per page. If you provide a maxResults, the value must be between 50 and 100. To get the next page results, provide the pagination token from the GetOutcomesResult as part of your request. A null pagination token fetches the records from the beginning.

Link copied to clipboard
inline suspend fun FraudDetectorClient.getRules(crossinline block: GetRulesRequest.Builder.() -> Unit): GetRulesResponse

Get all rules for a detector (paginated) if ruleId and ruleVersion are not specified. Gets all rules for the detector and the ruleId if present (paginated). Gets a specific rule if both the ruleId and the ruleVersion are specified.

Link copied to clipboard

Gets all of the variables or the specific variable. This is a paginated API. Providing null maxSizePerPage results in retrieving maximum of 100 records per page. If you provide maxSizePerPage the value must be between 50 and 100. To get the next page result, a provide a pagination token from GetVariablesResult as part of your request. Null pagination token fetches the records from the beginning.

Link copied to clipboard

Gets a list of past predictions. The list can be filtered by detector ID, detector version ID, event ID, event type, or by specifying a time period. If filter is not specified, the most recent prediction is returned.

Link copied to clipboard

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.

Link copied to clipboard

Creates or updates a detector.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector.

Link copied to clipboard
inline suspend fun FraudDetectorClient.putLabel(crossinline block: PutLabelRequest.Builder.() -> Unit): PutLabelResponse

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.

Link copied to clipboard

Creates or updates an outcome.

Link copied to clipboard
inline suspend fun FraudDetectorClient.sendEvent(crossinline block: SendEventRequest.Builder.() -> Unit): SendEventResponse

Stores events in Amazon Fraud Detector without generating fraud predictions for those events. For example, you can use SendEvent to upload a historical dataset, which you can then later use to train a model.

Link copied to clipboard

Assigns tags to a resource.

Link copied to clipboard

Removes tags from a resource.

Link copied to clipboard

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 DRAFT detector version.

Link copied to clipboard

Updates the detector version's description. You can update the metadata for any detector version (DRAFT, ACTIVE, or INACTIVE).

Link copied to clipboard

Updates the detector version’s status. You can perform the following promotions or demotions using UpdateDetectorVersionStatus: DRAFT to ACTIVE, ACTIVE to INACTIVE, and INACTIVE to ACTIVE.

Link copied to clipboard

Updates the specified event with a new label.

Link copied to clipboard

Updates a list.

Link copied to clipboard

Updates model description.

Link copied to clipboard

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.

Link copied to clipboard

Updates the status of a model version.

Link copied to clipboard

Updates a rule's metadata. The description attribute can be updated.

Link copied to clipboard

Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...).

Link copied to clipboard

Updates a variable.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.