@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonFraudDetectorClient extends AmazonWebServiceClient implements AmazonFraudDetector
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.
We provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.
The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter
Action
. AWS SDK provides libraries, sample code, tutorials, and other resources for software developers
who prefer to build applications using language-specific APIs instead of submitting a request over HTTP or HTTPS.
These libraries provide basic functions that automatically take care of tasks such as cryptographically signing your
requests, retrying requests, and handling error responses, so that it is easier for you to get started. For more
information about the AWS SDKs, see Tools to build
on AWS.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AmazonFraudDetectorClientBuilder builder()
public BatchCreateVariableResult batchCreateVariable(BatchCreateVariableRequest request)
Creates a batch of variables.
batchCreateVariable
in interface AmazonFraudDetector
batchCreateVariableRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public BatchGetVariableResult batchGetVariable(BatchGetVariableRequest request)
Gets a batch of variables.
batchGetVariable
in interface AmazonFraudDetector
batchGetVariableRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public CancelBatchImportJobResult cancelBatchImportJob(CancelBatchImportJobRequest request)
Cancels an in-progress batch import job.
cancelBatchImportJob
in interface AmazonFraudDetector
cancelBatchImportJobRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public CancelBatchPredictionJobResult cancelBatchPredictionJob(CancelBatchPredictionJobRequest request)
Cancels the specified batch prediction job.
cancelBatchPredictionJob
in interface AmazonFraudDetector
cancelBatchPredictionJobRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public CreateBatchImportJobResult createBatchImportJob(CreateBatchImportJobRequest request)
Creates a batch import job.
createBatchImportJob
in interface AmazonFraudDetector
createBatchImportJobRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public CreateBatchPredictionJobResult createBatchPredictionJob(CreateBatchPredictionJobRequest request)
Creates a batch prediction job.
createBatchPredictionJob
in interface AmazonFraudDetector
createBatchPredictionJobRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ResourceNotFoundException
- An exception indicating the specified resource was not found.public CreateDetectorVersionResult createDetectorVersion(CreateDetectorVersionRequest request)
Creates a detector version. The detector version starts in a DRAFT
status.
createDetectorVersion
in interface AmazonFraudDetector
createDetectorVersionRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public CreateModelResult createModel(CreateModelRequest request)
Creates a model using the specified model type.
createModel
in interface AmazonFraudDetector
createModelRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public CreateModelVersionResult createModelVersion(CreateModelVersionRequest request)
Creates a version of the model using the specified model type and model id.
createModelVersion
in interface AmazonFraudDetector
createModelVersionRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.AccessDeniedException
- 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.ThrottlingException
- An exception indicating a throttling error.InternalServerException
- An exception indicating an internal server error.public CreateRuleResult createRule(CreateRuleRequest request)
Creates a rule for use with the specified detector.
createRule
in interface AmazonFraudDetector
createRuleRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public CreateVariableResult createVariable(CreateVariableRequest request)
Creates a variable.
createVariable
in interface AmazonFraudDetector
createVariableRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public DeleteBatchImportJobResult deleteBatchImportJob(DeleteBatchImportJobRequest request)
Deletes the specified batch import job ID record. This action does not delete the data that was batch imported.
deleteBatchImportJob
in interface AmazonFraudDetector
deleteBatchImportJobRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public DeleteBatchPredictionJobResult deleteBatchPredictionJob(DeleteBatchPredictionJobRequest request)
Deletes a batch prediction job.
deleteBatchPredictionJob
in interface AmazonFraudDetector
deleteBatchPredictionJobRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public DeleteDetectorResult deleteDetector(DeleteDetectorRequest request)
Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.
When you delete a detector, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.
deleteDetector
in interface AmazonFraudDetector
deleteDetectorRequest
- ConflictException
- An exception indicating there was a conflict during a delete operation.ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public DeleteDetectorVersionResult deleteDetectorVersion(DeleteDetectorVersionRequest request)
Deletes the detector version. You cannot delete detector versions that are in ACTIVE
status.
When you delete a detector version, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.
deleteDetectorVersion
in interface AmazonFraudDetector
deleteDetectorVersionRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.ConflictException
- An exception indicating there was a conflict during a delete operation.AccessDeniedException
- 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.public DeleteEntityTypeResult deleteEntityType(DeleteEntityTypeRequest request)
Deletes an entity type.
You cannot delete an entity type that is included in an event type.
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.
deleteEntityType
in interface AmazonFraudDetector
deleteEntityTypeRequest
- ValidationException
- An exception indicating a specified value is not allowed.ConflictException
- An exception indicating there was a conflict during a delete operation.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public DeleteEventResult deleteEvent(DeleteEventRequest request)
Deletes the specified event.
When you delete an event, Amazon Fraud Detector permanently deletes that event and the event data is no longer stored in Amazon Fraud Detector.
deleteEvent
in interface AmazonFraudDetector
deleteEventRequest
- InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ValidationException
- An exception indicating a specified value is not allowed.public DeleteEventTypeResult deleteEventType(DeleteEventTypeRequest request)
Deletes an event type.
You cannot delete an event type that is used in a detector or a model.
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.
deleteEventType
in interface AmazonFraudDetector
deleteEventTypeRequest
- ConflictException
- An exception indicating there was a conflict during a delete operation.ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public DeleteEventsByEventTypeResult deleteEventsByEventType(DeleteEventsByEventTypeRequest request)
Deletes all events of a particular event type.
deleteEventsByEventType
in interface AmazonFraudDetector
deleteEventsByEventTypeRequest
- ConflictException
- An exception indicating there was a conflict during a delete operation.ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public DeleteExternalModelResult deleteExternalModel(DeleteExternalModelRequest request)
Removes a SageMaker model from Amazon Fraud Detector.
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.
deleteExternalModel
in interface AmazonFraudDetector
deleteExternalModelRequest
- ValidationException
- An exception indicating a specified value is not allowed.ConflictException
- An exception indicating there was a conflict during a delete operation.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public DeleteLabelResult deleteLabel(DeleteLabelRequest request)
Deletes a label.
You cannot delete labels that are included in an event type in Amazon Fraud Detector.
You cannot delete a label assigned to an event ID. You must first delete the relevant event ID.
When you delete a label, Amazon Fraud Detector permanently deletes that label and the data is no longer stored in Amazon Fraud Detector.
deleteLabel
in interface AmazonFraudDetector
deleteLabelRequest
- ValidationException
- An exception indicating a specified value is not allowed.ConflictException
- An exception indicating there was a conflict during a delete operation.ThrottlingException
- An exception indicating a throttling error.InternalServerException
- An exception indicating an internal server error.public DeleteModelResult deleteModel(DeleteModelRequest request)
Deletes a model.
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, Amazon Fraud Detector permanently deletes that model and the data is no longer stored in Amazon Fraud Detector.
deleteModel
in interface AmazonFraudDetector
deleteModelRequest
- ConflictException
- An exception indicating there was a conflict during a delete operation.ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public DeleteModelVersionResult deleteModelVersion(DeleteModelVersionRequest request)
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.
deleteModelVersion
in interface AmazonFraudDetector
deleteModelVersionRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.AccessDeniedException
- 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.ThrottlingException
- An exception indicating a throttling error.ConflictException
- An exception indicating there was a conflict during a delete operation.public DeleteOutcomeResult deleteOutcome(DeleteOutcomeRequest request)
Deletes an outcome.
You cannot delete an outcome that is used in a rule version.
When you delete an outcome, Amazon Fraud Detector permanently deletes that outcome and the data is no longer stored in Amazon Fraud Detector.
deleteOutcome
in interface AmazonFraudDetector
deleteOutcomeRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.ConflictException
- An exception indicating there was a conflict during a delete operation.AccessDeniedException
- 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.public DeleteRuleResult deleteRule(DeleteRuleRequest request)
Deletes the rule. You cannot delete a rule if it is used by an ACTIVE
or INACTIVE
detector version.
When you delete a rule, Amazon Fraud Detector permanently deletes that rule and the data is no longer stored in Amazon Fraud Detector.
deleteRule
in interface AmazonFraudDetector
deleteRuleRequest
- ConflictException
- An exception indicating there was a conflict during a delete operation.ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public DeleteVariableResult deleteVariable(DeleteVariableRequest request)
Deletes a variable.
You can't delete variables that are included in an event type in Amazon Fraud Detector.
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.
When you delete a variable, Amazon Fraud Detector permanently deletes that variable and the data is no longer stored in Amazon Fraud Detector.
deleteVariable
in interface AmazonFraudDetector
deleteVariableRequest
- ValidationException
- An exception indicating a specified value is not allowed.ConflictException
- An exception indicating there was a conflict during a delete operation.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public DescribeDetectorResult describeDetector(DescribeDetectorRequest request)
Gets all versions for a specified detector.
describeDetector
in interface AmazonFraudDetector
describeDetectorRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public DescribeModelVersionsResult describeModelVersions(DescribeModelVersionsRequest request)
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.
describeModelVersions
in interface AmazonFraudDetector
describeModelVersionsRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetBatchImportJobsResult getBatchImportJobs(GetBatchImportJobsRequest request)
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.
getBatchImportJobs
in interface AmazonFraudDetector
getBatchImportJobsRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetBatchPredictionJobsResult getBatchPredictionJobs(GetBatchPredictionJobsRequest request)
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.
getBatchPredictionJobs
in interface AmazonFraudDetector
getBatchPredictionJobsRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetDeleteEventsByEventTypeStatusResult getDeleteEventsByEventTypeStatus(GetDeleteEventsByEventTypeStatusRequest request)
Retrieves the status of a DeleteEventsByEventType
action.
getDeleteEventsByEventTypeStatus
in interface AmazonFraudDetector
getDeleteEventsByEventTypeStatusRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetDetectorVersionResult getDetectorVersion(GetDetectorVersionRequest request)
Gets a particular detector version.
getDetectorVersion
in interface AmazonFraudDetector
getDetectorVersionRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetDetectorsResult getDetectors(GetDetectorsRequest request)
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.
getDetectors
in interface AmazonFraudDetector
getDetectorsRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetEntityTypesResult getEntityTypes(GetEntityTypesRequest request)
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.
getEntityTypes
in interface AmazonFraudDetector
getEntityTypesRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetEventResult getEvent(GetEventRequest request)
Retrieves details of events stored with Amazon Fraud Detector. This action does not retrieve prediction results.
getEvent
in interface AmazonFraudDetector
getEventRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetEventPredictionResult getEventPrediction(GetEventPredictionRequest request)
Evaluates an event against a detector version. If a version ID is not provided, the detector’s (
ACTIVE
) version is used.
getEventPrediction
in interface AmazonFraudDetector
getEventPredictionRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.ResourceUnavailableException
- An exception indicating that the attached customer-owned (external) model threw an exception when Amazon
Fraud Detector invoked the model.public GetEventPredictionMetadataResult getEventPredictionMetadata(GetEventPredictionMetadataRequest request)
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.
getEventPredictionMetadata
in interface AmazonFraudDetector
getEventPredictionMetadataRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.AccessDeniedException
- 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.ThrottlingException
- An exception indicating a throttling error.InternalServerException
- An exception indicating an internal server error.public GetEventTypesResult getEventTypes(GetEventTypesRequest request)
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.
getEventTypes
in interface AmazonFraudDetector
getEventTypesRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetExternalModelsResult getExternalModels(GetExternalModelsRequest request)
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.
getExternalModels
in interface AmazonFraudDetector
getExternalModelsRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetKMSEncryptionKeyResult getKMSEncryptionKey(GetKMSEncryptionKeyRequest request)
Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.
getKMSEncryptionKey
in interface AmazonFraudDetector
getKMSEncryptionKeyRequest
- ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetLabelsResult getLabels(GetLabelsRequest request)
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.
getLabels
in interface AmazonFraudDetector
getLabelsRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetModelVersionResult getModelVersion(GetModelVersionRequest request)
Gets the details of the specified model version.
getModelVersion
in interface AmazonFraudDetector
getModelVersionRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetModelsResult getModels(GetModelsRequest request)
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.
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 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.
getModels
in interface AmazonFraudDetector
getModelsRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetOutcomesResult getOutcomes(GetOutcomesRequest request)
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.
getOutcomes
in interface AmazonFraudDetector
getOutcomesRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetRulesResult getRules(GetRulesRequest request)
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.
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.
getRules
in interface AmazonFraudDetector
getRulesRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public GetVariablesResult getVariables(GetVariablesRequest request)
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.
getVariables
in interface AmazonFraudDetector
getVariablesRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public ListEventPredictionsResult listEventPredictions(ListEventPredictionsRequest request)
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.
For example, the following filter lists all past predictions for xyz
event type -
{ "eventType":{ "value": "xyz" }” }
This is a paginated API. If you provide a null maxResults
, this action will retrieve a maximum of 10
records per page. If you provide a maxResults
, the value must be between 50 and 100. To get the next
page results, provide the nextToken
from the response as part of your request. A null
nextToken
fetches the records from the beginning.
listEventPredictions
in interface AmazonFraudDetector
listEventPredictionsRequest
- ValidationException
- An exception indicating a specified value is not allowed.AccessDeniedException
- 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.ThrottlingException
- An exception indicating a throttling error.InternalServerException
- An exception indicating an internal server error.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
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.
listTagsForResource
in interface AmazonFraudDetector
listTagsForResourceRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public PutDetectorResult putDetector(PutDetectorRequest request)
Creates or updates a detector.
putDetector
in interface AmazonFraudDetector
putDetectorRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public PutEntityTypeResult putEntityType(PutEntityTypeRequest request)
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.
putEntityType
in interface AmazonFraudDetector
putEntityTypeRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public PutEventTypeResult putEventType(PutEventTypeRequest request)
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.
putEventType
in interface AmazonFraudDetector
putEventTypeRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public PutExternalModelResult putExternalModel(PutExternalModelRequest request)
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.
putExternalModel
in interface AmazonFraudDetector
putExternalModelRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public PutKMSEncryptionKeyResult putKMSEncryptionKey(PutKMSEncryptionKeyRequest request)
Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector.
putKMSEncryptionKey
in interface AmazonFraudDetector
putKMSEncryptionKeyRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public PutLabelResult putLabel(PutLabelRequest request)
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.
putLabel
in interface AmazonFraudDetector
putLabelRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public PutOutcomeResult putOutcome(PutOutcomeRequest request)
Creates or updates an outcome.
putOutcome
in interface AmazonFraudDetector
putOutcomeRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public SendEventResult sendEvent(SendEventRequest request)
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.
sendEvent
in interface AmazonFraudDetector
sendEventRequest
- ValidationException
- An exception indicating a specified value is not allowed.ConflictException
- An exception indicating there was a conflict during a delete operation.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public TagResourceResult tagResource(TagResourceRequest request)
Assigns tags to a resource.
tagResource
in interface AmazonFraudDetector
tagResourceRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes tags from a resource.
untagResource
in interface AmazonFraudDetector
untagResourceRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.public UpdateDetectorVersionResult updateDetectorVersion(UpdateDetectorVersionRequest request)
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.
updateDetectorVersion
in interface AmazonFraudDetector
updateDetectorVersionRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public UpdateDetectorVersionMetadataResult updateDetectorVersionMetadata(UpdateDetectorVersionMetadataRequest request)
Updates the detector version's description. You can update the metadata for any detector version (
DRAFT, ACTIVE,
or INACTIVE
).
updateDetectorVersionMetadata
in interface AmazonFraudDetector
updateDetectorVersionMetadataRequest
- ValidationException
- An exception indicating a specified value is not allowed.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public UpdateDetectorVersionStatusResult updateDetectorVersionStatus(UpdateDetectorVersionStatusRequest request)
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
.
updateDetectorVersionStatus
in interface AmazonFraudDetector
updateDetectorVersionStatusRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public UpdateEventLabelResult updateEventLabel(UpdateEventLabelRequest request)
Updates the specified event with a new label.
updateEventLabel
in interface AmazonFraudDetector
updateEventLabelRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public UpdateModelResult updateModel(UpdateModelRequest request)
Updates model description.
updateModel
in interface AmazonFraudDetector
updateModelRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public UpdateModelVersionResult updateModelVersion(UpdateModelVersionRequest request)
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.
updateModelVersion
in interface AmazonFraudDetector
updateModelVersionRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.AccessDeniedException
- 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.ThrottlingException
- An exception indicating a throttling error.InternalServerException
- An exception indicating an internal server error.ConflictException
- An exception indicating there was a conflict during a delete operation.public UpdateModelVersionStatusResult updateModelVersionStatus(UpdateModelVersionStatusRequest request)
Updates the status of a model version.
You can perform the following status updates:
Change the TRAINING_IN_PROGRESS
status to TRAINING_CANCELLED
.
Change the TRAINING_COMPLETE
status to ACTIVE
.
Change ACTIVE
to INACTIVE
.
updateModelVersionStatus
in interface AmazonFraudDetector
updateModelVersionStatusRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public UpdateRuleMetadataResult updateRuleMetadata(UpdateRuleMetadataRequest request)
Updates a rule's metadata. The description attribute can be updated.
updateRuleMetadata
in interface AmazonFraudDetector
updateRuleMetadataRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public UpdateRuleVersionResult updateRuleVersion(UpdateRuleVersionRequest request)
Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...).
updateRuleVersion
in interface AmazonFraudDetector
updateRuleVersionRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public UpdateVariableResult updateVariable(UpdateVariableRequest request)
Updates a variable.
updateVariable
in interface AmazonFraudDetector
updateVariableRequest
- ValidationException
- An exception indicating a specified value is not allowed.ResourceNotFoundException
- An exception indicating the specified resource was not found.InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.AccessDeniedException
- 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.ConflictException
- An exception indicating there was a conflict during a delete operation.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AmazonFraudDetector
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonFraudDetector
shutdown
in class AmazonWebServiceClient