You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Module: Aws::FraudDetector

Defined in:
(unknown)

Overview

This module provides a client for making API requests to Amazon Fraud Detector.

Aws::FraudDetector::Client

The Client class provides one-to-one mapping for each API operation.

frauddetector = Aws::FraudDetector::Client.new(region: 'us-east-1')
frauddetector.operation_names
#=> [:batch_create_variable, :batch_get_variable, :create_detector_version, :create_model_version, ...]

Each API operation method accepts a hash of request parameters and returns a response object.

resp = frauddetector.batch_create_variable(params)

See Client for more information.

Aws::FraudDetector::Errors

Errors returned from Amazon Fraud Detector are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::FraudDetector::Errors::ServiceError
  # rescues all errors returned by Amazon Fraud Detector
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client