aws-sdk-frauddetector 1.7.0 → 1.12.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: 20d60bb016ec4cef84878c1c235b594250898170cd22524f9a580d473efa0f35
4
- data.tar.gz: 4f6d0fe162520dcc84c0c56fe89251c51713f8cd7431056e3dde9dbf8599c14d
3
+ metadata.gz: 8a9e5de75f772ac06fb564883c3ae2f6bc439e4857521ff5793b03e5f5daad51
4
+ data.tar.gz: 4354ebc79a8a76462b65bdeb69fb62950c737ec4cd56c4570eea365d4ce298ef
5
5
  SHA512:
6
- metadata.gz: 6378bb27bf483ef0d0e3de3e7f30b793f0c579d5a50ce094e2e401c5afb73770d0e2b8df27f54b695dae3b6f4bdd22f551c3c98eccfb6b30309b1f363111f409
7
- data.tar.gz: dd75d3c92129e984a3b8ebd0957d7c863b7aacb0163cf78107727ed5b71ee608107dfde435400757490aa17afd76be4e29d595f753cabb9d443d406a89be8f3e
6
+ metadata.gz: 16e1348910322956395840ad3a3d2028059ec594f5807ce65c3e38d4466b3e04c08a2f76a1446bde1019b81e05337b5313a22534380e485d6920ba4d8bd2822d
7
+ data.tar.gz: 4d696a0072b3b03db01b4afc2fe46c2ddc24434df50a7ade1bae6001a47a776908eee9b5526a7d23c2b02fee5bbfd10b5288b083da31685d30f697203dd00ec3
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-frauddetector/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::FraudDetector
49
50
 
50
- GEM_VERSION = '1.7.0'
51
+ GEM_VERSION = '1.12.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::FraudDetector
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::FraudDetector
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -473,7 +488,7 @@ module Aws::FraudDetector
473
488
  # ],
474
489
  # model_versions: [
475
490
  # {
476
- # model_id: "identifier", # required
491
+ # model_id: "modelIdentifier", # required
477
492
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
478
493
  # model_version_number: "nonEmptyString", # required
479
494
  # arn: "fraudDetectorArn",
@@ -525,7 +540,7 @@ module Aws::FraudDetector
525
540
  # @example Request syntax with placeholder values
526
541
  #
527
542
  # resp = client.create_model({
528
- # model_id: "identifier", # required
543
+ # model_id: "modelIdentifier", # required
529
544
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
530
545
  # description: "description",
531
546
  # event_type_name: "string", # required
@@ -578,7 +593,7 @@ module Aws::FraudDetector
578
593
  # @example Request syntax with placeholder values
579
594
  #
580
595
  # resp = client.create_model_version({
581
- # model_id: "identifier", # required
596
+ # model_id: "modelIdentifier", # required
582
597
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
583
598
  # training_data_source: "EXTERNAL_EVENTS", # required, accepts EXTERNAL_EVENTS
584
599
  # training_data_schema: { # required
@@ -694,7 +709,7 @@ module Aws::FraudDetector
694
709
  # The description.
695
710
  #
696
711
  # @option params [String] :variable_type
697
- # The variable type.
712
+ # The variable type. For more information see [Variable types][1].
698
713
  #
699
714
  # Valid Values: `AUTH_CODE | AVS | BILLING_ADDRESS_L1 |
700
715
  # BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME |
@@ -703,8 +718,11 @@ module Aws::FraudDetector
703
718
  # FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE |
704
719
  # PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 |
705
720
  # SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME
706
- # | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT |
707
- # SHIPPING_ZIP | USERAGENT`
721
+ # | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT`
722
+ #
723
+ #
724
+ #
725
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
708
726
  #
709
727
  # @option params [Array<Types::Tag>] :tags
710
728
  # A collection of key and value pairs.
@@ -916,7 +934,7 @@ module Aws::FraudDetector
916
934
  # @example Request syntax with placeholder values
917
935
  #
918
936
  # resp = client.describe_model_versions({
919
- # model_id: "identifier",
937
+ # model_id: "modelIdentifier",
920
938
  # model_version_number: "floatVersionString",
921
939
  # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS
922
940
  # next_token: "string",
@@ -1172,13 +1190,13 @@ module Aws::FraudDetector
1172
1190
  #
1173
1191
  # resp = client.get_event_prediction({
1174
1192
  # detector_id: "string", # required
1175
- # detector_version_id: "string",
1193
+ # detector_version_id: "wholeNumberVersionString",
1176
1194
  # event_id: "string", # required
1177
1195
  # event_type_name: "string", # required
1178
1196
  # entities: [ # required
1179
1197
  # {
1180
- # entity_type: "string",
1181
- # entity_id: "identifier",
1198
+ # entity_type: "string", # required
1199
+ # entity_id: "identifier", # required
1182
1200
  # },
1183
1201
  # ],
1184
1202
  # event_timestamp: "string", # required
@@ -1309,10 +1327,9 @@ module Aws::FraudDetector
1309
1327
  #
1310
1328
  # resp.external_models #=> Array
1311
1329
  # resp.external_models[0].model_endpoint #=> String
1312
- # resp.external_models[0].event_type_name #=> String
1313
1330
  # 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
1331
+ # resp.external_models[0].invoke_model_endpoint_role_arn #=> String
1332
+ # resp.external_models[0].input_configuration.event_type_name #=> String
1316
1333
  # resp.external_models[0].input_configuration.format #=> String, one of "TEXT_CSV", "APPLICATION_JSON"
1317
1334
  # resp.external_models[0].input_configuration.use_event_variables #=> Boolean
1318
1335
  # resp.external_models[0].input_configuration.json_input_template #=> String
@@ -1434,7 +1451,7 @@ module Aws::FraudDetector
1434
1451
  # @example Request syntax with placeholder values
1435
1452
  #
1436
1453
  # resp = client.get_model_version({
1437
- # model_id: "identifier", # required
1454
+ # model_id: "modelIdentifier", # required
1438
1455
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
1439
1456
  # model_version_number: "floatVersionString", # required
1440
1457
  # })
@@ -1499,7 +1516,7 @@ module Aws::FraudDetector
1499
1516
  # @example Request syntax with placeholder values
1500
1517
  #
1501
1518
  # resp = client.get_models({
1502
- # model_id: "identifier",
1519
+ # model_id: "modelIdentifier",
1503
1520
  # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS
1504
1521
  # next_token: "string",
1505
1522
  # max_results: 1,
@@ -1576,74 +1593,6 @@ module Aws::FraudDetector
1576
1593
  req.send_request(options)
1577
1594
  end
1578
1595
 
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
1596
  # Get all rules for a detector (paginated) if `ruleId` and `ruleVersion`
1648
1597
  # are not specified. Gets all rules for the detector and the `ruleId` if
1649
1598
  # present (paginated). Gets a specific rule if both the `ruleId` and the
@@ -1951,13 +1900,10 @@ module Aws::FraudDetector
1951
1900
  # @option params [required, String] :model_endpoint
1952
1901
  # The model endpoints name.
1953
1902
  #
1954
- # @option params [String] :event_type_name
1955
- # The event type name.
1956
- #
1957
1903
  # @option params [required, String] :model_source
1958
1904
  # The source of the model.
1959
1905
  #
1960
- # @option params [required, Types::Role] :role
1906
+ # @option params [required, String] :invoke_model_endpoint_role_arn
1961
1907
  # The IAM role used to invoke the model endpoint.
1962
1908
  #
1963
1909
  # @option params [required, Types::ModelInputConfiguration] :input_configuration
@@ -1978,13 +1924,10 @@ module Aws::FraudDetector
1978
1924
  #
1979
1925
  # resp = client.put_external_model({
1980
1926
  # model_endpoint: "sageMakerEndpointIdentifier", # required
1981
- # event_type_name: "identifier",
1982
1927
  # model_source: "SAGEMAKER", # required, accepts SAGEMAKER
1983
- # role: { # required
1984
- # arn: "string", # required
1985
- # name: "string", # required
1986
- # },
1928
+ # invoke_model_endpoint_role_arn: "string", # required
1987
1929
  # input_configuration: { # required
1930
+ # event_type_name: "identifier",
1988
1931
  # format: "TEXT_CSV", # accepts TEXT_CSV, APPLICATION_JSON
1989
1932
  # use_event_variables: false, # required
1990
1933
  # json_input_template: "string",
@@ -2225,7 +2168,7 @@ module Aws::FraudDetector
2225
2168
  # description: "description",
2226
2169
  # model_versions: [
2227
2170
  # {
2228
- # model_id: "identifier", # required
2171
+ # model_id: "modelIdentifier", # required
2229
2172
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
2230
2173
  # model_version_number: "nonEmptyString", # required
2231
2174
  # arn: "fraudDetectorArn",
@@ -2323,7 +2266,7 @@ module Aws::FraudDetector
2323
2266
  # @example Request syntax with placeholder values
2324
2267
  #
2325
2268
  # resp = client.update_model({
2326
- # model_id: "identifier", # required
2269
+ # model_id: "modelIdentifier", # required
2327
2270
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
2328
2271
  # description: "description",
2329
2272
  # })
@@ -2369,7 +2312,7 @@ module Aws::FraudDetector
2369
2312
  # @example Request syntax with placeholder values
2370
2313
  #
2371
2314
  # resp = client.update_model_version({
2372
- # model_id: "identifier", # required
2315
+ # model_id: "modelIdentifier", # required
2373
2316
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
2374
2317
  # major_version_number: "wholeNumberVersionString", # required
2375
2318
  # external_events_detail: {
@@ -2425,10 +2368,10 @@ module Aws::FraudDetector
2425
2368
  # @example Request syntax with placeholder values
2426
2369
  #
2427
2370
  # resp = client.update_model_version_status({
2428
- # model_id: "identifier", # required
2371
+ # model_id: "modelIdentifier", # required
2429
2372
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
2430
2373
  # 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
2374
+ # status: "ACTIVE", # required, accepts ACTIVE, INACTIVE
2432
2375
  # })
2433
2376
  #
2434
2377
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModelVersionStatus AWS API Documentation
@@ -2542,7 +2485,11 @@ module Aws::FraudDetector
2542
2485
  # The new description.
2543
2486
  #
2544
2487
  # @option params [String] :variable_type
2545
- # The variable type.
2488
+ # The variable type. For more information see [Variable types][1].
2489
+ #
2490
+ #
2491
+ #
2492
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
2546
2493
  #
2547
2494
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2548
2495
  #
@@ -2577,7 +2524,7 @@ module Aws::FraudDetector
2577
2524
  params: params,
2578
2525
  config: config)
2579
2526
  context[:gem_name] = 'aws-sdk-frauddetector'
2580
- context[:gem_version] = '1.7.0'
2527
+ context[:gem_version] = '1.12.0'
2581
2528
  Seahorse::Client::Request.new(handlers, context)
2582
2529
  end
2583
2530
 
@@ -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')
@@ -209,6 +203,7 @@ module Aws::FraudDetector
209
203
  labelsMaxResults = Shapes::IntegerShape.new(name: 'labelsMaxResults')
210
204
  listOfEntities = Shapes::ListShape.new(name: 'listOfEntities')
211
205
  metricDataPointsList = Shapes::ListShape.new(name: 'metricDataPointsList')
206
+ modelIdentifier = Shapes::StringShape.new(name: 'modelIdentifier')
212
207
  modelList = Shapes::ListShape.new(name: 'modelList')
213
208
  modelVersionDetailList = Shapes::ListShape.new(name: 'modelVersionDetailList')
214
209
  modelsMaxPageSize = Shapes::IntegerShape.new(name: 'modelsMaxPageSize')
@@ -274,7 +269,7 @@ module Aws::FraudDetector
274
269
  CreateDetectorVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, location_name: "status"))
275
270
  CreateDetectorVersionResult.struct_class = Types::CreateDetectorVersionResult
276
271
 
277
- CreateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
272
+ CreateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
278
273
  CreateModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
279
274
  CreateModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
280
275
  CreateModelRequest.add_member(:event_type_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventTypeName"))
@@ -283,7 +278,7 @@ module Aws::FraudDetector
283
278
 
284
279
  CreateModelResult.struct_class = Types::CreateModelResult
285
280
 
286
- CreateModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
281
+ CreateModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
287
282
  CreateModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
288
283
  CreateModelVersionRequest.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSourceEnum, required: true, location_name: "trainingDataSource"))
289
284
  CreateModelVersionRequest.add_member(:training_data_schema, Shapes::ShapeRef.new(shape: TrainingDataSchema, required: true, location_name: "trainingDataSchema"))
@@ -291,7 +286,7 @@ module Aws::FraudDetector
291
286
  CreateModelVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
292
287
  CreateModelVersionRequest.struct_class = Types::CreateModelVersionRequest
293
288
 
294
- CreateModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
289
+ CreateModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
295
290
  CreateModelVersionResult.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
296
291
  CreateModelVersionResult.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
297
292
  CreateModelVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
@@ -360,7 +355,7 @@ module Aws::FraudDetector
360
355
  DescribeDetectorResult.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
361
356
  DescribeDetectorResult.struct_class = Types::DescribeDetectorResult
362
357
 
363
- DescribeModelVersionsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
358
+ DescribeModelVersionsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
364
359
  DescribeModelVersionsRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, location_name: "modelVersionNumber"))
365
360
  DescribeModelVersionsRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
366
361
  DescribeModelVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
@@ -389,8 +384,8 @@ module Aws::FraudDetector
389
384
 
390
385
  DetectorVersionSummaryList.member = Shapes::ShapeRef.new(shape: DetectorVersionSummary)
391
386
 
392
- Entity.add_member(:entity_type, Shapes::ShapeRef.new(shape: string, location_name: "entityType"))
393
- Entity.add_member(:entity_id, Shapes::ShapeRef.new(shape: identifier, location_name: "entityId"))
387
+ Entity.add_member(:entity_type, Shapes::ShapeRef.new(shape: string, required: true, location_name: "entityType"))
388
+ Entity.add_member(:entity_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "entityId"))
394
389
  Entity.struct_class = Types::Entity
395
390
 
396
391
  EntityType.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
@@ -400,9 +395,6 @@ module Aws::FraudDetector
400
395
  EntityType.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
401
396
  EntityType.struct_class = Types::EntityType
402
397
 
403
- EventAttributeMap.key = Shapes::ShapeRef.new(shape: attributeKey)
404
- EventAttributeMap.value = Shapes::ShapeRef.new(shape: attributeValue)
405
-
406
398
  EventType.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
407
399
  EventType.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
408
400
  EventType.add_member(:event_variables, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "eventVariables"))
@@ -421,9 +413,8 @@ module Aws::FraudDetector
421
413
  ExternalEventsDetail.struct_class = Types::ExternalEventsDetail
422
414
 
423
415
  ExternalModel.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: string, location_name: "modelEndpoint"))
424
- 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"))
@@ -528,12 +519,12 @@ module Aws::FraudDetector
528
519
  GetLabelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
529
520
  GetLabelsResult.struct_class = Types::GetLabelsResult
530
521
 
531
- GetModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
522
+ GetModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
532
523
  GetModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
533
524
  GetModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, required: true, location_name: "modelVersionNumber"))
534
525
  GetModelVersionRequest.struct_class = Types::GetModelVersionRequest
535
526
 
536
- GetModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
527
+ GetModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
537
528
  GetModelVersionResult.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
538
529
  GetModelVersionResult.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, location_name: "modelVersionNumber"))
539
530
  GetModelVersionResult.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSourceEnum, location_name: "trainingDataSource"))
@@ -543,7 +534,7 @@ module Aws::FraudDetector
543
534
  GetModelVersionResult.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
544
535
  GetModelVersionResult.struct_class = Types::GetModelVersionResult
545
536
 
546
- GetModelsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
537
+ GetModelsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
547
538
  GetModelsRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
548
539
  GetModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
549
540
  GetModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: modelsMaxPageSize, location_name: "maxResults"))
@@ -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"))
@@ -636,7 +615,7 @@ module Aws::FraudDetector
636
615
  MetricDataPoint.add_member(:threshold, Shapes::ShapeRef.new(shape: float, location_name: "threshold"))
637
616
  MetricDataPoint.struct_class = Types::MetricDataPoint
638
617
 
639
- Model.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
618
+ Model.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
640
619
  Model.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
641
620
  Model.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
642
621
  Model.add_member(:event_type_name, Shapes::ShapeRef.new(shape: string, location_name: "eventTypeName"))
@@ -649,6 +628,7 @@ module Aws::FraudDetector
649
628
  ModelEndpointDataBlob.add_member(:content_type, Shapes::ShapeRef.new(shape: contentType, location_name: "contentType"))
650
629
  ModelEndpointDataBlob.struct_class = Types::ModelEndpointDataBlob
651
630
 
631
+ ModelInputConfiguration.add_member(:event_type_name, Shapes::ShapeRef.new(shape: identifier, location_name: "eventTypeName"))
652
632
  ModelInputConfiguration.add_member(:format, Shapes::ShapeRef.new(shape: ModelInputDataFormat, location_name: "format"))
653
633
  ModelInputConfiguration.add_member(:use_event_variables, Shapes::ShapeRef.new(shape: UseEventVariables, required: true, location_name: "useEventVariables"))
654
634
  ModelInputConfiguration.add_member(:json_input_template, Shapes::ShapeRef.new(shape: string, location_name: "jsonInputTemplate"))
@@ -667,13 +647,13 @@ module Aws::FraudDetector
667
647
  ModelScores.add_member(:scores, Shapes::ShapeRef.new(shape: ModelPredictionMap, location_name: "scores"))
668
648
  ModelScores.struct_class = Types::ModelScores
669
649
 
670
- ModelVersion.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
650
+ ModelVersion.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
671
651
  ModelVersion.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
672
652
  ModelVersion.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "modelVersionNumber"))
673
653
  ModelVersion.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
674
654
  ModelVersion.struct_class = Types::ModelVersion
675
655
 
676
- ModelVersionDetail.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
656
+ ModelVersionDetail.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
677
657
  ModelVersionDetail.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
678
658
  ModelVersionDetail.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, location_name: "modelVersionNumber"))
679
659
  ModelVersionDetail.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
@@ -725,9 +705,8 @@ module Aws::FraudDetector
725
705
  PutEventTypeResult.struct_class = Types::PutEventTypeResult
726
706
 
727
707
  PutExternalModelRequest.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: sageMakerEndpointIdentifier, required: true, location_name: "modelEndpoint"))
728
- 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"))
@@ -843,27 +818,27 @@ module Aws::FraudDetector
843
818
 
844
819
  UpdateDetectorVersionStatusResult.struct_class = Types::UpdateDetectorVersionStatusResult
845
820
 
846
- UpdateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
821
+ UpdateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
847
822
  UpdateModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
848
823
  UpdateModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
849
824
  UpdateModelRequest.struct_class = Types::UpdateModelRequest
850
825
 
851
826
  UpdateModelResult.struct_class = Types::UpdateModelResult
852
827
 
853
- UpdateModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
828
+ UpdateModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
854
829
  UpdateModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
855
830
  UpdateModelVersionRequest.add_member(:major_version_number, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "majorVersionNumber"))
856
831
  UpdateModelVersionRequest.add_member(:external_events_detail, Shapes::ShapeRef.new(shape: ExternalEventsDetail, location_name: "externalEventsDetail"))
857
832
  UpdateModelVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
858
833
  UpdateModelVersionRequest.struct_class = Types::UpdateModelVersionRequest
859
834
 
860
- UpdateModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
835
+ UpdateModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
861
836
  UpdateModelVersionResult.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
862
837
  UpdateModelVersionResult.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, location_name: "modelVersionNumber"))
863
838
  UpdateModelVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
864
839
  UpdateModelVersionResult.struct_class = Types::UpdateModelVersionResult
865
840
 
866
- UpdateModelVersionStatusRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
841
+ UpdateModelVersionStatusRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
867
842
  UpdateModelVersionStatusRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
868
843
  UpdateModelVersionStatusRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, required: true, location_name: "modelVersionNumber"))
869
844
  UpdateModelVersionStatusRequest.add_member(:status, Shapes::ShapeRef.new(shape: ModelVersionStatus, required: true, location_name: "status"))
@@ -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"
@@ -201,7 +201,7 @@ module Aws::FraudDetector
201
201
  # ],
202
202
  # model_versions: [
203
203
  # {
204
- # model_id: "identifier", # required
204
+ # model_id: "modelIdentifier", # required
205
205
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
206
206
  # model_version_number: "nonEmptyString", # required
207
207
  # arn: "fraudDetectorArn",
@@ -299,7 +299,7 @@ module Aws::FraudDetector
299
299
  # data as a hash:
300
300
  #
301
301
  # {
302
- # model_id: "identifier", # required
302
+ # model_id: "modelIdentifier", # required
303
303
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
304
304
  # description: "description",
305
305
  # event_type_name: "string", # required
@@ -351,7 +351,7 @@ module Aws::FraudDetector
351
351
  # data as a hash:
352
352
  #
353
353
  # {
354
- # model_id: "identifier", # required
354
+ # model_id: "modelIdentifier", # required
355
355
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
356
356
  # training_data_source: "EXTERNAL_EVENTS", # required, accepts EXTERNAL_EVENTS
357
357
  # training_data_schema: { # required
@@ -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 |
@@ -560,7 +560,11 @@ module Aws::FraudDetector
560
560
  # PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 |
561
561
  # SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY |
562
562
  # SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP |
563
- # USERAGENT | SHIPPING_ZIP | USERAGENT`
563
+ # 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
@@ -774,7 +778,7 @@ module Aws::FraudDetector
774
778
  # data as a hash:
775
779
  #
776
780
  # {
777
- # model_id: "identifier",
781
+ # model_id: "modelIdentifier",
778
782
  # model_version_number: "floatVersionString",
779
783
  # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS
780
784
  # next_token: "string",
@@ -904,8 +908,8 @@ module Aws::FraudDetector
904
908
  # data as a hash:
905
909
  #
906
910
  # {
907
- # entity_type: "string",
908
- # entity_id: "identifier",
911
+ # entity_type: "string", # required
912
+ # entity_id: "identifier", # required
909
913
  # }
910
914
  #
911
915
  # @!attribute [rw] entity_type
@@ -1043,17 +1047,13 @@ module Aws::FraudDetector
1043
1047
  # The Amazon SageMaker model endpoints.
1044
1048
  # @return [String]
1045
1049
  #
1046
- # @!attribute [rw] event_type_name
1047
- # The event type names.
1048
- # @return [String]
1049
- #
1050
1050
  # @!attribute [rw] model_source
1051
1051
  # The source of the model.
1052
1052
  # @return [String]
1053
1053
  #
1054
- # @!attribute [rw] role
1054
+ # @!attribute [rw] invoke_model_endpoint_role_arn
1055
1055
  # The role used to invoke the model.
1056
- # @return [Types::Role]
1056
+ # @return [String]
1057
1057
  #
1058
1058
  # @!attribute [rw] input_configuration
1059
1059
  # The input configuration.
@@ -1083,9 +1083,8 @@ module Aws::FraudDetector
1083
1083
  #
1084
1084
  class ExternalModel < Struct.new(
1085
1085
  :model_endpoint,
1086
- :event_type_name,
1087
1086
  :model_source,
1088
- :role,
1087
+ :invoke_model_endpoint_role_arn,
1089
1088
  :input_configuration,
1090
1089
  :output_configuration,
1091
1090
  :model_endpoint_status,
@@ -1353,13 +1352,13 @@ module Aws::FraudDetector
1353
1352
  #
1354
1353
  # {
1355
1354
  # detector_id: "string", # required
1356
- # detector_version_id: "string",
1355
+ # detector_version_id: "wholeNumberVersionString",
1357
1356
  # event_id: "string", # required
1358
1357
  # event_type_name: "string", # required
1359
1358
  # entities: [ # required
1360
1359
  # {
1361
- # entity_type: "string",
1362
- # entity_id: "identifier",
1360
+ # entity_type: "string", # required
1361
+ # entity_id: "identifier", # required
1363
1362
  # },
1364
1363
  # ],
1365
1364
  # event_timestamp: "string", # required
@@ -1608,7 +1607,7 @@ module Aws::FraudDetector
1608
1607
  # data as a hash:
1609
1608
  #
1610
1609
  # {
1611
- # model_id: "identifier", # required
1610
+ # model_id: "modelIdentifier", # required
1612
1611
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
1613
1612
  # model_version_number: "floatVersionString", # required
1614
1613
  # }
@@ -1686,7 +1685,7 @@ module Aws::FraudDetector
1686
1685
  # data as a hash:
1687
1686
  #
1688
1687
  # {
1689
- # model_id: "identifier",
1688
+ # model_id: "modelIdentifier",
1690
1689
  # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS
1691
1690
  # next_token: "string",
1692
1691
  # max_results: 1,
@@ -1784,80 +1783,6 @@ module Aws::FraudDetector
1784
1783
  include Aws::Structure
1785
1784
  end
1786
1785
 
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
1786
  # @note When making an API call, you may pass GetRulesRequest
1862
1787
  # data as a hash:
1863
1788
  #
@@ -2221,12 +2146,17 @@ module Aws::FraudDetector
2221
2146
  # data as a hash:
2222
2147
  #
2223
2148
  # {
2149
+ # event_type_name: "identifier",
2224
2150
  # format: "TEXT_CSV", # accepts TEXT_CSV, APPLICATION_JSON
2225
2151
  # use_event_variables: false, # required
2226
2152
  # json_input_template: "string",
2227
2153
  # csv_input_template: "string",
2228
2154
  # }
2229
2155
  #
2156
+ # @!attribute [rw] event_type_name
2157
+ # The event type name.
2158
+ # @return [String]
2159
+ #
2230
2160
  # @!attribute [rw] format
2231
2161
  # The format of the model input configuration. The format differs
2232
2162
  # depending on if it is passed through to SageMaker or constructed by
@@ -2254,6 +2184,7 @@ module Aws::FraudDetector
2254
2184
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ModelInputConfiguration AWS API Documentation
2255
2185
  #
2256
2186
  class ModelInputConfiguration < Struct.new(
2187
+ :event_type_name,
2257
2188
  :format,
2258
2189
  :use_event_variables,
2259
2190
  :json_input_template,
@@ -2326,7 +2257,7 @@ module Aws::FraudDetector
2326
2257
  # data as a hash:
2327
2258
  #
2328
2259
  # {
2329
- # model_id: "identifier", # required
2260
+ # model_id: "modelIdentifier", # required
2330
2261
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
2331
2262
  # model_version_number: "nonEmptyString", # required
2332
2263
  # arn: "fraudDetectorArn",
@@ -2607,13 +2538,10 @@ module Aws::FraudDetector
2607
2538
  #
2608
2539
  # {
2609
2540
  # model_endpoint: "sageMakerEndpointIdentifier", # required
2610
- # 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
2544
+ # event_type_name: "identifier",
2617
2545
  # format: "TEXT_CSV", # accepts TEXT_CSV, APPLICATION_JSON
2618
2546
  # use_event_variables: false, # required
2619
2547
  # json_input_template: "string",
@@ -2641,17 +2569,13 @@ module Aws::FraudDetector
2641
2569
  # The model endpoints name.
2642
2570
  # @return [String]
2643
2571
  #
2644
- # @!attribute [rw] event_type_name
2645
- # The event type name.
2646
- # @return [String]
2647
- #
2648
2572
  # @!attribute [rw] model_source
2649
2573
  # The source of the model.
2650
2574
  # @return [String]
2651
2575
  #
2652
- # @!attribute [rw] role
2576
+ # @!attribute [rw] invoke_model_endpoint_role_arn
2653
2577
  # The IAM role used to invoke the model endpoint.
2654
- # @return [Types::Role]
2578
+ # @return [String]
2655
2579
  #
2656
2580
  # @!attribute [rw] input_configuration
2657
2581
  # The model endpoint input configuration.
@@ -2673,9 +2597,8 @@ module Aws::FraudDetector
2673
2597
  #
2674
2598
  class PutExternalModelRequest < Struct.new(
2675
2599
  :model_endpoint,
2676
- :event_type_name,
2677
2600
  :model_source,
2678
- :role,
2601
+ :invoke_model_endpoint_role_arn,
2679
2602
  :input_configuration,
2680
2603
  :output_configuration,
2681
2604
  :model_endpoint_status,
@@ -2803,33 +2726,6 @@ module Aws::FraudDetector
2803
2726
  include Aws::Structure
2804
2727
  end
2805
2728
 
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
2729
  # A rule.
2834
2730
  #
2835
2731
  # @note When making an API call, you may pass Rule
@@ -3168,7 +3064,7 @@ module Aws::FraudDetector
3168
3064
  # description: "description",
3169
3065
  # model_versions: [
3170
3066
  # {
3171
- # model_id: "identifier", # required
3067
+ # model_id: "modelIdentifier", # required
3172
3068
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
3173
3069
  # model_version_number: "nonEmptyString", # required
3174
3070
  # arn: "fraudDetectorArn",
@@ -3275,7 +3171,7 @@ module Aws::FraudDetector
3275
3171
  # data as a hash:
3276
3172
  #
3277
3173
  # {
3278
- # model_id: "identifier", # required
3174
+ # model_id: "modelIdentifier", # required
3279
3175
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
3280
3176
  # description: "description",
3281
3177
  # }
@@ -3310,7 +3206,7 @@ module Aws::FraudDetector
3310
3206
  # data as a hash:
3311
3207
  #
3312
3208
  # {
3313
- # model_id: "identifier", # required
3209
+ # model_id: "modelIdentifier", # required
3314
3210
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
3315
3211
  # major_version_number: "wholeNumberVersionString", # required
3316
3212
  # external_events_detail: {
@@ -3388,10 +3284,10 @@ module Aws::FraudDetector
3388
3284
  # data as a hash:
3389
3285
  #
3390
3286
  # {
3391
- # model_id: "identifier", # required
3287
+ # model_id: "modelIdentifier", # required
3392
3288
  # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
3393
3289
  # 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
3290
+ # status: "ACTIVE", # required, accepts ACTIVE, INACTIVE
3395
3291
  # }
3396
3292
  #
3397
3293
  # @!attribute [rw] model_id
@@ -3551,7 +3447,11 @@ module Aws::FraudDetector
3551
3447
  # @return [String]
3552
3448
  #
3553
3449
  # @!attribute [rw] variable_type
3554
- # The variable type.
3450
+ # The variable type. For more information see [Variable types][1].
3451
+ #
3452
+ #
3453
+ #
3454
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
3555
3455
  # @return [String]
3556
3456
  #
3557
3457
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateVariableRequest AWS API Documentation
@@ -3589,7 +3489,12 @@ module Aws::FraudDetector
3589
3489
  # @return [String]
3590
3490
  #
3591
3491
  # @!attribute [rw] data_type
3592
- # The data type of the variable.
3492
+ # The data type of the variable. For more information see [Variable
3493
+ # types][1].
3494
+ #
3495
+ #
3496
+ #
3497
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
3593
3498
  # @return [String]
3594
3499
  #
3595
3500
  # @!attribute [rw] data_source
@@ -3615,7 +3520,7 @@ module Aws::FraudDetector
3615
3520
  # PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 |
3616
3521
  # SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY |
3617
3522
  # SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP |
3618
- # USERAGENT | SHIPPING_ZIP | USERAGENT`
3523
+ # USERAGENT `
3619
3524
  # @return [String]
3620
3525
  #
3621
3526
  # @!attribute [rw] last_updated_time
@@ -3682,7 +3587,8 @@ module Aws::FraudDetector
3682
3587
  # @return [String]
3683
3588
  #
3684
3589
  # @!attribute [rw] variable_type
3685
- # The type of the variable.
3590
+ # The type of the variable. For more information see [Variable
3591
+ # types][1].
3686
3592
  #
3687
3593
  # Valid Values: `AUTH_CODE | AVS | BILLING_ADDRESS_L1 |
3688
3594
  # BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME |
@@ -3692,7 +3598,11 @@ module Aws::FraudDetector
3692
3598
  # PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 |
3693
3599
  # SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY |
3694
3600
  # SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP |
3695
- # USERAGENT | SHIPPING_ZIP | USERAGENT`
3601
+ # USERAGENT `
3602
+ #
3603
+ #
3604
+ #
3605
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
3696
3606
  # @return [String]
3697
3607
  #
3698
3608
  # @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.12.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-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core