aws-sdk-frauddetector 1.23.0 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-frauddetector/client.rb +7 -1
- data/lib/aws-sdk-frauddetector/client_api.rb +18 -0
- data/lib/aws-sdk-frauddetector/types.rb +44 -1
- data/lib/aws-sdk-frauddetector.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25960093c8740f3749d198f00105325f5d20e8207303cda03477938395fe814c
|
4
|
+
data.tar.gz: 48dd698e69af2a91b9aac10e8fbe89faaa841f140b4bcf94d46d1ae1a37e0ca9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2d044ae04d1f7b1737543d5901437f452b91a6c54b9eb8ac48c3efa4576b10275fbdf248364cf2bd0ebbe792cc31d25da5653c1badba5a874a2eced17a0e5d8
|
7
|
+
data.tar.gz: cfc2ae05fc189bad74568b85d537795338d9f7a57c24a35c443f6ef9f0f34bfa2168d24cb7b3167374e77fd852782ded92ce21791de5608afd98c6789bd37079
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.24.0
|
@@ -1631,6 +1631,7 @@ module Aws::FraudDetector
|
|
1631
1631
|
#
|
1632
1632
|
# * {Types::GetEventPredictionResult#model_scores #model_scores} => Array<Types::ModelScores>
|
1633
1633
|
# * {Types::GetEventPredictionResult#rule_results #rule_results} => Array<Types::RuleResult>
|
1634
|
+
# * {Types::GetEventPredictionResult#external_model_outputs #external_model_outputs} => Array<Types::ExternalModelOutputs>
|
1634
1635
|
#
|
1635
1636
|
# @example Request syntax with placeholder values
|
1636
1637
|
#
|
@@ -1670,6 +1671,11 @@ module Aws::FraudDetector
|
|
1670
1671
|
# resp.rule_results[0].rule_id #=> String
|
1671
1672
|
# resp.rule_results[0].outcomes #=> Array
|
1672
1673
|
# resp.rule_results[0].outcomes[0] #=> String
|
1674
|
+
# resp.external_model_outputs #=> Array
|
1675
|
+
# resp.external_model_outputs[0].external_model.model_endpoint #=> String
|
1676
|
+
# resp.external_model_outputs[0].external_model.model_source #=> String, one of "SAGEMAKER"
|
1677
|
+
# resp.external_model_outputs[0].outputs #=> Hash
|
1678
|
+
# resp.external_model_outputs[0].outputs["string"] #=> String
|
1673
1679
|
#
|
1674
1680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPrediction AWS API Documentation
|
1675
1681
|
#
|
@@ -2970,7 +2976,7 @@ module Aws::FraudDetector
|
|
2970
2976
|
params: params,
|
2971
2977
|
config: config)
|
2972
2978
|
context[:gem_name] = 'aws-sdk-frauddetector'
|
2973
|
-
context[:gem_version] = '1.
|
2979
|
+
context[:gem_version] = '1.24.0'
|
2974
2980
|
Seahorse::Client::Request.new(handlers, context)
|
2975
2981
|
end
|
2976
2982
|
|
@@ -89,6 +89,9 @@ module Aws::FraudDetector
|
|
89
89
|
ExternalModel = Shapes::StructureShape.new(name: 'ExternalModel')
|
90
90
|
ExternalModelEndpointDataBlobMap = Shapes::MapShape.new(name: 'ExternalModelEndpointDataBlobMap')
|
91
91
|
ExternalModelList = Shapes::ListShape.new(name: 'ExternalModelList')
|
92
|
+
ExternalModelOutputs = Shapes::StructureShape.new(name: 'ExternalModelOutputs')
|
93
|
+
ExternalModelPredictionMap = Shapes::MapShape.new(name: 'ExternalModelPredictionMap')
|
94
|
+
ExternalModelSummary = Shapes::StructureShape.new(name: 'ExternalModelSummary')
|
92
95
|
ExternalModelsMaxResults = Shapes::IntegerShape.new(name: 'ExternalModelsMaxResults')
|
93
96
|
FieldValidationMessage = Shapes::StructureShape.new(name: 'FieldValidationMessage')
|
94
97
|
FileValidationMessage = Shapes::StructureShape.new(name: 'FileValidationMessage')
|
@@ -127,6 +130,7 @@ module Aws::FraudDetector
|
|
127
130
|
Label = Shapes::StructureShape.new(name: 'Label')
|
128
131
|
LabelSchema = Shapes::StructureShape.new(name: 'LabelSchema')
|
129
132
|
Language = Shapes::StringShape.new(name: 'Language')
|
133
|
+
ListOfExternalModelOutputs = Shapes::ListShape.new(name: 'ListOfExternalModelOutputs')
|
130
134
|
ListOfLogOddsMetrics = Shapes::ListShape.new(name: 'ListOfLogOddsMetrics')
|
131
135
|
ListOfModelScores = Shapes::ListShape.new(name: 'ListOfModelScores')
|
132
136
|
ListOfModelVersions = Shapes::ListShape.new(name: 'ListOfModelVersions')
|
@@ -546,6 +550,17 @@ module Aws::FraudDetector
|
|
546
550
|
|
547
551
|
ExternalModelList.member = Shapes::ShapeRef.new(shape: ExternalModel)
|
548
552
|
|
553
|
+
ExternalModelOutputs.add_member(:external_model, Shapes::ShapeRef.new(shape: ExternalModelSummary, location_name: "externalModel"))
|
554
|
+
ExternalModelOutputs.add_member(:outputs, Shapes::ShapeRef.new(shape: ExternalModelPredictionMap, location_name: "outputs"))
|
555
|
+
ExternalModelOutputs.struct_class = Types::ExternalModelOutputs
|
556
|
+
|
557
|
+
ExternalModelPredictionMap.key = Shapes::ShapeRef.new(shape: string)
|
558
|
+
ExternalModelPredictionMap.value = Shapes::ShapeRef.new(shape: string)
|
559
|
+
|
560
|
+
ExternalModelSummary.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: string, location_name: "modelEndpoint"))
|
561
|
+
ExternalModelSummary.add_member(:model_source, Shapes::ShapeRef.new(shape: ModelSource, location_name: "modelSource"))
|
562
|
+
ExternalModelSummary.struct_class = Types::ExternalModelSummary
|
563
|
+
|
549
564
|
FieldValidationMessage.add_member(:field_name, Shapes::ShapeRef.new(shape: string, location_name: "fieldName"))
|
550
565
|
FieldValidationMessage.add_member(:identifier, Shapes::ShapeRef.new(shape: string, location_name: "identifier"))
|
551
566
|
FieldValidationMessage.add_member(:title, Shapes::ShapeRef.new(shape: string, location_name: "title"))
|
@@ -614,6 +629,7 @@ module Aws::FraudDetector
|
|
614
629
|
|
615
630
|
GetEventPredictionResult.add_member(:model_scores, Shapes::ShapeRef.new(shape: ListOfModelScores, location_name: "modelScores"))
|
616
631
|
GetEventPredictionResult.add_member(:rule_results, Shapes::ShapeRef.new(shape: ListOfRuleResults, location_name: "ruleResults"))
|
632
|
+
GetEventPredictionResult.add_member(:external_model_outputs, Shapes::ShapeRef.new(shape: ListOfExternalModelOutputs, location_name: "externalModelOutputs"))
|
617
633
|
GetEventPredictionResult.struct_class = Types::GetEventPredictionResult
|
618
634
|
|
619
635
|
GetEventTypesRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, location_name: "name"))
|
@@ -719,6 +735,8 @@ module Aws::FraudDetector
|
|
719
735
|
LabelSchema.add_member(:label_mapper, Shapes::ShapeRef.new(shape: labelMapper, required: true, location_name: "labelMapper"))
|
720
736
|
LabelSchema.struct_class = Types::LabelSchema
|
721
737
|
|
738
|
+
ListOfExternalModelOutputs.member = Shapes::ShapeRef.new(shape: ExternalModelOutputs)
|
739
|
+
|
722
740
|
ListOfLogOddsMetrics.member = Shapes::ShapeRef.new(shape: LogOddsMetric)
|
723
741
|
|
724
742
|
ListOfModelScores.member = Shapes::ShapeRef.new(shape: ModelScores)
|
@@ -1498,6 +1498,44 @@ module Aws::FraudDetector
|
|
1498
1498
|
include Aws::Structure
|
1499
1499
|
end
|
1500
1500
|
|
1501
|
+
# The fraud prediction scores from Amazon SageMaker model.
|
1502
|
+
#
|
1503
|
+
# @!attribute [rw] external_model
|
1504
|
+
# The Amazon SageMaker model.
|
1505
|
+
# @return [Types::ExternalModelSummary]
|
1506
|
+
#
|
1507
|
+
# @!attribute [rw] outputs
|
1508
|
+
# The fraud prediction scores from Amazon SageMaker model.
|
1509
|
+
# @return [Hash<String,String>]
|
1510
|
+
#
|
1511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ExternalModelOutputs AWS API Documentation
|
1512
|
+
#
|
1513
|
+
class ExternalModelOutputs < Struct.new(
|
1514
|
+
:external_model,
|
1515
|
+
:outputs)
|
1516
|
+
SENSITIVE = []
|
1517
|
+
include Aws::Structure
|
1518
|
+
end
|
1519
|
+
|
1520
|
+
# The Amazon SageMaker model.
|
1521
|
+
#
|
1522
|
+
# @!attribute [rw] model_endpoint
|
1523
|
+
# The endpoint of the Amazon SageMaker model.
|
1524
|
+
# @return [String]
|
1525
|
+
#
|
1526
|
+
# @!attribute [rw] model_source
|
1527
|
+
# The source of the model.
|
1528
|
+
# @return [String]
|
1529
|
+
#
|
1530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ExternalModelSummary AWS API Documentation
|
1531
|
+
#
|
1532
|
+
class ExternalModelSummary < Struct.new(
|
1533
|
+
:model_endpoint,
|
1534
|
+
:model_source)
|
1535
|
+
SENSITIVE = []
|
1536
|
+
include Aws::Structure
|
1537
|
+
end
|
1538
|
+
|
1501
1539
|
# The message details.
|
1502
1540
|
#
|
1503
1541
|
# @!attribute [rw] field_name
|
@@ -1913,11 +1951,16 @@ module Aws::FraudDetector
|
|
1913
1951
|
# The results from the rules.
|
1914
1952
|
# @return [Array<Types::RuleResult>]
|
1915
1953
|
#
|
1954
|
+
# @!attribute [rw] external_model_outputs
|
1955
|
+
# The model scores for Amazon SageMaker models.
|
1956
|
+
# @return [Array<Types::ExternalModelOutputs>]
|
1957
|
+
#
|
1916
1958
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPredictionResult AWS API Documentation
|
1917
1959
|
#
|
1918
1960
|
class GetEventPredictionResult < Struct.new(
|
1919
1961
|
:model_scores,
|
1920
|
-
:rule_results
|
1962
|
+
:rule_results,
|
1963
|
+
:external_model_outputs)
|
1921
1964
|
SENSITIVE = []
|
1922
1965
|
include Aws::Structure
|
1923
1966
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-frauddetector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|