Interface FraudDetectorClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface FraudDetectorClient extends AwsClient
Service client for accessing Amazon Fraud Detector. This can be created using the staticbuilder()method.This is the Amazon Fraud Detector API Reference. This guide is for developers who need detailed information about Amazon Fraud Detector API actions, data types, and errors. For more information about Amazon Fraud Detector features, see the Amazon Fraud Detector User Guide.
We provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.
The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter
Action. AWS SDK provides libraries, sample code, tutorials, and other resources for software developers who prefer to build applications using language-specific APIs instead of submitting a request over HTTP or HTTPS. These libraries provide basic functions that automatically take care of tasks such as cryptographically signing your requests, retrying requests, and handling error responses, so that it is easier for you to get started. For more information about the AWS SDKs, go to Tools to build on AWS page, scroll down to the SDK section, and choose plus (+) sign to expand the section.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
batchCreateVariable
default BatchCreateVariableResponse batchCreateVariable(BatchCreateVariableRequest batchCreateVariableRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a batch of variables.
- Parameters:
batchCreateVariableRequest-- Returns:
- Result of the BatchCreateVariable operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
batchCreateVariable
default BatchCreateVariableResponse batchCreateVariable(Consumer<BatchCreateVariableRequest.Builder> batchCreateVariableRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a batch of variables.
This is a convenience which creates an instance of the
BatchCreateVariableRequest.Builderavoiding the need to create one manually viaBatchCreateVariableRequest.builder()- Parameters:
batchCreateVariableRequest- AConsumerthat will call methods onBatchCreateVariableRequest.Builderto create a request.- Returns:
- Result of the BatchCreateVariable operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
batchGetVariable
default BatchGetVariableResponse batchGetVariable(BatchGetVariableRequest batchGetVariableRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets a batch of variables.
- Parameters:
batchGetVariableRequest-- Returns:
- Result of the BatchGetVariable operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
batchGetVariable
default BatchGetVariableResponse batchGetVariable(Consumer<BatchGetVariableRequest.Builder> batchGetVariableRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets a batch of variables.
This is a convenience which creates an instance of the
BatchGetVariableRequest.Builderavoiding the need to create one manually viaBatchGetVariableRequest.builder()- Parameters:
batchGetVariableRequest- AConsumerthat will call methods onBatchGetVariableRequest.Builderto create a request.- Returns:
- Result of the BatchGetVariable operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
cancelBatchImportJob
default CancelBatchImportJobResponse cancelBatchImportJob(CancelBatchImportJobRequest cancelBatchImportJobRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Cancels an in-progress batch import job.
- Parameters:
cancelBatchImportJobRequest-- Returns:
- Result of the CancelBatchImportJob operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
cancelBatchImportJob
default CancelBatchImportJobResponse cancelBatchImportJob(Consumer<CancelBatchImportJobRequest.Builder> cancelBatchImportJobRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Cancels an in-progress batch import job.
This is a convenience which creates an instance of the
CancelBatchImportJobRequest.Builderavoiding the need to create one manually viaCancelBatchImportJobRequest.builder()- Parameters:
cancelBatchImportJobRequest- AConsumerthat will call methods onCancelBatchImportJobRequest.Builderto create a request.- Returns:
- Result of the CancelBatchImportJob operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
cancelBatchPredictionJob
default CancelBatchPredictionJobResponse cancelBatchPredictionJob(CancelBatchPredictionJobRequest cancelBatchPredictionJobRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Cancels the specified batch prediction job.
- Parameters:
cancelBatchPredictionJobRequest-- Returns:
- Result of the CancelBatchPredictionJob operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
cancelBatchPredictionJob
default CancelBatchPredictionJobResponse cancelBatchPredictionJob(Consumer<CancelBatchPredictionJobRequest.Builder> cancelBatchPredictionJobRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Cancels the specified batch prediction job.
This is a convenience which creates an instance of the
CancelBatchPredictionJobRequest.Builderavoiding the need to create one manually viaCancelBatchPredictionJobRequest.builder()- Parameters:
cancelBatchPredictionJobRequest- AConsumerthat will call methods onCancelBatchPredictionJobRequest.Builderto create a request.- Returns:
- Result of the CancelBatchPredictionJob operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createBatchImportJob
default CreateBatchImportJobResponse createBatchImportJob(CreateBatchImportJobRequest createBatchImportJobRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a batch import job.
- Parameters:
createBatchImportJobRequest-- Returns:
- Result of the CreateBatchImportJob operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createBatchImportJob
default CreateBatchImportJobResponse createBatchImportJob(Consumer<CreateBatchImportJobRequest.Builder> createBatchImportJobRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a batch import job.
This is a convenience which creates an instance of the
CreateBatchImportJobRequest.Builderavoiding the need to create one manually viaCreateBatchImportJobRequest.builder()- Parameters:
createBatchImportJobRequest- AConsumerthat will call methods onCreateBatchImportJobRequest.Builderto create a request.- Returns:
- Result of the CreateBatchImportJob operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createBatchPredictionJob
default CreateBatchPredictionJobResponse createBatchPredictionJob(CreateBatchPredictionJobRequest createBatchPredictionJobRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a batch prediction job.
- Parameters:
createBatchPredictionJobRequest-- Returns:
- Result of the CreateBatchPredictionJob operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ResourceNotFoundException- An exception indicating the specified resource was not found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createBatchPredictionJob
default CreateBatchPredictionJobResponse createBatchPredictionJob(Consumer<CreateBatchPredictionJobRequest.Builder> createBatchPredictionJobRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a batch prediction job.
This is a convenience which creates an instance of the
CreateBatchPredictionJobRequest.Builderavoiding the need to create one manually viaCreateBatchPredictionJobRequest.builder()- Parameters:
createBatchPredictionJobRequest- AConsumerthat will call methods onCreateBatchPredictionJobRequest.Builderto create a request.- Returns:
- Result of the CreateBatchPredictionJob operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ResourceNotFoundException- An exception indicating the specified resource was not found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDetectorVersion
default CreateDetectorVersionResponse createDetectorVersion(CreateDetectorVersionRequest createDetectorVersionRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a detector version. The detector version starts in a
DRAFTstatus.- Parameters:
createDetectorVersionRequest-- Returns:
- Result of the CreateDetectorVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDetectorVersion
default CreateDetectorVersionResponse createDetectorVersion(Consumer<CreateDetectorVersionRequest.Builder> createDetectorVersionRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a detector version. The detector version starts in a
DRAFTstatus.
This is a convenience which creates an instance of the
CreateDetectorVersionRequest.Builderavoiding the need to create one manually viaCreateDetectorVersionRequest.builder()- Parameters:
createDetectorVersionRequest- AConsumerthat will call methods onCreateDetectorVersionRequest.Builderto create a request.- Returns:
- Result of the CreateDetectorVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createList
default CreateListResponse createList(CreateListRequest createListRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a list.
List is a set of input data for a variable in your event dataset. You use the input data in a rule that's associated with your detector. For more information, see Lists.
- Parameters:
createListRequest-- Returns:
- Result of the CreateList operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createList
default CreateListResponse createList(Consumer<CreateListRequest.Builder> createListRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a list.
List is a set of input data for a variable in your event dataset. You use the input data in a rule that's associated with your detector. For more information, see Lists.
This is a convenience which creates an instance of the
CreateListRequest.Builderavoiding the need to create one manually viaCreateListRequest.builder()- Parameters:
createListRequest- AConsumerthat will call methods onCreateListRequest.Builderto create a request.- Returns:
- Result of the CreateList operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createModel
default CreateModelResponse createModel(CreateModelRequest createModelRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a model using the specified model type.
- Parameters:
createModelRequest-- Returns:
- Result of the CreateModel operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createModel
default CreateModelResponse createModel(Consumer<CreateModelRequest.Builder> createModelRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a model using the specified model type.
This is a convenience which creates an instance of the
CreateModelRequest.Builderavoiding the need to create one manually viaCreateModelRequest.builder()- Parameters:
createModelRequest- AConsumerthat will call methods onCreateModelRequest.Builderto create a request.- Returns:
- Result of the CreateModel operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createModelVersion
default CreateModelVersionResponse createModelVersion(CreateModelVersionRequest createModelVersionRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a version of the model using the specified model type and model id.
- Parameters:
createModelVersionRequest-- Returns:
- Result of the CreateModelVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ThrottlingException- An exception indicating a throttling error.InternalServerException- An exception indicating an internal server error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createModelVersion
default CreateModelVersionResponse createModelVersion(Consumer<CreateModelVersionRequest.Builder> createModelVersionRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a version of the model using the specified model type and model id.
This is a convenience which creates an instance of the
CreateModelVersionRequest.Builderavoiding the need to create one manually viaCreateModelVersionRequest.builder()- Parameters:
createModelVersionRequest- AConsumerthat will call methods onCreateModelVersionRequest.Builderto create a request.- Returns:
- Result of the CreateModelVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ThrottlingException- An exception indicating a throttling error.InternalServerException- An exception indicating an internal server error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createRule
default CreateRuleResponse createRule(CreateRuleRequest createRuleRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a rule for use with the specified detector.
- Parameters:
createRuleRequest-- Returns:
- Result of the CreateRule operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createRule
default CreateRuleResponse createRule(Consumer<CreateRuleRequest.Builder> createRuleRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a rule for use with the specified detector.
This is a convenience which creates an instance of the
CreateRuleRequest.Builderavoiding the need to create one manually viaCreateRuleRequest.builder()- Parameters:
createRuleRequest- AConsumerthat will call methods onCreateRuleRequest.Builderto create a request.- Returns:
- Result of the CreateRule operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createVariable
default CreateVariableResponse createVariable(CreateVariableRequest createVariableRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a variable.
- Parameters:
createVariableRequest-- Returns:
- Result of the CreateVariable operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createVariable
default CreateVariableResponse createVariable(Consumer<CreateVariableRequest.Builder> createVariableRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Creates a variable.
This is a convenience which creates an instance of the
CreateVariableRequest.Builderavoiding the need to create one manually viaCreateVariableRequest.builder()- Parameters:
createVariableRequest- AConsumerthat will call methods onCreateVariableRequest.Builderto create a request.- Returns:
- Result of the CreateVariable operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteBatchImportJob
default DeleteBatchImportJobResponse deleteBatchImportJob(DeleteBatchImportJobRequest deleteBatchImportJobRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes the specified batch import job ID record. This action does not delete the data that was batch imported.
- Parameters:
deleteBatchImportJobRequest-- Returns:
- Result of the DeleteBatchImportJob operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteBatchImportJob
default DeleteBatchImportJobResponse deleteBatchImportJob(Consumer<DeleteBatchImportJobRequest.Builder> deleteBatchImportJobRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes the specified batch import job ID record. This action does not delete the data that was batch imported.
This is a convenience which creates an instance of the
DeleteBatchImportJobRequest.Builderavoiding the need to create one manually viaDeleteBatchImportJobRequest.builder()- Parameters:
deleteBatchImportJobRequest- AConsumerthat will call methods onDeleteBatchImportJobRequest.Builderto create a request.- Returns:
- Result of the DeleteBatchImportJob operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteBatchPredictionJob
default DeleteBatchPredictionJobResponse deleteBatchPredictionJob(DeleteBatchPredictionJobRequest deleteBatchPredictionJobRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes a batch prediction job.
- Parameters:
deleteBatchPredictionJobRequest-- Returns:
- Result of the DeleteBatchPredictionJob operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteBatchPredictionJob
default DeleteBatchPredictionJobResponse deleteBatchPredictionJob(Consumer<DeleteBatchPredictionJobRequest.Builder> deleteBatchPredictionJobRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes a batch prediction job.
This is a convenience which creates an instance of the
DeleteBatchPredictionJobRequest.Builderavoiding the need to create one manually viaDeleteBatchPredictionJobRequest.builder()- Parameters:
deleteBatchPredictionJobRequest- AConsumerthat will call methods onDeleteBatchPredictionJobRequest.Builderto create a request.- Returns:
- Result of the DeleteBatchPredictionJob operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDetector
default DeleteDetectorResponse deleteDetector(DeleteDetectorRequest deleteDetectorRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.
When you delete a detector, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.
- Parameters:
deleteDetectorRequest-- Returns:
- Result of the DeleteDetector operation returned by the service.
- Throws:
ConflictException- An exception indicating there was a conflict during a delete operation.ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDetector
default DeleteDetectorResponse deleteDetector(Consumer<DeleteDetectorRequest.Builder> deleteDetectorRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.
When you delete a detector, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.
This is a convenience which creates an instance of the
DeleteDetectorRequest.Builderavoiding the need to create one manually viaDeleteDetectorRequest.builder()- Parameters:
deleteDetectorRequest- AConsumerthat will call methods onDeleteDetectorRequest.Builderto create a request.- Returns:
- Result of the DeleteDetector operation returned by the service.
- Throws:
ConflictException- An exception indicating there was a conflict during a delete operation.ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDetectorVersion
default DeleteDetectorVersionResponse deleteDetectorVersion(DeleteDetectorVersionRequest deleteDetectorVersionRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes the detector version. You cannot delete detector versions that are in
ACTIVEstatus.When you delete a detector version, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.
- Parameters:
deleteDetectorVersionRequest-- Returns:
- Result of the DeleteDetectorVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.ConflictException- An exception indicating there was a conflict during a delete operation.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDetectorVersion
default DeleteDetectorVersionResponse deleteDetectorVersion(Consumer<DeleteDetectorVersionRequest.Builder> deleteDetectorVersionRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes the detector version. You cannot delete detector versions that are in
ACTIVEstatus.When you delete a detector version, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.
This is a convenience which creates an instance of the
DeleteDetectorVersionRequest.Builderavoiding the need to create one manually viaDeleteDetectorVersionRequest.builder()- Parameters:
deleteDetectorVersionRequest- AConsumerthat will call methods onDeleteDetectorVersionRequest.Builderto create a request.- Returns:
- Result of the DeleteDetectorVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.ConflictException- An exception indicating there was a conflict during a delete operation.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEntityType
default DeleteEntityTypeResponse deleteEntityType(DeleteEntityTypeRequest deleteEntityTypeRequest) throws ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes an entity type.
You cannot delete an entity type that is included in an event type.
When you delete an entity type, Amazon Fraud Detector permanently deletes that entity type and the data is no longer stored in Amazon Fraud Detector.
- Parameters:
deleteEntityTypeRequest-- Returns:
- Result of the DeleteEntityType operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ConflictException- An exception indicating there was a conflict during a delete operation.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEntityType
default DeleteEntityTypeResponse deleteEntityType(Consumer<DeleteEntityTypeRequest.Builder> deleteEntityTypeRequest) throws ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes an entity type.
You cannot delete an entity type that is included in an event type.
When you delete an entity type, Amazon Fraud Detector permanently deletes that entity type and the data is no longer stored in Amazon Fraud Detector.
This is a convenience which creates an instance of the
DeleteEntityTypeRequest.Builderavoiding the need to create one manually viaDeleteEntityTypeRequest.builder()- Parameters:
deleteEntityTypeRequest- AConsumerthat will call methods onDeleteEntityTypeRequest.Builderto create a request.- Returns:
- Result of the DeleteEntityType operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ConflictException- An exception indicating there was a conflict during a delete operation.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEvent
default DeleteEventResponse deleteEvent(DeleteEventRequest deleteEventRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes the specified event.
When you delete an event, Amazon Fraud Detector permanently deletes that event and the event data is no longer stored in Amazon Fraud Detector. If
deleteAuditHistoryisTrue, event data is available through search for up to 30 seconds after the delete operation is completed.- Parameters:
deleteEventRequest-- Returns:
- Result of the DeleteEvent operation returned by the service.
- Throws:
InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ValidationException- An exception indicating a specified value is not allowed.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEvent
default DeleteEventResponse deleteEvent(Consumer<DeleteEventRequest.Builder> deleteEventRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes the specified event.
When you delete an event, Amazon Fraud Detector permanently deletes that event and the event data is no longer stored in Amazon Fraud Detector. If
deleteAuditHistoryisTrue, event data is available through search for up to 30 seconds after the delete operation is completed.
This is a convenience which creates an instance of the
DeleteEventRequest.Builderavoiding the need to create one manually viaDeleteEventRequest.builder()- Parameters:
deleteEventRequest- AConsumerthat will call methods onDeleteEventRequest.Builderto create a request.- Returns:
- Result of the DeleteEvent operation returned by the service.
- Throws:
InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ValidationException- An exception indicating a specified value is not allowed.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEventType
default DeleteEventTypeResponse deleteEventType(DeleteEventTypeRequest deleteEventTypeRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes an event type.
You cannot delete an event type that is used in a detector or a model.
When you delete an event type, Amazon Fraud Detector permanently deletes that event type and the data is no longer stored in Amazon Fraud Detector.
- Parameters:
deleteEventTypeRequest-- Returns:
- Result of the DeleteEventType operation returned by the service.
- Throws:
ConflictException- An exception indicating there was a conflict during a delete operation.ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEventType
default DeleteEventTypeResponse deleteEventType(Consumer<DeleteEventTypeRequest.Builder> deleteEventTypeRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes an event type.
You cannot delete an event type that is used in a detector or a model.
When you delete an event type, Amazon Fraud Detector permanently deletes that event type and the data is no longer stored in Amazon Fraud Detector.
This is a convenience which creates an instance of the
DeleteEventTypeRequest.Builderavoiding the need to create one manually viaDeleteEventTypeRequest.builder()- Parameters:
deleteEventTypeRequest- AConsumerthat will call methods onDeleteEventTypeRequest.Builderto create a request.- Returns:
- Result of the DeleteEventType operation returned by the service.
- Throws:
ConflictException- An exception indicating there was a conflict during a delete operation.ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEventsByEventType
default DeleteEventsByEventTypeResponse deleteEventsByEventType(DeleteEventsByEventTypeRequest deleteEventsByEventTypeRequest) throws ConflictException, ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes all events of a particular event type.
- Parameters:
deleteEventsByEventTypeRequest-- Returns:
- Result of the DeleteEventsByEventType operation returned by the service.
- Throws:
ConflictException- An exception indicating there was a conflict during a delete operation.ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEventsByEventType
default DeleteEventsByEventTypeResponse deleteEventsByEventType(Consumer<DeleteEventsByEventTypeRequest.Builder> deleteEventsByEventTypeRequest) throws ConflictException, ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes all events of a particular event type.
This is a convenience which creates an instance of the
DeleteEventsByEventTypeRequest.Builderavoiding the need to create one manually viaDeleteEventsByEventTypeRequest.builder()- Parameters:
deleteEventsByEventTypeRequest- AConsumerthat will call methods onDeleteEventsByEventTypeRequest.Builderto create a request.- Returns:
- Result of the DeleteEventsByEventType operation returned by the service.
- Throws:
ConflictException- An exception indicating there was a conflict during a delete operation.ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteExternalModel
default DeleteExternalModelResponse deleteExternalModel(DeleteExternalModelRequest deleteExternalModelRequest) throws ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Removes a SageMaker model from Amazon Fraud Detector.
You can remove an Amazon SageMaker model if it is not associated with a detector version. Removing a SageMaker model disconnects it from Amazon Fraud Detector, but the model remains available in SageMaker.
- Parameters:
deleteExternalModelRequest-- Returns:
- Result of the DeleteExternalModel operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ConflictException- An exception indicating there was a conflict during a delete operation.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteExternalModel
default DeleteExternalModelResponse deleteExternalModel(Consumer<DeleteExternalModelRequest.Builder> deleteExternalModelRequest) throws ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Removes a SageMaker model from Amazon Fraud Detector.
You can remove an Amazon SageMaker model if it is not associated with a detector version. Removing a SageMaker model disconnects it from Amazon Fraud Detector, but the model remains available in SageMaker.
This is a convenience which creates an instance of the
DeleteExternalModelRequest.Builderavoiding the need to create one manually viaDeleteExternalModelRequest.builder()- Parameters:
deleteExternalModelRequest- AConsumerthat will call methods onDeleteExternalModelRequest.Builderto create a request.- Returns:
- Result of the DeleteExternalModel operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ConflictException- An exception indicating there was a conflict during a delete operation.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLabel
default DeleteLabelResponse deleteLabel(DeleteLabelRequest deleteLabelRequest) throws ValidationException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes a label.
You cannot delete labels that are included in an event type in Amazon Fraud Detector.
You cannot delete a label assigned to an event ID. You must first delete the relevant event ID.
When you delete a label, Amazon Fraud Detector permanently deletes that label and the data is no longer stored in Amazon Fraud Detector.
- Parameters:
deleteLabelRequest-- Returns:
- Result of the DeleteLabel operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ConflictException- An exception indicating there was a conflict during a delete operation.ThrottlingException- An exception indicating a throttling error.InternalServerException- An exception indicating an internal server error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLabel
default DeleteLabelResponse deleteLabel(Consumer<DeleteLabelRequest.Builder> deleteLabelRequest) throws ValidationException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes a label.
You cannot delete labels that are included in an event type in Amazon Fraud Detector.
You cannot delete a label assigned to an event ID. You must first delete the relevant event ID.
When you delete a label, Amazon Fraud Detector permanently deletes that label and the data is no longer stored in Amazon Fraud Detector.
This is a convenience which creates an instance of the
DeleteLabelRequest.Builderavoiding the need to create one manually viaDeleteLabelRequest.builder()- Parameters:
deleteLabelRequest- AConsumerthat will call methods onDeleteLabelRequest.Builderto create a request.- Returns:
- Result of the DeleteLabel operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ConflictException- An exception indicating there was a conflict during a delete operation.ThrottlingException- An exception indicating a throttling error.InternalServerException- An exception indicating an internal server error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteList
default DeleteListResponse deleteList(DeleteListRequest deleteListRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes the list, provided it is not used in a rule.
When you delete a list, Amazon Fraud Detector permanently deletes that list and the elements in the list.
- Parameters:
deleteListRequest-- Returns:
- Result of the DeleteList operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteList
default DeleteListResponse deleteList(Consumer<DeleteListRequest.Builder> deleteListRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes the list, provided it is not used in a rule.
When you delete a list, Amazon Fraud Detector permanently deletes that list and the elements in the list.
This is a convenience which creates an instance of the
DeleteListRequest.Builderavoiding the need to create one manually viaDeleteListRequest.builder()- Parameters:
deleteListRequest- AConsumerthat will call methods onDeleteListRequest.Builderto create a request.- Returns:
- Result of the DeleteList operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteModel
default DeleteModelResponse deleteModel(DeleteModelRequest deleteModelRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes a model.
You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.
When you delete a model, Amazon Fraud Detector permanently deletes that model and the data is no longer stored in Amazon Fraud Detector.
- Parameters:
deleteModelRequest-- Returns:
- Result of the DeleteModel operation returned by the service.
- Throws:
ConflictException- An exception indicating there was a conflict during a delete operation.ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteModel
default DeleteModelResponse deleteModel(Consumer<DeleteModelRequest.Builder> deleteModelRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes a model.
You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.
When you delete a model, Amazon Fraud Detector permanently deletes that model and the data is no longer stored in Amazon Fraud Detector.
This is a convenience which creates an instance of the
DeleteModelRequest.Builderavoiding the need to create one manually viaDeleteModelRequest.builder()- Parameters:
deleteModelRequest- AConsumerthat will call methods onDeleteModelRequest.Builderto create a request.- Returns:
- Result of the DeleteModel operation returned by the service.
- Throws:
ConflictException- An exception indicating there was a conflict during a delete operation.ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteModelVersion
default DeleteModelVersionResponse deleteModelVersion(DeleteModelVersionRequest deleteModelVersionRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes a model version.
You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.
When you delete a model version, Amazon Fraud Detector permanently deletes that model version and the data is no longer stored in Amazon Fraud Detector.
- Parameters:
deleteModelVersionRequest-- Returns:
- Result of the DeleteModelVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ThrottlingException- An exception indicating a throttling error.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteModelVersion
default DeleteModelVersionResponse deleteModelVersion(Consumer<DeleteModelVersionRequest.Builder> deleteModelVersionRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes a model version.
You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.
When you delete a model version, Amazon Fraud Detector permanently deletes that model version and the data is no longer stored in Amazon Fraud Detector.
This is a convenience which creates an instance of the
DeleteModelVersionRequest.Builderavoiding the need to create one manually viaDeleteModelVersionRequest.builder()- Parameters:
deleteModelVersionRequest- AConsumerthat will call methods onDeleteModelVersionRequest.Builderto create a request.- Returns:
- Result of the DeleteModelVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ThrottlingException- An exception indicating a throttling error.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteOutcome
default DeleteOutcomeResponse deleteOutcome(DeleteOutcomeRequest deleteOutcomeRequest) throws ValidationException, InternalServerException, ThrottlingException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes an outcome.
You cannot delete an outcome that is used in a rule version.
When you delete an outcome, Amazon Fraud Detector permanently deletes that outcome and the data is no longer stored in Amazon Fraud Detector.
- Parameters:
deleteOutcomeRequest-- Returns:
- Result of the DeleteOutcome operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.ConflictException- An exception indicating there was a conflict during a delete operation.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteOutcome
default DeleteOutcomeResponse deleteOutcome(Consumer<DeleteOutcomeRequest.Builder> deleteOutcomeRequest) throws ValidationException, InternalServerException, ThrottlingException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes an outcome.
You cannot delete an outcome that is used in a rule version.
When you delete an outcome, Amazon Fraud Detector permanently deletes that outcome and the data is no longer stored in Amazon Fraud Detector.
This is a convenience which creates an instance of the
DeleteOutcomeRequest.Builderavoiding the need to create one manually viaDeleteOutcomeRequest.builder()- Parameters:
deleteOutcomeRequest- AConsumerthat will call methods onDeleteOutcomeRequest.Builderto create a request.- Returns:
- Result of the DeleteOutcome operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.ConflictException- An exception indicating there was a conflict during a delete operation.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRule
default DeleteRuleResponse deleteRule(DeleteRuleRequest deleteRuleRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes the rule. You cannot delete a rule if it is used by an
ACTIVEorINACTIVEdetector version.When you delete a rule, Amazon Fraud Detector permanently deletes that rule and the data is no longer stored in Amazon Fraud Detector.
- Parameters:
deleteRuleRequest-- Returns:
- Result of the DeleteRule operation returned by the service.
- Throws:
ConflictException- An exception indicating there was a conflict during a delete operation.ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRule
default DeleteRuleResponse deleteRule(Consumer<DeleteRuleRequest.Builder> deleteRuleRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes the rule. You cannot delete a rule if it is used by an
ACTIVEorINACTIVEdetector version.When you delete a rule, Amazon Fraud Detector permanently deletes that rule and the data is no longer stored in Amazon Fraud Detector.
This is a convenience which creates an instance of the
DeleteRuleRequest.Builderavoiding the need to create one manually viaDeleteRuleRequest.builder()- Parameters:
deleteRuleRequest- AConsumerthat will call methods onDeleteRuleRequest.Builderto create a request.- Returns:
- Result of the DeleteRule operation returned by the service.
- Throws:
ConflictException- An exception indicating there was a conflict during a delete operation.ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteVariable
default DeleteVariableResponse deleteVariable(DeleteVariableRequest deleteVariableRequest) throws ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes a variable.
You can't delete variables that are included in an event type in Amazon Fraud Detector.
Amazon Fraud Detector automatically deletes model output variables and SageMaker model output variables when you delete the model. You can't delete these variables manually.
When you delete a variable, Amazon Fraud Detector permanently deletes that variable and the data is no longer stored in Amazon Fraud Detector.
- Parameters:
deleteVariableRequest-- Returns:
- Result of the DeleteVariable operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ConflictException- An exception indicating there was a conflict during a delete operation.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteVariable
default DeleteVariableResponse deleteVariable(Consumer<DeleteVariableRequest.Builder> deleteVariableRequest) throws ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Deletes a variable.
You can't delete variables that are included in an event type in Amazon Fraud Detector.
Amazon Fraud Detector automatically deletes model output variables and SageMaker model output variables when you delete the model. You can't delete these variables manually.
When you delete a variable, Amazon Fraud Detector permanently deletes that variable and the data is no longer stored in Amazon Fraud Detector.
This is a convenience which creates an instance of the
DeleteVariableRequest.Builderavoiding the need to create one manually viaDeleteVariableRequest.builder()- Parameters:
deleteVariableRequest- AConsumerthat will call methods onDeleteVariableRequest.Builderto create a request.- Returns:
- Result of the DeleteVariable operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ConflictException- An exception indicating there was a conflict during a delete operation.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeDetector
default DescribeDetectorResponse describeDetector(DescribeDetectorRequest describeDetectorRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets all versions for a specified detector.
- Parameters:
describeDetectorRequest-- Returns:
- Result of the DescribeDetector operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeDetector
default DescribeDetectorResponse describeDetector(Consumer<DescribeDetectorRequest.Builder> describeDetectorRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets all versions for a specified detector.
This is a convenience which creates an instance of the
DescribeDetectorRequest.Builderavoiding the need to create one manually viaDescribeDetectorRequest.builder()- Parameters:
describeDetectorRequest- AConsumerthat will call methods onDescribeDetectorRequest.Builderto create a request.- Returns:
- Result of the DescribeDetector operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeModelVersions
default DescribeModelVersionsResponse describeModelVersions(DescribeModelVersionsRequest describeModelVersionsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
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.
- Parameters:
describeModelVersionsRequest-- Returns:
- Result of the DescribeModelVersions operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeModelVersions
default DescribeModelVersionsResponse describeModelVersions(Consumer<DescribeModelVersionsRequest.Builder> describeModelVersionsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
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.
This is a convenience which creates an instance of the
DescribeModelVersionsRequest.Builderavoiding the need to create one manually viaDescribeModelVersionsRequest.builder()- Parameters:
describeModelVersionsRequest- AConsumerthat will call methods onDescribeModelVersionsRequest.Builderto create a request.- Returns:
- Result of the DescribeModelVersions operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeModelVersionsPaginator
default DescribeModelVersionsIterable describeModelVersionsPaginator(DescribeModelVersionsRequest describeModelVersionsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
describeModelVersions(software.amazon.awssdk.services.frauddetector.model.DescribeModelVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.DescribeModelVersionsIterable responses = client.describeModelVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.DescribeModelVersionsIterable responses = client .describeModelVersionsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.DescribeModelVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.DescribeModelVersionsIterable responses = client.describeModelVersionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeModelVersions(software.amazon.awssdk.services.frauddetector.model.DescribeModelVersionsRequest)operation.- Parameters:
describeModelVersionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeModelVersionsPaginator
default DescribeModelVersionsIterable describeModelVersionsPaginator(Consumer<DescribeModelVersionsRequest.Builder> describeModelVersionsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
describeModelVersions(software.amazon.awssdk.services.frauddetector.model.DescribeModelVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.DescribeModelVersionsIterable responses = client.describeModelVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.DescribeModelVersionsIterable responses = client .describeModelVersionsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.DescribeModelVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.DescribeModelVersionsIterable responses = client.describeModelVersionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeModelVersions(software.amazon.awssdk.services.frauddetector.model.DescribeModelVersionsRequest)operation.
This is a convenience which creates an instance of the
DescribeModelVersionsRequest.Builderavoiding the need to create one manually viaDescribeModelVersionsRequest.builder()- Parameters:
describeModelVersionsRequest- AConsumerthat will call methods onDescribeModelVersionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getBatchImportJobs
default GetBatchImportJobsResponse getBatchImportJobs(GetBatchImportJobsRequest getBatchImportJobsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets all batch import jobs or a specific job of the specified ID. This is a paginated API. If you provide a null
maxResults, this action retrieves a maximum of 50 records per page. If you provide amaxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from theGetBatchImportJobsResponseas part of your request. A null pagination token fetches the records from the beginning.- Parameters:
getBatchImportJobsRequest-- Returns:
- Result of the GetBatchImportJobs operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getBatchImportJobs
default GetBatchImportJobsResponse getBatchImportJobs(Consumer<GetBatchImportJobsRequest.Builder> getBatchImportJobsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets all batch import jobs or a specific job of the specified ID. This is a paginated API. If you provide a null
maxResults, this action retrieves a maximum of 50 records per page. If you provide amaxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from theGetBatchImportJobsResponseas part of your request. A null pagination token fetches the records from the beginning.
This is a convenience which creates an instance of the
GetBatchImportJobsRequest.Builderavoiding the need to create one manually viaGetBatchImportJobsRequest.builder()- Parameters:
getBatchImportJobsRequest- AConsumerthat will call methods onGetBatchImportJobsRequest.Builderto create a request.- Returns:
- Result of the GetBatchImportJobs operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getBatchImportJobsPaginator
default GetBatchImportJobsIterable getBatchImportJobsPaginator(GetBatchImportJobsRequest getBatchImportJobsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getBatchImportJobs(software.amazon.awssdk.services.frauddetector.model.GetBatchImportJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetBatchImportJobsIterable responses = client.getBatchImportJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetBatchImportJobsIterable responses = client .getBatchImportJobsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetBatchImportJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetBatchImportJobsIterable responses = client.getBatchImportJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getBatchImportJobs(software.amazon.awssdk.services.frauddetector.model.GetBatchImportJobsRequest)operation.- Parameters:
getBatchImportJobsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getBatchImportJobsPaginator
default GetBatchImportJobsIterable getBatchImportJobsPaginator(Consumer<GetBatchImportJobsRequest.Builder> getBatchImportJobsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getBatchImportJobs(software.amazon.awssdk.services.frauddetector.model.GetBatchImportJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetBatchImportJobsIterable responses = client.getBatchImportJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetBatchImportJobsIterable responses = client .getBatchImportJobsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetBatchImportJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetBatchImportJobsIterable responses = client.getBatchImportJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getBatchImportJobs(software.amazon.awssdk.services.frauddetector.model.GetBatchImportJobsRequest)operation.
This is a convenience which creates an instance of the
GetBatchImportJobsRequest.Builderavoiding the need to create one manually viaGetBatchImportJobsRequest.builder()- Parameters:
getBatchImportJobsRequest- AConsumerthat will call methods onGetBatchImportJobsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getBatchPredictionJobs
default GetBatchPredictionJobsResponse getBatchPredictionJobs(GetBatchPredictionJobsRequest getBatchPredictionJobsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets all batch prediction jobs or a specific job if you specify a job ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchPredictionJobsResponse as part of your request. A null pagination token fetches the records from the beginning.
- Parameters:
getBatchPredictionJobsRequest-- Returns:
- Result of the GetBatchPredictionJobs operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getBatchPredictionJobs
default GetBatchPredictionJobsResponse getBatchPredictionJobs(Consumer<GetBatchPredictionJobsRequest.Builder> getBatchPredictionJobsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets all batch prediction jobs or a specific job if you specify a job ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchPredictionJobsResponse as part of your request. A null pagination token fetches the records from the beginning.
This is a convenience which creates an instance of the
GetBatchPredictionJobsRequest.Builderavoiding the need to create one manually viaGetBatchPredictionJobsRequest.builder()- Parameters:
getBatchPredictionJobsRequest- AConsumerthat will call methods onGetBatchPredictionJobsRequest.Builderto create a request.- Returns:
- Result of the GetBatchPredictionJobs operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getBatchPredictionJobsPaginator
default GetBatchPredictionJobsIterable getBatchPredictionJobsPaginator(GetBatchPredictionJobsRequest getBatchPredictionJobsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getBatchPredictionJobs(software.amazon.awssdk.services.frauddetector.model.GetBatchPredictionJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetBatchPredictionJobsIterable responses = client.getBatchPredictionJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetBatchPredictionJobsIterable responses = client .getBatchPredictionJobsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetBatchPredictionJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetBatchPredictionJobsIterable responses = client.getBatchPredictionJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getBatchPredictionJobs(software.amazon.awssdk.services.frauddetector.model.GetBatchPredictionJobsRequest)operation.- Parameters:
getBatchPredictionJobsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getBatchPredictionJobsPaginator
default GetBatchPredictionJobsIterable getBatchPredictionJobsPaginator(Consumer<GetBatchPredictionJobsRequest.Builder> getBatchPredictionJobsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getBatchPredictionJobs(software.amazon.awssdk.services.frauddetector.model.GetBatchPredictionJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetBatchPredictionJobsIterable responses = client.getBatchPredictionJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetBatchPredictionJobsIterable responses = client .getBatchPredictionJobsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetBatchPredictionJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetBatchPredictionJobsIterable responses = client.getBatchPredictionJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getBatchPredictionJobs(software.amazon.awssdk.services.frauddetector.model.GetBatchPredictionJobsRequest)operation.
This is a convenience which creates an instance of the
GetBatchPredictionJobsRequest.Builderavoiding the need to create one manually viaGetBatchPredictionJobsRequest.builder()- Parameters:
getBatchPredictionJobsRequest- AConsumerthat will call methods onGetBatchPredictionJobsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDeleteEventsByEventTypeStatus
default GetDeleteEventsByEventTypeStatusResponse getDeleteEventsByEventTypeStatus(GetDeleteEventsByEventTypeStatusRequest getDeleteEventsByEventTypeStatusRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Retrieves the status of a
DeleteEventsByEventTypeaction.- Parameters:
getDeleteEventsByEventTypeStatusRequest-- Returns:
- Result of the GetDeleteEventsByEventTypeStatus operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDeleteEventsByEventTypeStatus
default GetDeleteEventsByEventTypeStatusResponse getDeleteEventsByEventTypeStatus(Consumer<GetDeleteEventsByEventTypeStatusRequest.Builder> getDeleteEventsByEventTypeStatusRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Retrieves the status of a
DeleteEventsByEventTypeaction.
This is a convenience which creates an instance of the
GetDeleteEventsByEventTypeStatusRequest.Builderavoiding the need to create one manually viaGetDeleteEventsByEventTypeStatusRequest.builder()- Parameters:
getDeleteEventsByEventTypeStatusRequest- AConsumerthat will call methods onGetDeleteEventsByEventTypeStatusRequest.Builderto create a request.- Returns:
- Result of the GetDeleteEventsByEventTypeStatus operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDetectorVersion
default GetDetectorVersionResponse getDetectorVersion(GetDetectorVersionRequest getDetectorVersionRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets a particular detector version.
- Parameters:
getDetectorVersionRequest-- Returns:
- Result of the GetDetectorVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDetectorVersion
default GetDetectorVersionResponse getDetectorVersion(Consumer<GetDetectorVersionRequest.Builder> getDetectorVersionRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets a particular detector version.
This is a convenience which creates an instance of the
GetDetectorVersionRequest.Builderavoiding the need to create one manually viaGetDetectorVersionRequest.builder()- Parameters:
getDetectorVersionRequest- AConsumerthat will call methods onGetDetectorVersionRequest.Builderto create a request.- Returns:
- Result of the GetDetectorVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDetectors
default GetDetectorsResponse getDetectors(GetDetectorsRequest getDetectorsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets all detectors or a single detector if a
detectorIdis specified. This is a paginated API. If you provide a nullmaxResults, this action retrieves a maximum of 10 records per page. If you provide amaxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from theGetDetectorsResponseas part of your request. A null pagination token fetches the records from the beginning.- Parameters:
getDetectorsRequest-- Returns:
- Result of the GetDetectors operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDetectors
default GetDetectorsResponse getDetectors(Consumer<GetDetectorsRequest.Builder> getDetectorsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets all detectors or a single detector if a
detectorIdis specified. This is a paginated API. If you provide a nullmaxResults, this action retrieves a maximum of 10 records per page. If you provide amaxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from theGetDetectorsResponseas part of your request. A null pagination token fetches the records from the beginning.
This is a convenience which creates an instance of the
GetDetectorsRequest.Builderavoiding the need to create one manually viaGetDetectorsRequest.builder()- Parameters:
getDetectorsRequest- AConsumerthat will call methods onGetDetectorsRequest.Builderto create a request.- Returns:
- Result of the GetDetectors operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDetectorsPaginator
default GetDetectorsIterable getDetectorsPaginator(GetDetectorsRequest getDetectorsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getDetectors(software.amazon.awssdk.services.frauddetector.model.GetDetectorsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetDetectorsIterable responses = client.getDetectorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetDetectorsIterable responses = client .getDetectorsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetDetectorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetDetectorsIterable responses = client.getDetectorsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDetectors(software.amazon.awssdk.services.frauddetector.model.GetDetectorsRequest)operation.- Parameters:
getDetectorsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDetectorsPaginator
default GetDetectorsIterable getDetectorsPaginator(Consumer<GetDetectorsRequest.Builder> getDetectorsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getDetectors(software.amazon.awssdk.services.frauddetector.model.GetDetectorsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetDetectorsIterable responses = client.getDetectorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetDetectorsIterable responses = client .getDetectorsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetDetectorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetDetectorsIterable responses = client.getDetectorsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDetectors(software.amazon.awssdk.services.frauddetector.model.GetDetectorsRequest)operation.
This is a convenience which creates an instance of the
GetDetectorsRequest.Builderavoiding the need to create one manually viaGetDetectorsRequest.builder()- Parameters:
getDetectorsRequest- AConsumerthat will call methods onGetDetectorsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEntityTypes
default GetEntityTypesResponse getEntityTypes(GetEntityTypesRequest getEntityTypesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
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 amaxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from theGetEntityTypesResponseas part of your request. A null pagination token fetches the records from the beginning.- Parameters:
getEntityTypesRequest-- Returns:
- Result of the GetEntityTypes operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEntityTypes
default GetEntityTypesResponse getEntityTypes(Consumer<GetEntityTypesRequest.Builder> getEntityTypesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
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 amaxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from theGetEntityTypesResponseas part of your request. A null pagination token fetches the records from the beginning.
This is a convenience which creates an instance of the
GetEntityTypesRequest.Builderavoiding the need to create one manually viaGetEntityTypesRequest.builder()- Parameters:
getEntityTypesRequest- AConsumerthat will call methods onGetEntityTypesRequest.Builderto create a request.- Returns:
- Result of the GetEntityTypes operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEntityTypesPaginator
default GetEntityTypesIterable getEntityTypesPaginator(GetEntityTypesRequest getEntityTypesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getEntityTypes(software.amazon.awssdk.services.frauddetector.model.GetEntityTypesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetEntityTypesIterable responses = client.getEntityTypesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetEntityTypesIterable responses = client .getEntityTypesPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetEntityTypesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetEntityTypesIterable responses = client.getEntityTypesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEntityTypes(software.amazon.awssdk.services.frauddetector.model.GetEntityTypesRequest)operation.- Parameters:
getEntityTypesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEntityTypesPaginator
default GetEntityTypesIterable getEntityTypesPaginator(Consumer<GetEntityTypesRequest.Builder> getEntityTypesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getEntityTypes(software.amazon.awssdk.services.frauddetector.model.GetEntityTypesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetEntityTypesIterable responses = client.getEntityTypesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetEntityTypesIterable responses = client .getEntityTypesPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetEntityTypesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetEntityTypesIterable responses = client.getEntityTypesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEntityTypes(software.amazon.awssdk.services.frauddetector.model.GetEntityTypesRequest)operation.
This is a convenience which creates an instance of the
GetEntityTypesRequest.Builderavoiding the need to create one manually viaGetEntityTypesRequest.builder()- Parameters:
getEntityTypesRequest- AConsumerthat will call methods onGetEntityTypesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEvent
default GetEventResponse getEvent(GetEventRequest getEventRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Retrieves details of events stored with Amazon Fraud Detector. This action does not retrieve prediction results.
- Parameters:
getEventRequest-- Returns:
- Result of the GetEvent operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEvent
default GetEventResponse getEvent(Consumer<GetEventRequest.Builder> getEventRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Retrieves details of events stored with Amazon Fraud Detector. This action does not retrieve prediction results.
This is a convenience which creates an instance of the
GetEventRequest.Builderavoiding the need to create one manually viaGetEventRequest.builder()- Parameters:
getEventRequest- AConsumerthat will call methods onGetEventRequest.Builderto create a request.- Returns:
- Result of the GetEvent operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEventPrediction
default GetEventPredictionResponse getEventPrediction(GetEventPredictionRequest getEventPredictionRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, ResourceUnavailableException, AwsServiceException, SdkClientException, FraudDetectorException
Evaluates an event against a detector version. If a version ID is not provided, the detector’s (
ACTIVE) version is used.- Parameters:
getEventPredictionRequest-- Returns:
- Result of the GetEventPrediction operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.ResourceUnavailableException- An exception indicating that the attached customer-owned (external) model threw an exception when Amazon Fraud Detector invoked the model.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEventPrediction
default GetEventPredictionResponse getEventPrediction(Consumer<GetEventPredictionRequest.Builder> getEventPredictionRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, ResourceUnavailableException, AwsServiceException, SdkClientException, FraudDetectorException
Evaluates an event against a detector version. If a version ID is not provided, the detector’s (
ACTIVE) version is used.
This is a convenience which creates an instance of the
GetEventPredictionRequest.Builderavoiding the need to create one manually viaGetEventPredictionRequest.builder()- Parameters:
getEventPredictionRequest- AConsumerthat will call methods onGetEventPredictionRequest.Builderto create a request.- Returns:
- Result of the GetEventPrediction operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.ResourceUnavailableException- An exception indicating that the attached customer-owned (external) model threw an exception when Amazon Fraud Detector invoked the model.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEventPredictionMetadata
default GetEventPredictionMetadataResponse getEventPredictionMetadata(GetEventPredictionMetadataRequest getEventPredictionMetadataRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, FraudDetectorException
Gets details of the past fraud predictions for the specified event ID, event type, detector ID, and detector version ID that was generated in the specified time period.
- Parameters:
getEventPredictionMetadataRequest-- Returns:
- Result of the GetEventPredictionMetadata operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ThrottlingException- An exception indicating a throttling error.InternalServerException- An exception indicating an internal server error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEventPredictionMetadata
default GetEventPredictionMetadataResponse getEventPredictionMetadata(Consumer<GetEventPredictionMetadataRequest.Builder> getEventPredictionMetadataRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, FraudDetectorException
Gets details of the past fraud predictions for the specified event ID, event type, detector ID, and detector version ID that was generated in the specified time period.
This is a convenience which creates an instance of the
GetEventPredictionMetadataRequest.Builderavoiding the need to create one manually viaGetEventPredictionMetadataRequest.builder()- Parameters:
getEventPredictionMetadataRequest- AConsumerthat will call methods onGetEventPredictionMetadataRequest.Builderto create a request.- Returns:
- Result of the GetEventPredictionMetadata operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ThrottlingException- An exception indicating a throttling error.InternalServerException- An exception indicating an internal server error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEventTypes
default GetEventTypesResponse getEventTypes(GetEventTypesRequest getEventTypesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
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 amaxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from theGetEventTypesResponseas part of your request. A null pagination token fetches the records from the beginning.- Parameters:
getEventTypesRequest-- Returns:
- Result of the GetEventTypes operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEventTypes
default GetEventTypesResponse getEventTypes(Consumer<GetEventTypesRequest.Builder> getEventTypesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
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 amaxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from theGetEventTypesResponseas part of your request. A null pagination token fetches the records from the beginning.
This is a convenience which creates an instance of the
GetEventTypesRequest.Builderavoiding the need to create one manually viaGetEventTypesRequest.builder()- Parameters:
getEventTypesRequest- AConsumerthat will call methods onGetEventTypesRequest.Builderto create a request.- Returns:
- Result of the GetEventTypes operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEventTypesPaginator
default GetEventTypesIterable getEventTypesPaginator(GetEventTypesRequest getEventTypesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getEventTypes(software.amazon.awssdk.services.frauddetector.model.GetEventTypesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetEventTypesIterable responses = client.getEventTypesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetEventTypesIterable responses = client .getEventTypesPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetEventTypesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetEventTypesIterable responses = client.getEventTypesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEventTypes(software.amazon.awssdk.services.frauddetector.model.GetEventTypesRequest)operation.- Parameters:
getEventTypesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getEventTypesPaginator
default GetEventTypesIterable getEventTypesPaginator(Consumer<GetEventTypesRequest.Builder> getEventTypesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getEventTypes(software.amazon.awssdk.services.frauddetector.model.GetEventTypesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetEventTypesIterable responses = client.getEventTypesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetEventTypesIterable responses = client .getEventTypesPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetEventTypesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetEventTypesIterable responses = client.getEventTypesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEventTypes(software.amazon.awssdk.services.frauddetector.model.GetEventTypesRequest)operation.
This is a convenience which creates an instance of the
GetEventTypesRequest.Builderavoiding the need to create one manually viaGetEventTypesRequest.builder()- Parameters:
getEventTypesRequest- AConsumerthat will call methods onGetEventTypesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getExternalModels
default GetExternalModelsResponse getExternalModels(GetExternalModelsRequest getExternalModelsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
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 amaxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from theGetExternalModelsResultas part of your request. A null pagination token fetches the records from the beginning.- Parameters:
getExternalModelsRequest-- Returns:
- Result of the GetExternalModels operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getExternalModels
default GetExternalModelsResponse getExternalModels(Consumer<GetExternalModelsRequest.Builder> getExternalModelsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
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 amaxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from theGetExternalModelsResultas part of your request. A null pagination token fetches the records from the beginning.
This is a convenience which creates an instance of the
GetExternalModelsRequest.Builderavoiding the need to create one manually viaGetExternalModelsRequest.builder()- Parameters:
getExternalModelsRequest- AConsumerthat will call methods onGetExternalModelsRequest.Builderto create a request.- Returns:
- Result of the GetExternalModels operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getExternalModelsPaginator
default GetExternalModelsIterable getExternalModelsPaginator(GetExternalModelsRequest getExternalModelsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getExternalModels(software.amazon.awssdk.services.frauddetector.model.GetExternalModelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetExternalModelsIterable responses = client.getExternalModelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetExternalModelsIterable responses = client .getExternalModelsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetExternalModelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetExternalModelsIterable responses = client.getExternalModelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getExternalModels(software.amazon.awssdk.services.frauddetector.model.GetExternalModelsRequest)operation.- Parameters:
getExternalModelsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getExternalModelsPaginator
default GetExternalModelsIterable getExternalModelsPaginator(Consumer<GetExternalModelsRequest.Builder> getExternalModelsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getExternalModels(software.amazon.awssdk.services.frauddetector.model.GetExternalModelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetExternalModelsIterable responses = client.getExternalModelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetExternalModelsIterable responses = client .getExternalModelsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetExternalModelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetExternalModelsIterable responses = client.getExternalModelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getExternalModels(software.amazon.awssdk.services.frauddetector.model.GetExternalModelsRequest)operation.
This is a convenience which creates an instance of the
GetExternalModelsRequest.Builderavoiding the need to create one manually viaGetExternalModelsRequest.builder()- Parameters:
getExternalModelsRequest- AConsumerthat will call methods onGetExternalModelsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getKMSEncryptionKey
default GetKmsEncryptionKeyResponse getKMSEncryptionKey(GetKmsEncryptionKeyRequest getKmsEncryptionKeyRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.
- Parameters:
getKmsEncryptionKeyRequest-- Returns:
- Result of the GetKMSEncryptionKey operation returned by the service.
- Throws:
ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getKMSEncryptionKey
default GetKmsEncryptionKeyResponse getKMSEncryptionKey(Consumer<GetKmsEncryptionKeyRequest.Builder> getKmsEncryptionKeyRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.
This is a convenience which creates an instance of the
GetKmsEncryptionKeyRequest.Builderavoiding the need to create one manually viaGetKmsEncryptionKeyRequest.builder()- Parameters:
getKmsEncryptionKeyRequest- AConsumerthat will call methods onGetKmsEncryptionKeyRequest.Builderto create a request.- Returns:
- Result of the GetKMSEncryptionKey operation returned by the service.
- Throws:
ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLabels
default GetLabelsResponse getLabels(GetLabelsRequest getLabelsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
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 amaxResults, the value must be between 10 and 50. To get the next page results, provide the pagination token from theGetGetLabelsResponseas part of your request. A null pagination token fetches the records from the beginning.- Parameters:
getLabelsRequest-- Returns:
- Result of the GetLabels operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLabels
default GetLabelsResponse getLabels(Consumer<GetLabelsRequest.Builder> getLabelsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
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 amaxResults, the value must be between 10 and 50. To get the next page results, provide the pagination token from theGetGetLabelsResponseas part of your request. A null pagination token fetches the records from the beginning.
This is a convenience which creates an instance of the
GetLabelsRequest.Builderavoiding the need to create one manually viaGetLabelsRequest.builder()- Parameters:
getLabelsRequest- AConsumerthat will call methods onGetLabelsRequest.Builderto create a request.- Returns:
- Result of the GetLabels operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLabelsPaginator
default GetLabelsIterable getLabelsPaginator(GetLabelsRequest getLabelsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getLabels(software.amazon.awssdk.services.frauddetector.model.GetLabelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetLabelsIterable responses = client.getLabelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetLabelsIterable responses = client.getLabelsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetLabelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetLabelsIterable responses = client.getLabelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLabels(software.amazon.awssdk.services.frauddetector.model.GetLabelsRequest)operation.- Parameters:
getLabelsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLabelsPaginator
default GetLabelsIterable getLabelsPaginator(Consumer<GetLabelsRequest.Builder> getLabelsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getLabels(software.amazon.awssdk.services.frauddetector.model.GetLabelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetLabelsIterable responses = client.getLabelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetLabelsIterable responses = client.getLabelsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetLabelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetLabelsIterable responses = client.getLabelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLabels(software.amazon.awssdk.services.frauddetector.model.GetLabelsRequest)operation.
This is a convenience which creates an instance of the
GetLabelsRequest.Builderavoiding the need to create one manually viaGetLabelsRequest.builder()- Parameters:
getLabelsRequest- AConsumerthat will call methods onGetLabelsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getListElements
default GetListElementsResponse getListElements(GetListElementsRequest getListElementsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets all the elements in the specified list.
- Parameters:
getListElementsRequest-- Returns:
- Result of the GetListElements operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getListElements
default GetListElementsResponse getListElements(Consumer<GetListElementsRequest.Builder> getListElementsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets all the elements in the specified list.
This is a convenience which creates an instance of the
GetListElementsRequest.Builderavoiding the need to create one manually viaGetListElementsRequest.builder()- Parameters:
getListElementsRequest- AConsumerthat will call methods onGetListElementsRequest.Builderto create a request.- Returns:
- Result of the GetListElements operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getListElementsPaginator
default GetListElementsIterable getListElementsPaginator(GetListElementsRequest getListElementsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getListElements(software.amazon.awssdk.services.frauddetector.model.GetListElementsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetListElementsIterable responses = client.getListElementsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetListElementsIterable responses = client .getListElementsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetListElementsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetListElementsIterable responses = client.getListElementsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getListElements(software.amazon.awssdk.services.frauddetector.model.GetListElementsRequest)operation.- Parameters:
getListElementsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getListElementsPaginator
default GetListElementsIterable getListElementsPaginator(Consumer<GetListElementsRequest.Builder> getListElementsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getListElements(software.amazon.awssdk.services.frauddetector.model.GetListElementsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetListElementsIterable responses = client.getListElementsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetListElementsIterable responses = client .getListElementsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetListElementsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetListElementsIterable responses = client.getListElementsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getListElements(software.amazon.awssdk.services.frauddetector.model.GetListElementsRequest)operation.
This is a convenience which creates an instance of the
GetListElementsRequest.Builderavoiding the need to create one manually viaGetListElementsRequest.builder()- Parameters:
getListElementsRequest- AConsumerthat will call methods onGetListElementsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getListsMetadata
default GetListsMetadataResponse getListsMetadata(GetListsMetadataRequest getListsMetadataRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets the metadata of either all the lists under the account or the specified list.
- Parameters:
getListsMetadataRequest-- Returns:
- Result of the GetListsMetadata operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getListsMetadata
default GetListsMetadataResponse getListsMetadata(Consumer<GetListsMetadataRequest.Builder> getListsMetadataRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets the metadata of either all the lists under the account or the specified list.
This is a convenience which creates an instance of the
GetListsMetadataRequest.Builderavoiding the need to create one manually viaGetListsMetadataRequest.builder()- Parameters:
getListsMetadataRequest- AConsumerthat will call methods onGetListsMetadataRequest.Builderto create a request.- Returns:
- Result of the GetListsMetadata operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getListsMetadataPaginator
default GetListsMetadataIterable getListsMetadataPaginator(GetListsMetadataRequest getListsMetadataRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getListsMetadata(software.amazon.awssdk.services.frauddetector.model.GetListsMetadataRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetListsMetadataIterable responses = client.getListsMetadataPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetListsMetadataIterable responses = client .getListsMetadataPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetListsMetadataResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetListsMetadataIterable responses = client.getListsMetadataPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getListsMetadata(software.amazon.awssdk.services.frauddetector.model.GetListsMetadataRequest)operation.- Parameters:
getListsMetadataRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getListsMetadataPaginator
default GetListsMetadataIterable getListsMetadataPaginator(Consumer<GetListsMetadataRequest.Builder> getListsMetadataRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getListsMetadata(software.amazon.awssdk.services.frauddetector.model.GetListsMetadataRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetListsMetadataIterable responses = client.getListsMetadataPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetListsMetadataIterable responses = client .getListsMetadataPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetListsMetadataResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetListsMetadataIterable responses = client.getListsMetadataPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getListsMetadata(software.amazon.awssdk.services.frauddetector.model.GetListsMetadataRequest)operation.
This is a convenience which creates an instance of the
GetListsMetadataRequest.Builderavoiding the need to create one manually viaGetListsMetadataRequest.builder()- Parameters:
getListsMetadataRequest- AConsumerthat will call methods onGetListsMetadataRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getModelVersion
default GetModelVersionResponse getModelVersion(GetModelVersionRequest getModelVersionRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets the details of the specified model version.
- Parameters:
getModelVersionRequest-- Returns:
- Result of the GetModelVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getModelVersion
default GetModelVersionResponse getModelVersion(Consumer<GetModelVersionRequest.Builder> getModelVersionRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets the details of the specified model version.
This is a convenience which creates an instance of the
GetModelVersionRequest.Builderavoiding the need to create one manually viaGetModelVersionRequest.builder()- Parameters:
getModelVersionRequest- AConsumerthat will call methods onGetModelVersionRequest.Builderto create a request.- Returns:
- Result of the GetModelVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getModels
default GetModelsResponse getModels(GetModelsRequest getModelsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets one or more models. Gets all models for the Amazon Web Services account if no model type and no model id provided. Gets all models for the Amazon Web Services account and model type, if the model type is specified but model id is not provided. Gets a specific model if (model type, model id) tuple is specified.
This is a paginated API. If you provide a null
maxResults, this action retrieves a maximum of 10 records per page. If you provide amaxResults, 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.- Parameters:
getModelsRequest-- Returns:
- Result of the GetModels operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getModels
default GetModelsResponse getModels(Consumer<GetModelsRequest.Builder> getModelsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets one or more models. Gets all models for the Amazon Web Services account if no model type and no model id provided. Gets all models for the Amazon Web Services account and model type, if the model type is specified but model id is not provided. Gets a specific model if (model type, model id) tuple is specified.
This is a paginated API. If you provide a null
maxResults, this action retrieves a maximum of 10 records per page. If you provide amaxResults, 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.
This is a convenience which creates an instance of the
GetModelsRequest.Builderavoiding the need to create one manually viaGetModelsRequest.builder()- Parameters:
getModelsRequest- AConsumerthat will call methods onGetModelsRequest.Builderto create a request.- Returns:
- Result of the GetModels operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getModelsPaginator
default GetModelsIterable getModelsPaginator(GetModelsRequest getModelsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getModels(software.amazon.awssdk.services.frauddetector.model.GetModelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetModelsIterable responses = client.getModelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetModelsIterable responses = client.getModelsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetModelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetModelsIterable responses = client.getModelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getModels(software.amazon.awssdk.services.frauddetector.model.GetModelsRequest)operation.- Parameters:
getModelsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getModelsPaginator
default GetModelsIterable getModelsPaginator(Consumer<GetModelsRequest.Builder> getModelsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getModels(software.amazon.awssdk.services.frauddetector.model.GetModelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetModelsIterable responses = client.getModelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetModelsIterable responses = client.getModelsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetModelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetModelsIterable responses = client.getModelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getModels(software.amazon.awssdk.services.frauddetector.model.GetModelsRequest)operation.
This is a convenience which creates an instance of the
GetModelsRequest.Builderavoiding the need to create one manually viaGetModelsRequest.builder()- Parameters:
getModelsRequest- AConsumerthat will call methods onGetModelsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getOutcomes
default GetOutcomesResponse getOutcomes(GetOutcomesRequest getOutcomesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
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 amaxResults, the value must be between 50 and 100. To get the next page results, provide the pagination token from theGetOutcomesResultas part of your request. A null pagination token fetches the records from the beginning.- Parameters:
getOutcomesRequest-- Returns:
- Result of the GetOutcomes operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getOutcomes
default GetOutcomesResponse getOutcomes(Consumer<GetOutcomesRequest.Builder> getOutcomesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
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 amaxResults, the value must be between 50 and 100. To get the next page results, provide the pagination token from theGetOutcomesResultas part of your request. A null pagination token fetches the records from the beginning.
This is a convenience which creates an instance of the
GetOutcomesRequest.Builderavoiding the need to create one manually viaGetOutcomesRequest.builder()- Parameters:
getOutcomesRequest- AConsumerthat will call methods onGetOutcomesRequest.Builderto create a request.- Returns:
- Result of the GetOutcomes operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getOutcomesPaginator
default GetOutcomesIterable getOutcomesPaginator(GetOutcomesRequest getOutcomesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getOutcomes(software.amazon.awssdk.services.frauddetector.model.GetOutcomesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetOutcomesIterable responses = client.getOutcomesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetOutcomesIterable responses = client.getOutcomesPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetOutcomesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetOutcomesIterable responses = client.getOutcomesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getOutcomes(software.amazon.awssdk.services.frauddetector.model.GetOutcomesRequest)operation.- Parameters:
getOutcomesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getOutcomesPaginator
default GetOutcomesIterable getOutcomesPaginator(Consumer<GetOutcomesRequest.Builder> getOutcomesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getOutcomes(software.amazon.awssdk.services.frauddetector.model.GetOutcomesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetOutcomesIterable responses = client.getOutcomesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetOutcomesIterable responses = client.getOutcomesPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetOutcomesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetOutcomesIterable responses = client.getOutcomesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getOutcomes(software.amazon.awssdk.services.frauddetector.model.GetOutcomesRequest)operation.
This is a convenience which creates an instance of the
GetOutcomesRequest.Builderavoiding the need to create one manually viaGetOutcomesRequest.builder()- Parameters:
getOutcomesRequest- AConsumerthat will call methods onGetOutcomesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getRules
default GetRulesResponse getRules(GetRulesRequest getRulesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Get all rules for a detector (paginated) if
ruleIdandruleVersionare not specified. Gets all rules for the detector and theruleIdif present (paginated). Gets a specific rule if both theruleIdand theruleVersionare 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.
- Parameters:
getRulesRequest-- Returns:
- Result of the GetRules operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getRules
default GetRulesResponse getRules(Consumer<GetRulesRequest.Builder> getRulesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Get all rules for a detector (paginated) if
ruleIdandruleVersionare not specified. Gets all rules for the detector and theruleIdif present (paginated). Gets a specific rule if both theruleIdand theruleVersionare 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.
This is a convenience which creates an instance of the
GetRulesRequest.Builderavoiding the need to create one manually viaGetRulesRequest.builder()- Parameters:
getRulesRequest- AConsumerthat will call methods onGetRulesRequest.Builderto create a request.- Returns:
- Result of the GetRules operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getRulesPaginator
default GetRulesIterable getRulesPaginator(GetRulesRequest getRulesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getRules(software.amazon.awssdk.services.frauddetector.model.GetRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetRulesIterable responses = client.getRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetRulesIterable responses = client.getRulesPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetRulesIterable responses = client.getRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getRules(software.amazon.awssdk.services.frauddetector.model.GetRulesRequest)operation.- Parameters:
getRulesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getRulesPaginator
default GetRulesIterable getRulesPaginator(Consumer<GetRulesRequest.Builder> getRulesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getRules(software.amazon.awssdk.services.frauddetector.model.GetRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetRulesIterable responses = client.getRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetRulesIterable responses = client.getRulesPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetRulesIterable responses = client.getRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getRules(software.amazon.awssdk.services.frauddetector.model.GetRulesRequest)operation.
This is a convenience which creates an instance of the
GetRulesRequest.Builderavoiding the need to create one manually viaGetRulesRequest.builder()- Parameters:
getRulesRequest- AConsumerthat will call methods onGetRulesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getVariables
default GetVariablesResponse getVariables(GetVariablesRequest getVariablesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets all of the variables or the specific variable. This is a paginated API. Providing null
maxSizePerPageresults in retrieving maximum of 100 records per page. If you providemaxSizePerPagethe value must be between 50 and 100. To get the next page result, a provide a pagination token fromGetVariablesResultas part of your request. Null pagination token fetches the records from the beginning.- Parameters:
getVariablesRequest-- Returns:
- Result of the GetVariables operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getVariables
default GetVariablesResponse getVariables(Consumer<GetVariablesRequest.Builder> getVariablesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Gets all of the variables or the specific variable. This is a paginated API. Providing null
maxSizePerPageresults in retrieving maximum of 100 records per page. If you providemaxSizePerPagethe value must be between 50 and 100. To get the next page result, a provide a pagination token fromGetVariablesResultas part of your request. Null pagination token fetches the records from the beginning.
This is a convenience which creates an instance of the
GetVariablesRequest.Builderavoiding the need to create one manually viaGetVariablesRequest.builder()- Parameters:
getVariablesRequest- AConsumerthat will call methods onGetVariablesRequest.Builderto create a request.- Returns:
- Result of the GetVariables operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getVariablesPaginator
default GetVariablesIterable getVariablesPaginator(GetVariablesRequest getVariablesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getVariables(software.amazon.awssdk.services.frauddetector.model.GetVariablesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetVariablesIterable responses = client.getVariablesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetVariablesIterable responses = client .getVariablesPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetVariablesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetVariablesIterable responses = client.getVariablesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getVariables(software.amazon.awssdk.services.frauddetector.model.GetVariablesRequest)operation.- Parameters:
getVariablesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getVariablesPaginator
default GetVariablesIterable getVariablesPaginator(Consumer<GetVariablesRequest.Builder> getVariablesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
getVariables(software.amazon.awssdk.services.frauddetector.model.GetVariablesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.GetVariablesIterable responses = client.getVariablesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.GetVariablesIterable responses = client .getVariablesPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.GetVariablesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.GetVariablesIterable responses = client.getVariablesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getVariables(software.amazon.awssdk.services.frauddetector.model.GetVariablesRequest)operation.
This is a convenience which creates an instance of the
GetVariablesRequest.Builderavoiding the need to create one manually viaGetVariablesRequest.builder()- Parameters:
getVariablesRequest- AConsumerthat will call methods onGetVariablesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEventPredictions
default ListEventPredictionsResponse listEventPredictions(ListEventPredictionsRequest listEventPredictionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, FraudDetectorException
Gets a list of past predictions. The list can be filtered by detector ID, detector version ID, event ID, event type, or by specifying a time period. If filter is not specified, the most recent prediction is returned.
For example, the following filter lists all past predictions for
xyzevent type -{ "eventType":{ "value": "xyz" }” }This is a paginated API. If you provide a null
maxResults, this action will retrieve a maximum of 10 records per page. If you provide amaxResults, the value must be between 50 and 100. To get the next page results, provide thenextTokenfrom the response as part of your request. A nullnextTokenfetches the records from the beginning.- Parameters:
listEventPredictionsRequest-- Returns:
- Result of the ListEventPredictions operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ThrottlingException- An exception indicating a throttling error.InternalServerException- An exception indicating an internal server error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEventPredictions
default ListEventPredictionsResponse listEventPredictions(Consumer<ListEventPredictionsRequest.Builder> listEventPredictionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, FraudDetectorException
Gets a list of past predictions. The list can be filtered by detector ID, detector version ID, event ID, event type, or by specifying a time period. If filter is not specified, the most recent prediction is returned.
For example, the following filter lists all past predictions for
xyzevent type -{ "eventType":{ "value": "xyz" }” }This is a paginated API. If you provide a null
maxResults, this action will retrieve a maximum of 10 records per page. If you provide amaxResults, the value must be between 50 and 100. To get the next page results, provide thenextTokenfrom the response as part of your request. A nullnextTokenfetches the records from the beginning.
This is a convenience which creates an instance of the
ListEventPredictionsRequest.Builderavoiding the need to create one manually viaListEventPredictionsRequest.builder()- Parameters:
listEventPredictionsRequest- AConsumerthat will call methods onListEventPredictionsRequest.Builderto create a request.- Returns:
- Result of the ListEventPredictions operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ThrottlingException- An exception indicating a throttling error.InternalServerException- An exception indicating an internal server error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEventPredictionsPaginator
default ListEventPredictionsIterable listEventPredictionsPaginator(ListEventPredictionsRequest listEventPredictionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
listEventPredictions(software.amazon.awssdk.services.frauddetector.model.ListEventPredictionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.ListEventPredictionsIterable responses = client.listEventPredictionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.ListEventPredictionsIterable responses = client .listEventPredictionsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.ListEventPredictionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.ListEventPredictionsIterable responses = client.listEventPredictionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEventPredictions(software.amazon.awssdk.services.frauddetector.model.ListEventPredictionsRequest)operation.- Parameters:
listEventPredictionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ThrottlingException- An exception indicating a throttling error.InternalServerException- An exception indicating an internal server error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEventPredictionsPaginator
default ListEventPredictionsIterable listEventPredictionsPaginator(Consumer<ListEventPredictionsRequest.Builder> listEventPredictionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
listEventPredictions(software.amazon.awssdk.services.frauddetector.model.ListEventPredictionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.ListEventPredictionsIterable responses = client.listEventPredictionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.ListEventPredictionsIterable responses = client .listEventPredictionsPaginator(request); for (software.amazon.awssdk.services.frauddetector.model.ListEventPredictionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.ListEventPredictionsIterable responses = client.listEventPredictionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEventPredictions(software.amazon.awssdk.services.frauddetector.model.ListEventPredictionsRequest)operation.
This is a convenience which creates an instance of the
ListEventPredictionsRequest.Builderavoiding the need to create one manually viaListEventPredictionsRequest.builder()- Parameters:
listEventPredictionsRequest- AConsumerthat will call methods onListEventPredictionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ThrottlingException- An exception indicating a throttling error.InternalServerException- An exception indicating an internal server error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
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.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
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.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResourcePaginator
default ListTagsForResourceIterable listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
listTagsForResource(software.amazon.awssdk.services.frauddetector.model.ListTagsForResourceRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.ListTagsForResourceIterable responses = client .listTagsForResourcePaginator(request); for (software.amazon.awssdk.services.frauddetector.model.ListTagsForResourceResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.frauddetector.model.ListTagsForResourceRequest)operation.- Parameters:
listTagsForResourceRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResourcePaginator
default ListTagsForResourceIterable listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
This is a variant of
listTagsForResource(software.amazon.awssdk.services.frauddetector.model.ListTagsForResourceRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.frauddetector.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.frauddetector.paginators.ListTagsForResourceIterable responses = client .listTagsForResourcePaginator(request); for (software.amazon.awssdk.services.frauddetector.model.ListTagsForResourceResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.frauddetector.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.frauddetector.model.ListTagsForResourceRequest)operation.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putDetector
default PutDetectorResponse putDetector(PutDetectorRequest putDetectorRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Creates or updates a detector.
- Parameters:
putDetectorRequest-- Returns:
- Result of the PutDetector operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putDetector
default PutDetectorResponse putDetector(Consumer<PutDetectorRequest.Builder> putDetectorRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Creates or updates a detector.
This is a convenience which creates an instance of the
PutDetectorRequest.Builderavoiding the need to create one manually viaPutDetectorRequest.builder()- Parameters:
putDetectorRequest- AConsumerthat will call methods onPutDetectorRequest.Builderto create a request.- Returns:
- Result of the PutDetector operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putEntityType
default PutEntityTypeResponse putEntityType(PutEntityTypeRequest putEntityTypeRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
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.
- Parameters:
putEntityTypeRequest-- Returns:
- Result of the PutEntityType operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putEntityType
default PutEntityTypeResponse putEntityType(Consumer<PutEntityTypeRequest.Builder> putEntityTypeRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
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.
This is a convenience which creates an instance of the
PutEntityTypeRequest.Builderavoiding the need to create one manually viaPutEntityTypeRequest.builder()- Parameters:
putEntityTypeRequest- AConsumerthat will call methods onPutEntityTypeRequest.Builderto create a request.- Returns:
- Result of the PutEntityType operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putEventType
default PutEventTypeResponse putEventType(PutEventTypeRequest putEventTypeRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
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.
- Parameters:
putEventTypeRequest-- Returns:
- Result of the PutEventType operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putEventType
default PutEventTypeResponse putEventType(Consumer<PutEventTypeRequest.Builder> putEventTypeRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
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.
This is a convenience which creates an instance of the
PutEventTypeRequest.Builderavoiding the need to create one manually viaPutEventTypeRequest.builder()- Parameters:
putEventTypeRequest- AConsumerthat will call methods onPutEventTypeRequest.Builderto create a request.- Returns:
- Result of the PutEventType operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putExternalModel
default PutExternalModelResponse putExternalModel(PutExternalModelRequest putExternalModelRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
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.
- Parameters:
putExternalModelRequest-- Returns:
- Result of the PutExternalModel operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putExternalModel
default PutExternalModelResponse putExternalModel(Consumer<PutExternalModelRequest.Builder> putExternalModelRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
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.
This is a convenience which creates an instance of the
PutExternalModelRequest.Builderavoiding the need to create one manually viaPutExternalModelRequest.builder()- Parameters:
putExternalModelRequest- AConsumerthat will call methods onPutExternalModelRequest.Builderto create a request.- Returns:
- Result of the PutExternalModel operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putKMSEncryptionKey
default PutKmsEncryptionKeyResponse putKMSEncryptionKey(PutKmsEncryptionKeyRequest putKmsEncryptionKeyRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector.
- Parameters:
putKmsEncryptionKeyRequest-- Returns:
- Result of the PutKMSEncryptionKey operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putKMSEncryptionKey
default PutKmsEncryptionKeyResponse putKMSEncryptionKey(Consumer<PutKmsEncryptionKeyRequest.Builder> putKmsEncryptionKeyRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector.
This is a convenience which creates an instance of the
PutKmsEncryptionKeyRequest.Builderavoiding the need to create one manually viaPutKmsEncryptionKeyRequest.builder()- Parameters:
putKmsEncryptionKeyRequest- AConsumerthat will call methods onPutKmsEncryptionKeyRequest.Builderto create a request.- Returns:
- Result of the PutKMSEncryptionKey operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putLabel
default PutLabelResponse putLabel(PutLabelRequest putLabelRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
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.
- Parameters:
putLabelRequest-- Returns:
- Result of the PutLabel operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putLabel
default PutLabelResponse putLabel(Consumer<PutLabelRequest.Builder> putLabelRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
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.
This is a convenience which creates an instance of the
PutLabelRequest.Builderavoiding the need to create one manually viaPutLabelRequest.builder()- Parameters:
putLabelRequest- AConsumerthat will call methods onPutLabelRequest.Builderto create a request.- Returns:
- Result of the PutLabel operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putOutcome
default PutOutcomeResponse putOutcome(PutOutcomeRequest putOutcomeRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Creates or updates an outcome.
- Parameters:
putOutcomeRequest-- Returns:
- Result of the PutOutcome operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putOutcome
default PutOutcomeResponse putOutcome(Consumer<PutOutcomeRequest.Builder> putOutcomeRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Creates or updates an outcome.
This is a convenience which creates an instance of the
PutOutcomeRequest.Builderavoiding the need to create one manually viaPutOutcomeRequest.builder()- Parameters:
putOutcomeRequest- AConsumerthat will call methods onPutOutcomeRequest.Builderto create a request.- Returns:
- Result of the PutOutcome operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
sendEvent
default SendEventResponse sendEvent(SendEventRequest sendEventRequest) throws ValidationException, ConflictException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Stores events in Amazon Fraud Detector without generating fraud predictions for those events. For example, you can use
SendEventto upload a historical dataset, which you can then later use to train a model.- Parameters:
sendEventRequest-- Returns:
- Result of the SendEvent operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ConflictException- An exception indicating there was a conflict during a delete operation.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
sendEvent
default SendEventResponse sendEvent(Consumer<SendEventRequest.Builder> sendEventRequest) throws ValidationException, ConflictException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Stores events in Amazon Fraud Detector without generating fraud predictions for those events. For example, you can use
SendEventto upload a historical dataset, which you can then later use to train a model.
This is a convenience which creates an instance of the
SendEventRequest.Builderavoiding the need to create one manually viaSendEventRequest.builder()- Parameters:
sendEventRequest- AConsumerthat will call methods onSendEventRequest.Builderto create a request.- Returns:
- Result of the SendEvent operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ConflictException- An exception indicating there was a conflict during a delete operation.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Assigns tags to a resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Assigns tags to a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Removes tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, FraudDetectorException
Removes tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateDetectorVersion
default UpdateDetectorVersionResponse updateDetectorVersion(UpdateDetectorVersionRequest updateDetectorVersionRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
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
DRAFTdetector version.- Parameters:
updateDetectorVersionRequest-- Returns:
- Result of the UpdateDetectorVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateDetectorVersion
default UpdateDetectorVersionResponse updateDetectorVersion(Consumer<UpdateDetectorVersionRequest.Builder> updateDetectorVersionRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
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
DRAFTdetector version.
This is a convenience which creates an instance of the
UpdateDetectorVersionRequest.Builderavoiding the need to create one manually viaUpdateDetectorVersionRequest.builder()- Parameters:
updateDetectorVersionRequest- AConsumerthat will call methods onUpdateDetectorVersionRequest.Builderto create a request.- Returns:
- Result of the UpdateDetectorVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateDetectorVersionMetadata
default UpdateDetectorVersionMetadataResponse updateDetectorVersionMetadata(UpdateDetectorVersionMetadataRequest updateDetectorVersionMetadataRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates the detector version's description. You can update the metadata for any detector version (
DRAFT, ACTIVE,orINACTIVE).- Parameters:
updateDetectorVersionMetadataRequest-- Returns:
- Result of the UpdateDetectorVersionMetadata operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateDetectorVersionMetadata
default UpdateDetectorVersionMetadataResponse updateDetectorVersionMetadata(Consumer<UpdateDetectorVersionMetadataRequest.Builder> updateDetectorVersionMetadataRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates the detector version's description. You can update the metadata for any detector version (
DRAFT, ACTIVE,orINACTIVE).
This is a convenience which creates an instance of the
UpdateDetectorVersionMetadataRequest.Builderavoiding the need to create one manually viaUpdateDetectorVersionMetadataRequest.builder()- Parameters:
updateDetectorVersionMetadataRequest- AConsumerthat will call methods onUpdateDetectorVersionMetadataRequest.Builderto create a request.- Returns:
- Result of the UpdateDetectorVersionMetadata operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateDetectorVersionStatus
default UpdateDetectorVersionStatusResponse updateDetectorVersionStatus(UpdateDetectorVersionStatusRequest updateDetectorVersionStatusRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates the detector version’s status. You can perform the following promotions or demotions using
UpdateDetectorVersionStatus:DRAFTtoACTIVE,ACTIVEtoINACTIVE, andINACTIVEtoACTIVE.- Parameters:
updateDetectorVersionStatusRequest-- Returns:
- Result of the UpdateDetectorVersionStatus operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateDetectorVersionStatus
default UpdateDetectorVersionStatusResponse updateDetectorVersionStatus(Consumer<UpdateDetectorVersionStatusRequest.Builder> updateDetectorVersionStatusRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates the detector version’s status. You can perform the following promotions or demotions using
UpdateDetectorVersionStatus:DRAFTtoACTIVE,ACTIVEtoINACTIVE, andINACTIVEtoACTIVE.
This is a convenience which creates an instance of the
UpdateDetectorVersionStatusRequest.Builderavoiding the need to create one manually viaUpdateDetectorVersionStatusRequest.builder()- Parameters:
updateDetectorVersionStatusRequest- AConsumerthat will call methods onUpdateDetectorVersionStatusRequest.Builderto create a request.- Returns:
- Result of the UpdateDetectorVersionStatus operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateEventLabel
default UpdateEventLabelResponse updateEventLabel(UpdateEventLabelRequest updateEventLabelRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates the specified event with a new label.
- Parameters:
updateEventLabelRequest-- Returns:
- Result of the UpdateEventLabel operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateEventLabel
default UpdateEventLabelResponse updateEventLabel(Consumer<UpdateEventLabelRequest.Builder> updateEventLabelRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates the specified event with a new label.
This is a convenience which creates an instance of the
UpdateEventLabelRequest.Builderavoiding the need to create one manually viaUpdateEventLabelRequest.builder()- Parameters:
updateEventLabelRequest- AConsumerthat will call methods onUpdateEventLabelRequest.Builderto create a request.- Returns:
- Result of the UpdateEventLabel operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateList
default UpdateListResponse updateList(UpdateListRequest updateListRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates a list.
- Parameters:
updateListRequest-- Returns:
- Result of the UpdateList operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateList
default UpdateListResponse updateList(Consumer<UpdateListRequest.Builder> updateListRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates a list.
This is a convenience which creates an instance of the
UpdateListRequest.Builderavoiding the need to create one manually viaUpdateListRequest.builder()- Parameters:
updateListRequest- AConsumerthat will call methods onUpdateListRequest.Builderto create a request.- Returns:
- Result of the UpdateList operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateModel
default UpdateModelResponse updateModel(UpdateModelRequest updateModelRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates model description.
- Parameters:
updateModelRequest-- Returns:
- Result of the UpdateModel operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateModel
default UpdateModelResponse updateModel(Consumer<UpdateModelRequest.Builder> updateModelRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates model description.
This is a convenience which creates an instance of the
UpdateModelRequest.Builderavoiding the need to create one manually viaUpdateModelRequest.builder()- Parameters:
updateModelRequest- AConsumerthat will call methods onUpdateModelRequest.Builderto create a request.- Returns:
- Result of the UpdateModel operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateModelVersion
default UpdateModelVersionResponse updateModelVersion(UpdateModelVersionRequest updateModelVersionRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
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.
- Parameters:
updateModelVersionRequest-- Returns:
- Result of the UpdateModelVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ThrottlingException- An exception indicating a throttling error.InternalServerException- An exception indicating an internal server error.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateModelVersion
default UpdateModelVersionResponse updateModelVersion(Consumer<UpdateModelVersionRequest.Builder> updateModelVersionRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
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.
This is a convenience which creates an instance of the
UpdateModelVersionRequest.Builderavoiding the need to create one manually viaUpdateModelVersionRequest.builder()- Parameters:
updateModelVersionRequest- AConsumerthat will call methods onUpdateModelVersionRequest.Builderto create a request.- Returns:
- Result of the UpdateModelVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ThrottlingException- An exception indicating a throttling error.InternalServerException- An exception indicating an internal server error.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateModelVersionStatus
default UpdateModelVersionStatusResponse updateModelVersionStatus(UpdateModelVersionStatusRequest updateModelVersionStatusRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates the status of a model version.
You can perform the following status updates:
-
Change the
TRAINING_IN_PROGRESSstatus toTRAINING_CANCELLED. -
Change the
TRAINING_COMPLETEstatus toACTIVE. -
Change
ACTIVEtoINACTIVE.
- Parameters:
updateModelVersionStatusRequest-- Returns:
- Result of the UpdateModelVersionStatus operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
updateModelVersionStatus
default UpdateModelVersionStatusResponse updateModelVersionStatus(Consumer<UpdateModelVersionStatusRequest.Builder> updateModelVersionStatusRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates the status of a model version.
You can perform the following status updates:
-
Change the
TRAINING_IN_PROGRESSstatus toTRAINING_CANCELLED. -
Change the
TRAINING_COMPLETEstatus toACTIVE. -
Change
ACTIVEtoINACTIVE.
This is a convenience which creates an instance of the
UpdateModelVersionStatusRequest.Builderavoiding the need to create one manually viaUpdateModelVersionStatusRequest.builder()- Parameters:
updateModelVersionStatusRequest- AConsumerthat will call methods onUpdateModelVersionStatusRequest.Builderto create a request.- Returns:
- Result of the UpdateModelVersionStatus operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
updateRuleMetadata
default UpdateRuleMetadataResponse updateRuleMetadata(UpdateRuleMetadataRequest updateRuleMetadataRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates a rule's metadata. The description attribute can be updated.
- Parameters:
updateRuleMetadataRequest-- Returns:
- Result of the UpdateRuleMetadata operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateRuleMetadata
default UpdateRuleMetadataResponse updateRuleMetadata(Consumer<UpdateRuleMetadataRequest.Builder> updateRuleMetadataRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates a rule's metadata. The description attribute can be updated.
This is a convenience which creates an instance of the
UpdateRuleMetadataRequest.Builderavoiding the need to create one manually viaUpdateRuleMetadataRequest.builder()- Parameters:
updateRuleMetadataRequest- AConsumerthat will call methods onUpdateRuleMetadataRequest.Builderto create a request.- Returns:
- Result of the UpdateRuleMetadata operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateRuleVersion
default UpdateRuleVersionResponse updateRuleVersion(UpdateRuleVersionRequest updateRuleVersionRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...).
- Parameters:
updateRuleVersionRequest-- Returns:
- Result of the UpdateRuleVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateRuleVersion
default UpdateRuleVersionResponse updateRuleVersion(Consumer<UpdateRuleVersionRequest.Builder> updateRuleVersionRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...).
This is a convenience which creates an instance of the
UpdateRuleVersionRequest.Builderavoiding the need to create one manually viaUpdateRuleVersionRequest.builder()- Parameters:
updateRuleVersionRequest- AConsumerthat will call methods onUpdateRuleVersionRequest.Builderto create a request.- Returns:
- Result of the UpdateRuleVersion operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateVariable
default UpdateVariableResponse updateVariable(UpdateVariableRequest updateVariableRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates a variable.
- Parameters:
updateVariableRequest-- Returns:
- Result of the UpdateVariable operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateVariable
default UpdateVariableResponse updateVariable(Consumer<UpdateVariableRequest.Builder> updateVariableRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, FraudDetectorException
Updates a variable.
This is a convenience which creates an instance of the
UpdateVariableRequest.Builderavoiding the need to create one manually viaUpdateVariableRequest.builder()- Parameters:
updateVariableRequest- AConsumerthat will call methods onUpdateVariableRequest.Builderto create a request.- Returns:
- Result of the UpdateVariable operation returned by the service.
- Throws:
ValidationException- An exception indicating a specified value is not allowed.ResourceNotFoundException- An exception indicating the specified resource was not found.InternalServerException- An exception indicating an internal server error.ThrottlingException- An exception indicating a throttling error.AccessDeniedException- An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such asPutExternalModel, that specifies a role that is not in your account.ConflictException- An exception indicating there was a conflict during a delete operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.FraudDetectorException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static FraudDetectorClient create()
Create aFraudDetectorClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static FraudDetectorClientBuilder builder()
Create a builder that can be used to configure and create aFraudDetectorClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default FraudDetectorServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-