@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, createModel, createModelVersion, createRule, createVariable, deleteDetector, deleteDetectorVersion, deleteEvent, deleteRule, describeDetector, describeModelVersions, getCachedResponseMetadata, getDetectors, getDetectorVersion, getEntityTypes, getEventPrediction, getEventTypes, getExternalModels, getKMSEncryptionKey, getLabels, getModels, getModelVersion, getOutcomes, getRules, getVariables, listTagsForResource, putDetector, putEntityType, putEventType, putExternalModel, putKMSEncryptionKey, putLabel, putOutcome, tagResource, untagResource, updateDetectorVersion, updateDetectorVersionMetadata, updateDetectorVersionStatus, updateModel, updateModelVersion, updateModelVersionStatus, 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, createModel, createModelVersion, createRule, createVariable, deleteDetector, deleteDetectorVersion, deleteEvent, deleteRule, describeDetector, describeModelVersions, getCachedResponseMetadata, getDetectors, getDetectorVersion, getEntityTypes, getEventPrediction, getEventTypes, getExternalModels, getKMSEncryptionKey, getLabels, getModels, getModelVersion, getOutcomes, getRules, getVariables, listTagsForResource, putDetector, putEntityType, putEventType, putExternalModel, putKMSEncryptionKey, putLabel, putOutcome, tagResource, untagResource, updateDetectorVersion, updateDetectorVersionMetadata, updateDetectorVersionStatus, updateModel, updateModelVersion, updateModelVersionStatus, 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<CreateModelResult> createModelAsync(CreateModelRequest request)
AmazonFraudDetectorAsync
Creates a model using the specified model type.
createModelAsync
in interface AmazonFraudDetectorAsync
public Future<CreateModelResult> createModelAsync(CreateModelRequest request, AsyncHandler<CreateModelRequest,CreateModelResult> asyncHandler)
AmazonFraudDetectorAsync
Creates a model using the specified model type.
createModelAsync
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 and model id.
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 and model id.
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<DeleteDetectorResult> deleteDetectorAsync(DeleteDetectorRequest request)
AmazonFraudDetectorAsync
Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.
deleteDetectorAsync
in interface AmazonFraudDetectorAsync
public Future<DeleteDetectorResult> deleteDetectorAsync(DeleteDetectorRequest request, AsyncHandler<DeleteDetectorRequest,DeleteDetectorResult> asyncHandler)
AmazonFraudDetectorAsync
Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.
deleteDetectorAsync
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. You cannot delete detector versions that are in ACTIVE
status.
deleteDetectorVersionAsync
in interface AmazonFraudDetectorAsync
public Future<DeleteDetectorVersionResult> deleteDetectorVersionAsync(DeleteDetectorVersionRequest request, AsyncHandler<DeleteDetectorVersionRequest,DeleteDetectorVersionResult> asyncHandler)
AmazonFraudDetectorAsync
Deletes the detector version. You cannot delete detector versions that are in ACTIVE
status.
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<DeleteRuleResult> deleteRuleAsync(DeleteRuleRequest request)
AmazonFraudDetectorAsync
Deletes the rule. You cannot delete a rule if it is used by an ACTIVE
or INACTIVE
detector version.
deleteRuleAsync
in interface AmazonFraudDetectorAsync
public Future<DeleteRuleResult> deleteRuleAsync(DeleteRuleRequest request, AsyncHandler<DeleteRuleRequest,DeleteRuleResult> asyncHandler)
AmazonFraudDetectorAsync
Deletes the rule. You cannot delete a rule if it is used by an ACTIVE
or INACTIVE
detector version.
deleteRuleAsync
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 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.
getDetectorsAsync
in interface AmazonFraudDetectorAsync
public Future<GetDetectorsResult> getDetectorsAsync(GetDetectorsRequest request, AsyncHandler<GetDetectorsRequest,GetDetectorsResult> asyncHandler)
AmazonFraudDetectorAsync
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.
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<GetEntityTypesResult> getEntityTypesAsync(GetEntityTypesRequest request)
AmazonFraudDetectorAsync
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.
getEntityTypesAsync
in interface AmazonFraudDetectorAsync
public Future<GetEntityTypesResult> getEntityTypesAsync(GetEntityTypesRequest request, AsyncHandler<GetEntityTypesRequest,GetEntityTypesResult> asyncHandler)
AmazonFraudDetectorAsync
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.
getEntityTypesAsync
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<GetEventPredictionResult> getEventPredictionAsync(GetEventPredictionRequest request)
AmazonFraudDetectorAsync
Evaluates an event against a detector version. If a version ID is not provided, the detector’s (
ACTIVE
) version is used.
getEventPredictionAsync
in interface AmazonFraudDetectorAsync
public Future<GetEventPredictionResult> getEventPredictionAsync(GetEventPredictionRequest request, AsyncHandler<GetEventPredictionRequest,GetEventPredictionResult> asyncHandler)
AmazonFraudDetectorAsync
Evaluates an event against a detector version. If a version ID is not provided, the detector’s (
ACTIVE
) version is used.
getEventPredictionAsync
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<GetEventTypesResult> getEventTypesAsync(GetEventTypesRequest request)
AmazonFraudDetectorAsync
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.
getEventTypesAsync
in interface AmazonFraudDetectorAsync
public Future<GetEventTypesResult> getEventTypesAsync(GetEventTypesRequest request, AsyncHandler<GetEventTypesRequest,GetEventTypesResult> asyncHandler)
AmazonFraudDetectorAsync
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.
getEventTypesAsync
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 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.
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 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.
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<GetKMSEncryptionKeyResult> getKMSEncryptionKeyAsync(GetKMSEncryptionKeyRequest request)
AmazonFraudDetectorAsync
Gets the encryption key if a Key Management Service (KMS) customer master key (CMK) has been specified to be used to encrypt content in Amazon Fraud Detector.
getKMSEncryptionKeyAsync
in interface AmazonFraudDetectorAsync
public Future<GetKMSEncryptionKeyResult> getKMSEncryptionKeyAsync(GetKMSEncryptionKeyRequest request, AsyncHandler<GetKMSEncryptionKeyRequest,GetKMSEncryptionKeyResult> asyncHandler)
AmazonFraudDetectorAsync
Gets the encryption key if a Key Management Service (KMS) customer master key (CMK) has been specified to be used to encrypt content in Amazon Fraud Detector.
getKMSEncryptionKeyAsync
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<GetLabelsResult> getLabelsAsync(GetLabelsRequest request)
AmazonFraudDetectorAsync
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.
getLabelsAsync
in interface AmazonFraudDetectorAsync
public Future<GetLabelsResult> getLabelsAsync(GetLabelsRequest request, AsyncHandler<GetLabelsRequest,GetLabelsResult> asyncHandler)
AmazonFraudDetectorAsync
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.
getLabelsAsync
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 the details of the specified model version.
getModelVersionAsync
in interface AmazonFraudDetectorAsync
public Future<GetModelVersionResult> getModelVersionAsync(GetModelVersionRequest request, AsyncHandler<GetModelVersionRequest,GetModelVersionResult> asyncHandler)
AmazonFraudDetectorAsync
Gets the details of the specified 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 one or more models. Gets all models for the AWS account if no model type and no model id provided. Gets all models for the AWS 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.
getModelsAsync
in interface AmazonFraudDetectorAsync
public Future<GetModelsResult> getModelsAsync(GetModelsRequest request, AsyncHandler<GetModelsRequest,GetModelsResult> asyncHandler)
AmazonFraudDetectorAsync
Gets one or more models. Gets all models for the AWS account if no model type and no model id provided. Gets all models for the AWS 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.
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 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.
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 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.
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<GetRulesResult> getRulesAsync(GetRulesRequest request)
AmazonFraudDetectorAsync
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.
getRulesAsync
in interface AmazonFraudDetectorAsync
public Future<GetRulesResult> getRulesAsync(GetRulesRequest request, AsyncHandler<GetRulesRequest,GetRulesResult> asyncHandler)
AmazonFraudDetectorAsync
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.
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonFraudDetectorAsync
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.
listTagsForResourceAsync
in interface AmazonFraudDetectorAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonFraudDetectorAsync
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.
listTagsForResourceAsync
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<PutEntityTypeResult> putEntityTypeAsync(PutEntityTypeRequest request)
AmazonFraudDetectorAsync
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.
putEntityTypeAsync
in interface AmazonFraudDetectorAsync
public Future<PutEntityTypeResult> putEntityTypeAsync(PutEntityTypeRequest request, AsyncHandler<PutEntityTypeRequest,PutEntityTypeResult> asyncHandler)
AmazonFraudDetectorAsync
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.
putEntityTypeAsync
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<PutEventTypeResult> putEventTypeAsync(PutEventTypeRequest request)
AmazonFraudDetectorAsync
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.
putEventTypeAsync
in interface AmazonFraudDetectorAsync
public Future<PutEventTypeResult> putEventTypeAsync(PutEventTypeRequest request, AsyncHandler<PutEventTypeRequest,PutEventTypeResult> asyncHandler)
AmazonFraudDetectorAsync
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.
putEventTypeAsync
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<PutKMSEncryptionKeyResult> putKMSEncryptionKeyAsync(PutKMSEncryptionKeyRequest request)
AmazonFraudDetectorAsync
Specifies the Key Management Service (KMS) customer master key (CMK) to be used to encrypt content in Amazon Fraud Detector.
putKMSEncryptionKeyAsync
in interface AmazonFraudDetectorAsync
public Future<PutKMSEncryptionKeyResult> putKMSEncryptionKeyAsync(PutKMSEncryptionKeyRequest request, AsyncHandler<PutKMSEncryptionKeyRequest,PutKMSEncryptionKeyResult> asyncHandler)
AmazonFraudDetectorAsync
Specifies the Key Management Service (KMS) customer master key (CMK) to be used to encrypt content in Amazon Fraud Detector.
putKMSEncryptionKeyAsync
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<PutLabelResult> putLabelAsync(PutLabelRequest request)
AmazonFraudDetectorAsync
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.
putLabelAsync
in interface AmazonFraudDetectorAsync
public Future<PutLabelResult> putLabelAsync(PutLabelRequest request, AsyncHandler<PutLabelRequest,PutLabelResult> asyncHandler)
AmazonFraudDetectorAsync
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.
putLabelAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonFraudDetectorAsync
Assigns tags to a resource.
tagResourceAsync
in interface AmazonFraudDetectorAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonFraudDetectorAsync
Assigns tags to a resource.
tagResourceAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonFraudDetectorAsync
Removes tags from a resource.
untagResourceAsync
in interface AmazonFraudDetectorAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonFraudDetectorAsync
Removes tags from a resource.
untagResourceAsync
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, rule execution mode, 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, rule execution mode, 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<UpdateModelResult> updateModelAsync(UpdateModelRequest request)
AmazonFraudDetectorAsync
Updates a model. You can update the description attribute using this action.
updateModelAsync
in interface AmazonFraudDetectorAsync
public Future<UpdateModelResult> updateModelAsync(UpdateModelRequest request, AsyncHandler<UpdateModelRequest,UpdateModelResult> asyncHandler)
AmazonFraudDetectorAsync
Updates a model. You can update the description attribute using this action.
updateModelAsync
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. 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.
updateModelVersionAsync
in interface AmazonFraudDetectorAsync
public Future<UpdateModelVersionResult> updateModelVersionAsync(UpdateModelVersionRequest request, AsyncHandler<UpdateModelVersionRequest,UpdateModelVersionResult> asyncHandler)
AmazonFraudDetectorAsync
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.
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<UpdateModelVersionStatusResult> updateModelVersionStatusAsync(UpdateModelVersionStatusRequest request)
AmazonFraudDetectorAsync
Updates the status of a model version.
You can perform the following status updates:
Change the TRAINING_COMPLETE
status to ACTIVE
.
Change ACTIVE
to INACTIVE
.
updateModelVersionStatusAsync
in interface AmazonFraudDetectorAsync
public Future<UpdateModelVersionStatusResult> updateModelVersionStatusAsync(UpdateModelVersionStatusRequest request, AsyncHandler<UpdateModelVersionStatusRequest,UpdateModelVersionStatusResult> asyncHandler)
AmazonFraudDetectorAsync
Updates the status of a model version.
You can perform the following status updates:
Change the TRAINING_COMPLETE
status to ACTIVE
.
Change ACTIVE
to INACTIVE
.
updateModelVersionStatusAsync
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. The description attribute can be updated.
updateRuleMetadataAsync
in interface AmazonFraudDetectorAsync
public Future<UpdateRuleMetadataResult> updateRuleMetadataAsync(UpdateRuleMetadataRequest request, AsyncHandler<UpdateRuleMetadataRequest,UpdateRuleMetadataResult> asyncHandler)
AmazonFraudDetectorAsync
Updates a rule's metadata. The description attribute can be updated.
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. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...).
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. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...).
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