aws-sdk-frauddetector 1.20.0 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-frauddetector/client.rb +17 -11
- data/lib/aws-sdk-frauddetector/client_api.rb +78 -10
- data/lib/aws-sdk-frauddetector/errors.rb +16 -0
- data/lib/aws-sdk-frauddetector/types.rb +75 -11
- data/lib/aws-sdk-frauddetector.rb +1 -1
- metadata +5 -5
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
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.24.0 (2021-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Enhanced GetEventPrediction API response to include risk scores from imported SageMaker models
|
8
|
+
|
9
|
+
1.23.0 (2021-09-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.22.0 (2021-08-23)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Updated an element of the DescribeModelVersion API response (LogitMetrics -> logOddsMetrics) for clarity. Added new exceptions to several APIs to protect against unlikely scenarios.
|
18
|
+
|
19
|
+
1.21.0 (2021-07-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.20.0 (2021-07-28)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.24.0
|
@@ -1329,10 +1329,10 @@ module Aws::FraudDetector
|
|
1329
1329
|
# resp.model_version_details[0].training_result.training_metrics.metric_data_points[0].precision #=> Float
|
1330
1330
|
# resp.model_version_details[0].training_result.training_metrics.metric_data_points[0].tpr #=> Float
|
1331
1331
|
# resp.model_version_details[0].training_result.training_metrics.metric_data_points[0].threshold #=> Float
|
1332
|
-
# resp.model_version_details[0].training_result.variable_importance_metrics.
|
1333
|
-
# resp.model_version_details[0].training_result.variable_importance_metrics.
|
1334
|
-
# resp.model_version_details[0].training_result.variable_importance_metrics.
|
1335
|
-
# resp.model_version_details[0].training_result.variable_importance_metrics.
|
1332
|
+
# resp.model_version_details[0].training_result.variable_importance_metrics.log_odds_metrics #=> Array
|
1333
|
+
# resp.model_version_details[0].training_result.variable_importance_metrics.log_odds_metrics[0].variable_name #=> String
|
1334
|
+
# resp.model_version_details[0].training_result.variable_importance_metrics.log_odds_metrics[0].variable_type #=> String
|
1335
|
+
# resp.model_version_details[0].training_result.variable_importance_metrics.log_odds_metrics[0].variable_importance #=> Float
|
1336
1336
|
# resp.model_version_details[0].last_updated_time #=> String
|
1337
1337
|
# resp.model_version_details[0].created_time #=> String
|
1338
1338
|
# resp.model_version_details[0].arn #=> String
|
@@ -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
|
#
|
@@ -1645,7 +1646,7 @@ module Aws::FraudDetector
|
|
1645
1646
|
# entity_id: "identifier", # required
|
1646
1647
|
# },
|
1647
1648
|
# ],
|
1648
|
-
# event_timestamp: "
|
1649
|
+
# event_timestamp: "utcTimestampISO8601", # required
|
1649
1650
|
# event_variables: { # required
|
1650
1651
|
# "variableName" => "variableValue",
|
1651
1652
|
# },
|
@@ -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
|
#
|
@@ -1927,11 +1933,11 @@ module Aws::FraudDetector
|
|
1927
1933
|
req.send_request(options)
|
1928
1934
|
end
|
1929
1935
|
|
1930
|
-
# Gets one or more models. Gets all models for the
|
1931
|
-
# model type and no model id provided. Gets all models for
|
1932
|
-
# account and model type, if the model type is
|
1933
|
-
# not provided. Gets a specific model if
|
1934
|
-
# specified.
|
1936
|
+
# Gets one or more models. Gets all models for the Amazon Web Services
|
1937
|
+
# account if no model type and no model id provided. Gets all models for
|
1938
|
+
# the Amazon Web Services account and model type, if the model type is
|
1939
|
+
# specified but model id is not provided. Gets a specific model if
|
1940
|
+
# (model type, model id) tuple is specified.
|
1935
1941
|
#
|
1936
1942
|
# This is a paginated API. If you provide a null `maxResults`, this
|
1937
1943
|
# action retrieves a maximum of 10 records per page. If you provide a
|
@@ -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,14 +130,15 @@ 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')
|
130
|
-
|
133
|
+
ListOfExternalModelOutputs = Shapes::ListShape.new(name: 'ListOfExternalModelOutputs')
|
134
|
+
ListOfLogOddsMetrics = Shapes::ListShape.new(name: 'ListOfLogOddsMetrics')
|
131
135
|
ListOfModelScores = Shapes::ListShape.new(name: 'ListOfModelScores')
|
132
136
|
ListOfModelVersions = Shapes::ListShape.new(name: 'ListOfModelVersions')
|
133
137
|
ListOfRuleResults = Shapes::ListShape.new(name: 'ListOfRuleResults')
|
134
138
|
ListOfStrings = Shapes::ListShape.new(name: 'ListOfStrings')
|
135
139
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
136
140
|
ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
|
137
|
-
|
141
|
+
LogOddsMetric = Shapes::StructureShape.new(name: 'LogOddsMetric')
|
138
142
|
MetricDataPoint = Shapes::StructureShape.new(name: 'MetricDataPoint')
|
139
143
|
Model = Shapes::StructureShape.new(name: 'Model')
|
140
144
|
ModelEndpointDataBlob = Shapes::StructureShape.new(name: 'ModelEndpointDataBlob')
|
@@ -170,6 +174,7 @@ module Aws::FraudDetector
|
|
170
174
|
PutOutcomeRequest = Shapes::StructureShape.new(name: 'PutOutcomeRequest')
|
171
175
|
PutOutcomeResult = Shapes::StructureShape.new(name: 'PutOutcomeResult')
|
172
176
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
177
|
+
ResourceUnavailableException = Shapes::StructureShape.new(name: 'ResourceUnavailableException')
|
173
178
|
Rule = Shapes::StructureShape.new(name: 'Rule')
|
174
179
|
RuleDetail = Shapes::StructureShape.new(name: 'RuleDetail')
|
175
180
|
RuleDetailList = Shapes::ListShape.new(name: 'RuleDetailList')
|
@@ -249,6 +254,7 @@ module Aws::FraudDetector
|
|
249
254
|
tagList = Shapes::ListShape.new(name: 'tagList')
|
250
255
|
tagValue = Shapes::StringShape.new(name: 'tagValue')
|
251
256
|
time = Shapes::StringShape.new(name: 'time')
|
257
|
+
utcTimestampISO8601 = Shapes::StringShape.new(name: 'utcTimestampISO8601')
|
252
258
|
variableName = Shapes::StringShape.new(name: 'variableName')
|
253
259
|
variableValue = Shapes::StringShape.new(name: 'variableValue')
|
254
260
|
wholeNumberVersionString = Shapes::StringShape.new(name: 'wholeNumberVersionString')
|
@@ -544,6 +550,17 @@ module Aws::FraudDetector
|
|
544
550
|
|
545
551
|
ExternalModelList.member = Shapes::ShapeRef.new(shape: ExternalModel)
|
546
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
|
+
|
547
564
|
FieldValidationMessage.add_member(:field_name, Shapes::ShapeRef.new(shape: string, location_name: "fieldName"))
|
548
565
|
FieldValidationMessage.add_member(:identifier, Shapes::ShapeRef.new(shape: string, location_name: "identifier"))
|
549
566
|
FieldValidationMessage.add_member(:title, Shapes::ShapeRef.new(shape: string, location_name: "title"))
|
@@ -605,13 +622,14 @@ module Aws::FraudDetector
|
|
605
622
|
GetEventPredictionRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventId"))
|
606
623
|
GetEventPredictionRequest.add_member(:event_type_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventTypeName"))
|
607
624
|
GetEventPredictionRequest.add_member(:entities, Shapes::ShapeRef.new(shape: listOfEntities, required: true, location_name: "entities"))
|
608
|
-
GetEventPredictionRequest.add_member(:event_timestamp, Shapes::ShapeRef.new(shape:
|
625
|
+
GetEventPredictionRequest.add_member(:event_timestamp, Shapes::ShapeRef.new(shape: utcTimestampISO8601, required: true, location_name: "eventTimestamp"))
|
609
626
|
GetEventPredictionRequest.add_member(:event_variables, Shapes::ShapeRef.new(shape: EventVariableMap, required: true, location_name: "eventVariables"))
|
610
627
|
GetEventPredictionRequest.add_member(:external_model_endpoint_data_blobs, Shapes::ShapeRef.new(shape: ExternalModelEndpointDataBlobMap, location_name: "externalModelEndpointDataBlobs"))
|
611
628
|
GetEventPredictionRequest.struct_class = Types::GetEventPredictionRequest
|
612
629
|
|
613
630
|
GetEventPredictionResult.add_member(:model_scores, Shapes::ShapeRef.new(shape: ListOfModelScores, location_name: "modelScores"))
|
614
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"))
|
615
633
|
GetEventPredictionResult.struct_class = Types::GetEventPredictionResult
|
616
634
|
|
617
635
|
GetEventTypesRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, location_name: "name"))
|
@@ -717,7 +735,9 @@ module Aws::FraudDetector
|
|
717
735
|
LabelSchema.add_member(:label_mapper, Shapes::ShapeRef.new(shape: labelMapper, required: true, location_name: "labelMapper"))
|
718
736
|
LabelSchema.struct_class = Types::LabelSchema
|
719
737
|
|
720
|
-
|
738
|
+
ListOfExternalModelOutputs.member = Shapes::ShapeRef.new(shape: ExternalModelOutputs)
|
739
|
+
|
740
|
+
ListOfLogOddsMetrics.member = Shapes::ShapeRef.new(shape: LogOddsMetric)
|
721
741
|
|
722
742
|
ListOfModelScores.member = Shapes::ShapeRef.new(shape: ModelScores)
|
723
743
|
|
@@ -736,10 +756,10 @@ module Aws::FraudDetector
|
|
736
756
|
ListTagsForResourceResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
|
737
757
|
ListTagsForResourceResult.struct_class = Types::ListTagsForResourceResult
|
738
758
|
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
759
|
+
LogOddsMetric.add_member(:variable_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "variableName"))
|
760
|
+
LogOddsMetric.add_member(:variable_type, Shapes::ShapeRef.new(shape: string, required: true, location_name: "variableType"))
|
761
|
+
LogOddsMetric.add_member(:variable_importance, Shapes::ShapeRef.new(shape: float, required: true, location_name: "variableImportance"))
|
762
|
+
LogOddsMetric.struct_class = Types::LogOddsMetric
|
743
763
|
|
744
764
|
MetricDataPoint.add_member(:fpr, Shapes::ShapeRef.new(shape: float, location_name: "fpr"))
|
745
765
|
MetricDataPoint.add_member(:precision, Shapes::ShapeRef.new(shape: float, location_name: "precision"))
|
@@ -869,6 +889,9 @@ module Aws::FraudDetector
|
|
869
889
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, required: true, location_name: "message"))
|
870
890
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
871
891
|
|
892
|
+
ResourceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
893
|
+
ResourceUnavailableException.struct_class = Types::ResourceUnavailableException
|
894
|
+
|
872
895
|
Rule.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
|
873
896
|
Rule.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "ruleId"))
|
874
897
|
Rule.add_member(:rule_version, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "ruleVersion"))
|
@@ -1028,7 +1051,7 @@ module Aws::FraudDetector
|
|
1028
1051
|
|
1029
1052
|
VariableEntryList.member = Shapes::ShapeRef.new(shape: VariableEntry)
|
1030
1053
|
|
1031
|
-
VariableImportanceMetrics.add_member(:
|
1054
|
+
VariableImportanceMetrics.add_member(:log_odds_metrics, Shapes::ShapeRef.new(shape: ListOfLogOddsMetrics, location_name: "logOddsMetrics"))
|
1032
1055
|
VariableImportanceMetrics.struct_class = Types::VariableImportanceMetrics
|
1033
1056
|
|
1034
1057
|
VariableList.member = Shapes::ShapeRef.new(shape: Variable)
|
@@ -1044,7 +1067,7 @@ module Aws::FraudDetector
|
|
1044
1067
|
labelList.member = Shapes::ShapeRef.new(shape: Label)
|
1045
1068
|
|
1046
1069
|
labelMapper.key = Shapes::ShapeRef.new(shape: string)
|
1047
|
-
labelMapper.value = Shapes::ShapeRef.new(shape:
|
1070
|
+
labelMapper.value = Shapes::ShapeRef.new(shape: NonEmptyListOfStrings)
|
1048
1071
|
|
1049
1072
|
listOfEntities.member = Shapes::ShapeRef.new(shape: Entity)
|
1050
1073
|
|
@@ -1109,6 +1132,7 @@ module Aws::FraudDetector
|
|
1109
1132
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1110
1133
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1111
1134
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1135
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1112
1136
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1113
1137
|
end)
|
1114
1138
|
|
@@ -1120,6 +1144,7 @@ module Aws::FraudDetector
|
|
1120
1144
|
o.output = Shapes::ShapeRef.new(shape: CreateBatchPredictionJobResult)
|
1121
1145
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1122
1146
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1147
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1123
1148
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1124
1149
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1125
1150
|
end)
|
@@ -1145,6 +1170,7 @@ module Aws::FraudDetector
|
|
1145
1170
|
o.output = Shapes::ShapeRef.new(shape: CreateModelResult)
|
1146
1171
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1147
1172
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1173
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1148
1174
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1149
1175
|
end)
|
1150
1176
|
|
@@ -1157,6 +1183,7 @@ module Aws::FraudDetector
|
|
1157
1183
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1158
1184
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1159
1185
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1186
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1160
1187
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1161
1188
|
end)
|
1162
1189
|
|
@@ -1193,6 +1220,7 @@ module Aws::FraudDetector
|
|
1193
1220
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1194
1221
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1195
1222
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1223
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1196
1224
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1197
1225
|
end)
|
1198
1226
|
|
@@ -1232,6 +1260,7 @@ module Aws::FraudDetector
|
|
1232
1260
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1233
1261
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1234
1262
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1263
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1235
1264
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1236
1265
|
end)
|
1237
1266
|
|
@@ -1256,6 +1285,7 @@ module Aws::FraudDetector
|
|
1256
1285
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1257
1286
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1258
1287
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1288
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1259
1289
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1260
1290
|
end)
|
1261
1291
|
|
@@ -1280,6 +1310,7 @@ module Aws::FraudDetector
|
|
1280
1310
|
o.output = Shapes::ShapeRef.new(shape: DeleteLabelResult)
|
1281
1311
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1282
1312
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1313
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1283
1314
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1284
1315
|
end)
|
1285
1316
|
|
@@ -1292,6 +1323,7 @@ module Aws::FraudDetector
|
|
1292
1323
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1293
1324
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1294
1325
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1326
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1295
1327
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1296
1328
|
end)
|
1297
1329
|
|
@@ -1304,6 +1336,7 @@ module Aws::FraudDetector
|
|
1304
1336
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1305
1337
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1306
1338
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1339
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1307
1340
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1308
1341
|
end)
|
1309
1342
|
|
@@ -1368,6 +1401,7 @@ module Aws::FraudDetector
|
|
1368
1401
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1369
1402
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1370
1403
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1404
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1371
1405
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1372
1406
|
o[:pager] = Aws::Pager.new(
|
1373
1407
|
limit_key: "max_results",
|
@@ -1386,6 +1420,7 @@ module Aws::FraudDetector
|
|
1386
1420
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1387
1421
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1388
1422
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1423
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1389
1424
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1390
1425
|
o[:pager] = Aws::Pager.new(
|
1391
1426
|
limit_key: "max_results",
|
@@ -1436,6 +1471,7 @@ module Aws::FraudDetector
|
|
1436
1471
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1437
1472
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1438
1473
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1474
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1439
1475
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1440
1476
|
o[:pager] = Aws::Pager.new(
|
1441
1477
|
limit_key: "max_results",
|
@@ -1457,6 +1493,7 @@ module Aws::FraudDetector
|
|
1457
1493
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1458
1494
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1459
1495
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1496
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
1460
1497
|
end)
|
1461
1498
|
|
1462
1499
|
api.add_operation(:get_event_types, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1468,6 +1505,7 @@ module Aws::FraudDetector
|
|
1468
1505
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1469
1506
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1470
1507
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1508
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1471
1509
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1472
1510
|
o[:pager] = Aws::Pager.new(
|
1473
1511
|
limit_key: "max_results",
|
@@ -1504,6 +1542,7 @@ module Aws::FraudDetector
|
|
1504
1542
|
o.output = Shapes::ShapeRef.new(shape: GetKMSEncryptionKeyResult)
|
1505
1543
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1506
1544
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1545
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1507
1546
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1508
1547
|
end)
|
1509
1548
|
|
@@ -1516,6 +1555,7 @@ module Aws::FraudDetector
|
|
1516
1555
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1517
1556
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1518
1557
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1558
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1519
1559
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1520
1560
|
o[:pager] = Aws::Pager.new(
|
1521
1561
|
limit_key: "max_results",
|
@@ -1534,6 +1574,7 @@ module Aws::FraudDetector
|
|
1534
1574
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1535
1575
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1536
1576
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1577
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1537
1578
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1538
1579
|
end)
|
1539
1580
|
|
@@ -1546,6 +1587,7 @@ module Aws::FraudDetector
|
|
1546
1587
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1547
1588
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1548
1589
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1590
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1549
1591
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1550
1592
|
o[:pager] = Aws::Pager.new(
|
1551
1593
|
limit_key: "max_results",
|
@@ -1620,6 +1662,7 @@ module Aws::FraudDetector
|
|
1620
1662
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResult)
|
1621
1663
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1622
1664
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1665
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1623
1666
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1624
1667
|
o[:pager] = Aws::Pager.new(
|
1625
1668
|
limit_key: "max_results",
|
@@ -1639,6 +1682,7 @@ module Aws::FraudDetector
|
|
1639
1682
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1640
1683
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1641
1684
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1685
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1642
1686
|
end)
|
1643
1687
|
|
1644
1688
|
api.add_operation(:put_entity_type, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1649,7 +1693,9 @@ module Aws::FraudDetector
|
|
1649
1693
|
o.output = Shapes::ShapeRef.new(shape: PutEntityTypeResult)
|
1650
1694
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1651
1695
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1696
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1652
1697
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1698
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1653
1699
|
end)
|
1654
1700
|
|
1655
1701
|
api.add_operation(:put_event_type, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1660,7 +1706,9 @@ module Aws::FraudDetector
|
|
1660
1706
|
o.output = Shapes::ShapeRef.new(shape: PutEventTypeResult)
|
1661
1707
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1662
1708
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1709
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1663
1710
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1711
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1664
1712
|
end)
|
1665
1713
|
|
1666
1714
|
api.add_operation(:put_external_model, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1673,6 +1721,7 @@ module Aws::FraudDetector
|
|
1673
1721
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1674
1722
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1675
1723
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1724
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1676
1725
|
end)
|
1677
1726
|
|
1678
1727
|
api.add_operation(:put_kms_encryption_key, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1684,7 +1733,9 @@ module Aws::FraudDetector
|
|
1684
1733
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1685
1734
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1686
1735
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1736
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1687
1737
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1738
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1688
1739
|
end)
|
1689
1740
|
|
1690
1741
|
api.add_operation(:put_label, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1695,7 +1746,9 @@ module Aws::FraudDetector
|
|
1695
1746
|
o.output = Shapes::ShapeRef.new(shape: PutLabelResult)
|
1696
1747
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1697
1748
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1749
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1698
1750
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1751
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1699
1752
|
end)
|
1700
1753
|
|
1701
1754
|
api.add_operation(:put_outcome, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1708,6 +1761,7 @@ module Aws::FraudDetector
|
|
1708
1761
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1709
1762
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1710
1763
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1764
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1711
1765
|
end)
|
1712
1766
|
|
1713
1767
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1718,6 +1772,7 @@ module Aws::FraudDetector
|
|
1718
1772
|
o.output = Shapes::ShapeRef.new(shape: TagResourceResult)
|
1719
1773
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1720
1774
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1775
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1721
1776
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1722
1777
|
end)
|
1723
1778
|
|
@@ -1729,6 +1784,7 @@ module Aws::FraudDetector
|
|
1729
1784
|
o.output = Shapes::ShapeRef.new(shape: UntagResourceResult)
|
1730
1785
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1731
1786
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1787
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1732
1788
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1733
1789
|
end)
|
1734
1790
|
|
@@ -1743,6 +1799,7 @@ module Aws::FraudDetector
|
|
1743
1799
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1744
1800
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1745
1801
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1802
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1746
1803
|
end)
|
1747
1804
|
|
1748
1805
|
api.add_operation(:update_detector_version_metadata, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1755,6 +1812,7 @@ module Aws::FraudDetector
|
|
1755
1812
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1756
1813
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1757
1814
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1815
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1758
1816
|
end)
|
1759
1817
|
|
1760
1818
|
api.add_operation(:update_detector_version_status, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1768,6 +1826,7 @@ module Aws::FraudDetector
|
|
1768
1826
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1769
1827
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1770
1828
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1829
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1771
1830
|
end)
|
1772
1831
|
|
1773
1832
|
api.add_operation(:update_model, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1779,7 +1838,9 @@ module Aws::FraudDetector
|
|
1779
1838
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1780
1839
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1781
1840
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1841
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1782
1842
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1843
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1783
1844
|
end)
|
1784
1845
|
|
1785
1846
|
api.add_operation(:update_model_version, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1791,7 +1852,9 @@ module Aws::FraudDetector
|
|
1791
1852
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1792
1853
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1793
1854
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1855
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1794
1856
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1857
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1795
1858
|
end)
|
1796
1859
|
|
1797
1860
|
api.add_operation(:update_model_version_status, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1803,7 +1866,9 @@ module Aws::FraudDetector
|
|
1803
1866
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1804
1867
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1805
1868
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1869
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1806
1870
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1871
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1807
1872
|
end)
|
1808
1873
|
|
1809
1874
|
api.add_operation(:update_rule_metadata, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1817,6 +1882,7 @@ module Aws::FraudDetector
|
|
1817
1882
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1818
1883
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1819
1884
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1885
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1820
1886
|
end)
|
1821
1887
|
|
1822
1888
|
api.add_operation(:update_rule_version, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1830,6 +1896,7 @@ module Aws::FraudDetector
|
|
1830
1896
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1831
1897
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1832
1898
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1899
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1833
1900
|
end)
|
1834
1901
|
|
1835
1902
|
api.add_operation(:update_variable, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1843,6 +1910,7 @@ module Aws::FraudDetector
|
|
1843
1910
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1844
1911
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1845
1912
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1913
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1846
1914
|
end)
|
1847
1915
|
end
|
1848
1916
|
|
@@ -31,6 +31,7 @@ module Aws::FraudDetector
|
|
31
31
|
# * {ConflictException}
|
32
32
|
# * {InternalServerException}
|
33
33
|
# * {ResourceNotFoundException}
|
34
|
+
# * {ResourceUnavailableException}
|
34
35
|
# * {ThrottlingException}
|
35
36
|
# * {ValidationException}
|
36
37
|
#
|
@@ -100,6 +101,21 @@ module Aws::FraudDetector
|
|
100
101
|
end
|
101
102
|
end
|
102
103
|
|
104
|
+
class ResourceUnavailableException < ServiceError
|
105
|
+
|
106
|
+
# @param [Seahorse::Client::RequestContext] context
|
107
|
+
# @param [String] message
|
108
|
+
# @param [Aws::FraudDetector::Types::ResourceUnavailableException] data
|
109
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
110
|
+
super(context, message, data)
|
111
|
+
end
|
112
|
+
|
113
|
+
# @return [String]
|
114
|
+
def message
|
115
|
+
@message || @data[:message]
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
103
119
|
class ThrottlingException < ServiceError
|
104
120
|
|
105
121
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -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
|
@@ -1812,7 +1850,7 @@ module Aws::FraudDetector
|
|
1812
1850
|
# entity_id: "identifier", # required
|
1813
1851
|
# },
|
1814
1852
|
# ],
|
1815
|
-
# event_timestamp: "
|
1853
|
+
# event_timestamp: "utcTimestampISO8601", # required
|
1816
1854
|
# event_variables: { # required
|
1817
1855
|
# "variableName" => "variableValue",
|
1818
1856
|
# },
|
@@ -1910,14 +1948,19 @@ module Aws::FraudDetector
|
|
1910
1948
|
# @return [Array<Types::ModelScores>]
|
1911
1949
|
#
|
1912
1950
|
# @!attribute [rw] rule_results
|
1913
|
-
# The results.
|
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
|
@@ -2526,7 +2569,7 @@ module Aws::FraudDetector
|
|
2526
2569
|
include Aws::Structure
|
2527
2570
|
end
|
2528
2571
|
|
2529
|
-
# The
|
2572
|
+
# The log odds metric details.
|
2530
2573
|
#
|
2531
2574
|
# @!attribute [rw] variable_name
|
2532
2575
|
# The name of the variable.
|
@@ -2537,12 +2580,17 @@ module Aws::FraudDetector
|
|
2537
2580
|
# @return [String]
|
2538
2581
|
#
|
2539
2582
|
# @!attribute [rw] variable_importance
|
2540
|
-
# The relative importance of the variable.
|
2583
|
+
# The relative importance of the variable. For more information, see
|
2584
|
+
# [Model variable importance][1].
|
2585
|
+
#
|
2586
|
+
#
|
2587
|
+
#
|
2588
|
+
# [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/model-variable-importance.html
|
2541
2589
|
# @return [Float]
|
2542
2590
|
#
|
2543
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/
|
2591
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/LogOddsMetric AWS API Documentation
|
2544
2592
|
#
|
2545
|
-
class
|
2593
|
+
class LogOddsMetric < Struct.new(
|
2546
2594
|
:variable_name,
|
2547
2595
|
:variable_type,
|
2548
2596
|
:variable_importance)
|
@@ -3232,7 +3280,9 @@ module Aws::FraudDetector
|
|
3232
3280
|
#
|
3233
3281
|
class PutOutcomeResult < Aws::EmptyStructure; end
|
3234
3282
|
|
3235
|
-
# An exception indicating the specified resource was not found.
|
3283
|
+
# An exception indicating the specified resource was not found. This can
|
3284
|
+
# occur if you submit a request, such as `CreateBatchPredictionJob`, but
|
3285
|
+
# the detector name or version does not exist.
|
3236
3286
|
#
|
3237
3287
|
# @!attribute [rw] message
|
3238
3288
|
# @return [String]
|
@@ -3245,6 +3295,20 @@ module Aws::FraudDetector
|
|
3245
3295
|
include Aws::Structure
|
3246
3296
|
end
|
3247
3297
|
|
3298
|
+
# An exception indicating that the attached customer-owned (external)
|
3299
|
+
# model threw an exception when Amazon Fraud Detector invoked the model.
|
3300
|
+
#
|
3301
|
+
# @!attribute [rw] message
|
3302
|
+
# @return [String]
|
3303
|
+
#
|
3304
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ResourceUnavailableException AWS API Documentation
|
3305
|
+
#
|
3306
|
+
class ResourceUnavailableException < Struct.new(
|
3307
|
+
:message)
|
3308
|
+
SENSITIVE = []
|
3309
|
+
include Aws::Structure
|
3310
|
+
end
|
3311
|
+
|
3248
3312
|
# A rule.
|
3249
3313
|
#
|
3250
3314
|
# @note When making an API call, you may pass Rule
|
@@ -4144,14 +4208,14 @@ module Aws::FraudDetector
|
|
4144
4208
|
|
4145
4209
|
# The variable importance metrics details.
|
4146
4210
|
#
|
4147
|
-
# @!attribute [rw]
|
4211
|
+
# @!attribute [rw] log_odds_metrics
|
4148
4212
|
# List of variable metrics.
|
4149
|
-
# @return [Array<Types::
|
4213
|
+
# @return [Array<Types::LogOddsMetric>]
|
4150
4214
|
#
|
4151
4215
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/VariableImportanceMetrics AWS API Documentation
|
4152
4216
|
#
|
4153
4217
|
class VariableImportanceMetrics < Struct.new(
|
4154
|
-
:
|
4218
|
+
:log_odds_metrics)
|
4155
4219
|
SENSITIVE = []
|
4156
4220
|
include Aws::Structure
|
4157
4221
|
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-
|
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
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.120.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.120.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
79
|
+
version: '2.3'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|