aws-sdk-frauddetector 1.21.0 → 1.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be21562232e87108257c80dad596b0c38e0585d33e773ed5acb32817a89bdc4c
4
- data.tar.gz: 61334d81241259f8bd70d40e806969f8b56726c09e645eb8b256a3c298346583
3
+ metadata.gz: 826c32308bcfaa5f0b46495a9f8880164f27662eebbd44db89497c4218651d7d
4
+ data.tar.gz: 81bdc100180586755b52b41652566bbff9b787bd6ab0dcdd35874400bc48543e
5
5
  SHA512:
6
- metadata.gz: 1e61ba5255b949bb8374e1eec06bc3bfb0b7dbfda348b77e368a2909edb465af8268af1d88d2f3ee5c14fa5c914e67810083820b6f93e1837e136254b2dd931c
7
- data.tar.gz: 2b17430f73d30b3e626e16c29789f2ea1f73d662f6eca23333b84d9dcefd415c63f79c4f724e4d80e7f63e67415b4809fe42dfc0bba9d36e78096a39a6d3c2d5
6
+ metadata.gz: 9e45ac66f9321f2cb72bdc9a59260660344381399c15d738b0c8f6f262ab6dca9834088a6f4dbb6fd9cec25b7d4fd6d7268bccbd8325677402a94fcbb7c2bc19
7
+ data.tar.gz: 6a1eff90b615311f7518b062f54f4df3917faf4d63c8650d5bae928cc78900f5d24644073f97ebe1d5a32a77509b75ad82c884e8fc70e6c007b88628ff23571c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.22.0 (2021-08-23)
5
+ ------------------
6
+
7
+ * Feature - Updated an element of the DescribeModelVersion API response (LogitMetrics -> logOddsMetrics) for clarity. Added new exceptions to several APIs to protect against unlikely scenarios.
8
+
4
9
  1.21.0 (2021-07-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.21.0
1
+ 1.22.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.logit_metrics #=> Array
1333
- # resp.model_version_details[0].training_result.variable_importance_metrics.logit_metrics[0].variable_name #=> String
1334
- # resp.model_version_details[0].training_result.variable_importance_metrics.logit_metrics[0].variable_type #=> String
1335
- # resp.model_version_details[0].training_result.variable_importance_metrics.logit_metrics[0].variable_importance #=> Float
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
@@ -1645,7 +1645,7 @@ module Aws::FraudDetector
1645
1645
  # entity_id: "identifier", # required
1646
1646
  # },
1647
1647
  # ],
1648
- # event_timestamp: "string", # required
1648
+ # event_timestamp: "utcTimestampISO8601", # required
1649
1649
  # event_variables: { # required
1650
1650
  # "variableName" => "variableValue",
1651
1651
  # },
@@ -1927,11 +1927,11 @@ module Aws::FraudDetector
1927
1927
  req.send_request(options)
1928
1928
  end
1929
1929
 
1930
- # Gets one or more models. Gets all models for the AWS account if no
1931
- # model type and no model id provided. Gets all models for the AWS
1932
- # account and model type, if the model type is specified but model id is
1933
- # not provided. Gets a specific model if (model type, model id) tuple is
1934
- # specified.
1930
+ # Gets one or more models. Gets all models for the Amazon Web Services
1931
+ # account if no model type and no model id provided. Gets all models for
1932
+ # the Amazon Web Services account and model type, if the model type is
1933
+ # specified but model id is not provided. Gets a specific model if
1934
+ # (model type, model id) tuple is specified.
1935
1935
  #
1936
1936
  # This is a paginated API. If you provide a null `maxResults`, this
1937
1937
  # action retrieves a maximum of 10 records per page. If you provide a
@@ -2970,7 +2970,7 @@ module Aws::FraudDetector
2970
2970
  params: params,
2971
2971
  config: config)
2972
2972
  context[:gem_name] = 'aws-sdk-frauddetector'
2973
- context[:gem_version] = '1.21.0'
2973
+ context[:gem_version] = '1.22.0'
2974
2974
  Seahorse::Client::Request.new(handlers, context)
2975
2975
  end
2976
2976
 
@@ -127,14 +127,14 @@ module Aws::FraudDetector
127
127
  Label = Shapes::StructureShape.new(name: 'Label')
128
128
  LabelSchema = Shapes::StructureShape.new(name: 'LabelSchema')
129
129
  Language = Shapes::StringShape.new(name: 'Language')
130
- ListOfLogitMetrics = Shapes::ListShape.new(name: 'ListOfLogitMetrics')
130
+ ListOfLogOddsMetrics = Shapes::ListShape.new(name: 'ListOfLogOddsMetrics')
131
131
  ListOfModelScores = Shapes::ListShape.new(name: 'ListOfModelScores')
132
132
  ListOfModelVersions = Shapes::ListShape.new(name: 'ListOfModelVersions')
133
133
  ListOfRuleResults = Shapes::ListShape.new(name: 'ListOfRuleResults')
134
134
  ListOfStrings = Shapes::ListShape.new(name: 'ListOfStrings')
135
135
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
136
136
  ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
137
- LogitMetric = Shapes::StructureShape.new(name: 'LogitMetric')
137
+ LogOddsMetric = Shapes::StructureShape.new(name: 'LogOddsMetric')
138
138
  MetricDataPoint = Shapes::StructureShape.new(name: 'MetricDataPoint')
139
139
  Model = Shapes::StructureShape.new(name: 'Model')
140
140
  ModelEndpointDataBlob = Shapes::StructureShape.new(name: 'ModelEndpointDataBlob')
@@ -170,6 +170,7 @@ module Aws::FraudDetector
170
170
  PutOutcomeRequest = Shapes::StructureShape.new(name: 'PutOutcomeRequest')
171
171
  PutOutcomeResult = Shapes::StructureShape.new(name: 'PutOutcomeResult')
172
172
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
173
+ ResourceUnavailableException = Shapes::StructureShape.new(name: 'ResourceUnavailableException')
173
174
  Rule = Shapes::StructureShape.new(name: 'Rule')
174
175
  RuleDetail = Shapes::StructureShape.new(name: 'RuleDetail')
175
176
  RuleDetailList = Shapes::ListShape.new(name: 'RuleDetailList')
@@ -249,6 +250,7 @@ module Aws::FraudDetector
249
250
  tagList = Shapes::ListShape.new(name: 'tagList')
250
251
  tagValue = Shapes::StringShape.new(name: 'tagValue')
251
252
  time = Shapes::StringShape.new(name: 'time')
253
+ utcTimestampISO8601 = Shapes::StringShape.new(name: 'utcTimestampISO8601')
252
254
  variableName = Shapes::StringShape.new(name: 'variableName')
253
255
  variableValue = Shapes::StringShape.new(name: 'variableValue')
254
256
  wholeNumberVersionString = Shapes::StringShape.new(name: 'wholeNumberVersionString')
@@ -605,7 +607,7 @@ module Aws::FraudDetector
605
607
  GetEventPredictionRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventId"))
606
608
  GetEventPredictionRequest.add_member(:event_type_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventTypeName"))
607
609
  GetEventPredictionRequest.add_member(:entities, Shapes::ShapeRef.new(shape: listOfEntities, required: true, location_name: "entities"))
608
- GetEventPredictionRequest.add_member(:event_timestamp, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventTimestamp"))
610
+ GetEventPredictionRequest.add_member(:event_timestamp, Shapes::ShapeRef.new(shape: utcTimestampISO8601, required: true, location_name: "eventTimestamp"))
609
611
  GetEventPredictionRequest.add_member(:event_variables, Shapes::ShapeRef.new(shape: EventVariableMap, required: true, location_name: "eventVariables"))
610
612
  GetEventPredictionRequest.add_member(:external_model_endpoint_data_blobs, Shapes::ShapeRef.new(shape: ExternalModelEndpointDataBlobMap, location_name: "externalModelEndpointDataBlobs"))
611
613
  GetEventPredictionRequest.struct_class = Types::GetEventPredictionRequest
@@ -717,7 +719,7 @@ module Aws::FraudDetector
717
719
  LabelSchema.add_member(:label_mapper, Shapes::ShapeRef.new(shape: labelMapper, required: true, location_name: "labelMapper"))
718
720
  LabelSchema.struct_class = Types::LabelSchema
719
721
 
720
- ListOfLogitMetrics.member = Shapes::ShapeRef.new(shape: LogitMetric)
722
+ ListOfLogOddsMetrics.member = Shapes::ShapeRef.new(shape: LogOddsMetric)
721
723
 
722
724
  ListOfModelScores.member = Shapes::ShapeRef.new(shape: ModelScores)
723
725
 
@@ -736,10 +738,10 @@ module Aws::FraudDetector
736
738
  ListTagsForResourceResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
737
739
  ListTagsForResourceResult.struct_class = Types::ListTagsForResourceResult
738
740
 
739
- LogitMetric.add_member(:variable_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "variableName"))
740
- LogitMetric.add_member(:variable_type, Shapes::ShapeRef.new(shape: string, required: true, location_name: "variableType"))
741
- LogitMetric.add_member(:variable_importance, Shapes::ShapeRef.new(shape: float, required: true, location_name: "variableImportance"))
742
- LogitMetric.struct_class = Types::LogitMetric
741
+ LogOddsMetric.add_member(:variable_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "variableName"))
742
+ LogOddsMetric.add_member(:variable_type, Shapes::ShapeRef.new(shape: string, required: true, location_name: "variableType"))
743
+ LogOddsMetric.add_member(:variable_importance, Shapes::ShapeRef.new(shape: float, required: true, location_name: "variableImportance"))
744
+ LogOddsMetric.struct_class = Types::LogOddsMetric
743
745
 
744
746
  MetricDataPoint.add_member(:fpr, Shapes::ShapeRef.new(shape: float, location_name: "fpr"))
745
747
  MetricDataPoint.add_member(:precision, Shapes::ShapeRef.new(shape: float, location_name: "precision"))
@@ -869,6 +871,9 @@ module Aws::FraudDetector
869
871
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, required: true, location_name: "message"))
870
872
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
871
873
 
874
+ ResourceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
875
+ ResourceUnavailableException.struct_class = Types::ResourceUnavailableException
876
+
872
877
  Rule.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
873
878
  Rule.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "ruleId"))
874
879
  Rule.add_member(:rule_version, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "ruleVersion"))
@@ -1028,7 +1033,7 @@ module Aws::FraudDetector
1028
1033
 
1029
1034
  VariableEntryList.member = Shapes::ShapeRef.new(shape: VariableEntry)
1030
1035
 
1031
- VariableImportanceMetrics.add_member(:logit_metrics, Shapes::ShapeRef.new(shape: ListOfLogitMetrics, location_name: "LogitMetrics"))
1036
+ VariableImportanceMetrics.add_member(:log_odds_metrics, Shapes::ShapeRef.new(shape: ListOfLogOddsMetrics, location_name: "logOddsMetrics"))
1032
1037
  VariableImportanceMetrics.struct_class = Types::VariableImportanceMetrics
1033
1038
 
1034
1039
  VariableList.member = Shapes::ShapeRef.new(shape: Variable)
@@ -1044,7 +1049,7 @@ module Aws::FraudDetector
1044
1049
  labelList.member = Shapes::ShapeRef.new(shape: Label)
1045
1050
 
1046
1051
  labelMapper.key = Shapes::ShapeRef.new(shape: string)
1047
- labelMapper.value = Shapes::ShapeRef.new(shape: ListOfStrings)
1052
+ labelMapper.value = Shapes::ShapeRef.new(shape: NonEmptyListOfStrings)
1048
1053
 
1049
1054
  listOfEntities.member = Shapes::ShapeRef.new(shape: Entity)
1050
1055
 
@@ -1109,6 +1114,7 @@ module Aws::FraudDetector
1109
1114
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1110
1115
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1111
1116
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1117
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1112
1118
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1113
1119
  end)
1114
1120
 
@@ -1120,6 +1126,7 @@ module Aws::FraudDetector
1120
1126
  o.output = Shapes::ShapeRef.new(shape: CreateBatchPredictionJobResult)
1121
1127
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1122
1128
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1129
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1123
1130
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1124
1131
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1125
1132
  end)
@@ -1145,6 +1152,7 @@ module Aws::FraudDetector
1145
1152
  o.output = Shapes::ShapeRef.new(shape: CreateModelResult)
1146
1153
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1147
1154
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1155
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1148
1156
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1149
1157
  end)
1150
1158
 
@@ -1157,6 +1165,7 @@ module Aws::FraudDetector
1157
1165
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1158
1166
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1159
1167
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1168
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1160
1169
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1161
1170
  end)
1162
1171
 
@@ -1193,6 +1202,7 @@ module Aws::FraudDetector
1193
1202
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1194
1203
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1195
1204
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1205
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1196
1206
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1197
1207
  end)
1198
1208
 
@@ -1232,6 +1242,7 @@ module Aws::FraudDetector
1232
1242
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1233
1243
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1234
1244
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1245
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1235
1246
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1236
1247
  end)
1237
1248
 
@@ -1256,6 +1267,7 @@ module Aws::FraudDetector
1256
1267
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1257
1268
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1258
1269
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1270
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1259
1271
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1260
1272
  end)
1261
1273
 
@@ -1280,6 +1292,7 @@ module Aws::FraudDetector
1280
1292
  o.output = Shapes::ShapeRef.new(shape: DeleteLabelResult)
1281
1293
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1282
1294
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1295
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1283
1296
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1284
1297
  end)
1285
1298
 
@@ -1292,6 +1305,7 @@ module Aws::FraudDetector
1292
1305
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1293
1306
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1294
1307
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1308
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1295
1309
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1296
1310
  end)
1297
1311
 
@@ -1304,6 +1318,7 @@ module Aws::FraudDetector
1304
1318
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1305
1319
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1306
1320
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1321
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1307
1322
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1308
1323
  end)
1309
1324
 
@@ -1368,6 +1383,7 @@ module Aws::FraudDetector
1368
1383
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1369
1384
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1370
1385
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1386
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1371
1387
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1372
1388
  o[:pager] = Aws::Pager.new(
1373
1389
  limit_key: "max_results",
@@ -1386,6 +1402,7 @@ module Aws::FraudDetector
1386
1402
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1387
1403
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1388
1404
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1405
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1389
1406
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1390
1407
  o[:pager] = Aws::Pager.new(
1391
1408
  limit_key: "max_results",
@@ -1436,6 +1453,7 @@ module Aws::FraudDetector
1436
1453
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1437
1454
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1438
1455
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1456
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1439
1457
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1440
1458
  o[:pager] = Aws::Pager.new(
1441
1459
  limit_key: "max_results",
@@ -1457,6 +1475,7 @@ module Aws::FraudDetector
1457
1475
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1458
1476
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1459
1477
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1478
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
1460
1479
  end)
1461
1480
 
1462
1481
  api.add_operation(:get_event_types, Seahorse::Model::Operation.new.tap do |o|
@@ -1468,6 +1487,7 @@ module Aws::FraudDetector
1468
1487
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1469
1488
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1470
1489
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1490
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1471
1491
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1472
1492
  o[:pager] = Aws::Pager.new(
1473
1493
  limit_key: "max_results",
@@ -1504,6 +1524,7 @@ module Aws::FraudDetector
1504
1524
  o.output = Shapes::ShapeRef.new(shape: GetKMSEncryptionKeyResult)
1505
1525
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1506
1526
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1527
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1507
1528
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1508
1529
  end)
1509
1530
 
@@ -1516,6 +1537,7 @@ module Aws::FraudDetector
1516
1537
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1517
1538
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1518
1539
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1540
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1519
1541
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1520
1542
  o[:pager] = Aws::Pager.new(
1521
1543
  limit_key: "max_results",
@@ -1534,6 +1556,7 @@ module Aws::FraudDetector
1534
1556
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1535
1557
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1536
1558
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1559
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1537
1560
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1538
1561
  end)
1539
1562
 
@@ -1546,6 +1569,7 @@ module Aws::FraudDetector
1546
1569
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1547
1570
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1548
1571
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1572
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1549
1573
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1550
1574
  o[:pager] = Aws::Pager.new(
1551
1575
  limit_key: "max_results",
@@ -1620,6 +1644,7 @@ module Aws::FraudDetector
1620
1644
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResult)
1621
1645
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1622
1646
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1647
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1623
1648
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1624
1649
  o[:pager] = Aws::Pager.new(
1625
1650
  limit_key: "max_results",
@@ -1639,6 +1664,7 @@ module Aws::FraudDetector
1639
1664
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1640
1665
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1641
1666
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1667
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1642
1668
  end)
1643
1669
 
1644
1670
  api.add_operation(:put_entity_type, Seahorse::Model::Operation.new.tap do |o|
@@ -1649,7 +1675,9 @@ module Aws::FraudDetector
1649
1675
  o.output = Shapes::ShapeRef.new(shape: PutEntityTypeResult)
1650
1676
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1651
1677
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1678
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1652
1679
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1680
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1653
1681
  end)
1654
1682
 
1655
1683
  api.add_operation(:put_event_type, Seahorse::Model::Operation.new.tap do |o|
@@ -1660,7 +1688,9 @@ module Aws::FraudDetector
1660
1688
  o.output = Shapes::ShapeRef.new(shape: PutEventTypeResult)
1661
1689
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1662
1690
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1691
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1663
1692
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1693
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1664
1694
  end)
1665
1695
 
1666
1696
  api.add_operation(:put_external_model, Seahorse::Model::Operation.new.tap do |o|
@@ -1673,6 +1703,7 @@ module Aws::FraudDetector
1673
1703
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1674
1704
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1675
1705
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1706
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1676
1707
  end)
1677
1708
 
1678
1709
  api.add_operation(:put_kms_encryption_key, Seahorse::Model::Operation.new.tap do |o|
@@ -1684,7 +1715,9 @@ module Aws::FraudDetector
1684
1715
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1685
1716
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1686
1717
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1718
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1687
1719
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1720
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1688
1721
  end)
1689
1722
 
1690
1723
  api.add_operation(:put_label, Seahorse::Model::Operation.new.tap do |o|
@@ -1695,7 +1728,9 @@ module Aws::FraudDetector
1695
1728
  o.output = Shapes::ShapeRef.new(shape: PutLabelResult)
1696
1729
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1697
1730
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1731
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1698
1732
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1733
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1699
1734
  end)
1700
1735
 
1701
1736
  api.add_operation(:put_outcome, Seahorse::Model::Operation.new.tap do |o|
@@ -1708,6 +1743,7 @@ module Aws::FraudDetector
1708
1743
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1709
1744
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1710
1745
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1746
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1711
1747
  end)
1712
1748
 
1713
1749
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -1718,6 +1754,7 @@ module Aws::FraudDetector
1718
1754
  o.output = Shapes::ShapeRef.new(shape: TagResourceResult)
1719
1755
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1720
1756
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1757
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1721
1758
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1722
1759
  end)
1723
1760
 
@@ -1729,6 +1766,7 @@ module Aws::FraudDetector
1729
1766
  o.output = Shapes::ShapeRef.new(shape: UntagResourceResult)
1730
1767
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1731
1768
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1769
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1732
1770
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1733
1771
  end)
1734
1772
 
@@ -1743,6 +1781,7 @@ module Aws::FraudDetector
1743
1781
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1744
1782
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1745
1783
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1784
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1746
1785
  end)
1747
1786
 
1748
1787
  api.add_operation(:update_detector_version_metadata, Seahorse::Model::Operation.new.tap do |o|
@@ -1755,6 +1794,7 @@ module Aws::FraudDetector
1755
1794
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1756
1795
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1757
1796
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1797
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1758
1798
  end)
1759
1799
 
1760
1800
  api.add_operation(:update_detector_version_status, Seahorse::Model::Operation.new.tap do |o|
@@ -1768,6 +1808,7 @@ module Aws::FraudDetector
1768
1808
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1769
1809
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1770
1810
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1811
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1771
1812
  end)
1772
1813
 
1773
1814
  api.add_operation(:update_model, Seahorse::Model::Operation.new.tap do |o|
@@ -1779,7 +1820,9 @@ module Aws::FraudDetector
1779
1820
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1780
1821
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1781
1822
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1823
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1782
1824
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1825
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1783
1826
  end)
1784
1827
 
1785
1828
  api.add_operation(:update_model_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1791,7 +1834,9 @@ module Aws::FraudDetector
1791
1834
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1792
1835
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1793
1836
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1837
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1794
1838
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1839
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1795
1840
  end)
1796
1841
 
1797
1842
  api.add_operation(:update_model_version_status, Seahorse::Model::Operation.new.tap do |o|
@@ -1803,7 +1848,9 @@ module Aws::FraudDetector
1803
1848
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1804
1849
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1805
1850
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1851
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1806
1852
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1853
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1807
1854
  end)
1808
1855
 
1809
1856
  api.add_operation(:update_rule_metadata, Seahorse::Model::Operation.new.tap do |o|
@@ -1817,6 +1864,7 @@ module Aws::FraudDetector
1817
1864
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1818
1865
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1819
1866
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1867
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1820
1868
  end)
1821
1869
 
1822
1870
  api.add_operation(:update_rule_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1830,6 +1878,7 @@ module Aws::FraudDetector
1830
1878
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1831
1879
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1832
1880
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1881
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1833
1882
  end)
1834
1883
 
1835
1884
  api.add_operation(:update_variable, Seahorse::Model::Operation.new.tap do |o|
@@ -1843,6 +1892,7 @@ module Aws::FraudDetector
1843
1892
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1844
1893
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1845
1894
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1895
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1846
1896
  end)
1847
1897
  end
1848
1898
 
@@ -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
@@ -1812,7 +1812,7 @@ module Aws::FraudDetector
1812
1812
  # entity_id: "identifier", # required
1813
1813
  # },
1814
1814
  # ],
1815
- # event_timestamp: "string", # required
1815
+ # event_timestamp: "utcTimestampISO8601", # required
1816
1816
  # event_variables: { # required
1817
1817
  # "variableName" => "variableValue",
1818
1818
  # },
@@ -1910,7 +1910,7 @@ module Aws::FraudDetector
1910
1910
  # @return [Array<Types::ModelScores>]
1911
1911
  #
1912
1912
  # @!attribute [rw] rule_results
1913
- # The results.
1913
+ # The results from the rules.
1914
1914
  # @return [Array<Types::RuleResult>]
1915
1915
  #
1916
1916
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPredictionResult AWS API Documentation
@@ -2526,7 +2526,7 @@ module Aws::FraudDetector
2526
2526
  include Aws::Structure
2527
2527
  end
2528
2528
 
2529
- # The logit metric details.
2529
+ # The log odds metric details.
2530
2530
  #
2531
2531
  # @!attribute [rw] variable_name
2532
2532
  # The name of the variable.
@@ -2537,12 +2537,17 @@ module Aws::FraudDetector
2537
2537
  # @return [String]
2538
2538
  #
2539
2539
  # @!attribute [rw] variable_importance
2540
- # The relative importance of the variable.
2540
+ # The relative importance of the variable. For more information, see
2541
+ # [Model variable importance][1].
2542
+ #
2543
+ #
2544
+ #
2545
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/model-variable-importance.html
2541
2546
  # @return [Float]
2542
2547
  #
2543
- # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/LogitMetric AWS API Documentation
2548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/LogOddsMetric AWS API Documentation
2544
2549
  #
2545
- class LogitMetric < Struct.new(
2550
+ class LogOddsMetric < Struct.new(
2546
2551
  :variable_name,
2547
2552
  :variable_type,
2548
2553
  :variable_importance)
@@ -3232,7 +3237,9 @@ module Aws::FraudDetector
3232
3237
  #
3233
3238
  class PutOutcomeResult < Aws::EmptyStructure; end
3234
3239
 
3235
- # An exception indicating the specified resource was not found.
3240
+ # An exception indicating the specified resource was not found. This can
3241
+ # occur if you submit a request, such as `CreateBatchPredictionJob`, but
3242
+ # the detector name or version does not exist.
3236
3243
  #
3237
3244
  # @!attribute [rw] message
3238
3245
  # @return [String]
@@ -3245,6 +3252,20 @@ module Aws::FraudDetector
3245
3252
  include Aws::Structure
3246
3253
  end
3247
3254
 
3255
+ # An exception indicating that the attached customer-owned (external)
3256
+ # model threw an exception when Amazon Fraud Detector invoked the model.
3257
+ #
3258
+ # @!attribute [rw] message
3259
+ # @return [String]
3260
+ #
3261
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ResourceUnavailableException AWS API Documentation
3262
+ #
3263
+ class ResourceUnavailableException < Struct.new(
3264
+ :message)
3265
+ SENSITIVE = []
3266
+ include Aws::Structure
3267
+ end
3268
+
3248
3269
  # A rule.
3249
3270
  #
3250
3271
  # @note When making an API call, you may pass Rule
@@ -4144,14 +4165,14 @@ module Aws::FraudDetector
4144
4165
 
4145
4166
  # The variable importance metrics details.
4146
4167
  #
4147
- # @!attribute [rw] logit_metrics
4168
+ # @!attribute [rw] log_odds_metrics
4148
4169
  # List of variable metrics.
4149
- # @return [Array<Types::LogitMetric>]
4170
+ # @return [Array<Types::LogOddsMetric>]
4150
4171
  #
4151
4172
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/VariableImportanceMetrics AWS API Documentation
4152
4173
  #
4153
4174
  class VariableImportanceMetrics < Struct.new(
4154
- :logit_metrics)
4175
+ :log_odds_metrics)
4155
4176
  SENSITIVE = []
4156
4177
  include Aws::Structure
4157
4178
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-frauddetector/customizations'
48
48
  # @!group service
49
49
  module Aws::FraudDetector
50
50
 
51
- GEM_VERSION = '1.21.0'
51
+ GEM_VERSION = '1.22.0'
52
52
 
53
53
  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.21.0
4
+ version: 1.22.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-07-30 00:00:00.000000000 Z
11
+ date: 2021-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core