aws-sdk-frauddetector 1.7.0 → 1.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20d60bb016ec4cef84878c1c235b594250898170cd22524f9a580d473efa0f35
4
- data.tar.gz: 4f6d0fe162520dcc84c0c56fe89251c51713f8cd7431056e3dde9dbf8599c14d
3
+ metadata.gz: 5ca7702807b578d4e3e9de12e743b019562cc7e91a9e860adc5c0b4cdb71f07f
4
+ data.tar.gz: d62787010ff0c2a826fcd4d878c40064aac799ffaaf8a136530e0d11d556a116
5
5
  SHA512:
6
- metadata.gz: 6378bb27bf483ef0d0e3de3e7f30b793f0c579d5a50ce094e2e401c5afb73770d0e2b8df27f54b695dae3b6f4bdd22f551c3c98eccfb6b30309b1f363111f409
7
- data.tar.gz: dd75d3c92129e984a3b8ebd0957d7c863b7aacb0163cf78107727ed5b71ee608107dfde435400757490aa17afd76be4e29d595f753cabb9d443d406a89be8f3e
6
+ metadata.gz: 0e551553fbbda5f1bea7aa5e2ecef112c6e5b2c1c8e8c8c661606d7f7d440db93f0a84adb9baa810e36b3635da88dcf24112951d74e774fd256ca5befd3c1a14
7
+ data.tar.gz: b02def2cf1fba6a6d4828948ac727649d42455651fbaa19aeaae982bdbc2367367926938d2d94cca328c864db63c0a31e45eac4ebfa44d2ec561d47b2f9ef4c8
@@ -47,6 +47,6 @@ require_relative 'aws-sdk-frauddetector/customizations'
47
47
  # @service
48
48
  module Aws::FraudDetector
49
49
 
50
- GEM_VERSION = '1.7.0'
50
+ GEM_VERSION = '1.8.0'
51
51
 
52
52
  end
@@ -694,7 +694,7 @@ module Aws::FraudDetector
694
694
  # The description.
695
695
  #
696
696
  # @option params [String] :variable_type
697
- # The variable type.
697
+ # The variable type. For more information see [Variable types][1].
698
698
  #
699
699
  # Valid Values: `AUTH_CODE | AVS | BILLING_ADDRESS_L1 |
700
700
  # BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME |
@@ -706,6 +706,10 @@ module Aws::FraudDetector
706
706
  # | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT |
707
707
  # SHIPPING_ZIP | USERAGENT`
708
708
  #
709
+ #
710
+ #
711
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
712
+ #
709
713
  # @option params [Array<Types::Tag>] :tags
710
714
  # A collection of key and value pairs.
711
715
  #
@@ -1172,7 +1176,7 @@ module Aws::FraudDetector
1172
1176
  #
1173
1177
  # resp = client.get_event_prediction({
1174
1178
  # detector_id: "string", # required
1175
- # detector_version_id: "string",
1179
+ # detector_version_id: "wholeNumberVersionString",
1176
1180
  # event_id: "string", # required
1177
1181
  # event_type_name: "string", # required
1178
1182
  # entities: [ # required
@@ -1311,8 +1315,7 @@ module Aws::FraudDetector
1311
1315
  # resp.external_models[0].model_endpoint #=> String
1312
1316
  # resp.external_models[0].event_type_name #=> String
1313
1317
  # resp.external_models[0].model_source #=> String, one of "SAGEMAKER"
1314
- # resp.external_models[0].role.arn #=> String
1315
- # resp.external_models[0].role.name #=> String
1318
+ # resp.external_models[0].invoke_model_endpoint_role_arn #=> String
1316
1319
  # resp.external_models[0].input_configuration.format #=> String, one of "TEXT_CSV", "APPLICATION_JSON"
1317
1320
  # resp.external_models[0].input_configuration.use_event_variables #=> Boolean
1318
1321
  # resp.external_models[0].input_configuration.json_input_template #=> String
@@ -1576,74 +1579,6 @@ module Aws::FraudDetector
1576
1579
  req.send_request(options)
1577
1580
  end
1578
1581
 
1579
- # Evaluates an event against a detector version. If a version ID is not
1580
- # provided, the detector’s (`ACTIVE`) version is used.
1581
- #
1582
- # @option params [required, String] :detector_id
1583
- # The detector ID.
1584
- #
1585
- # @option params [String] :detector_version_id
1586
- # The detector version ID.
1587
- #
1588
- # @option params [required, String] :event_id
1589
- # The unique ID used to identify the event.
1590
- #
1591
- # @option params [Hash<String,String>] :event_attributes
1592
- # Names of variables you defined in Amazon Fraud Detector to represent
1593
- # event data elements and their corresponding values for the event you
1594
- # are sending for evaluation.
1595
- #
1596
- # @option params [Hash<String,Types::ModelEndpointDataBlob>] :external_model_endpoint_data_blobs
1597
- # The Amazon SageMaker model endpoint input data blobs.
1598
- #
1599
- # @return [Types::GetPredictionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1600
- #
1601
- # * {Types::GetPredictionResult#outcomes #outcomes} => Array&lt;String&gt;
1602
- # * {Types::GetPredictionResult#model_scores #model_scores} => Array&lt;Types::ModelScores&gt;
1603
- # * {Types::GetPredictionResult#rule_results #rule_results} => Array&lt;Types::RuleResult&gt;
1604
- #
1605
- # @example Request syntax with placeholder values
1606
- #
1607
- # resp = client.get_prediction({
1608
- # detector_id: "string", # required
1609
- # detector_version_id: "string",
1610
- # event_id: "string", # required
1611
- # event_attributes: {
1612
- # "attributeKey" => "attributeValue",
1613
- # },
1614
- # external_model_endpoint_data_blobs: {
1615
- # "string" => {
1616
- # byte_buffer: "data",
1617
- # content_type: "contentType",
1618
- # },
1619
- # },
1620
- # })
1621
- #
1622
- # @example Response structure
1623
- #
1624
- # resp.outcomes #=> Array
1625
- # resp.outcomes[0] #=> String
1626
- # resp.model_scores #=> Array
1627
- # resp.model_scores[0].model_version.model_id #=> String
1628
- # resp.model_scores[0].model_version.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS"
1629
- # resp.model_scores[0].model_version.model_version_number #=> String
1630
- # resp.model_scores[0].model_version.arn #=> String
1631
- # resp.model_scores[0].scores #=> Hash
1632
- # resp.model_scores[0].scores["string"] #=> Float
1633
- # resp.rule_results #=> Array
1634
- # resp.rule_results[0].rule_id #=> String
1635
- # resp.rule_results[0].outcomes #=> Array
1636
- # resp.rule_results[0].outcomes[0] #=> String
1637
- #
1638
- # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetPrediction AWS API Documentation
1639
- #
1640
- # @overload get_prediction(params = {})
1641
- # @param [Hash] params ({})
1642
- def get_prediction(params = {}, options = {})
1643
- req = build_request(:get_prediction, params)
1644
- req.send_request(options)
1645
- end
1646
-
1647
1582
  # Get all rules for a detector (paginated) if `ruleId` and `ruleVersion`
1648
1583
  # are not specified. Gets all rules for the detector and the `ruleId` if
1649
1584
  # present (paginated). Gets a specific rule if both the `ruleId` and the
@@ -1957,7 +1892,7 @@ module Aws::FraudDetector
1957
1892
  # @option params [required, String] :model_source
1958
1893
  # The source of the model.
1959
1894
  #
1960
- # @option params [required, Types::Role] :role
1895
+ # @option params [required, String] :invoke_model_endpoint_role_arn
1961
1896
  # The IAM role used to invoke the model endpoint.
1962
1897
  #
1963
1898
  # @option params [required, Types::ModelInputConfiguration] :input_configuration
@@ -1980,10 +1915,7 @@ module Aws::FraudDetector
1980
1915
  # model_endpoint: "sageMakerEndpointIdentifier", # required
1981
1916
  # event_type_name: "identifier",
1982
1917
  # model_source: "SAGEMAKER", # required, accepts SAGEMAKER
1983
- # role: { # required
1984
- # arn: "string", # required
1985
- # name: "string", # required
1986
- # },
1918
+ # invoke_model_endpoint_role_arn: "string", # required
1987
1919
  # input_configuration: { # required
1988
1920
  # format: "TEXT_CSV", # accepts TEXT_CSV, APPLICATION_JSON
1989
1921
  # use_event_variables: false, # required
@@ -2428,7 +2360,7 @@ module Aws::FraudDetector
2428
2360
  # model_id: "identifier", # required
2429
2361
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
2430
2362
  # model_version_number: "floatVersionString", # required
2431
- # status: "TRAINING_IN_PROGRESS", # required, accepts TRAINING_IN_PROGRESS, TRAINING_COMPLETE, ACTIVATE_REQUESTED, ACTIVATE_IN_PROGRESS, ACTIVE, INACTIVATE_IN_PROGRESS, INACTIVE, DELETE_REQUESTED, DELETE_IN_PROGRESS, ERROR
2363
+ # status: "ACTIVE", # required, accepts ACTIVE, INACTIVE
2432
2364
  # })
2433
2365
  #
2434
2366
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModelVersionStatus AWS API Documentation
@@ -2542,7 +2474,11 @@ module Aws::FraudDetector
2542
2474
  # The new description.
2543
2475
  #
2544
2476
  # @option params [String] :variable_type
2545
- # The variable type.
2477
+ # The variable type. For more information see [Variable types][1].
2478
+ #
2479
+ #
2480
+ #
2481
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
2546
2482
  #
2547
2483
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2548
2484
  #
@@ -2577,7 +2513,7 @@ module Aws::FraudDetector
2577
2513
  params: params,
2578
2514
  config: config)
2579
2515
  context[:gem_name] = 'aws-sdk-frauddetector'
2580
- context[:gem_version] = '1.7.0'
2516
+ context[:gem_version] = '1.8.0'
2581
2517
  Seahorse::Client::Request.new(handlers, context)
2582
2518
  end
2583
2519
 
@@ -58,7 +58,6 @@ module Aws::FraudDetector
58
58
  DetectorsMaxResults = Shapes::IntegerShape.new(name: 'DetectorsMaxResults')
59
59
  Entity = Shapes::StructureShape.new(name: 'Entity')
60
60
  EntityType = Shapes::StructureShape.new(name: 'EntityType')
61
- EventAttributeMap = Shapes::MapShape.new(name: 'EventAttributeMap')
62
61
  EventType = Shapes::StructureShape.new(name: 'EventType')
63
62
  EventVariableMap = Shapes::MapShape.new(name: 'EventVariableMap')
64
63
  ExternalEventsDetail = Shapes::StructureShape.new(name: 'ExternalEventsDetail')
@@ -89,8 +88,6 @@ module Aws::FraudDetector
89
88
  GetModelsResult = Shapes::StructureShape.new(name: 'GetModelsResult')
90
89
  GetOutcomesRequest = Shapes::StructureShape.new(name: 'GetOutcomesRequest')
91
90
  GetOutcomesResult = Shapes::StructureShape.new(name: 'GetOutcomesResult')
92
- GetPredictionRequest = Shapes::StructureShape.new(name: 'GetPredictionRequest')
93
- GetPredictionResult = Shapes::StructureShape.new(name: 'GetPredictionResult')
94
91
  GetRulesRequest = Shapes::StructureShape.new(name: 'GetRulesRequest')
95
92
  GetRulesResult = Shapes::StructureShape.new(name: 'GetRulesResult')
96
93
  GetVariablesRequest = Shapes::StructureShape.new(name: 'GetVariablesRequest')
@@ -143,7 +140,6 @@ module Aws::FraudDetector
143
140
  PutOutcomeRequest = Shapes::StructureShape.new(name: 'PutOutcomeRequest')
144
141
  PutOutcomeResult = Shapes::StructureShape.new(name: 'PutOutcomeResult')
145
142
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
146
- Role = Shapes::StructureShape.new(name: 'Role')
147
143
  Rule = Shapes::StructureShape.new(name: 'Rule')
148
144
  RuleDetail = Shapes::StructureShape.new(name: 'RuleDetail')
149
145
  RuleDetailList = Shapes::ListShape.new(name: 'RuleDetailList')
@@ -187,8 +183,6 @@ module Aws::FraudDetector
187
183
  VariableEntryList = Shapes::ListShape.new(name: 'VariableEntryList')
188
184
  VariableList = Shapes::ListShape.new(name: 'VariableList')
189
185
  VariablesMaxResults = Shapes::IntegerShape.new(name: 'VariablesMaxResults')
190
- attributeKey = Shapes::StringShape.new(name: 'attributeKey')
191
- attributeValue = Shapes::StringShape.new(name: 'attributeValue')
192
186
  blob = Shapes::BlobShape.new(name: 'blob')
193
187
  contentType = Shapes::StringShape.new(name: 'contentType')
194
188
  description = Shapes::StringShape.new(name: 'description')
@@ -400,9 +394,6 @@ module Aws::FraudDetector
400
394
  EntityType.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
401
395
  EntityType.struct_class = Types::EntityType
402
396
 
403
- EventAttributeMap.key = Shapes::ShapeRef.new(shape: attributeKey)
404
- EventAttributeMap.value = Shapes::ShapeRef.new(shape: attributeValue)
405
-
406
397
  EventType.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
407
398
  EventType.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
408
399
  EventType.add_member(:event_variables, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "eventVariables"))
@@ -423,7 +414,7 @@ module Aws::FraudDetector
423
414
  ExternalModel.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: string, location_name: "modelEndpoint"))
424
415
  ExternalModel.add_member(:event_type_name, Shapes::ShapeRef.new(shape: identifier, location_name: "eventTypeName"))
425
416
  ExternalModel.add_member(:model_source, Shapes::ShapeRef.new(shape: ModelSource, location_name: "modelSource"))
426
- ExternalModel.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "role"))
417
+ ExternalModel.add_member(:invoke_model_endpoint_role_arn, Shapes::ShapeRef.new(shape: string, location_name: "invokeModelEndpointRoleArn"))
427
418
  ExternalModel.add_member(:input_configuration, Shapes::ShapeRef.new(shape: ModelInputConfiguration, location_name: "inputConfiguration"))
428
419
  ExternalModel.add_member(:output_configuration, Shapes::ShapeRef.new(shape: ModelOutputConfiguration, location_name: "outputConfiguration"))
429
420
  ExternalModel.add_member(:model_endpoint_status, Shapes::ShapeRef.new(shape: ModelEndpointStatus, location_name: "modelEndpointStatus"))
@@ -485,7 +476,7 @@ module Aws::FraudDetector
485
476
  GetEntityTypesResult.struct_class = Types::GetEntityTypesResult
486
477
 
487
478
  GetEventPredictionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "detectorId"))
488
- GetEventPredictionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: string, location_name: "detectorVersionId"))
479
+ GetEventPredictionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: wholeNumberVersionString, location_name: "detectorVersionId"))
489
480
  GetEventPredictionRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventId"))
490
481
  GetEventPredictionRequest.add_member(:event_type_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventTypeName"))
491
482
  GetEventPredictionRequest.add_member(:entities, Shapes::ShapeRef.new(shape: listOfEntities, required: true, location_name: "entities"))
@@ -562,18 +553,6 @@ module Aws::FraudDetector
562
553
  GetOutcomesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
563
554
  GetOutcomesResult.struct_class = Types::GetOutcomesResult
564
555
 
565
- GetPredictionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "detectorId"))
566
- GetPredictionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: string, location_name: "detectorVersionId"))
567
- GetPredictionRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventId"))
568
- GetPredictionRequest.add_member(:event_attributes, Shapes::ShapeRef.new(shape: EventAttributeMap, location_name: "eventAttributes"))
569
- GetPredictionRequest.add_member(:external_model_endpoint_data_blobs, Shapes::ShapeRef.new(shape: ExternalModelEndpointDataBlobMap, location_name: "externalModelEndpointDataBlobs"))
570
- GetPredictionRequest.struct_class = Types::GetPredictionRequest
571
-
572
- GetPredictionResult.add_member(:outcomes, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "outcomes"))
573
- GetPredictionResult.add_member(:model_scores, Shapes::ShapeRef.new(shape: ListOfModelScores, location_name: "modelScores"))
574
- GetPredictionResult.add_member(:rule_results, Shapes::ShapeRef.new(shape: ListOfRuleResults, location_name: "ruleResults"))
575
- GetPredictionResult.struct_class = Types::GetPredictionResult
576
-
577
556
  GetRulesRequest.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, location_name: "ruleId"))
578
557
  GetRulesRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
579
558
  GetRulesRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: wholeNumberVersionString, location_name: "ruleVersion"))
@@ -727,7 +706,7 @@ module Aws::FraudDetector
727
706
  PutExternalModelRequest.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: sageMakerEndpointIdentifier, required: true, location_name: "modelEndpoint"))
728
707
  PutExternalModelRequest.add_member(:event_type_name, Shapes::ShapeRef.new(shape: identifier, location_name: "eventTypeName"))
729
708
  PutExternalModelRequest.add_member(:model_source, Shapes::ShapeRef.new(shape: ModelSource, required: true, location_name: "modelSource"))
730
- PutExternalModelRequest.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "role"))
709
+ PutExternalModelRequest.add_member(:invoke_model_endpoint_role_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "invokeModelEndpointRoleArn"))
731
710
  PutExternalModelRequest.add_member(:input_configuration, Shapes::ShapeRef.new(shape: ModelInputConfiguration, required: true, location_name: "inputConfiguration"))
732
711
  PutExternalModelRequest.add_member(:output_configuration, Shapes::ShapeRef.new(shape: ModelOutputConfiguration, required: true, location_name: "outputConfiguration"))
733
712
  PutExternalModelRequest.add_member(:model_endpoint_status, Shapes::ShapeRef.new(shape: ModelEndpointStatus, required: true, location_name: "modelEndpointStatus"))
@@ -758,10 +737,6 @@ module Aws::FraudDetector
758
737
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, required: true, location_name: "message"))
759
738
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
760
739
 
761
- Role.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "arn"))
762
- Role.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "name"))
763
- Role.struct_class = Types::Role
764
-
765
740
  Rule.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
766
741
  Rule.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "ruleId"))
767
742
  Rule.add_member(:rule_version, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "ruleVersion"))
@@ -1309,19 +1284,6 @@ module Aws::FraudDetector
1309
1284
  )
1310
1285
  end)
1311
1286
 
1312
- api.add_operation(:get_prediction, Seahorse::Model::Operation.new.tap do |o|
1313
- o.name = "GetPrediction"
1314
- o.http_method = "POST"
1315
- o.http_request_uri = "/"
1316
- o.input = Shapes::ShapeRef.new(shape: GetPredictionRequest)
1317
- o.output = Shapes::ShapeRef.new(shape: GetPredictionResult)
1318
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1319
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1320
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1321
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1322
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1323
- end)
1324
-
1325
1287
  api.add_operation(:get_rules, Seahorse::Model::Operation.new.tap do |o|
1326
1288
  o.name = "GetRules"
1327
1289
  o.http_method = "POST"
@@ -550,7 +550,7 @@ module Aws::FraudDetector
550
550
  # @return [String]
551
551
  #
552
552
  # @!attribute [rw] variable_type
553
- # The variable type.
553
+ # The variable type. For more information see [Variable types][1].
554
554
  #
555
555
  # Valid Values: `AUTH_CODE | AVS | BILLING_ADDRESS_L1 |
556
556
  # BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME |
@@ -561,6 +561,10 @@ module Aws::FraudDetector
561
561
  # SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY |
562
562
  # SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP |
563
563
  # USERAGENT | SHIPPING_ZIP | USERAGENT`
564
+ #
565
+ #
566
+ #
567
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
564
568
  # @return [String]
565
569
  #
566
570
  # @!attribute [rw] tags
@@ -1051,9 +1055,9 @@ module Aws::FraudDetector
1051
1055
  # The source of the model.
1052
1056
  # @return [String]
1053
1057
  #
1054
- # @!attribute [rw] role
1058
+ # @!attribute [rw] invoke_model_endpoint_role_arn
1055
1059
  # The role used to invoke the model.
1056
- # @return [Types::Role]
1060
+ # @return [String]
1057
1061
  #
1058
1062
  # @!attribute [rw] input_configuration
1059
1063
  # The input configuration.
@@ -1085,7 +1089,7 @@ module Aws::FraudDetector
1085
1089
  :model_endpoint,
1086
1090
  :event_type_name,
1087
1091
  :model_source,
1088
- :role,
1092
+ :invoke_model_endpoint_role_arn,
1089
1093
  :input_configuration,
1090
1094
  :output_configuration,
1091
1095
  :model_endpoint_status,
@@ -1353,7 +1357,7 @@ module Aws::FraudDetector
1353
1357
  #
1354
1358
  # {
1355
1359
  # detector_id: "string", # required
1356
- # detector_version_id: "string",
1360
+ # detector_version_id: "wholeNumberVersionString",
1357
1361
  # event_id: "string", # required
1358
1362
  # event_type_name: "string", # required
1359
1363
  # entities: [ # required
@@ -1784,80 +1788,6 @@ module Aws::FraudDetector
1784
1788
  include Aws::Structure
1785
1789
  end
1786
1790
 
1787
- # @note When making an API call, you may pass GetPredictionRequest
1788
- # data as a hash:
1789
- #
1790
- # {
1791
- # detector_id: "string", # required
1792
- # detector_version_id: "string",
1793
- # event_id: "string", # required
1794
- # event_attributes: {
1795
- # "attributeKey" => "attributeValue",
1796
- # },
1797
- # external_model_endpoint_data_blobs: {
1798
- # "string" => {
1799
- # byte_buffer: "data",
1800
- # content_type: "contentType",
1801
- # },
1802
- # },
1803
- # }
1804
- #
1805
- # @!attribute [rw] detector_id
1806
- # The detector ID.
1807
- # @return [String]
1808
- #
1809
- # @!attribute [rw] detector_version_id
1810
- # The detector version ID.
1811
- # @return [String]
1812
- #
1813
- # @!attribute [rw] event_id
1814
- # The unique ID used to identify the event.
1815
- # @return [String]
1816
- #
1817
- # @!attribute [rw] event_attributes
1818
- # Names of variables you defined in Amazon Fraud Detector to represent
1819
- # event data elements and their corresponding values for the event you
1820
- # are sending for evaluation.
1821
- # @return [Hash<String,String>]
1822
- #
1823
- # @!attribute [rw] external_model_endpoint_data_blobs
1824
- # The Amazon SageMaker model endpoint input data blobs.
1825
- # @return [Hash<String,Types::ModelEndpointDataBlob>]
1826
- #
1827
- # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetPredictionRequest AWS API Documentation
1828
- #
1829
- class GetPredictionRequest < Struct.new(
1830
- :detector_id,
1831
- :detector_version_id,
1832
- :event_id,
1833
- :event_attributes,
1834
- :external_model_endpoint_data_blobs)
1835
- SENSITIVE = [:external_model_endpoint_data_blobs]
1836
- include Aws::Structure
1837
- end
1838
-
1839
- # @!attribute [rw] outcomes
1840
- # The prediction outcomes.
1841
- # @return [Array<String>]
1842
- #
1843
- # @!attribute [rw] model_scores
1844
- # The model scores for models used in the detector version.
1845
- # @return [Array<Types::ModelScores>]
1846
- #
1847
- # @!attribute [rw] rule_results
1848
- # The rule results in the prediction.
1849
- # @return [Array<Types::RuleResult>]
1850
- #
1851
- # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetPredictionResult AWS API Documentation
1852
- #
1853
- class GetPredictionResult < Struct.new(
1854
- :outcomes,
1855
- :model_scores,
1856
- :rule_results)
1857
- SENSITIVE = []
1858
- include Aws::Structure
1859
- end
1860
-
1861
1791
  # @note When making an API call, you may pass GetRulesRequest
1862
1792
  # data as a hash:
1863
1793
  #
@@ -2609,10 +2539,7 @@ module Aws::FraudDetector
2609
2539
  # model_endpoint: "sageMakerEndpointIdentifier", # required
2610
2540
  # event_type_name: "identifier",
2611
2541
  # model_source: "SAGEMAKER", # required, accepts SAGEMAKER
2612
- # role: { # required
2613
- # arn: "string", # required
2614
- # name: "string", # required
2615
- # },
2542
+ # invoke_model_endpoint_role_arn: "string", # required
2616
2543
  # input_configuration: { # required
2617
2544
  # format: "TEXT_CSV", # accepts TEXT_CSV, APPLICATION_JSON
2618
2545
  # use_event_variables: false, # required
@@ -2649,9 +2576,9 @@ module Aws::FraudDetector
2649
2576
  # The source of the model.
2650
2577
  # @return [String]
2651
2578
  #
2652
- # @!attribute [rw] role
2579
+ # @!attribute [rw] invoke_model_endpoint_role_arn
2653
2580
  # The IAM role used to invoke the model endpoint.
2654
- # @return [Types::Role]
2581
+ # @return [String]
2655
2582
  #
2656
2583
  # @!attribute [rw] input_configuration
2657
2584
  # The model endpoint input configuration.
@@ -2675,7 +2602,7 @@ module Aws::FraudDetector
2675
2602
  :model_endpoint,
2676
2603
  :event_type_name,
2677
2604
  :model_source,
2678
- :role,
2605
+ :invoke_model_endpoint_role_arn,
2679
2606
  :input_configuration,
2680
2607
  :output_configuration,
2681
2608
  :model_endpoint_status,
@@ -2803,33 +2730,6 @@ module Aws::FraudDetector
2803
2730
  include Aws::Structure
2804
2731
  end
2805
2732
 
2806
- # The role used to invoke external model endpoints.
2807
- #
2808
- # @note When making an API call, you may pass Role
2809
- # data as a hash:
2810
- #
2811
- # {
2812
- # arn: "string", # required
2813
- # name: "string", # required
2814
- # }
2815
- #
2816
- # @!attribute [rw] arn
2817
- # The role ARN.
2818
- # @return [String]
2819
- #
2820
- # @!attribute [rw] name
2821
- # The role name.
2822
- # @return [String]
2823
- #
2824
- # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/Role AWS API Documentation
2825
- #
2826
- class Role < Struct.new(
2827
- :arn,
2828
- :name)
2829
- SENSITIVE = []
2830
- include Aws::Structure
2831
- end
2832
-
2833
2733
  # A rule.
2834
2734
  #
2835
2735
  # @note When making an API call, you may pass Rule
@@ -3391,7 +3291,7 @@ module Aws::FraudDetector
3391
3291
  # model_id: "identifier", # required
3392
3292
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
3393
3293
  # model_version_number: "floatVersionString", # required
3394
- # status: "TRAINING_IN_PROGRESS", # required, accepts TRAINING_IN_PROGRESS, TRAINING_COMPLETE, ACTIVATE_REQUESTED, ACTIVATE_IN_PROGRESS, ACTIVE, INACTIVATE_IN_PROGRESS, INACTIVE, DELETE_REQUESTED, DELETE_IN_PROGRESS, ERROR
3294
+ # status: "ACTIVE", # required, accepts ACTIVE, INACTIVE
3395
3295
  # }
3396
3296
  #
3397
3297
  # @!attribute [rw] model_id
@@ -3551,7 +3451,11 @@ module Aws::FraudDetector
3551
3451
  # @return [String]
3552
3452
  #
3553
3453
  # @!attribute [rw] variable_type
3554
- # The variable type.
3454
+ # The variable type. For more information see [Variable types][1].
3455
+ #
3456
+ #
3457
+ #
3458
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
3555
3459
  # @return [String]
3556
3460
  #
3557
3461
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateVariableRequest AWS API Documentation
@@ -3589,7 +3493,12 @@ module Aws::FraudDetector
3589
3493
  # @return [String]
3590
3494
  #
3591
3495
  # @!attribute [rw] data_type
3592
- # The data type of the variable.
3496
+ # The data type of the variable. For more information see [Variable
3497
+ # types][1].
3498
+ #
3499
+ #
3500
+ #
3501
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
3593
3502
  # @return [String]
3594
3503
  #
3595
3504
  # @!attribute [rw] data_source
@@ -3682,7 +3591,8 @@ module Aws::FraudDetector
3682
3591
  # @return [String]
3683
3592
  #
3684
3593
  # @!attribute [rw] variable_type
3685
- # The type of the variable.
3594
+ # The type of the variable. For more information see [Variable
3595
+ # types][1].
3686
3596
  #
3687
3597
  # Valid Values: `AUTH_CODE | AVS | BILLING_ADDRESS_L1 |
3688
3598
  # BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME |
@@ -3693,6 +3603,10 @@ module Aws::FraudDetector
3693
3603
  # SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY |
3694
3604
  # SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP |
3695
3605
  # USERAGENT | SHIPPING_ZIP | USERAGENT`
3606
+ #
3607
+ #
3608
+ #
3609
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
3696
3610
  # @return [String]
3697
3611
  #
3698
3612
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/VariableEntry AWS API Documentation
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.7.0
4
+ version: 1.8.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: 2020-07-20 00:00:00.000000000 Z
11
+ date: 2020-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core