@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonFraudDetectorAsyncClient extends AmazonFraudDetectorClient implements AmazonFraudDetectorAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
batchCreateVariable, batchGetVariable, builder, createDetectorVersion, createModelVersion, createRule, createVariable, deleteDetectorVersion, deleteEvent, describeDetector, describeModelVersions, getCachedResponseMetadata, getDetectors, getDetectorVersion, getExternalModels, getModels, getModelVersion, getOutcomes, getPrediction, getRules, getVariables, putDetector, putExternalModel, putModel, putOutcome, updateDetectorVersion, updateDetectorVersionMetadata, updateDetectorVersionStatus, updateModelVersion, updateRuleMetadata, updateRuleVersion, updateVariable
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchCreateVariable, batchGetVariable, createDetectorVersion, createModelVersion, createRule, createVariable, deleteDetectorVersion, deleteEvent, describeDetector, describeModelVersions, getCachedResponseMetadata, getDetectors, getDetectorVersion, getExternalModels, getModels, getModelVersion, getOutcomes, getPrediction, getRules, getVariables, putDetector, putExternalModel, putModel, putOutcome, updateDetectorVersion, updateDetectorVersionMetadata, updateDetectorVersionStatus, updateModelVersion, updateRuleMetadata, updateRuleVersion, updateVariable
public static AmazonFraudDetectorAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchCreateVariableResult> batchCreateVariableAsync(BatchCreateVariableRequest request)
AmazonFraudDetectorAsync
Creates a batch of variables.
batchCreateVariableAsync
in interface AmazonFraudDetectorAsync
public Future<BatchCreateVariableResult> batchCreateVariableAsync(BatchCreateVariableRequest request, AsyncHandler<BatchCreateVariableRequest,BatchCreateVariableResult> asyncHandler)
AmazonFraudDetectorAsync
Creates a batch of variables.
batchCreateVariableAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchGetVariableResult> batchGetVariableAsync(BatchGetVariableRequest request)
AmazonFraudDetectorAsync
Gets a batch of variables.
batchGetVariableAsync
in interface AmazonFraudDetectorAsync
public Future<BatchGetVariableResult> batchGetVariableAsync(BatchGetVariableRequest request, AsyncHandler<BatchGetVariableRequest,BatchGetVariableResult> asyncHandler)
AmazonFraudDetectorAsync
Gets a batch of variables.
batchGetVariableAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDetectorVersionResult> createDetectorVersionAsync(CreateDetectorVersionRequest request)
AmazonFraudDetectorAsync
Creates a detector version. The detector version starts in a DRAFT
status.
createDetectorVersionAsync
in interface AmazonFraudDetectorAsync
public Future<CreateDetectorVersionResult> createDetectorVersionAsync(CreateDetectorVersionRequest request, AsyncHandler<CreateDetectorVersionRequest,CreateDetectorVersionResult> asyncHandler)
AmazonFraudDetectorAsync
Creates a detector version. The detector version starts in a DRAFT
status.
createDetectorVersionAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateModelVersionResult> createModelVersionAsync(CreateModelVersionRequest request)
AmazonFraudDetectorAsync
Creates a version of the model using the specified model type.
createModelVersionAsync
in interface AmazonFraudDetectorAsync
public Future<CreateModelVersionResult> createModelVersionAsync(CreateModelVersionRequest request, AsyncHandler<CreateModelVersionRequest,CreateModelVersionResult> asyncHandler)
AmazonFraudDetectorAsync
Creates a version of the model using the specified model type.
createModelVersionAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateRuleResult> createRuleAsync(CreateRuleRequest request)
AmazonFraudDetectorAsync
Creates a rule for use with the specified detector.
createRuleAsync
in interface AmazonFraudDetectorAsync
public Future<CreateRuleResult> createRuleAsync(CreateRuleRequest request, AsyncHandler<CreateRuleRequest,CreateRuleResult> asyncHandler)
AmazonFraudDetectorAsync
Creates a rule for use with the specified detector.
createRuleAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateVariableResult> createVariableAsync(CreateVariableRequest request)
AmazonFraudDetectorAsync
Creates a variable.
createVariableAsync
in interface AmazonFraudDetectorAsync
public Future<CreateVariableResult> createVariableAsync(CreateVariableRequest request, AsyncHandler<CreateVariableRequest,CreateVariableResult> asyncHandler)
AmazonFraudDetectorAsync
Creates a variable.
createVariableAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDetectorVersionResult> deleteDetectorVersionAsync(DeleteDetectorVersionRequest request)
AmazonFraudDetectorAsync
Deletes the detector version.
deleteDetectorVersionAsync
in interface AmazonFraudDetectorAsync
public Future<DeleteDetectorVersionResult> deleteDetectorVersionAsync(DeleteDetectorVersionRequest request, AsyncHandler<DeleteDetectorVersionRequest,DeleteDetectorVersionResult> asyncHandler)
AmazonFraudDetectorAsync
Deletes the detector version.
deleteDetectorVersionAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEventResult> deleteEventAsync(DeleteEventRequest request)
AmazonFraudDetectorAsync
Deletes the specified event.
deleteEventAsync
in interface AmazonFraudDetectorAsync
public Future<DeleteEventResult> deleteEventAsync(DeleteEventRequest request, AsyncHandler<DeleteEventRequest,DeleteEventResult> asyncHandler)
AmazonFraudDetectorAsync
Deletes the specified event.
deleteEventAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDetectorResult> describeDetectorAsync(DescribeDetectorRequest request)
AmazonFraudDetectorAsync
Gets all versions for a specified detector.
describeDetectorAsync
in interface AmazonFraudDetectorAsync
public Future<DescribeDetectorResult> describeDetectorAsync(DescribeDetectorRequest request, AsyncHandler<DescribeDetectorRequest,DescribeDetectorResult> asyncHandler)
AmazonFraudDetectorAsync
Gets all versions for a specified detector.
describeDetectorAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeModelVersionsResult> describeModelVersionsAsync(DescribeModelVersionsRequest request)
AmazonFraudDetectorAsync
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.
describeModelVersionsAsync
in interface AmazonFraudDetectorAsync
public Future<DescribeModelVersionsResult> describeModelVersionsAsync(DescribeModelVersionsRequest request, AsyncHandler<DescribeModelVersionsRequest,DescribeModelVersionsResult> asyncHandler)
AmazonFraudDetectorAsync
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.
describeModelVersionsAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDetectorVersionResult> getDetectorVersionAsync(GetDetectorVersionRequest request)
AmazonFraudDetectorAsync
Gets a particular detector version.
getDetectorVersionAsync
in interface AmazonFraudDetectorAsync
public Future<GetDetectorVersionResult> getDetectorVersionAsync(GetDetectorVersionRequest request, AsyncHandler<GetDetectorVersionRequest,GetDetectorVersionResult> asyncHandler)
AmazonFraudDetectorAsync
Gets a particular detector version.
getDetectorVersionAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDetectorsResult> getDetectorsAsync(GetDetectorsRequest request)
AmazonFraudDetectorAsync
Gets all of detectors. This is a paginated API. If you provide a null maxSizePerPage
, this actions
retrieves a maximum of 10 records per page. If you provide a maxSizePerPage
, 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.
getDetectorsAsync
in interface AmazonFraudDetectorAsync
public Future<GetDetectorsResult> getDetectorsAsync(GetDetectorsRequest request, AsyncHandler<GetDetectorsRequest,GetDetectorsResult> asyncHandler)
AmazonFraudDetectorAsync
Gets all of detectors. This is a paginated API. If you provide a null maxSizePerPage
, this actions
retrieves a maximum of 10 records per page. If you provide a maxSizePerPage
, 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.
getDetectorsAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetExternalModelsResult> getExternalModelsAsync(GetExternalModelsRequest request)
AmazonFraudDetectorAsync
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 maxSizePerPage
, this actions retrieves a maximum of 10 records
per page. If you provide a maxSizePerPage
, 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.
getExternalModelsAsync
in interface AmazonFraudDetectorAsync
public Future<GetExternalModelsResult> getExternalModelsAsync(GetExternalModelsRequest request, AsyncHandler<GetExternalModelsRequest,GetExternalModelsResult> asyncHandler)
AmazonFraudDetectorAsync
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 maxSizePerPage
, this actions retrieves a maximum of 10 records
per page. If you provide a maxSizePerPage
, 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.
getExternalModelsAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetModelVersionResult> getModelVersionAsync(GetModelVersionRequest request)
AmazonFraudDetectorAsync
Gets a model version.
getModelVersionAsync
in interface AmazonFraudDetectorAsync
public Future<GetModelVersionResult> getModelVersionAsync(GetModelVersionRequest request, AsyncHandler<GetModelVersionRequest,GetModelVersionResult> asyncHandler)
AmazonFraudDetectorAsync
Gets a model version.
getModelVersionAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetModelsResult> getModelsAsync(GetModelsRequest request)
AmazonFraudDetectorAsync
Gets all of the models for the AWS account, or the specified model type, or gets a single model for the specified model type, model ID combination.
getModelsAsync
in interface AmazonFraudDetectorAsync
public Future<GetModelsResult> getModelsAsync(GetModelsRequest request, AsyncHandler<GetModelsRequest,GetModelsResult> asyncHandler)
AmazonFraudDetectorAsync
Gets all of the models for the AWS account, or the specified model type, or gets a single model for the specified model type, model ID combination.
getModelsAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetOutcomesResult> getOutcomesAsync(GetOutcomesRequest request)
AmazonFraudDetectorAsync
Gets one or more outcomes. This is a paginated API. If you provide a null maxSizePerPage
, this
actions retrieves a maximum of 10 records per page. If you provide a maxSizePerPage
, 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.
getOutcomesAsync
in interface AmazonFraudDetectorAsync
public Future<GetOutcomesResult> getOutcomesAsync(GetOutcomesRequest request, AsyncHandler<GetOutcomesRequest,GetOutcomesResult> asyncHandler)
AmazonFraudDetectorAsync
Gets one or more outcomes. This is a paginated API. If you provide a null maxSizePerPage
, this
actions retrieves a maximum of 10 records per page. If you provide a maxSizePerPage
, 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.
getOutcomesAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetPredictionResult> getPredictionAsync(GetPredictionRequest request)
AmazonFraudDetectorAsync
Evaluates an event against a detector version. If a version ID is not provided, the detector’s (
ACTIVE
) version is used.
getPredictionAsync
in interface AmazonFraudDetectorAsync
public Future<GetPredictionResult> getPredictionAsync(GetPredictionRequest request, AsyncHandler<GetPredictionRequest,GetPredictionResult> asyncHandler)
AmazonFraudDetectorAsync
Evaluates an event against a detector version. If a version ID is not provided, the detector’s (
ACTIVE
) version is used.
getPredictionAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetRulesResult> getRulesAsync(GetRulesRequest request)
AmazonFraudDetectorAsync
Gets all rules available for the specified detector.
getRulesAsync
in interface AmazonFraudDetectorAsync
public Future<GetRulesResult> getRulesAsync(GetRulesRequest request, AsyncHandler<GetRulesRequest,GetRulesResult> asyncHandler)
AmazonFraudDetectorAsync
Gets all rules available for the specified detector.
getRulesAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetVariablesResult> getVariablesAsync(GetVariablesRequest request)
AmazonFraudDetectorAsync
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.
getVariablesAsync
in interface AmazonFraudDetectorAsync
public Future<GetVariablesResult> getVariablesAsync(GetVariablesRequest request, AsyncHandler<GetVariablesRequest,GetVariablesResult> asyncHandler)
AmazonFraudDetectorAsync
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.
getVariablesAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutDetectorResult> putDetectorAsync(PutDetectorRequest request)
AmazonFraudDetectorAsync
Creates or updates a detector.
putDetectorAsync
in interface AmazonFraudDetectorAsync
public Future<PutDetectorResult> putDetectorAsync(PutDetectorRequest request, AsyncHandler<PutDetectorRequest,PutDetectorResult> asyncHandler)
AmazonFraudDetectorAsync
Creates or updates a detector.
putDetectorAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutExternalModelResult> putExternalModelAsync(PutExternalModelRequest request)
AmazonFraudDetectorAsync
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.
putExternalModelAsync
in interface AmazonFraudDetectorAsync
public Future<PutExternalModelResult> putExternalModelAsync(PutExternalModelRequest request, AsyncHandler<PutExternalModelRequest,PutExternalModelResult> asyncHandler)
AmazonFraudDetectorAsync
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.
putExternalModelAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutModelResult> putModelAsync(PutModelRequest request)
AmazonFraudDetectorAsync
Creates or updates a model.
putModelAsync
in interface AmazonFraudDetectorAsync
public Future<PutModelResult> putModelAsync(PutModelRequest request, AsyncHandler<PutModelRequest,PutModelResult> asyncHandler)
AmazonFraudDetectorAsync
Creates or updates a model.
putModelAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutOutcomeResult> putOutcomeAsync(PutOutcomeRequest request)
AmazonFraudDetectorAsync
Creates or updates an outcome.
putOutcomeAsync
in interface AmazonFraudDetectorAsync
public Future<PutOutcomeResult> putOutcomeAsync(PutOutcomeRequest request, AsyncHandler<PutOutcomeRequest,PutOutcomeResult> asyncHandler)
AmazonFraudDetectorAsync
Creates or updates an outcome.
putOutcomeAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateDetectorVersionResult> updateDetectorVersionAsync(UpdateDetectorVersionRequest request)
AmazonFraudDetectorAsync
Updates a detector version. The detector version attributes that you can update include models, external model
endpoints, rules, and description. You can only update a DRAFT
detector version.
updateDetectorVersionAsync
in interface AmazonFraudDetectorAsync
public Future<UpdateDetectorVersionResult> updateDetectorVersionAsync(UpdateDetectorVersionRequest request, AsyncHandler<UpdateDetectorVersionRequest,UpdateDetectorVersionResult> asyncHandler)
AmazonFraudDetectorAsync
Updates a detector version. The detector version attributes that you can update include models, external model
endpoints, rules, and description. You can only update a DRAFT
detector version.
updateDetectorVersionAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateDetectorVersionMetadataResult> updateDetectorVersionMetadataAsync(UpdateDetectorVersionMetadataRequest request)
AmazonFraudDetectorAsync
Updates the detector version's description. You can update the metadata for any detector version (
DRAFT, ACTIVE,
or INACTIVE
).
updateDetectorVersionMetadataAsync
in interface AmazonFraudDetectorAsync
public Future<UpdateDetectorVersionMetadataResult> updateDetectorVersionMetadataAsync(UpdateDetectorVersionMetadataRequest request, AsyncHandler<UpdateDetectorVersionMetadataRequest,UpdateDetectorVersionMetadataResult> asyncHandler)
AmazonFraudDetectorAsync
Updates the detector version's description. You can update the metadata for any detector version (
DRAFT, ACTIVE,
or INACTIVE
).
updateDetectorVersionMetadataAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateDetectorVersionStatusResult> updateDetectorVersionStatusAsync(UpdateDetectorVersionStatusRequest request)
AmazonFraudDetectorAsync
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
.
updateDetectorVersionStatusAsync
in interface AmazonFraudDetectorAsync
public Future<UpdateDetectorVersionStatusResult> updateDetectorVersionStatusAsync(UpdateDetectorVersionStatusRequest request, AsyncHandler<UpdateDetectorVersionStatusRequest,UpdateDetectorVersionStatusResult> asyncHandler)
AmazonFraudDetectorAsync
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
.
updateDetectorVersionStatusAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateModelVersionResult> updateModelVersionAsync(UpdateModelVersionRequest request)
AmazonFraudDetectorAsync
Updates a model version. You can update the description and status attributes using this action. You can perform the following status updates:
Change the TRAINING_COMPLETE
status to ACTIVE
Change ACTIVE
back to TRAINING_COMPLETE
updateModelVersionAsync
in interface AmazonFraudDetectorAsync
public Future<UpdateModelVersionResult> updateModelVersionAsync(UpdateModelVersionRequest request, AsyncHandler<UpdateModelVersionRequest,UpdateModelVersionResult> asyncHandler)
AmazonFraudDetectorAsync
Updates a model version. You can update the description and status attributes using this action. You can perform the following status updates:
Change the TRAINING_COMPLETE
status to ACTIVE
Change ACTIVE
back to TRAINING_COMPLETE
updateModelVersionAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRuleMetadataResult> updateRuleMetadataAsync(UpdateRuleMetadataRequest request)
AmazonFraudDetectorAsync
Updates a rule's metadata.
updateRuleMetadataAsync
in interface AmazonFraudDetectorAsync
public Future<UpdateRuleMetadataResult> updateRuleMetadataAsync(UpdateRuleMetadataRequest request, AsyncHandler<UpdateRuleMetadataRequest,UpdateRuleMetadataResult> asyncHandler)
AmazonFraudDetectorAsync
Updates a rule's metadata.
updateRuleMetadataAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRuleVersionResult> updateRuleVersionAsync(UpdateRuleVersionRequest request)
AmazonFraudDetectorAsync
Updates a rule version resulting in a new rule version.
updateRuleVersionAsync
in interface AmazonFraudDetectorAsync
public Future<UpdateRuleVersionResult> updateRuleVersionAsync(UpdateRuleVersionRequest request, AsyncHandler<UpdateRuleVersionRequest,UpdateRuleVersionResult> asyncHandler)
AmazonFraudDetectorAsync
Updates a rule version resulting in a new rule version.
updateRuleVersionAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateVariableResult> updateVariableAsync(UpdateVariableRequest request)
AmazonFraudDetectorAsync
Updates a variable.
updateVariableAsync
in interface AmazonFraudDetectorAsync
public Future<UpdateVariableResult> updateVariableAsync(UpdateVariableRequest request, AsyncHandler<UpdateVariableRequest,UpdateVariableResult> asyncHandler)
AmazonFraudDetectorAsync
Updates a variable.
updateVariableAsync
in interface AmazonFraudDetectorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonFraudDetector
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.