Class: Aws::FraudDetector::Types::CreateRuleRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-frauddetector/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:expression]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The rule description.

Returns:

  • (String)


930
931
932
933
934
935
936
937
938
939
940
# File 'lib/aws-sdk-frauddetector/types.rb', line 930

class CreateRuleRequest < Struct.new(
  :rule_id,
  :detector_id,
  :description,
  :expression,
  :language,
  :outcomes,
  :tags)
  SENSITIVE = [:expression]
  include Aws::Structure
end

#detector_idString

The detector ID for the rule’s parent detector.

Returns:

  • (String)


930
931
932
933
934
935
936
937
938
939
940
# File 'lib/aws-sdk-frauddetector/types.rb', line 930

class CreateRuleRequest < Struct.new(
  :rule_id,
  :detector_id,
  :description,
  :expression,
  :language,
  :outcomes,
  :tags)
  SENSITIVE = [:expression]
  include Aws::Structure
end

#expressionString

The rule expression.

Returns:

  • (String)


930
931
932
933
934
935
936
937
938
939
940
# File 'lib/aws-sdk-frauddetector/types.rb', line 930

class CreateRuleRequest < Struct.new(
  :rule_id,
  :detector_id,
  :description,
  :expression,
  :language,
  :outcomes,
  :tags)
  SENSITIVE = [:expression]
  include Aws::Structure
end

#languageString

The language of the rule.

Returns:

  • (String)


930
931
932
933
934
935
936
937
938
939
940
# File 'lib/aws-sdk-frauddetector/types.rb', line 930

class CreateRuleRequest < Struct.new(
  :rule_id,
  :detector_id,
  :description,
  :expression,
  :language,
  :outcomes,
  :tags)
  SENSITIVE = [:expression]
  include Aws::Structure
end

#outcomesArray<String>

The outcome or outcomes returned when the rule expression matches.

Returns:

  • (Array<String>)


930
931
932
933
934
935
936
937
938
939
940
# File 'lib/aws-sdk-frauddetector/types.rb', line 930

class CreateRuleRequest < Struct.new(
  :rule_id,
  :detector_id,
  :description,
  :expression,
  :language,
  :outcomes,
  :tags)
  SENSITIVE = [:expression]
  include Aws::Structure
end

#rule_idString

The rule ID.

Returns:

  • (String)


930
931
932
933
934
935
936
937
938
939
940
# File 'lib/aws-sdk-frauddetector/types.rb', line 930

class CreateRuleRequest < Struct.new(
  :rule_id,
  :detector_id,
  :description,
  :expression,
  :language,
  :outcomes,
  :tags)
  SENSITIVE = [:expression]
  include Aws::Structure
end

#tagsArray<Types::Tag>

A collection of key and value pairs.

Returns:



930
931
932
933
934
935
936
937
938
939
940
# File 'lib/aws-sdk-frauddetector/types.rb', line 930

class CreateRuleRequest < Struct.new(
  :rule_id,
  :detector_id,
  :description,
  :expression,
  :language,
  :outcomes,
  :tags)
  SENSITIVE = [:expression]
  include Aws::Structure
end