Interface FraudDetectorAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface FraudDetectorAsyncClient extends AwsClient
Service client for accessing Amazon Fraud Detector asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

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 Details

  • Method Details

    • batchCreateVariable

      default CompletableFuture<BatchCreateVariableResponse> batchCreateVariable(BatchCreateVariableRequest batchCreateVariableRequest)

      Creates a batch of variables.

      Parameters:
      batchCreateVariableRequest -
      Returns:
      A Java Future containing the result of the BatchCreateVariable operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • batchCreateVariable

      default CompletableFuture<BatchCreateVariableResponse> batchCreateVariable(Consumer<BatchCreateVariableRequest.Builder> batchCreateVariableRequest)

      Creates a batch of variables.


      This is a convenience which creates an instance of the BatchCreateVariableRequest.Builder avoiding the need to create one manually via BatchCreateVariableRequest.builder()

      Parameters:
      batchCreateVariableRequest - A Consumer that will call methods on BatchCreateVariableRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchCreateVariable operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • batchGetVariable

      default CompletableFuture<BatchGetVariableResponse> batchGetVariable(BatchGetVariableRequest batchGetVariableRequest)

      Gets a batch of variables.

      Parameters:
      batchGetVariableRequest -
      Returns:
      A Java Future containing the result of the BatchGetVariable operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • batchGetVariable

      default CompletableFuture<BatchGetVariableResponse> batchGetVariable(Consumer<BatchGetVariableRequest.Builder> batchGetVariableRequest)

      Gets a batch of variables.


      This is a convenience which creates an instance of the BatchGetVariableRequest.Builder avoiding the need to create one manually via BatchGetVariableRequest.builder()

      Parameters:
      batchGetVariableRequest - A Consumer that will call methods on BatchGetVariableRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchGetVariable operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • cancelBatchImportJob

      default CompletableFuture<CancelBatchImportJobResponse> cancelBatchImportJob(CancelBatchImportJobRequest cancelBatchImportJobRequest)

      Cancels an in-progress batch import job.

      Parameters:
      cancelBatchImportJobRequest -
      Returns:
      A Java Future containing the result of the CancelBatchImportJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • cancelBatchImportJob

      default CompletableFuture<CancelBatchImportJobResponse> cancelBatchImportJob(Consumer<CancelBatchImportJobRequest.Builder> cancelBatchImportJobRequest)

      Cancels an in-progress batch import job.


      This is a convenience which creates an instance of the CancelBatchImportJobRequest.Builder avoiding the need to create one manually via CancelBatchImportJobRequest.builder()

      Parameters:
      cancelBatchImportJobRequest - A Consumer that will call methods on CancelBatchImportJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CancelBatchImportJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • cancelBatchPredictionJob

      default CompletableFuture<CancelBatchPredictionJobResponse> cancelBatchPredictionJob(CancelBatchPredictionJobRequest cancelBatchPredictionJobRequest)

      Cancels the specified batch prediction job.

      Parameters:
      cancelBatchPredictionJobRequest -
      Returns:
      A Java Future containing the result of the CancelBatchPredictionJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • cancelBatchPredictionJob

      default CompletableFuture<CancelBatchPredictionJobResponse> cancelBatchPredictionJob(Consumer<CancelBatchPredictionJobRequest.Builder> cancelBatchPredictionJobRequest)

      Cancels the specified batch prediction job.


      This is a convenience which creates an instance of the CancelBatchPredictionJobRequest.Builder avoiding the need to create one manually via CancelBatchPredictionJobRequest.builder()

      Parameters:
      cancelBatchPredictionJobRequest - A Consumer that will call methods on CancelBatchPredictionJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CancelBatchPredictionJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • createBatchImportJob

      default CompletableFuture<CreateBatchImportJobResponse> createBatchImportJob(CreateBatchImportJobRequest createBatchImportJobRequest)

      Creates a batch import job.

      Parameters:
      createBatchImportJobRequest -
      Returns:
      A Java Future containing the result of the CreateBatchImportJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • createBatchImportJob

      default CompletableFuture<CreateBatchImportJobResponse> createBatchImportJob(Consumer<CreateBatchImportJobRequest.Builder> createBatchImportJobRequest)

      Creates a batch import job.


      This is a convenience which creates an instance of the CreateBatchImportJobRequest.Builder avoiding the need to create one manually via CreateBatchImportJobRequest.builder()

      Parameters:
      createBatchImportJobRequest - A Consumer that will call methods on CreateBatchImportJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateBatchImportJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • createBatchPredictionJob

      default CompletableFuture<CreateBatchPredictionJobResponse> createBatchPredictionJob(CreateBatchPredictionJobRequest createBatchPredictionJobRequest)

      Creates a batch prediction job.

      Parameters:
      createBatchPredictionJobRequest -
      Returns:
      A Java Future containing the result of the CreateBatchPredictionJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • 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.
      See Also:
    • createBatchPredictionJob

      default CompletableFuture<CreateBatchPredictionJobResponse> createBatchPredictionJob(Consumer<CreateBatchPredictionJobRequest.Builder> createBatchPredictionJobRequest)

      Creates a batch prediction job.


      This is a convenience which creates an instance of the CreateBatchPredictionJobRequest.Builder avoiding the need to create one manually via CreateBatchPredictionJobRequest.builder()

      Parameters:
      createBatchPredictionJobRequest - A Consumer that will call methods on CreateBatchPredictionJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateBatchPredictionJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • 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.
      See Also:
    • createDetectorVersion

      default CompletableFuture<CreateDetectorVersionResponse> createDetectorVersion(CreateDetectorVersionRequest createDetectorVersionRequest)

      Creates a detector version. The detector version starts in a DRAFT status.

      Parameters:
      createDetectorVersionRequest -
      Returns:
      A Java Future containing the result of the CreateDetectorVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • createDetectorVersion

      default CompletableFuture<CreateDetectorVersionResponse> createDetectorVersion(Consumer<CreateDetectorVersionRequest.Builder> createDetectorVersionRequest)

      Creates a detector version. The detector version starts in a DRAFT status.


      This is a convenience which creates an instance of the CreateDetectorVersionRequest.Builder avoiding the need to create one manually via CreateDetectorVersionRequest.builder()

      Parameters:
      createDetectorVersionRequest - A Consumer that will call methods on CreateDetectorVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateDetectorVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • createList

      default CompletableFuture<CreateListResponse> createList(CreateListRequest createListRequest)

      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:
      A Java Future containing the result of the CreateList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • createList

      default CompletableFuture<CreateListResponse> createList(Consumer<CreateListRequest.Builder> createListRequest)

      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.Builder avoiding the need to create one manually via CreateListRequest.builder()

      Parameters:
      createListRequest - A Consumer that will call methods on CreateListRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • createModel

      default CompletableFuture<CreateModelResponse> createModel(CreateModelRequest createModelRequest)

      Creates a model using the specified model type.

      Parameters:
      createModelRequest -
      Returns:
      A Java Future containing the result of the CreateModel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • createModel

      default CompletableFuture<CreateModelResponse> createModel(Consumer<CreateModelRequest.Builder> createModelRequest)

      Creates a model using the specified model type.


      This is a convenience which creates an instance of the CreateModelRequest.Builder avoiding the need to create one manually via CreateModelRequest.builder()

      Parameters:
      createModelRequest - A Consumer that will call methods on CreateModelRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateModel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • createModelVersion

      default CompletableFuture<CreateModelVersionResponse> createModelVersion(CreateModelVersionRequest createModelVersionRequest)

      Creates a version of the model using the specified model type and model id.

      Parameters:
      createModelVersionRequest -
      Returns:
      A Java Future containing the result of the CreateModelVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ThrottlingException An exception indicating a throttling error.
      • InternalServerException An exception indicating an internal server error.
      • 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.
      See Also:
    • createModelVersion

      default CompletableFuture<CreateModelVersionResponse> createModelVersion(Consumer<CreateModelVersionRequest.Builder> createModelVersionRequest)

      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.Builder avoiding the need to create one manually via CreateModelVersionRequest.builder()

      Parameters:
      createModelVersionRequest - A Consumer that will call methods on CreateModelVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateModelVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ThrottlingException An exception indicating a throttling error.
      • InternalServerException An exception indicating an internal server error.
      • 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.
      See Also:
    • createRule

      default CompletableFuture<CreateRuleResponse> createRule(CreateRuleRequest createRuleRequest)

      Creates a rule for use with the specified detector.

      Parameters:
      createRuleRequest -
      Returns:
      A Java Future containing the result of the CreateRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • createRule

      default CompletableFuture<CreateRuleResponse> createRule(Consumer<CreateRuleRequest.Builder> createRuleRequest)

      Creates a rule for use with the specified detector.


      This is a convenience which creates an instance of the CreateRuleRequest.Builder avoiding the need to create one manually via CreateRuleRequest.builder()

      Parameters:
      createRuleRequest - A Consumer that will call methods on CreateRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • createVariable

      default CompletableFuture<CreateVariableResponse> createVariable(CreateVariableRequest createVariableRequest)

      Creates a variable.

      Parameters:
      createVariableRequest -
      Returns:
      A Java Future containing the result of the CreateVariable operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • createVariable

      default CompletableFuture<CreateVariableResponse> createVariable(Consumer<CreateVariableRequest.Builder> createVariableRequest)

      Creates a variable.


      This is a convenience which creates an instance of the CreateVariableRequest.Builder avoiding the need to create one manually via CreateVariableRequest.builder()

      Parameters:
      createVariableRequest - A Consumer that will call methods on CreateVariableRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateVariable operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteBatchImportJob

      default CompletableFuture<DeleteBatchImportJobResponse> deleteBatchImportJob(DeleteBatchImportJobRequest deleteBatchImportJobRequest)

      Deletes the specified batch import job ID record. This action does not delete the data that was batch imported.

      Parameters:
      deleteBatchImportJobRequest -
      Returns:
      A Java Future containing the result of the DeleteBatchImportJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteBatchImportJob

      default CompletableFuture<DeleteBatchImportJobResponse> deleteBatchImportJob(Consumer<DeleteBatchImportJobRequest.Builder> deleteBatchImportJobRequest)

      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.Builder avoiding the need to create one manually via DeleteBatchImportJobRequest.builder()

      Parameters:
      deleteBatchImportJobRequest - A Consumer that will call methods on DeleteBatchImportJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteBatchImportJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteBatchPredictionJob

      default CompletableFuture<DeleteBatchPredictionJobResponse> deleteBatchPredictionJob(DeleteBatchPredictionJobRequest deleteBatchPredictionJobRequest)

      Deletes a batch prediction job.

      Parameters:
      deleteBatchPredictionJobRequest -
      Returns:
      A Java Future containing the result of the DeleteBatchPredictionJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteBatchPredictionJob

      default CompletableFuture<DeleteBatchPredictionJobResponse> deleteBatchPredictionJob(Consumer<DeleteBatchPredictionJobRequest.Builder> deleteBatchPredictionJobRequest)

      Deletes a batch prediction job.


      This is a convenience which creates an instance of the DeleteBatchPredictionJobRequest.Builder avoiding the need to create one manually via DeleteBatchPredictionJobRequest.builder()

      Parameters:
      deleteBatchPredictionJobRequest - A Consumer that will call methods on DeleteBatchPredictionJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteBatchPredictionJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteDetector

      default CompletableFuture<DeleteDetectorResponse> deleteDetector(DeleteDetectorRequest deleteDetectorRequest)

      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:
      A Java Future containing the result of the DeleteDetector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteDetector

      default CompletableFuture<DeleteDetectorResponse> deleteDetector(Consumer<DeleteDetectorRequest.Builder> deleteDetectorRequest)

      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.Builder avoiding the need to create one manually via DeleteDetectorRequest.builder()

      Parameters:
      deleteDetectorRequest - A Consumer that will call methods on DeleteDetectorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteDetector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteDetectorVersion

      default CompletableFuture<DeleteDetectorVersionResponse> deleteDetectorVersion(DeleteDetectorVersionRequest deleteDetectorVersionRequest)

      Deletes the detector version. You cannot delete detector versions that are in ACTIVE status.

      When you delete a detector version, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.

      Parameters:
      deleteDetectorVersionRequest -
      Returns:
      A Java Future containing the result of the DeleteDetectorVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteDetectorVersion

      default CompletableFuture<DeleteDetectorVersionResponse> deleteDetectorVersion(Consumer<DeleteDetectorVersionRequest.Builder> deleteDetectorVersionRequest)

      Deletes the detector version. You cannot delete detector versions that are in ACTIVE status.

      When you delete a detector version, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.


      This is a convenience which creates an instance of the DeleteDetectorVersionRequest.Builder avoiding the need to create one manually via DeleteDetectorVersionRequest.builder()

      Parameters:
      deleteDetectorVersionRequest - A Consumer that will call methods on DeleteDetectorVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteDetectorVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteEntityType

      default CompletableFuture<DeleteEntityTypeResponse> deleteEntityType(DeleteEntityTypeRequest deleteEntityTypeRequest)

      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:
      A Java Future containing the result of the DeleteEntityType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteEntityType

      default CompletableFuture<DeleteEntityTypeResponse> deleteEntityType(Consumer<DeleteEntityTypeRequest.Builder> deleteEntityTypeRequest)

      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.Builder avoiding the need to create one manually via DeleteEntityTypeRequest.builder()

      Parameters:
      deleteEntityTypeRequest - A Consumer that will call methods on DeleteEntityTypeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteEntityType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteEvent

      default CompletableFuture<DeleteEventResponse> deleteEvent(DeleteEventRequest deleteEventRequest)

      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 deleteAuditHistory is True, event data is available through search for up to 30 seconds after the delete operation is completed.

      Parameters:
      deleteEventRequest -
      Returns:
      A Java Future containing the result of the DeleteEvent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ValidationException An exception indicating a specified value is not allowed.
      • 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.
      See Also:
    • deleteEvent

      default CompletableFuture<DeleteEventResponse> deleteEvent(Consumer<DeleteEventRequest.Builder> deleteEventRequest)

      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 deleteAuditHistory is True, 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.Builder avoiding the need to create one manually via DeleteEventRequest.builder()

      Parameters:
      deleteEventRequest - A Consumer that will call methods on DeleteEventRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteEvent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ValidationException An exception indicating a specified value is not allowed.
      • 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.
      See Also:
    • deleteEventType

      default CompletableFuture<DeleteEventTypeResponse> deleteEventType(DeleteEventTypeRequest deleteEventTypeRequest)

      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:
      A Java Future containing the result of the DeleteEventType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteEventType

      default CompletableFuture<DeleteEventTypeResponse> deleteEventType(Consumer<DeleteEventTypeRequest.Builder> deleteEventTypeRequest)

      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.Builder avoiding the need to create one manually via DeleteEventTypeRequest.builder()

      Parameters:
      deleteEventTypeRequest - A Consumer that will call methods on DeleteEventTypeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteEventType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteEventsByEventType

      default CompletableFuture<DeleteEventsByEventTypeResponse> deleteEventsByEventType(DeleteEventsByEventTypeRequest deleteEventsByEventTypeRequest)

      Deletes all events of a particular event type.

      Parameters:
      deleteEventsByEventTypeRequest -
      Returns:
      A Java Future containing the result of the DeleteEventsByEventType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteEventsByEventType

      default CompletableFuture<DeleteEventsByEventTypeResponse> deleteEventsByEventType(Consumer<DeleteEventsByEventTypeRequest.Builder> deleteEventsByEventTypeRequest)

      Deletes all events of a particular event type.


      This is a convenience which creates an instance of the DeleteEventsByEventTypeRequest.Builder avoiding the need to create one manually via DeleteEventsByEventTypeRequest.builder()

      Parameters:
      deleteEventsByEventTypeRequest - A Consumer that will call methods on DeleteEventsByEventTypeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteEventsByEventType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteExternalModel

      default CompletableFuture<DeleteExternalModelResponse> deleteExternalModel(DeleteExternalModelRequest deleteExternalModelRequest)

      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:
      A Java Future containing the result of the DeleteExternalModel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteExternalModel

      default CompletableFuture<DeleteExternalModelResponse> deleteExternalModel(Consumer<DeleteExternalModelRequest.Builder> deleteExternalModelRequest)

      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.Builder avoiding the need to create one manually via DeleteExternalModelRequest.builder()

      Parameters:
      deleteExternalModelRequest - A Consumer that will call methods on DeleteExternalModelRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteExternalModel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteLabel

      default CompletableFuture<DeleteLabelResponse> deleteLabel(DeleteLabelRequest deleteLabelRequest)

      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:
      A Java Future containing the result of the DeleteLabel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteLabel

      default CompletableFuture<DeleteLabelResponse> deleteLabel(Consumer<DeleteLabelRequest.Builder> deleteLabelRequest)

      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.Builder avoiding the need to create one manually via DeleteLabelRequest.builder()

      Parameters:
      deleteLabelRequest - A Consumer that will call methods on DeleteLabelRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteLabel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteList

      default CompletableFuture<DeleteListResponse> deleteList(DeleteListRequest deleteListRequest)

      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:
      A Java Future containing the result of the DeleteList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • deleteList

      default CompletableFuture<DeleteListResponse> deleteList(Consumer<DeleteListRequest.Builder> deleteListRequest)

      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.Builder avoiding the need to create one manually via DeleteListRequest.builder()

      Parameters:
      deleteListRequest - A Consumer that will call methods on DeleteListRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • deleteModel

      default CompletableFuture<DeleteModelResponse> deleteModel(DeleteModelRequest deleteModelRequest)

      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:
      A Java Future containing the result of the DeleteModel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteModel

      default CompletableFuture<DeleteModelResponse> deleteModel(Consumer<DeleteModelRequest.Builder> deleteModelRequest)

      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.Builder avoiding the need to create one manually via DeleteModelRequest.builder()

      Parameters:
      deleteModelRequest - A Consumer that will call methods on DeleteModelRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteModel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteModelVersion

      default CompletableFuture<DeleteModelVersionResponse> deleteModelVersion(DeleteModelVersionRequest deleteModelVersionRequest)

      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:
      A Java Future containing the result of the DeleteModelVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ThrottlingException An exception indicating a throttling error.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • deleteModelVersion

      default CompletableFuture<DeleteModelVersionResponse> deleteModelVersion(Consumer<DeleteModelVersionRequest.Builder> deleteModelVersionRequest)

      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.Builder avoiding the need to create one manually via DeleteModelVersionRequest.builder()

      Parameters:
      deleteModelVersionRequest - A Consumer that will call methods on DeleteModelVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteModelVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ThrottlingException An exception indicating a throttling error.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • deleteOutcome

      default CompletableFuture<DeleteOutcomeResponse> deleteOutcome(DeleteOutcomeRequest deleteOutcomeRequest)

      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:
      A Java Future containing the result of the DeleteOutcome operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteOutcome

      default CompletableFuture<DeleteOutcomeResponse> deleteOutcome(Consumer<DeleteOutcomeRequest.Builder> deleteOutcomeRequest)

      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.Builder avoiding the need to create one manually via DeleteOutcomeRequest.builder()

      Parameters:
      deleteOutcomeRequest - A Consumer that will call methods on DeleteOutcomeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteOutcome operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteRule

      default CompletableFuture<DeleteRuleResponse> deleteRule(DeleteRuleRequest deleteRuleRequest)

      Deletes the rule. You cannot delete a rule if it is used by an ACTIVE or INACTIVE detector version.

      When you delete a rule, Amazon Fraud Detector permanently deletes that rule and the data is no longer stored in Amazon Fraud Detector.

      Parameters:
      deleteRuleRequest -
      Returns:
      A Java Future containing the result of the DeleteRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteRule

      default CompletableFuture<DeleteRuleResponse> deleteRule(Consumer<DeleteRuleRequest.Builder> deleteRuleRequest)

      Deletes the rule. You cannot delete a rule if it is used by an ACTIVE or INACTIVE detector version.

      When you delete a rule, Amazon Fraud Detector permanently deletes that rule and the data is no longer stored in Amazon Fraud Detector.


      This is a convenience which creates an instance of the DeleteRuleRequest.Builder avoiding the need to create one manually via DeleteRuleRequest.builder()

      Parameters:
      deleteRuleRequest - A Consumer that will call methods on DeleteRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteVariable

      default CompletableFuture<DeleteVariableResponse> deleteVariable(DeleteVariableRequest deleteVariableRequest)

      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:
      A Java Future containing the result of the DeleteVariable operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • deleteVariable

      default CompletableFuture<DeleteVariableResponse> deleteVariable(Consumer<DeleteVariableRequest.Builder> deleteVariableRequest)

      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.Builder avoiding the need to create one manually via DeleteVariableRequest.builder()

      Parameters:
      deleteVariableRequest - A Consumer that will call methods on DeleteVariableRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteVariable operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • describeDetector

      default CompletableFuture<DescribeDetectorResponse> describeDetector(DescribeDetectorRequest describeDetectorRequest)

      Gets all versions for a specified detector.

      Parameters:
      describeDetectorRequest -
      Returns:
      A Java Future containing the result of the DescribeDetector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • describeDetector

      default CompletableFuture<DescribeDetectorResponse> describeDetector(Consumer<DescribeDetectorRequest.Builder> describeDetectorRequest)

      Gets all versions for a specified detector.


      This is a convenience which creates an instance of the DescribeDetectorRequest.Builder avoiding the need to create one manually via DescribeDetectorRequest.builder()

      Parameters:
      describeDetectorRequest - A Consumer that will call methods on DescribeDetectorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeDetector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • describeModelVersions

      default CompletableFuture<DescribeModelVersionsResponse> describeModelVersions(DescribeModelVersionsRequest describeModelVersionsRequest)

      Gets all of the model versions for the specified model type or for the specified model type and model ID. You can also get details for a single, specified model version.

      Parameters:
      describeModelVersionsRequest -
      Returns:
      A Java Future containing the result of the DescribeModelVersions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • describeModelVersions

      default CompletableFuture<DescribeModelVersionsResponse> describeModelVersions(Consumer<DescribeModelVersionsRequest.Builder> describeModelVersionsRequest)

      Gets all of the model versions for the specified model type or for the specified model type and model ID. You can also get details for a single, specified model version.


      This is a convenience which creates an instance of the DescribeModelVersionsRequest.Builder avoiding the need to create one manually via DescribeModelVersionsRequest.builder()

      Parameters:
      describeModelVersionsRequest - A Consumer that will call methods on DescribeModelVersionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeModelVersions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • describeModelVersionsPaginator

      default DescribeModelVersionsPublisher describeModelVersionsPaginator(DescribeModelVersionsRequest describeModelVersionsRequest)

      This is a variant of describeModelVersions(software.amazon.awssdk.services.frauddetector.model.DescribeModelVersionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.DescribeModelVersionsPublisher publisher = client.describeModelVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.DescribeModelVersionsPublisher publisher = client.describeModelVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.DescribeModelVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.DescribeModelVersionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • describeModelVersionsPaginator

      default DescribeModelVersionsPublisher describeModelVersionsPaginator(Consumer<DescribeModelVersionsRequest.Builder> describeModelVersionsRequest)

      This is a variant of describeModelVersions(software.amazon.awssdk.services.frauddetector.model.DescribeModelVersionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.DescribeModelVersionsPublisher publisher = client.describeModelVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.DescribeModelVersionsPublisher publisher = client.describeModelVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.DescribeModelVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.DescribeModelVersionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via DescribeModelVersionsRequest.builder()

      Parameters:
      describeModelVersionsRequest - A Consumer that will call methods on DescribeModelVersionsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getBatchImportJobs

      default CompletableFuture<GetBatchImportJobsResponse> getBatchImportJobs(GetBatchImportJobsRequest getBatchImportJobsRequest)

      Gets all batch import jobs or a specific job of the specified ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchImportJobsResponse as part of your request. A null pagination token fetches the records from the beginning.

      Parameters:
      getBatchImportJobsRequest -
      Returns:
      A Java Future containing the result of the GetBatchImportJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getBatchImportJobs

      default CompletableFuture<GetBatchImportJobsResponse> getBatchImportJobs(Consumer<GetBatchImportJobsRequest.Builder> getBatchImportJobsRequest)

      Gets all batch import jobs or a specific job of the specified ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchImportJobsResponse as part of your request. A null pagination token fetches the records from the beginning.


      This is a convenience which creates an instance of the GetBatchImportJobsRequest.Builder avoiding the need to create one manually via GetBatchImportJobsRequest.builder()

      Parameters:
      getBatchImportJobsRequest - A Consumer that will call methods on GetBatchImportJobsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetBatchImportJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getBatchImportJobsPaginator

      default GetBatchImportJobsPublisher getBatchImportJobsPaginator(GetBatchImportJobsRequest getBatchImportJobsRequest)

      This is a variant of getBatchImportJobs(software.amazon.awssdk.services.frauddetector.model.GetBatchImportJobsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetBatchImportJobsPublisher publisher = client.getBatchImportJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetBatchImportJobsPublisher publisher = client.getBatchImportJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetBatchImportJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetBatchImportJobsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getBatchImportJobsPaginator

      default GetBatchImportJobsPublisher getBatchImportJobsPaginator(Consumer<GetBatchImportJobsRequest.Builder> getBatchImportJobsRequest)

      This is a variant of getBatchImportJobs(software.amazon.awssdk.services.frauddetector.model.GetBatchImportJobsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetBatchImportJobsPublisher publisher = client.getBatchImportJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetBatchImportJobsPublisher publisher = client.getBatchImportJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetBatchImportJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetBatchImportJobsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via GetBatchImportJobsRequest.builder()

      Parameters:
      getBatchImportJobsRequest - A Consumer that will call methods on GetBatchImportJobsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getBatchPredictionJobs

      default CompletableFuture<GetBatchPredictionJobsResponse> getBatchPredictionJobs(GetBatchPredictionJobsRequest getBatchPredictionJobsRequest)

      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:
      A Java Future containing the result of the GetBatchPredictionJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getBatchPredictionJobs

      default CompletableFuture<GetBatchPredictionJobsResponse> getBatchPredictionJobs(Consumer<GetBatchPredictionJobsRequest.Builder> getBatchPredictionJobsRequest)

      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.Builder avoiding the need to create one manually via GetBatchPredictionJobsRequest.builder()

      Parameters:
      getBatchPredictionJobsRequest - A Consumer that will call methods on GetBatchPredictionJobsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetBatchPredictionJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getBatchPredictionJobsPaginator

      default GetBatchPredictionJobsPublisher getBatchPredictionJobsPaginator(GetBatchPredictionJobsRequest getBatchPredictionJobsRequest)

      This is a variant of getBatchPredictionJobs(software.amazon.awssdk.services.frauddetector.model.GetBatchPredictionJobsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetBatchPredictionJobsPublisher publisher = client.getBatchPredictionJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetBatchPredictionJobsPublisher publisher = client.getBatchPredictionJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetBatchPredictionJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetBatchPredictionJobsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getBatchPredictionJobsPaginator

      default GetBatchPredictionJobsPublisher getBatchPredictionJobsPaginator(Consumer<GetBatchPredictionJobsRequest.Builder> getBatchPredictionJobsRequest)

      This is a variant of getBatchPredictionJobs(software.amazon.awssdk.services.frauddetector.model.GetBatchPredictionJobsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetBatchPredictionJobsPublisher publisher = client.getBatchPredictionJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetBatchPredictionJobsPublisher publisher = client.getBatchPredictionJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetBatchPredictionJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetBatchPredictionJobsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via GetBatchPredictionJobsRequest.builder()

      Parameters:
      getBatchPredictionJobsRequest - A Consumer that will call methods on GetBatchPredictionJobsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getDeleteEventsByEventTypeStatus

      default CompletableFuture<GetDeleteEventsByEventTypeStatusResponse> getDeleteEventsByEventTypeStatus(GetDeleteEventsByEventTypeStatusRequest getDeleteEventsByEventTypeStatusRequest)

      Retrieves the status of a DeleteEventsByEventType action.

      Parameters:
      getDeleteEventsByEventTypeStatusRequest -
      Returns:
      A Java Future containing the result of the GetDeleteEventsByEventTypeStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getDeleteEventsByEventTypeStatus

      default CompletableFuture<GetDeleteEventsByEventTypeStatusResponse> getDeleteEventsByEventTypeStatus(Consumer<GetDeleteEventsByEventTypeStatusRequest.Builder> getDeleteEventsByEventTypeStatusRequest)

      Retrieves the status of a DeleteEventsByEventType action.


      This is a convenience which creates an instance of the GetDeleteEventsByEventTypeStatusRequest.Builder avoiding the need to create one manually via GetDeleteEventsByEventTypeStatusRequest.builder()

      Parameters:
      getDeleteEventsByEventTypeStatusRequest - A Consumer that will call methods on GetDeleteEventsByEventTypeStatusRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetDeleteEventsByEventTypeStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getDetectorVersion

      default CompletableFuture<GetDetectorVersionResponse> getDetectorVersion(GetDetectorVersionRequest getDetectorVersionRequest)

      Gets a particular detector version.

      Parameters:
      getDetectorVersionRequest -
      Returns:
      A Java Future containing the result of the GetDetectorVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getDetectorVersion

      default CompletableFuture<GetDetectorVersionResponse> getDetectorVersion(Consumer<GetDetectorVersionRequest.Builder> getDetectorVersionRequest)

      Gets a particular detector version.


      This is a convenience which creates an instance of the GetDetectorVersionRequest.Builder avoiding the need to create one manually via GetDetectorVersionRequest.builder()

      Parameters:
      getDetectorVersionRequest - A Consumer that will call methods on GetDetectorVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetDetectorVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getDetectors

      default CompletableFuture<GetDetectorsResponse> getDetectors(GetDetectorsRequest getDetectorsRequest)

      Gets all detectors or a single detector if a detectorId is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetDetectorsResponse as part of your request. A null pagination token fetches the records from the beginning.

      Parameters:
      getDetectorsRequest -
      Returns:
      A Java Future containing the result of the GetDetectors operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getDetectors

      default CompletableFuture<GetDetectorsResponse> getDetectors(Consumer<GetDetectorsRequest.Builder> getDetectorsRequest)

      Gets all detectors or a single detector if a detectorId is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetDetectorsResponse as part of your request. A null pagination token fetches the records from the beginning.


      This is a convenience which creates an instance of the GetDetectorsRequest.Builder avoiding the need to create one manually via GetDetectorsRequest.builder()

      Parameters:
      getDetectorsRequest - A Consumer that will call methods on GetDetectorsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetDetectors operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getDetectorsPaginator

      default GetDetectorsPublisher getDetectorsPaginator(GetDetectorsRequest getDetectorsRequest)

      This is a variant of getDetectors(software.amazon.awssdk.services.frauddetector.model.GetDetectorsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetDetectorsPublisher publisher = client.getDetectorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetDetectorsPublisher publisher = client.getDetectorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetDetectorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetDetectorsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getDetectorsPaginator

      default GetDetectorsPublisher getDetectorsPaginator(Consumer<GetDetectorsRequest.Builder> getDetectorsRequest)

      This is a variant of getDetectors(software.amazon.awssdk.services.frauddetector.model.GetDetectorsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetDetectorsPublisher publisher = client.getDetectorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetDetectorsPublisher publisher = client.getDetectorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetDetectorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetDetectorsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via GetDetectorsRequest.builder()

      Parameters:
      getDetectorsRequest - A Consumer that will call methods on GetDetectorsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getEntityTypes

      default CompletableFuture<GetEntityTypesResponse> getEntityTypes(GetEntityTypesRequest getEntityTypesRequest)

      Gets all entity types or a specific entity type if a name is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEntityTypesResponse as part of your request. A null pagination token fetches the records from the beginning.

      Parameters:
      getEntityTypesRequest -
      Returns:
      A Java Future containing the result of the GetEntityTypes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getEntityTypes

      default CompletableFuture<GetEntityTypesResponse> getEntityTypes(Consumer<GetEntityTypesRequest.Builder> getEntityTypesRequest)

      Gets all entity types or a specific entity type if a name is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEntityTypesResponse as part of your request. A null pagination token fetches the records from the beginning.


      This is a convenience which creates an instance of the GetEntityTypesRequest.Builder avoiding the need to create one manually via GetEntityTypesRequest.builder()

      Parameters:
      getEntityTypesRequest - A Consumer that will call methods on GetEntityTypesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEntityTypes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getEntityTypesPaginator

      default GetEntityTypesPublisher getEntityTypesPaginator(GetEntityTypesRequest getEntityTypesRequest)

      This is a variant of getEntityTypes(software.amazon.awssdk.services.frauddetector.model.GetEntityTypesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetEntityTypesPublisher publisher = client.getEntityTypesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetEntityTypesPublisher publisher = client.getEntityTypesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetEntityTypesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetEntityTypesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getEntityTypesPaginator

      default GetEntityTypesPublisher getEntityTypesPaginator(Consumer<GetEntityTypesRequest.Builder> getEntityTypesRequest)

      This is a variant of getEntityTypes(software.amazon.awssdk.services.frauddetector.model.GetEntityTypesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetEntityTypesPublisher publisher = client.getEntityTypesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetEntityTypesPublisher publisher = client.getEntityTypesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetEntityTypesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetEntityTypesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via GetEntityTypesRequest.builder()

      Parameters:
      getEntityTypesRequest - A Consumer that will call methods on GetEntityTypesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getEvent

      default CompletableFuture<GetEventResponse> getEvent(GetEventRequest getEventRequest)

      Retrieves details of events stored with Amazon Fraud Detector. This action does not retrieve prediction results.

      Parameters:
      getEventRequest -
      Returns:
      A Java Future containing the result of the GetEvent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getEvent

      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.Builder avoiding the need to create one manually via GetEventRequest.builder()

      Parameters:
      getEventRequest - A Consumer that will call methods on GetEventRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEvent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getEventPrediction

      default CompletableFuture<GetEventPredictionResponse> getEventPrediction(GetEventPredictionRequest getEventPredictionRequest)

      Evaluates an event against a detector version. If a version ID is not provided, the detector’s ( ACTIVE) version is used.

      Parameters:
      getEventPredictionRequest -
      Returns:
      A Java Future containing the result of the GetEventPrediction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • ResourceUnavailableException An exception indicating that the attached customer-owned (external) model threw an exception when Amazon Fraud Detector invoked the model.
      • 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.
      See Also:
    • getEventPrediction

      default CompletableFuture<GetEventPredictionResponse> getEventPrediction(Consumer<GetEventPredictionRequest.Builder> getEventPredictionRequest)

      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.Builder avoiding the need to create one manually via GetEventPredictionRequest.builder()

      Parameters:
      getEventPredictionRequest - A Consumer that will call methods on GetEventPredictionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEventPrediction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • ResourceUnavailableException An exception indicating that the attached customer-owned (external) model threw an exception when Amazon Fraud Detector invoked the model.
      • 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.
      See Also:
    • getEventPredictionMetadata

      default CompletableFuture<GetEventPredictionMetadataResponse> getEventPredictionMetadata(GetEventPredictionMetadataRequest getEventPredictionMetadataRequest)

      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:
      A Java Future containing the result of the GetEventPredictionMetadata operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ThrottlingException An exception indicating a throttling error.
      • InternalServerException An exception indicating an internal server error.
      • 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.
      See Also:
    • getEventPredictionMetadata

      default CompletableFuture<GetEventPredictionMetadataResponse> getEventPredictionMetadata(Consumer<GetEventPredictionMetadataRequest.Builder> getEventPredictionMetadataRequest)

      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.Builder avoiding the need to create one manually via GetEventPredictionMetadataRequest.builder()

      Parameters:
      getEventPredictionMetadataRequest - A Consumer that will call methods on GetEventPredictionMetadataRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEventPredictionMetadata operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ThrottlingException An exception indicating a throttling error.
      • InternalServerException An exception indicating an internal server error.
      • 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.
      See Also:
    • getEventTypes

      default CompletableFuture<GetEventTypesResponse> getEventTypes(GetEventTypesRequest getEventTypesRequest)

      Gets all event types or a specific event type if name is provided. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEventTypesResponse as part of your request. A null pagination token fetches the records from the beginning.

      Parameters:
      getEventTypesRequest -
      Returns:
      A Java Future containing the result of the GetEventTypes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getEventTypes

      default CompletableFuture<GetEventTypesResponse> getEventTypes(Consumer<GetEventTypesRequest.Builder> getEventTypesRequest)

      Gets all event types or a specific event type if name is provided. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEventTypesResponse as part of your request. A null pagination token fetches the records from the beginning.


      This is a convenience which creates an instance of the GetEventTypesRequest.Builder avoiding the need to create one manually via GetEventTypesRequest.builder()

      Parameters:
      getEventTypesRequest - A Consumer that will call methods on GetEventTypesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEventTypes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getEventTypesPaginator

      default GetEventTypesPublisher getEventTypesPaginator(GetEventTypesRequest getEventTypesRequest)

      This is a variant of getEventTypes(software.amazon.awssdk.services.frauddetector.model.GetEventTypesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetEventTypesPublisher publisher = client.getEventTypesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetEventTypesPublisher publisher = client.getEventTypesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetEventTypesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetEventTypesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getEventTypesPaginator

      default GetEventTypesPublisher getEventTypesPaginator(Consumer<GetEventTypesRequest.Builder> getEventTypesRequest)

      This is a variant of getEventTypes(software.amazon.awssdk.services.frauddetector.model.GetEventTypesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetEventTypesPublisher publisher = client.getEventTypesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetEventTypesPublisher publisher = client.getEventTypesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetEventTypesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetEventTypesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via GetEventTypesRequest.builder()

      Parameters:
      getEventTypesRequest - A Consumer that will call methods on GetEventTypesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getExternalModels

      default CompletableFuture<GetExternalModelsResponse> getExternalModels(GetExternalModelsRequest getExternalModelsRequest)

      Gets the details for one or more Amazon SageMaker models that have been imported into the service. This is a paginated API. If you provide a null maxResults, this actions retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetExternalModelsResult as part of your request. A null pagination token fetches the records from the beginning.

      Parameters:
      getExternalModelsRequest -
      Returns:
      A Java Future containing the result of the GetExternalModels operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getExternalModels

      default CompletableFuture<GetExternalModelsResponse> getExternalModels(Consumer<GetExternalModelsRequest.Builder> getExternalModelsRequest)

      Gets the details for one or more Amazon SageMaker models that have been imported into the service. This is a paginated API. If you provide a null maxResults, this actions retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetExternalModelsResult as part of your request. A null pagination token fetches the records from the beginning.


      This is a convenience which creates an instance of the GetExternalModelsRequest.Builder avoiding the need to create one manually via GetExternalModelsRequest.builder()

      Parameters:
      getExternalModelsRequest - A Consumer that will call methods on GetExternalModelsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetExternalModels operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getExternalModelsPaginator

      default GetExternalModelsPublisher getExternalModelsPaginator(GetExternalModelsRequest getExternalModelsRequest)

      This is a variant of getExternalModels(software.amazon.awssdk.services.frauddetector.model.GetExternalModelsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetExternalModelsPublisher publisher = client.getExternalModelsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetExternalModelsPublisher publisher = client.getExternalModelsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetExternalModelsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetExternalModelsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getExternalModelsPaginator

      default GetExternalModelsPublisher getExternalModelsPaginator(Consumer<GetExternalModelsRequest.Builder> getExternalModelsRequest)

      This is a variant of getExternalModels(software.amazon.awssdk.services.frauddetector.model.GetExternalModelsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetExternalModelsPublisher publisher = client.getExternalModelsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetExternalModelsPublisher publisher = client.getExternalModelsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetExternalModelsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetExternalModelsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via GetExternalModelsRequest.builder()

      Parameters:
      getExternalModelsRequest - A Consumer that will call methods on GetExternalModelsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getKMSEncryptionKey

      default CompletableFuture<GetKmsEncryptionKeyResponse> getKMSEncryptionKey(GetKmsEncryptionKeyRequest getKmsEncryptionKeyRequest)

      Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.

      Parameters:
      getKmsEncryptionKeyRequest -
      Returns:
      A Java Future containing the result of the GetKMSEncryptionKey operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getKMSEncryptionKey

      default CompletableFuture<GetKmsEncryptionKeyResponse> getKMSEncryptionKey(Consumer<GetKmsEncryptionKeyRequest.Builder> getKmsEncryptionKeyRequest)

      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.Builder avoiding the need to create one manually via GetKmsEncryptionKeyRequest.builder()

      Parameters:
      getKmsEncryptionKeyRequest - A Consumer that will call methods on GetKmsEncryptionKeyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetKMSEncryptionKey operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getLabels

      default CompletableFuture<GetLabelsResponse> getLabels(GetLabelsRequest getLabelsRequest)

      Gets all labels or a specific label if name is provided. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 10 and 50. To get the next page results, provide the pagination token from the GetGetLabelsResponse as part of your request. A null pagination token fetches the records from the beginning.

      Parameters:
      getLabelsRequest -
      Returns:
      A Java Future containing the result of the GetLabels operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getLabels

      default CompletableFuture<GetLabelsResponse> getLabels(Consumer<GetLabelsRequest.Builder> getLabelsRequest)

      Gets all labels or a specific label if name is provided. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 10 and 50. To get the next page results, provide the pagination token from the GetGetLabelsResponse as part of your request. A null pagination token fetches the records from the beginning.


      This is a convenience which creates an instance of the GetLabelsRequest.Builder avoiding the need to create one manually via GetLabelsRequest.builder()

      Parameters:
      getLabelsRequest - A Consumer that will call methods on GetLabelsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetLabels operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getLabelsPaginator

      default GetLabelsPublisher getLabelsPaginator(GetLabelsRequest getLabelsRequest)

      This is a variant of getLabels(software.amazon.awssdk.services.frauddetector.model.GetLabelsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetLabelsPublisher publisher = client.getLabelsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetLabelsPublisher publisher = client.getLabelsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetLabelsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetLabelsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getLabelsPaginator

      default GetLabelsPublisher getLabelsPaginator(Consumer<GetLabelsRequest.Builder> getLabelsRequest)

      This is a variant of getLabels(software.amazon.awssdk.services.frauddetector.model.GetLabelsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetLabelsPublisher publisher = client.getLabelsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetLabelsPublisher publisher = client.getLabelsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetLabelsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetLabelsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via GetLabelsRequest.builder()

      Parameters:
      getLabelsRequest - A Consumer that will call methods on GetLabelsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getListElements

      default CompletableFuture<GetListElementsResponse> getListElements(GetListElementsRequest getListElementsRequest)

      Gets all the elements in the specified list.

      Parameters:
      getListElementsRequest -
      Returns:
      A Java Future containing the result of the GetListElements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getListElements

      default CompletableFuture<GetListElementsResponse> getListElements(Consumer<GetListElementsRequest.Builder> getListElementsRequest)

      Gets all the elements in the specified list.


      This is a convenience which creates an instance of the GetListElementsRequest.Builder avoiding the need to create one manually via GetListElementsRequest.builder()

      Parameters:
      getListElementsRequest - A Consumer that will call methods on GetListElementsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetListElements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getListElementsPaginator

      default GetListElementsPublisher getListElementsPaginator(GetListElementsRequest getListElementsRequest)

      This is a variant of getListElements(software.amazon.awssdk.services.frauddetector.model.GetListElementsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetListElementsPublisher publisher = client.getListElementsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetListElementsPublisher publisher = client.getListElementsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetListElementsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetListElementsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getListElementsPaginator

      default GetListElementsPublisher getListElementsPaginator(Consumer<GetListElementsRequest.Builder> getListElementsRequest)

      This is a variant of getListElements(software.amazon.awssdk.services.frauddetector.model.GetListElementsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetListElementsPublisher publisher = client.getListElementsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetListElementsPublisher publisher = client.getListElementsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetListElementsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetListElementsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via GetListElementsRequest.builder()

      Parameters:
      getListElementsRequest - A Consumer that will call methods on GetListElementsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getListsMetadata

      default CompletableFuture<GetListsMetadataResponse> getListsMetadata(GetListsMetadataRequest getListsMetadataRequest)

      Gets the metadata of either all the lists under the account or the specified list.

      Parameters:
      getListsMetadataRequest -
      Returns:
      A Java Future containing the result of the GetListsMetadata operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getListsMetadata

      default CompletableFuture<GetListsMetadataResponse> getListsMetadata(Consumer<GetListsMetadataRequest.Builder> getListsMetadataRequest)

      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.Builder avoiding the need to create one manually via GetListsMetadataRequest.builder()

      Parameters:
      getListsMetadataRequest - A Consumer that will call methods on GetListsMetadataRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetListsMetadata operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getListsMetadataPaginator

      default GetListsMetadataPublisher getListsMetadataPaginator(GetListsMetadataRequest getListsMetadataRequest)

      This is a variant of getListsMetadata(software.amazon.awssdk.services.frauddetector.model.GetListsMetadataRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetListsMetadataPublisher publisher = client.getListsMetadataPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetListsMetadataPublisher publisher = client.getListsMetadataPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetListsMetadataResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetListsMetadataResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getListsMetadataPaginator

      default GetListsMetadataPublisher getListsMetadataPaginator(Consumer<GetListsMetadataRequest.Builder> getListsMetadataRequest)

      This is a variant of getListsMetadata(software.amazon.awssdk.services.frauddetector.model.GetListsMetadataRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetListsMetadataPublisher publisher = client.getListsMetadataPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetListsMetadataPublisher publisher = client.getListsMetadataPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetListsMetadataResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetListsMetadataResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via GetListsMetadataRequest.builder()

      Parameters:
      getListsMetadataRequest - A Consumer that will call methods on GetListsMetadataRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getModelVersion

      default CompletableFuture<GetModelVersionResponse> getModelVersion(GetModelVersionRequest getModelVersionRequest)

      Gets the details of the specified model version.

      Parameters:
      getModelVersionRequest -
      Returns:
      A Java Future containing the result of the GetModelVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getModelVersion

      default CompletableFuture<GetModelVersionResponse> getModelVersion(Consumer<GetModelVersionRequest.Builder> getModelVersionRequest)

      Gets the details of the specified model version.


      This is a convenience which creates an instance of the GetModelVersionRequest.Builder avoiding the need to create one manually via GetModelVersionRequest.builder()

      Parameters:
      getModelVersionRequest - A Consumer that will call methods on GetModelVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetModelVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getModels

      default CompletableFuture<GetModelsResponse> getModels(GetModelsRequest getModelsRequest)

      Gets one or more models. Gets all models for the Amazon Web Services account if no model type and no model id provided. Gets all models for the Amazon Web Services account and model type, if the model type is specified but model id is not provided. Gets a specific model if (model type, model id) tuple is specified.

      This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 1 and 10. To get the next page results, provide the pagination token from the response as part of your request. A null pagination token fetches the records from the beginning.

      Parameters:
      getModelsRequest -
      Returns:
      A Java Future containing the result of the GetModels operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getModels

      default CompletableFuture<GetModelsResponse> getModels(Consumer<GetModelsRequest.Builder> getModelsRequest)

      Gets one or more models. Gets all models for the Amazon Web Services account if no model type and no model id provided. Gets all models for the Amazon Web Services account and model type, if the model type is specified but model id is not provided. Gets a specific model if (model type, model id) tuple is specified.

      This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 1 and 10. To get the next page results, provide the pagination token from the response as part of your request. A null pagination token fetches the records from the beginning.


      This is a convenience which creates an instance of the GetModelsRequest.Builder avoiding the need to create one manually via GetModelsRequest.builder()

      Parameters:
      getModelsRequest - A Consumer that will call methods on GetModelsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetModels operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getModelsPaginator

      default GetModelsPublisher getModelsPaginator(GetModelsRequest getModelsRequest)

      This is a variant of getModels(software.amazon.awssdk.services.frauddetector.model.GetModelsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetModelsPublisher publisher = client.getModelsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetModelsPublisher publisher = client.getModelsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetModelsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetModelsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getModelsPaginator

      default GetModelsPublisher getModelsPaginator(Consumer<GetModelsRequest.Builder> getModelsRequest)

      This is a variant of getModels(software.amazon.awssdk.services.frauddetector.model.GetModelsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetModelsPublisher publisher = client.getModelsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetModelsPublisher publisher = client.getModelsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetModelsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetModelsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via GetModelsRequest.builder()

      Parameters:
      getModelsRequest - A Consumer that will call methods on GetModelsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getOutcomes

      default CompletableFuture<GetOutcomesResponse> getOutcomes(GetOutcomesRequest getOutcomesRequest)

      Gets one or more outcomes. This is a paginated API. If you provide a null maxResults, this actions retrieves a maximum of 100 records per page. If you provide a maxResults, the value must be between 50 and 100. To get the next page results, provide the pagination token from the GetOutcomesResult as part of your request. A null pagination token fetches the records from the beginning.

      Parameters:
      getOutcomesRequest -
      Returns:
      A Java Future containing the result of the GetOutcomes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getOutcomes

      default CompletableFuture<GetOutcomesResponse> getOutcomes(Consumer<GetOutcomesRequest.Builder> getOutcomesRequest)

      Gets one or more outcomes. This is a paginated API. If you provide a null maxResults, this actions retrieves a maximum of 100 records per page. If you provide a maxResults, the value must be between 50 and 100. To get the next page results, provide the pagination token from the GetOutcomesResult as part of your request. A null pagination token fetches the records from the beginning.


      This is a convenience which creates an instance of the GetOutcomesRequest.Builder avoiding the need to create one manually via GetOutcomesRequest.builder()

      Parameters:
      getOutcomesRequest - A Consumer that will call methods on GetOutcomesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetOutcomes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getOutcomesPaginator

      default GetOutcomesPublisher getOutcomesPaginator(GetOutcomesRequest getOutcomesRequest)

      This is a variant of getOutcomes(software.amazon.awssdk.services.frauddetector.model.GetOutcomesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetOutcomesPublisher publisher = client.getOutcomesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetOutcomesPublisher publisher = client.getOutcomesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetOutcomesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetOutcomesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getOutcomesPaginator

      default GetOutcomesPublisher getOutcomesPaginator(Consumer<GetOutcomesRequest.Builder> getOutcomesRequest)

      This is a variant of getOutcomes(software.amazon.awssdk.services.frauddetector.model.GetOutcomesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetOutcomesPublisher publisher = client.getOutcomesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetOutcomesPublisher publisher = client.getOutcomesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetOutcomesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetOutcomesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via GetOutcomesRequest.builder()

      Parameters:
      getOutcomesRequest - A Consumer that will call methods on GetOutcomesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getRules

      default CompletableFuture<GetRulesResponse> getRules(GetRulesRequest getRulesRequest)

      Get all rules for a detector (paginated) if ruleId and ruleVersion are not specified. Gets all rules for the detector and the ruleId if present (paginated). Gets a specific rule if both the ruleId and the ruleVersion are specified.

      This is a paginated API. Providing null maxResults results in retrieving maximum of 100 records per page. If you provide maxResults the value must be between 50 and 100. To get the next page result, a provide a pagination token from GetRulesResult as part of your request. Null pagination token fetches the records from the beginning.

      Parameters:
      getRulesRequest -
      Returns:
      A Java Future containing the result of the GetRules operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getRules

      Get all rules for a detector (paginated) if ruleId and ruleVersion are not specified. Gets all rules for the detector and the ruleId if present (paginated). Gets a specific rule if both the ruleId and the ruleVersion are specified.

      This is a paginated API. Providing null maxResults results in retrieving maximum of 100 records per page. If you provide maxResults the value must be between 50 and 100. To get the next page result, a provide a pagination token from GetRulesResult as part of your request. Null pagination token fetches the records from the beginning.


      This is a convenience which creates an instance of the GetRulesRequest.Builder avoiding the need to create one manually via GetRulesRequest.builder()

      Parameters:
      getRulesRequest - A Consumer that will call methods on GetRulesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetRules operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getRulesPaginator

      default GetRulesPublisher getRulesPaginator(GetRulesRequest getRulesRequest)

      This is a variant of getRules(software.amazon.awssdk.services.frauddetector.model.GetRulesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetRulesPublisher publisher = client.getRulesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetRulesPublisher publisher = client.getRulesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetRulesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetRulesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getRulesPaginator

      default GetRulesPublisher getRulesPaginator(Consumer<GetRulesRequest.Builder> getRulesRequest)

      This is a variant of getRules(software.amazon.awssdk.services.frauddetector.model.GetRulesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetRulesPublisher publisher = client.getRulesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetRulesPublisher publisher = client.getRulesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetRulesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetRulesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via GetRulesRequest.builder()

      Parameters:
      getRulesRequest - A Consumer that will call methods on GetRulesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getVariables

      default CompletableFuture<GetVariablesResponse> getVariables(GetVariablesRequest getVariablesRequest)

      Gets all of the variables or the specific variable. This is a paginated API. Providing null maxSizePerPage results in retrieving maximum of 100 records per page. If you provide maxSizePerPage the value must be between 50 and 100. To get the next page result, a provide a pagination token from GetVariablesResult as part of your request. Null pagination token fetches the records from the beginning.

      Parameters:
      getVariablesRequest -
      Returns:
      A Java Future containing the result of the GetVariables operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getVariables

      default CompletableFuture<GetVariablesResponse> getVariables(Consumer<GetVariablesRequest.Builder> getVariablesRequest)

      Gets all of the variables or the specific variable. This is a paginated API. Providing null maxSizePerPage results in retrieving maximum of 100 records per page. If you provide maxSizePerPage the value must be between 50 and 100. To get the next page result, a provide a pagination token from GetVariablesResult as part of your request. Null pagination token fetches the records from the beginning.


      This is a convenience which creates an instance of the GetVariablesRequest.Builder avoiding the need to create one manually via GetVariablesRequest.builder()

      Parameters:
      getVariablesRequest - A Consumer that will call methods on GetVariablesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetVariables operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getVariablesPaginator

      default GetVariablesPublisher getVariablesPaginator(GetVariablesRequest getVariablesRequest)

      This is a variant of getVariables(software.amazon.awssdk.services.frauddetector.model.GetVariablesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetVariablesPublisher publisher = client.getVariablesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetVariablesPublisher publisher = client.getVariablesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetVariablesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetVariablesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • getVariablesPaginator

      default GetVariablesPublisher getVariablesPaginator(Consumer<GetVariablesRequest.Builder> getVariablesRequest)

      This is a variant of getVariables(software.amazon.awssdk.services.frauddetector.model.GetVariablesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.GetVariablesPublisher publisher = client.getVariablesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.GetVariablesPublisher publisher = client.getVariablesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.GetVariablesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.GetVariablesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via GetVariablesRequest.builder()

      Parameters:
      getVariablesRequest - A Consumer that will call methods on GetVariablesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • listEventPredictions

      default CompletableFuture<ListEventPredictionsResponse> listEventPredictions(ListEventPredictionsRequest listEventPredictionsRequest)

      Gets a list of past predictions. The list can be filtered by detector ID, detector version ID, event ID, event type, or by specifying a time period. If filter is not specified, the most recent prediction is returned.

      For example, the following filter lists all past predictions for xyz event type - { "eventType":{ "value": "xyz" }” }

      This is a paginated API. If you provide a null maxResults, this action will retrieve a maximum of 10 records per page. If you provide a maxResults, the value must be between 50 and 100. To get the next page results, provide the nextToken from the response as part of your request. A null nextToken fetches the records from the beginning.

      Parameters:
      listEventPredictionsRequest -
      Returns:
      A Java Future containing the result of the ListEventPredictions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ThrottlingException An exception indicating a throttling error.
      • InternalServerException An exception indicating an internal server error.
      • 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.
      See Also:
    • listEventPredictions

      default CompletableFuture<ListEventPredictionsResponse> listEventPredictions(Consumer<ListEventPredictionsRequest.Builder> listEventPredictionsRequest)

      Gets a list of past predictions. The list can be filtered by detector ID, detector version ID, event ID, event type, or by specifying a time period. If filter is not specified, the most recent prediction is returned.

      For example, the following filter lists all past predictions for xyz event type - { "eventType":{ "value": "xyz" }” }

      This is a paginated API. If you provide a null maxResults, this action will retrieve a maximum of 10 records per page. If you provide a maxResults, the value must be between 50 and 100. To get the next page results, provide the nextToken from the response as part of your request. A null nextToken fetches the records from the beginning.


      This is a convenience which creates an instance of the ListEventPredictionsRequest.Builder avoiding the need to create one manually via ListEventPredictionsRequest.builder()

      Parameters:
      listEventPredictionsRequest - A Consumer that will call methods on ListEventPredictionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListEventPredictions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ThrottlingException An exception indicating a throttling error.
      • InternalServerException An exception indicating an internal server error.
      • 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.
      See Also:
    • listEventPredictionsPaginator

      default ListEventPredictionsPublisher listEventPredictionsPaginator(ListEventPredictionsRequest listEventPredictionsRequest)

      This is a variant of listEventPredictions(software.amazon.awssdk.services.frauddetector.model.ListEventPredictionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.ListEventPredictionsPublisher publisher = client.listEventPredictionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.ListEventPredictionsPublisher publisher = client.listEventPredictionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.ListEventPredictionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.ListEventPredictionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ThrottlingException An exception indicating a throttling error.
      • InternalServerException An exception indicating an internal server error.
      • 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.
      See Also:
    • listEventPredictionsPaginator

      default ListEventPredictionsPublisher listEventPredictionsPaginator(Consumer<ListEventPredictionsRequest.Builder> listEventPredictionsRequest)

      This is a variant of listEventPredictions(software.amazon.awssdk.services.frauddetector.model.ListEventPredictionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.ListEventPredictionsPublisher publisher = client.listEventPredictionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.ListEventPredictionsPublisher publisher = client.listEventPredictionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.ListEventPredictionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.ListEventPredictionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListEventPredictionsRequest.builder()

      Parameters:
      listEventPredictionsRequest - A Consumer that will call methods on ListEventPredictionsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ThrottlingException An exception indicating a throttling error.
      • InternalServerException An exception indicating an internal server error.
      • 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.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      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:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      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.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • listTagsForResourcePaginator

      default ListTagsForResourcePublisher listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest)

      This is a variant of listTagsForResource(software.amazon.awssdk.services.frauddetector.model.ListTagsForResourceRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.ListTagsForResourceResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.ListTagsForResourceResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • listTagsForResourcePaginator

      default ListTagsForResourcePublisher listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      This is a variant of listTagsForResource(software.amazon.awssdk.services.frauddetector.model.ListTagsForResourceRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.frauddetector.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.frauddetector.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.frauddetector.model.ListTagsForResourceResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.frauddetector.model.ListTagsForResourceResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • putDetector

      default CompletableFuture<PutDetectorResponse> putDetector(PutDetectorRequest putDetectorRequest)

      Creates or updates a detector.

      Parameters:
      putDetectorRequest -
      Returns:
      A Java Future containing the result of the PutDetector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • putDetector

      default CompletableFuture<PutDetectorResponse> putDetector(Consumer<PutDetectorRequest.Builder> putDetectorRequest)

      Creates or updates a detector.


      This is a convenience which creates an instance of the PutDetectorRequest.Builder avoiding the need to create one manually via PutDetectorRequest.builder()

      Parameters:
      putDetectorRequest - A Consumer that will call methods on PutDetectorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutDetector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • putEntityType

      default CompletableFuture<PutEntityTypeResponse> putEntityType(PutEntityTypeRequest putEntityTypeRequest)

      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:
      A Java Future containing the result of the PutEntityType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • putEntityType

      default CompletableFuture<PutEntityTypeResponse> putEntityType(Consumer<PutEntityTypeRequest.Builder> putEntityTypeRequest)

      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.Builder avoiding the need to create one manually via PutEntityTypeRequest.builder()

      Parameters:
      putEntityTypeRequest - A Consumer that will call methods on PutEntityTypeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutEntityType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • putEventType

      default CompletableFuture<PutEventTypeResponse> putEventType(PutEventTypeRequest putEventTypeRequest)

      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:
      A Java Future containing the result of the PutEventType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • putEventType

      default CompletableFuture<PutEventTypeResponse> putEventType(Consumer<PutEventTypeRequest.Builder> putEventTypeRequest)

      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.Builder avoiding the need to create one manually via PutEventTypeRequest.builder()

      Parameters:
      putEventTypeRequest - A Consumer that will call methods on PutEventTypeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutEventType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • putExternalModel

      default CompletableFuture<PutExternalModelResponse> putExternalModel(PutExternalModelRequest putExternalModelRequest)

      Creates or updates an Amazon SageMaker model endpoint. You can also use this action to update the configuration of the model endpoint, including the IAM role and/or the mapped variables.

      Parameters:
      putExternalModelRequest -
      Returns:
      A Java Future containing the result of the PutExternalModel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • putExternalModel

      default CompletableFuture<PutExternalModelResponse> putExternalModel(Consumer<PutExternalModelRequest.Builder> putExternalModelRequest)

      Creates or updates an Amazon SageMaker model endpoint. You can also use this action to update the configuration of the model endpoint, including the IAM role and/or the mapped variables.


      This is a convenience which creates an instance of the PutExternalModelRequest.Builder avoiding the need to create one manually via PutExternalModelRequest.builder()

      Parameters:
      putExternalModelRequest - A Consumer that will call methods on PutExternalModelRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutExternalModel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • putKMSEncryptionKey

      default CompletableFuture<PutKmsEncryptionKeyResponse> putKMSEncryptionKey(PutKmsEncryptionKeyRequest putKmsEncryptionKeyRequest)

      Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector.

      Parameters:
      putKmsEncryptionKeyRequest -
      Returns:
      A Java Future containing the result of the PutKMSEncryptionKey operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • putKMSEncryptionKey

      default CompletableFuture<PutKmsEncryptionKeyResponse> putKMSEncryptionKey(Consumer<PutKmsEncryptionKeyRequest.Builder> putKmsEncryptionKeyRequest)

      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.Builder avoiding the need to create one manually via PutKmsEncryptionKeyRequest.builder()

      Parameters:
      putKmsEncryptionKeyRequest - A Consumer that will call methods on PutKmsEncryptionKeyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutKMSEncryptionKey operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • putLabel

      default CompletableFuture<PutLabelResponse> putLabel(PutLabelRequest putLabelRequest)

      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:
      A Java Future containing the result of the PutLabel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • putLabel

      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.Builder avoiding the need to create one manually via PutLabelRequest.builder()

      Parameters:
      putLabelRequest - A Consumer that will call methods on PutLabelRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutLabel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • putOutcome

      default CompletableFuture<PutOutcomeResponse> putOutcome(PutOutcomeRequest putOutcomeRequest)

      Creates or updates an outcome.

      Parameters:
      putOutcomeRequest -
      Returns:
      A Java Future containing the result of the PutOutcome operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • putOutcome

      default CompletableFuture<PutOutcomeResponse> putOutcome(Consumer<PutOutcomeRequest.Builder> putOutcomeRequest)

      Creates or updates an outcome.


      This is a convenience which creates an instance of the PutOutcomeRequest.Builder avoiding the need to create one manually via PutOutcomeRequest.builder()

      Parameters:
      putOutcomeRequest - A Consumer that will call methods on PutOutcomeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutOutcome operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • sendEvent

      default CompletableFuture<SendEventResponse> sendEvent(SendEventRequest sendEventRequest)

      Stores events in Amazon Fraud Detector without generating fraud predictions for those events. For example, you can use SendEvent to upload a historical dataset, which you can then later use to train a model.

      Parameters:
      sendEventRequest -
      Returns:
      A Java Future containing the result of the SendEvent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • sendEvent

      default CompletableFuture<SendEventResponse> sendEvent(Consumer<SendEventRequest.Builder> sendEventRequest)

      Stores events in Amazon Fraud Detector without generating fraud predictions for those events. For example, you can use SendEvent to upload a historical dataset, which you can then later use to train a model.


      This is a convenience which creates an instance of the SendEventRequest.Builder avoiding the need to create one manually via SendEventRequest.builder()

      Parameters:
      sendEventRequest - A Consumer that will call methods on SendEventRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the SendEvent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      Assigns tags to a resource.

      Parameters:
      tagResourceRequest -
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      Assigns tags to a resource.


      This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      Removes tags from a resource.

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      Removes tags from a resource.


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • 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.
      See Also:
    • updateDetectorVersion

      default CompletableFuture<UpdateDetectorVersionResponse> updateDetectorVersion(UpdateDetectorVersionRequest updateDetectorVersionRequest)

      Updates a detector version. The detector version attributes that you can update include models, external model endpoints, rules, rule execution mode, and description. You can only update a DRAFT detector version.

      Parameters:
      updateDetectorVersionRequest -
      Returns:
      A Java Future containing the result of the UpdateDetectorVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateDetectorVersion

      default CompletableFuture<UpdateDetectorVersionResponse> updateDetectorVersion(Consumer<UpdateDetectorVersionRequest.Builder> updateDetectorVersionRequest)

      Updates a detector version. The detector version attributes that you can update include models, external model endpoints, rules, rule execution mode, and description. You can only update a DRAFT detector version.


      This is a convenience which creates an instance of the UpdateDetectorVersionRequest.Builder avoiding the need to create one manually via UpdateDetectorVersionRequest.builder()

      Parameters:
      updateDetectorVersionRequest - A Consumer that will call methods on UpdateDetectorVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateDetectorVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateDetectorVersionMetadata

      default CompletableFuture<UpdateDetectorVersionMetadataResponse> updateDetectorVersionMetadata(UpdateDetectorVersionMetadataRequest updateDetectorVersionMetadataRequest)

      Updates the detector version's description. You can update the metadata for any detector version ( DRAFT, ACTIVE, or INACTIVE).

      Parameters:
      updateDetectorVersionMetadataRequest -
      Returns:
      A Java Future containing the result of the UpdateDetectorVersionMetadata operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateDetectorVersionMetadata

      default CompletableFuture<UpdateDetectorVersionMetadataResponse> updateDetectorVersionMetadata(Consumer<UpdateDetectorVersionMetadataRequest.Builder> updateDetectorVersionMetadataRequest)

      Updates the detector version's description. You can update the metadata for any detector version ( DRAFT, ACTIVE, or INACTIVE).


      This is a convenience which creates an instance of the UpdateDetectorVersionMetadataRequest.Builder avoiding the need to create one manually via UpdateDetectorVersionMetadataRequest.builder()

      Parameters:
      updateDetectorVersionMetadataRequest - A Consumer that will call methods on UpdateDetectorVersionMetadataRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateDetectorVersionMetadata operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateDetectorVersionStatus

      default CompletableFuture<UpdateDetectorVersionStatusResponse> updateDetectorVersionStatus(UpdateDetectorVersionStatusRequest updateDetectorVersionStatusRequest)

      Updates the detector version’s status. You can perform the following promotions or demotions using UpdateDetectorVersionStatus: DRAFT to ACTIVE, ACTIVE to INACTIVE, and INACTIVE to ACTIVE.

      Parameters:
      updateDetectorVersionStatusRequest -
      Returns:
      A Java Future containing the result of the UpdateDetectorVersionStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateDetectorVersionStatus

      default CompletableFuture<UpdateDetectorVersionStatusResponse> updateDetectorVersionStatus(Consumer<UpdateDetectorVersionStatusRequest.Builder> updateDetectorVersionStatusRequest)

      Updates the detector version’s status. You can perform the following promotions or demotions using UpdateDetectorVersionStatus: DRAFT to ACTIVE, ACTIVE to INACTIVE, and INACTIVE to ACTIVE.


      This is a convenience which creates an instance of the UpdateDetectorVersionStatusRequest.Builder avoiding the need to create one manually via UpdateDetectorVersionStatusRequest.builder()

      Parameters:
      updateDetectorVersionStatusRequest - A Consumer that will call methods on UpdateDetectorVersionStatusRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateDetectorVersionStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateEventLabel

      default CompletableFuture<UpdateEventLabelResponse> updateEventLabel(UpdateEventLabelRequest updateEventLabelRequest)

      Updates the specified event with a new label.

      Parameters:
      updateEventLabelRequest -
      Returns:
      A Java Future containing the result of the UpdateEventLabel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateEventLabel

      default CompletableFuture<UpdateEventLabelResponse> updateEventLabel(Consumer<UpdateEventLabelRequest.Builder> updateEventLabelRequest)

      Updates the specified event with a new label.


      This is a convenience which creates an instance of the UpdateEventLabelRequest.Builder avoiding the need to create one manually via UpdateEventLabelRequest.builder()

      Parameters:
      updateEventLabelRequest - A Consumer that will call methods on UpdateEventLabelRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateEventLabel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateList

      default CompletableFuture<UpdateListResponse> updateList(UpdateListRequest updateListRequest)

      Updates a list.

      Parameters:
      updateListRequest -
      Returns:
      A Java Future containing the result of the UpdateList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateList

      default CompletableFuture<UpdateListResponse> updateList(Consumer<UpdateListRequest.Builder> updateListRequest)

      Updates a list.


      This is a convenience which creates an instance of the UpdateListRequest.Builder avoiding the need to create one manually via UpdateListRequest.builder()

      Parameters:
      updateListRequest - A Consumer that will call methods on UpdateListRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateModel

      default CompletableFuture<UpdateModelResponse> updateModel(UpdateModelRequest updateModelRequest)

      Updates model description.

      Parameters:
      updateModelRequest -
      Returns:
      A Java Future containing the result of the UpdateModel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateModel

      default CompletableFuture<UpdateModelResponse> updateModel(Consumer<UpdateModelRequest.Builder> updateModelRequest)

      Updates model description.


      This is a convenience which creates an instance of the UpdateModelRequest.Builder avoiding the need to create one manually via UpdateModelRequest.builder()

      Parameters:
      updateModelRequest - A Consumer that will call methods on UpdateModelRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateModel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateModelVersion

      default CompletableFuture<UpdateModelVersionResponse> updateModelVersion(UpdateModelVersionRequest updateModelVersionRequest)

      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:
      A Java Future containing the result of the UpdateModelVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ThrottlingException An exception indicating a throttling error.
      • InternalServerException An exception indicating an internal server error.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateModelVersion

      default CompletableFuture<UpdateModelVersionResponse> updateModelVersion(Consumer<UpdateModelVersionRequest.Builder> updateModelVersionRequest)

      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.Builder avoiding the need to create one manually via UpdateModelVersionRequest.builder()

      Parameters:
      updateModelVersionRequest - A Consumer that will call methods on UpdateModelVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateModelVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ThrottlingException An exception indicating a throttling error.
      • InternalServerException An exception indicating an internal server error.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateModelVersionStatus

      default CompletableFuture<UpdateModelVersionStatusResponse> updateModelVersionStatus(UpdateModelVersionStatusRequest updateModelVersionStatusRequest)

      Updates the status of a model version.

      You can perform the following status updates:

      1. Change the TRAINING_IN_PROGRESS status to TRAINING_CANCELLED.

      2. Change the TRAINING_COMPLETE status to ACTIVE.

      3. Change ACTIVE to INACTIVE.

      Parameters:
      updateModelVersionStatusRequest -
      Returns:
      A Java Future containing the result of the UpdateModelVersionStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateModelVersionStatus

      default CompletableFuture<UpdateModelVersionStatusResponse> updateModelVersionStatus(Consumer<UpdateModelVersionStatusRequest.Builder> updateModelVersionStatusRequest)

      Updates the status of a model version.

      You can perform the following status updates:

      1. Change the TRAINING_IN_PROGRESS status to TRAINING_CANCELLED.

      2. Change the TRAINING_COMPLETE status to ACTIVE.

      3. Change ACTIVE to INACTIVE.


      This is a convenience which creates an instance of the UpdateModelVersionStatusRequest.Builder avoiding the need to create one manually via UpdateModelVersionStatusRequest.builder()

      Parameters:
      updateModelVersionStatusRequest - A Consumer that will call methods on UpdateModelVersionStatusRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateModelVersionStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateRuleMetadata

      default CompletableFuture<UpdateRuleMetadataResponse> updateRuleMetadata(UpdateRuleMetadataRequest updateRuleMetadataRequest)

      Updates a rule's metadata. The description attribute can be updated.

      Parameters:
      updateRuleMetadataRequest -
      Returns:
      A Java Future containing the result of the UpdateRuleMetadata operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateRuleMetadata

      default CompletableFuture<UpdateRuleMetadataResponse> updateRuleMetadata(Consumer<UpdateRuleMetadataRequest.Builder> updateRuleMetadataRequest)

      Updates a rule's metadata. The description attribute can be updated.


      This is a convenience which creates an instance of the UpdateRuleMetadataRequest.Builder avoiding the need to create one manually via UpdateRuleMetadataRequest.builder()

      Parameters:
      updateRuleMetadataRequest - A Consumer that will call methods on UpdateRuleMetadataRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateRuleMetadata operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateRuleVersion

      default CompletableFuture<UpdateRuleVersionResponse> updateRuleVersion(UpdateRuleVersionRequest updateRuleVersionRequest)

      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:
      A Java Future containing the result of the UpdateRuleVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateRuleVersion

      default CompletableFuture<UpdateRuleVersionResponse> updateRuleVersion(Consumer<UpdateRuleVersionRequest.Builder> updateRuleVersionRequest)

      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.Builder avoiding the need to create one manually via UpdateRuleVersionRequest.builder()

      Parameters:
      updateRuleVersionRequest - A Consumer that will call methods on UpdateRuleVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateRuleVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateVariable

      default CompletableFuture<UpdateVariableResponse> updateVariable(UpdateVariableRequest updateVariableRequest)

      Updates a variable.

      Parameters:
      updateVariableRequest -
      Returns:
      A Java Future containing the result of the UpdateVariable operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • updateVariable

      default CompletableFuture<UpdateVariableResponse> updateVariable(Consumer<UpdateVariableRequest.Builder> updateVariableRequest)

      Updates a variable.


      This is a convenience which creates an instance of the UpdateVariableRequest.Builder avoiding the need to create one manually via UpdateVariableRequest.builder()

      Parameters:
      updateVariableRequest - A Consumer that will call methods on UpdateVariableRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateVariable operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException An exception indicating a specified value is not allowed.
      • ResourceNotFoundException An exception indicating the specified resource was not found.
      • InternalServerException An exception indicating an internal server error.
      • ThrottlingException An exception indicating a throttling error.
      • AccessDeniedException An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as PutExternalModel, that specifies a role that is not in your account.
      • ConflictException An exception indicating there was a conflict during a delete operation.
      • 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.
      See Also:
    • serviceClientConfiguration

      default FraudDetectorServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static FraudDetectorAsyncClient create()
      Create a FraudDetectorAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a FraudDetectorAsyncClient.