@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonFraudDetector
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonFraudDetector
instead.
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.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
BatchCreateVariableResult |
batchCreateVariable(BatchCreateVariableRequest batchCreateVariableRequest)
Creates a batch of variables.
|
BatchGetVariableResult |
batchGetVariable(BatchGetVariableRequest batchGetVariableRequest)
Gets a batch of variables.
|
CreateDetectorVersionResult |
createDetectorVersion(CreateDetectorVersionRequest createDetectorVersionRequest)
Creates a detector version.
|
CreateModelVersionResult |
createModelVersion(CreateModelVersionRequest createModelVersionRequest)
Creates a version of the model using the specified model type.
|
CreateRuleResult |
createRule(CreateRuleRequest createRuleRequest)
Creates a rule for use with the specified detector.
|
CreateVariableResult |
createVariable(CreateVariableRequest createVariableRequest)
Creates a variable.
|
DeleteDetectorVersionResult |
deleteDetectorVersion(DeleteDetectorVersionRequest deleteDetectorVersionRequest)
Deletes the detector version.
|
DeleteEventResult |
deleteEvent(DeleteEventRequest deleteEventRequest)
Deletes the specified event.
|
DescribeDetectorResult |
describeDetector(DescribeDetectorRequest describeDetectorRequest)
Gets all versions for a specified detector.
|
DescribeModelVersionsResult |
describeModelVersions(DescribeModelVersionsRequest describeModelVersionsRequest)
Gets all of the model versions for the specified model type or for the specified model type and model ID.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetDetectorsResult |
getDetectors(GetDetectorsRequest getDetectorsRequest)
Gets all of detectors.
|
GetDetectorVersionResult |
getDetectorVersion(GetDetectorVersionRequest getDetectorVersionRequest)
Gets a particular detector version.
|
GetExternalModelsResult |
getExternalModels(GetExternalModelsRequest getExternalModelsRequest)
Gets the details for one or more Amazon SageMaker models that have been imported into the service.
|
GetModelsResult |
getModels(GetModelsRequest getModelsRequest)
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.
|
GetModelVersionResult |
getModelVersion(GetModelVersionRequest getModelVersionRequest)
Gets a model version.
|
GetOutcomesResult |
getOutcomes(GetOutcomesRequest getOutcomesRequest)
Gets one or more outcomes.
|
GetPredictionResult |
getPrediction(GetPredictionRequest getPredictionRequest)
Evaluates an event against a detector version.
|
GetRulesResult |
getRules(GetRulesRequest getRulesRequest)
Gets all rules available for the specified detector.
|
GetVariablesResult |
getVariables(GetVariablesRequest getVariablesRequest)
Gets all of the variables or the specific variable.
|
PutDetectorResult |
putDetector(PutDetectorRequest putDetectorRequest)
Creates or updates a detector.
|
PutExternalModelResult |
putExternalModel(PutExternalModelRequest putExternalModelRequest)
Creates or updates an Amazon SageMaker model endpoint.
|
PutModelResult |
putModel(PutModelRequest putModelRequest)
Creates or updates a model.
|
PutOutcomeResult |
putOutcome(PutOutcomeRequest putOutcomeRequest)
Creates or updates an outcome.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateDetectorVersionResult |
updateDetectorVersion(UpdateDetectorVersionRequest updateDetectorVersionRequest)
Updates a detector version.
|
UpdateDetectorVersionMetadataResult |
updateDetectorVersionMetadata(UpdateDetectorVersionMetadataRequest updateDetectorVersionMetadataRequest)
Updates the detector version's description.
|
UpdateDetectorVersionStatusResult |
updateDetectorVersionStatus(UpdateDetectorVersionStatusRequest updateDetectorVersionStatusRequest)
Updates the detector version’s status.
|
UpdateModelVersionResult |
updateModelVersion(UpdateModelVersionRequest updateModelVersionRequest)
Updates a model version.
|
UpdateRuleMetadataResult |
updateRuleMetadata(UpdateRuleMetadataRequest updateRuleMetadataRequest)
Updates a rule's metadata.
|
UpdateRuleVersionResult |
updateRuleVersion(UpdateRuleVersionRequest updateRuleVersionRequest)
Updates a rule version resulting in a new rule version.
|
UpdateVariableResult |
updateVariable(UpdateVariableRequest updateVariableRequest)
Updates a variable.
|
static final String ENDPOINT_PREFIX
BatchCreateVariableResult batchCreateVariable(BatchCreateVariableRequest batchCreateVariableRequest)
Creates a batch of variables.
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.BatchGetVariableResult batchGetVariable(BatchGetVariableRequest batchGetVariableRequest)
Gets a batch of variables.
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.CreateDetectorVersionResult createDetectorVersion(CreateDetectorVersionRequest createDetectorVersionRequest)
Creates a detector version. The detector version starts in a DRAFT
status.
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.CreateModelVersionResult createModelVersion(CreateModelVersionRequest createModelVersionRequest)
Creates a version of the model using the specified model type.
createModelVersionRequest
- 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.CreateRuleResult createRule(CreateRuleRequest createRuleRequest)
Creates a rule for use with the specified detector.
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.CreateVariableResult createVariable(CreateVariableRequest createVariableRequest)
Creates a variable.
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.DeleteDetectorVersionResult deleteDetectorVersion(DeleteDetectorVersionRequest deleteDetectorVersionRequest)
Deletes the detector version.
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.DeleteEventResult deleteEvent(DeleteEventRequest deleteEventRequest)
Deletes the specified event.
deleteEventRequest
- InternalServerException
- An exception indicating an internal server error.ThrottlingException
- An exception indicating a throttling error.DescribeDetectorResult describeDetector(DescribeDetectorRequest describeDetectorRequest)
Gets all versions for a specified detector.
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.DescribeModelVersionsResult describeModelVersions(DescribeModelVersionsRequest describeModelVersionsRequest)
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.
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.GetDetectorVersionResult getDetectorVersion(GetDetectorVersionRequest getDetectorVersionRequest)
Gets a particular detector version.
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.GetDetectorsResult getDetectors(GetDetectorsRequest getDetectorsRequest)
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.
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.GetExternalModelsResult getExternalModels(GetExternalModelsRequest getExternalModelsRequest)
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.
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.GetModelVersionResult getModelVersion(GetModelVersionRequest getModelVersionRequest)
Gets a model version.
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.GetModelsResult getModels(GetModelsRequest getModelsRequest)
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.
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.GetOutcomesResult getOutcomes(GetOutcomesRequest getOutcomesRequest)
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.
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.GetPredictionResult getPrediction(GetPredictionRequest getPredictionRequest)
Evaluates an event against a detector version. If a version ID is not provided, the detector’s (
ACTIVE
) version is used.
getPredictionRequest
- 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.GetRulesResult getRules(GetRulesRequest getRulesRequest)
Gets all rules available for the specified detector.
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.GetVariablesResult getVariables(GetVariablesRequest getVariablesRequest)
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.
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.PutDetectorResult putDetector(PutDetectorRequest putDetectorRequest)
Creates or updates a detector.
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.PutExternalModelResult putExternalModel(PutExternalModelRequest putExternalModelRequest)
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.
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.PutModelResult putModel(PutModelRequest putModelRequest)
Creates or updates a model.
putModelRequest
- 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.PutOutcomeResult putOutcome(PutOutcomeRequest putOutcomeRequest)
Creates or updates an outcome.
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.UpdateDetectorVersionResult updateDetectorVersion(UpdateDetectorVersionRequest updateDetectorVersionRequest)
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.
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.UpdateDetectorVersionMetadataResult updateDetectorVersionMetadata(UpdateDetectorVersionMetadataRequest updateDetectorVersionMetadataRequest)
Updates the detector version's description. You can update the metadata for any detector version (
DRAFT, ACTIVE,
or INACTIVE
).
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.UpdateDetectorVersionStatusResult updateDetectorVersionStatus(UpdateDetectorVersionStatusRequest updateDetectorVersionStatusRequest)
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
.
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.UpdateModelVersionResult updateModelVersion(UpdateModelVersionRequest updateModelVersionRequest)
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
updateModelVersionRequest
- 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.UpdateRuleMetadataResult updateRuleMetadata(UpdateRuleMetadataRequest updateRuleMetadataRequest)
Updates a rule's metadata.
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.UpdateRuleVersionResult updateRuleVersion(UpdateRuleVersionRequest updateRuleVersionRequest)
Updates a rule version resulting in a new rule version.
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.UpdateVariableResult updateVariable(UpdateVariableRequest updateVariableRequest)
Updates a variable.
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.void shutdown()
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 a request.
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.