aws-sdk-frauddetector 1.13.0 → 1.14.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: 6c122a60e0a449c477ac87afa7d94274b3e29f5ba31f0d91fa40b40d77db0a87
4
- data.tar.gz: ab1fa242d75d7def0d70dada9a57866886c0b5ad8a1a36cf2040bc622bb70ef7
3
+ metadata.gz: 8955ee9d2e4068eff092f0282c245de33f8f7633e2912a69be6cb88d36d7b081
4
+ data.tar.gz: '021469efc73a47eda461d93c2bb806755cb8f9d527ad093e231a2407755e67e2'
5
5
  SHA512:
6
- metadata.gz: f78edb5b90171c368c3fabf3f055955ac37a90e6c0ec995527471aed223bf6fe5aa3e4ce26c61d1d04222793ec440bb6fb01fc72176eb61faa5dc2c8e7d157d8
7
- data.tar.gz: 41f1a8782a4743df2beeab41d97c97347f08cded362b7039f62e0d9b75aefe5f7c357e929e7797adce3d86155e7c0d78a6392c43ca8f9818cc78bc0af408f362
6
+ metadata.gz: 14803eb5db003afae86dadde4e90f3c8ebd27ada232698c4e1079f99aa2280e9f4aa9c4634b92c966287b02ba4ed6d224a7ad6387ae0b9fb02c1654495ba2d7c
7
+ data.tar.gz: ef5a6bbdbcf3afeffb501334715dd23f1e0d2351b8386493867f24491e92052549fb9ac5274e4f3e063378fbc30318c96af976af154c18593dd95be542929b69
@@ -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.13.0'
51
+ GEM_VERSION = '1.14.0'
52
52
 
53
53
  end
@@ -759,6 +759,10 @@ module Aws::FraudDetector
759
759
  # delete all detector versions and rule versions associated with the
760
760
  # detector.
761
761
  #
762
+ # When you delete a detector, Amazon Fraud Detector permanently deletes
763
+ # the detector and the data is no longer stored in Amazon Fraud
764
+ # Detector.
765
+ #
762
766
  # @option params [required, String] :detector_id
763
767
  # The ID of the detector to delete.
764
768
  #
@@ -782,6 +786,10 @@ module Aws::FraudDetector
782
786
  # Deletes the detector version. You cannot delete detector versions that
783
787
  # are in `ACTIVE` status.
784
788
  #
789
+ # When you delete a detector version, Amazon Fraud Detector permanently
790
+ # deletes the detector and the data is no longer stored in Amazon Fraud
791
+ # Detector.
792
+ #
785
793
  # @option params [required, String] :detector_id
786
794
  # The ID of the parent detector for the detector version to delete.
787
795
  #
@@ -806,8 +814,40 @@ module Aws::FraudDetector
806
814
  req.send_request(options)
807
815
  end
808
816
 
817
+ # Deletes an entity type.
818
+ #
819
+ # You cannot delete an entity type that is included in an event type.
820
+ #
821
+ # When you delete an entity type, Amazon Fraud Detector permanently
822
+ # deletes that entity type from the evaluation history, and the data is
823
+ # no longer stored in Amazon Fraud Detector.
824
+ #
825
+ # @option params [required, String] :name
826
+ # The name of the entity type to delete.
827
+ #
828
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
829
+ #
830
+ # @example Request syntax with placeholder values
831
+ #
832
+ # resp = client.delete_entity_type({
833
+ # name: "identifier", # required
834
+ # })
835
+ #
836
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEntityType AWS API Documentation
837
+ #
838
+ # @overload delete_entity_type(params = {})
839
+ # @param [Hash] params ({})
840
+ def delete_entity_type(params = {}, options = {})
841
+ req = build_request(:delete_entity_type, params)
842
+ req.send_request(options)
843
+ end
844
+
809
845
  # Deletes the specified event.
810
846
  #
847
+ # When you delete an event, Amazon Fraud Detector permanently deletes
848
+ # that event from the evaluation history, and the event data is no
849
+ # longer stored in Amazon Fraud Detector.
850
+ #
811
851
  # @option params [required, String] :event_id
812
852
  # The ID of the event to delete.
813
853
  #
@@ -819,8 +859,8 @@ module Aws::FraudDetector
819
859
  # @example Request syntax with placeholder values
820
860
  #
821
861
  # resp = client.delete_event({
822
- # event_id: "string", # required
823
- # event_type_name: "string", # required
862
+ # event_id: "identifier", # required
863
+ # event_type_name: "identifier", # required
824
864
  # })
825
865
  #
826
866
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEvent AWS API Documentation
@@ -832,9 +872,197 @@ module Aws::FraudDetector
832
872
  req.send_request(options)
833
873
  end
834
874
 
875
+ # Deletes an event type.
876
+ #
877
+ # You cannot delete an event type that is used in a detector or a model.
878
+ #
879
+ # When you delete an entity type, Amazon Fraud Detector permanently
880
+ # deletes that entity type from the evaluation history, and the data is
881
+ # no longer stored in Amazon Fraud Detector.
882
+ #
883
+ # @option params [required, String] :name
884
+ # The name of the event type to delete.
885
+ #
886
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
887
+ #
888
+ # @example Request syntax with placeholder values
889
+ #
890
+ # resp = client.delete_event_type({
891
+ # name: "identifier", # required
892
+ # })
893
+ #
894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventType AWS API Documentation
895
+ #
896
+ # @overload delete_event_type(params = {})
897
+ # @param [Hash] params ({})
898
+ def delete_event_type(params = {}, options = {})
899
+ req = build_request(:delete_event_type, params)
900
+ req.send_request(options)
901
+ end
902
+
903
+ # Removes a SageMaker model from Amazon Fraud Detector.
904
+ #
905
+ # You can remove an Amazon SageMaker model if it is not associated with
906
+ # a detector version. Removing a SageMaker model disconnects it from
907
+ # Amazon Fraud Detector, but the model remains available in SageMaker.
908
+ #
909
+ # @option params [required, String] :model_endpoint
910
+ # The endpoint of the Amazon Sagemaker model to delete.
911
+ #
912
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
913
+ #
914
+ # @example Request syntax with placeholder values
915
+ #
916
+ # resp = client.delete_external_model({
917
+ # model_endpoint: "sageMakerEndpointIdentifier", # required
918
+ # })
919
+ #
920
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteExternalModel AWS API Documentation
921
+ #
922
+ # @overload delete_external_model(params = {})
923
+ # @param [Hash] params ({})
924
+ def delete_external_model(params = {}, options = {})
925
+ req = build_request(:delete_external_model, params)
926
+ req.send_request(options)
927
+ end
928
+
929
+ # Deletes a label.
930
+ #
931
+ # You cannot delete labels that are included in an event type in Amazon
932
+ # Fraud Detector.
933
+ #
934
+ # You cannot delete a label assigned to an event ID. You must first
935
+ # delete the relevant event ID.
936
+ #
937
+ # When you delete a label, Amazon Fraud Detector permanently deletes
938
+ # that label from the evaluation history, and the data is no longer
939
+ # stored in Amazon Fraud Detector.
940
+ #
941
+ # @option params [required, String] :name
942
+ # The name of the label to delete.
943
+ #
944
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
945
+ #
946
+ # @example Request syntax with placeholder values
947
+ #
948
+ # resp = client.delete_label({
949
+ # name: "identifier", # required
950
+ # })
951
+ #
952
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteLabel AWS API Documentation
953
+ #
954
+ # @overload delete_label(params = {})
955
+ # @param [Hash] params ({})
956
+ def delete_label(params = {}, options = {})
957
+ req = build_request(:delete_label, params)
958
+ req.send_request(options)
959
+ end
960
+
961
+ # Deletes a model.
962
+ #
963
+ # You can delete models and model versions in Amazon Fraud Detector,
964
+ # provided that they are not associated with a detector version.
965
+ #
966
+ # When you delete a model, Amazon Fraud Detector permanently deletes
967
+ # that model from the evaluation history, and the data is no longer
968
+ # stored in Amazon Fraud Detector.
969
+ #
970
+ # @option params [required, String] :model_id
971
+ # The model ID of the model to delete.
972
+ #
973
+ # @option params [required, String] :model_type
974
+ # The model type of the model to delete.
975
+ #
976
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
977
+ #
978
+ # @example Request syntax with placeholder values
979
+ #
980
+ # resp = client.delete_model({
981
+ # model_id: "modelIdentifier", # required
982
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
983
+ # })
984
+ #
985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModel AWS API Documentation
986
+ #
987
+ # @overload delete_model(params = {})
988
+ # @param [Hash] params ({})
989
+ def delete_model(params = {}, options = {})
990
+ req = build_request(:delete_model, params)
991
+ req.send_request(options)
992
+ end
993
+
994
+ # Deletes a model version.
995
+ #
996
+ # You can delete models and model versions in Amazon Fraud Detector,
997
+ # provided that they are not associated with a detector version.
998
+ #
999
+ # When you delete a model version, Amazon Fraud Detector permanently
1000
+ # deletes that model version from the evaluation history, and the data
1001
+ # is no longer stored in Amazon Fraud Detector.
1002
+ #
1003
+ # @option params [required, String] :model_id
1004
+ # The model ID of the model version to delete.
1005
+ #
1006
+ # @option params [required, String] :model_type
1007
+ # The model type of the model version to delete.
1008
+ #
1009
+ # @option params [required, String] :model_version_number
1010
+ # The model version number of the model version to delete.
1011
+ #
1012
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1013
+ #
1014
+ # @example Request syntax with placeholder values
1015
+ #
1016
+ # resp = client.delete_model_version({
1017
+ # model_id: "modelIdentifier", # required
1018
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
1019
+ # model_version_number: "floatVersionString", # required
1020
+ # })
1021
+ #
1022
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModelVersion AWS API Documentation
1023
+ #
1024
+ # @overload delete_model_version(params = {})
1025
+ # @param [Hash] params ({})
1026
+ def delete_model_version(params = {}, options = {})
1027
+ req = build_request(:delete_model_version, params)
1028
+ req.send_request(options)
1029
+ end
1030
+
1031
+ # Deletes an outcome.
1032
+ #
1033
+ # You cannot delete an outcome that is used in a rule version.
1034
+ #
1035
+ # When you delete an outcome, Amazon Fraud Detector permanently deletes
1036
+ # that outcome from the evaluation history, and the data is no longer
1037
+ # stored in Amazon Fraud Detector.
1038
+ #
1039
+ # @option params [required, String] :name
1040
+ # The name of the outcome to delete.
1041
+ #
1042
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1043
+ #
1044
+ # @example Request syntax with placeholder values
1045
+ #
1046
+ # resp = client.delete_outcome({
1047
+ # name: "identifier", # required
1048
+ # })
1049
+ #
1050
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteOutcome AWS API Documentation
1051
+ #
1052
+ # @overload delete_outcome(params = {})
1053
+ # @param [Hash] params ({})
1054
+ def delete_outcome(params = {}, options = {})
1055
+ req = build_request(:delete_outcome, params)
1056
+ req.send_request(options)
1057
+ end
1058
+
835
1059
  # Deletes the rule. You cannot delete a rule if it is used by an
836
1060
  # `ACTIVE` or `INACTIVE` detector version.
837
1061
  #
1062
+ # When you delete a rule, Amazon Fraud Detector permanently deletes that
1063
+ # rule from the evaluation history, and the data is no longer stored in
1064
+ # Amazon Fraud Detector.
1065
+ #
838
1066
  # @option params [required, Types::Rule] :rule
839
1067
  # A rule.
840
1068
  #
@@ -859,6 +1087,39 @@ module Aws::FraudDetector
859
1087
  req.send_request(options)
860
1088
  end
861
1089
 
1090
+ # Deletes a variable.
1091
+ #
1092
+ # You can't delete variables that are included in an event type in
1093
+ # Amazon Fraud Detector.
1094
+ #
1095
+ # Amazon Fraud Detector automatically deletes model output variables and
1096
+ # SageMaker model output variables when you delete the model. You can't
1097
+ # delete these variables manually.
1098
+ #
1099
+ # When you delete a variable, Amazon Fraud Detector permanently deletes
1100
+ # that variable from the evaluation history, and the data is no longer
1101
+ # stored in Amazon Fraud Detector.
1102
+ #
1103
+ # @option params [required, String] :name
1104
+ # The name of the variable to delete.
1105
+ #
1106
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1107
+ #
1108
+ # @example Request syntax with placeholder values
1109
+ #
1110
+ # resp = client.delete_variable({
1111
+ # name: "string", # required
1112
+ # })
1113
+ #
1114
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteVariable AWS API Documentation
1115
+ #
1116
+ # @overload delete_variable(params = {})
1117
+ # @param [Hash] params ({})
1118
+ def delete_variable(params = {}, options = {})
1119
+ req = build_request(:delete_variable, params)
1120
+ req.send_request(options)
1121
+ end
1122
+
862
1123
  # Gets all versions for a specified detector.
863
1124
  #
864
1125
  # @option params [required, String] :detector_id
@@ -2524,7 +2785,7 @@ module Aws::FraudDetector
2524
2785
  params: params,
2525
2786
  config: config)
2526
2787
  context[:gem_name] = 'aws-sdk-frauddetector'
2527
- context[:gem_version] = '1.13.0'
2788
+ context[:gem_version] = '1.14.0'
2528
2789
  Seahorse::Client::Request.new(handlers, context)
2529
2790
  end
2530
2791
 
@@ -41,10 +41,26 @@ module Aws::FraudDetector
41
41
  DeleteDetectorResult = Shapes::StructureShape.new(name: 'DeleteDetectorResult')
42
42
  DeleteDetectorVersionRequest = Shapes::StructureShape.new(name: 'DeleteDetectorVersionRequest')
43
43
  DeleteDetectorVersionResult = Shapes::StructureShape.new(name: 'DeleteDetectorVersionResult')
44
+ DeleteEntityTypeRequest = Shapes::StructureShape.new(name: 'DeleteEntityTypeRequest')
45
+ DeleteEntityTypeResult = Shapes::StructureShape.new(name: 'DeleteEntityTypeResult')
44
46
  DeleteEventRequest = Shapes::StructureShape.new(name: 'DeleteEventRequest')
45
47
  DeleteEventResult = Shapes::StructureShape.new(name: 'DeleteEventResult')
48
+ DeleteEventTypeRequest = Shapes::StructureShape.new(name: 'DeleteEventTypeRequest')
49
+ DeleteEventTypeResult = Shapes::StructureShape.new(name: 'DeleteEventTypeResult')
50
+ DeleteExternalModelRequest = Shapes::StructureShape.new(name: 'DeleteExternalModelRequest')
51
+ DeleteExternalModelResult = Shapes::StructureShape.new(name: 'DeleteExternalModelResult')
52
+ DeleteLabelRequest = Shapes::StructureShape.new(name: 'DeleteLabelRequest')
53
+ DeleteLabelResult = Shapes::StructureShape.new(name: 'DeleteLabelResult')
54
+ DeleteModelRequest = Shapes::StructureShape.new(name: 'DeleteModelRequest')
55
+ DeleteModelResult = Shapes::StructureShape.new(name: 'DeleteModelResult')
56
+ DeleteModelVersionRequest = Shapes::StructureShape.new(name: 'DeleteModelVersionRequest')
57
+ DeleteModelVersionResult = Shapes::StructureShape.new(name: 'DeleteModelVersionResult')
58
+ DeleteOutcomeRequest = Shapes::StructureShape.new(name: 'DeleteOutcomeRequest')
59
+ DeleteOutcomeResult = Shapes::StructureShape.new(name: 'DeleteOutcomeResult')
46
60
  DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
47
61
  DeleteRuleResult = Shapes::StructureShape.new(name: 'DeleteRuleResult')
62
+ DeleteVariableRequest = Shapes::StructureShape.new(name: 'DeleteVariableRequest')
63
+ DeleteVariableResult = Shapes::StructureShape.new(name: 'DeleteVariableResult')
48
64
  DescribeDetectorRequest = Shapes::StructureShape.new(name: 'DescribeDetectorRequest')
49
65
  DescribeDetectorResult = Shapes::StructureShape.new(name: 'DescribeDetectorResult')
50
66
  DescribeModelVersionsRequest = Shapes::StructureShape.new(name: 'DescribeModelVersionsRequest')
@@ -333,17 +349,60 @@ module Aws::FraudDetector
333
349
 
334
350
  DeleteDetectorVersionResult.struct_class = Types::DeleteDetectorVersionResult
335
351
 
336
- DeleteEventRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventId"))
337
- DeleteEventRequest.add_member(:event_type_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventTypeName"))
352
+ DeleteEntityTypeRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "name"))
353
+ DeleteEntityTypeRequest.struct_class = Types::DeleteEntityTypeRequest
354
+
355
+ DeleteEntityTypeResult.struct_class = Types::DeleteEntityTypeResult
356
+
357
+ DeleteEventRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "eventId"))
358
+ DeleteEventRequest.add_member(:event_type_name, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "eventTypeName"))
338
359
  DeleteEventRequest.struct_class = Types::DeleteEventRequest
339
360
 
340
361
  DeleteEventResult.struct_class = Types::DeleteEventResult
341
362
 
363
+ DeleteEventTypeRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "name"))
364
+ DeleteEventTypeRequest.struct_class = Types::DeleteEventTypeRequest
365
+
366
+ DeleteEventTypeResult.struct_class = Types::DeleteEventTypeResult
367
+
368
+ DeleteExternalModelRequest.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: sageMakerEndpointIdentifier, required: true, location_name: "modelEndpoint"))
369
+ DeleteExternalModelRequest.struct_class = Types::DeleteExternalModelRequest
370
+
371
+ DeleteExternalModelResult.struct_class = Types::DeleteExternalModelResult
372
+
373
+ DeleteLabelRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "name"))
374
+ DeleteLabelRequest.struct_class = Types::DeleteLabelRequest
375
+
376
+ DeleteLabelResult.struct_class = Types::DeleteLabelResult
377
+
378
+ DeleteModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
379
+ DeleteModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
380
+ DeleteModelRequest.struct_class = Types::DeleteModelRequest
381
+
382
+ DeleteModelResult.struct_class = Types::DeleteModelResult
383
+
384
+ DeleteModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
385
+ DeleteModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
386
+ DeleteModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, required: true, location_name: "modelVersionNumber"))
387
+ DeleteModelVersionRequest.struct_class = Types::DeleteModelVersionRequest
388
+
389
+ DeleteModelVersionResult.struct_class = Types::DeleteModelVersionResult
390
+
391
+ DeleteOutcomeRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "name"))
392
+ DeleteOutcomeRequest.struct_class = Types::DeleteOutcomeRequest
393
+
394
+ DeleteOutcomeResult.struct_class = Types::DeleteOutcomeResult
395
+
342
396
  DeleteRuleRequest.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, required: true, location_name: "rule"))
343
397
  DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
344
398
 
345
399
  DeleteRuleResult.struct_class = Types::DeleteRuleResult
346
400
 
401
+ DeleteVariableRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "name"))
402
+ DeleteVariableRequest.struct_class = Types::DeleteVariableRequest
403
+
404
+ DeleteVariableResult.struct_class = Types::DeleteVariableResult
405
+
347
406
  DescribeDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
348
407
  DescribeDetectorRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
349
408
  DescribeDetectorRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DetectorVersionMaxResults, location_name: "maxResults"))
@@ -1051,6 +1110,18 @@ module Aws::FraudDetector
1051
1110
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1052
1111
  end)
1053
1112
 
1113
+ api.add_operation(:delete_entity_type, Seahorse::Model::Operation.new.tap do |o|
1114
+ o.name = "DeleteEntityType"
1115
+ o.http_method = "POST"
1116
+ o.http_request_uri = "/"
1117
+ o.input = Shapes::ShapeRef.new(shape: DeleteEntityTypeRequest)
1118
+ o.output = Shapes::ShapeRef.new(shape: DeleteEntityTypeResult)
1119
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1120
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1121
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1122
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1123
+ end)
1124
+
1054
1125
  api.add_operation(:delete_event, Seahorse::Model::Operation.new.tap do |o|
1055
1126
  o.name = "DeleteEvent"
1056
1127
  o.http_method = "POST"
@@ -1060,6 +1131,80 @@ module Aws::FraudDetector
1060
1131
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1061
1132
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1062
1133
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1134
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1135
+ end)
1136
+
1137
+ api.add_operation(:delete_event_type, Seahorse::Model::Operation.new.tap do |o|
1138
+ o.name = "DeleteEventType"
1139
+ o.http_method = "POST"
1140
+ o.http_request_uri = "/"
1141
+ o.input = Shapes::ShapeRef.new(shape: DeleteEventTypeRequest)
1142
+ o.output = Shapes::ShapeRef.new(shape: DeleteEventTypeResult)
1143
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1144
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1145
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1146
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1147
+ end)
1148
+
1149
+ api.add_operation(:delete_external_model, Seahorse::Model::Operation.new.tap do |o|
1150
+ o.name = "DeleteExternalModel"
1151
+ o.http_method = "POST"
1152
+ o.http_request_uri = "/"
1153
+ o.input = Shapes::ShapeRef.new(shape: DeleteExternalModelRequest)
1154
+ o.output = Shapes::ShapeRef.new(shape: DeleteExternalModelResult)
1155
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1156
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1157
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1158
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1159
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1160
+ end)
1161
+
1162
+ api.add_operation(:delete_label, Seahorse::Model::Operation.new.tap do |o|
1163
+ o.name = "DeleteLabel"
1164
+ o.http_method = "POST"
1165
+ o.http_request_uri = "/"
1166
+ o.input = Shapes::ShapeRef.new(shape: DeleteLabelRequest)
1167
+ o.output = Shapes::ShapeRef.new(shape: DeleteLabelResult)
1168
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1169
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1170
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1171
+ end)
1172
+
1173
+ api.add_operation(:delete_model, Seahorse::Model::Operation.new.tap do |o|
1174
+ o.name = "DeleteModel"
1175
+ o.http_method = "POST"
1176
+ o.http_request_uri = "/"
1177
+ o.input = Shapes::ShapeRef.new(shape: DeleteModelRequest)
1178
+ o.output = Shapes::ShapeRef.new(shape: DeleteModelResult)
1179
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1180
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1181
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1182
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1183
+ end)
1184
+
1185
+ api.add_operation(:delete_model_version, Seahorse::Model::Operation.new.tap do |o|
1186
+ o.name = "DeleteModelVersion"
1187
+ o.http_method = "POST"
1188
+ o.http_request_uri = "/"
1189
+ o.input = Shapes::ShapeRef.new(shape: DeleteModelVersionRequest)
1190
+ o.output = Shapes::ShapeRef.new(shape: DeleteModelVersionResult)
1191
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1192
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1193
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1194
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1195
+ end)
1196
+
1197
+ api.add_operation(:delete_outcome, Seahorse::Model::Operation.new.tap do |o|
1198
+ o.name = "DeleteOutcome"
1199
+ o.http_method = "POST"
1200
+ o.http_request_uri = "/"
1201
+ o.input = Shapes::ShapeRef.new(shape: DeleteOutcomeRequest)
1202
+ o.output = Shapes::ShapeRef.new(shape: DeleteOutcomeResult)
1203
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1204
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1205
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1206
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1207
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1063
1208
  end)
1064
1209
 
1065
1210
  api.add_operation(:delete_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -1075,6 +1220,19 @@ module Aws::FraudDetector
1075
1220
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1076
1221
  end)
1077
1222
 
1223
+ api.add_operation(:delete_variable, Seahorse::Model::Operation.new.tap do |o|
1224
+ o.name = "DeleteVariable"
1225
+ o.http_method = "POST"
1226
+ o.http_request_uri = "/"
1227
+ o.input = Shapes::ShapeRef.new(shape: DeleteVariableRequest)
1228
+ o.output = Shapes::ShapeRef.new(shape: DeleteVariableResult)
1229
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1230
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1231
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1232
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1233
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1234
+ end)
1235
+
1078
1236
  api.add_operation(:describe_detector, Seahorse::Model::Operation.new.tap do |o|
1079
1237
  o.name = "DescribeDetector"
1080
1238
  o.http_method = "POST"
@@ -1167,6 +1325,7 @@ module Aws::FraudDetector
1167
1325
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1168
1326
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1169
1327
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1328
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1170
1329
  end)
1171
1330
 
1172
1331
  api.add_operation(:get_event_types, Seahorse::Model::Operation.new.tap do |o|
@@ -660,12 +660,35 @@ module Aws::FraudDetector
660
660
  #
661
661
  class DeleteDetectorVersionResult < Aws::EmptyStructure; end
662
662
 
663
+ # @note When making an API call, you may pass DeleteEntityTypeRequest
664
+ # data as a hash:
665
+ #
666
+ # {
667
+ # name: "identifier", # required
668
+ # }
669
+ #
670
+ # @!attribute [rw] name
671
+ # The name of the entity type to delete.
672
+ # @return [String]
673
+ #
674
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEntityTypeRequest AWS API Documentation
675
+ #
676
+ class DeleteEntityTypeRequest < Struct.new(
677
+ :name)
678
+ SENSITIVE = []
679
+ include Aws::Structure
680
+ end
681
+
682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEntityTypeResult AWS API Documentation
683
+ #
684
+ class DeleteEntityTypeResult < Aws::EmptyStructure; end
685
+
663
686
  # @note When making an API call, you may pass DeleteEventRequest
664
687
  # data as a hash:
665
688
  #
666
689
  # {
667
- # event_id: "string", # required
668
- # event_type_name: "string", # required
690
+ # event_id: "identifier", # required
691
+ # event_type_name: "identifier", # required
669
692
  # }
670
693
  #
671
694
  # @!attribute [rw] event_id
@@ -689,6 +712,162 @@ module Aws::FraudDetector
689
712
  #
690
713
  class DeleteEventResult < Aws::EmptyStructure; end
691
714
 
715
+ # @note When making an API call, you may pass DeleteEventTypeRequest
716
+ # data as a hash:
717
+ #
718
+ # {
719
+ # name: "identifier", # required
720
+ # }
721
+ #
722
+ # @!attribute [rw] name
723
+ # The name of the event type to delete.
724
+ # @return [String]
725
+ #
726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventTypeRequest AWS API Documentation
727
+ #
728
+ class DeleteEventTypeRequest < Struct.new(
729
+ :name)
730
+ SENSITIVE = []
731
+ include Aws::Structure
732
+ end
733
+
734
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventTypeResult AWS API Documentation
735
+ #
736
+ class DeleteEventTypeResult < Aws::EmptyStructure; end
737
+
738
+ # @note When making an API call, you may pass DeleteExternalModelRequest
739
+ # data as a hash:
740
+ #
741
+ # {
742
+ # model_endpoint: "sageMakerEndpointIdentifier", # required
743
+ # }
744
+ #
745
+ # @!attribute [rw] model_endpoint
746
+ # The endpoint of the Amazon Sagemaker model to delete.
747
+ # @return [String]
748
+ #
749
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteExternalModelRequest AWS API Documentation
750
+ #
751
+ class DeleteExternalModelRequest < Struct.new(
752
+ :model_endpoint)
753
+ SENSITIVE = []
754
+ include Aws::Structure
755
+ end
756
+
757
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteExternalModelResult AWS API Documentation
758
+ #
759
+ class DeleteExternalModelResult < Aws::EmptyStructure; end
760
+
761
+ # @note When making an API call, you may pass DeleteLabelRequest
762
+ # data as a hash:
763
+ #
764
+ # {
765
+ # name: "identifier", # required
766
+ # }
767
+ #
768
+ # @!attribute [rw] name
769
+ # The name of the label to delete.
770
+ # @return [String]
771
+ #
772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteLabelRequest AWS API Documentation
773
+ #
774
+ class DeleteLabelRequest < Struct.new(
775
+ :name)
776
+ SENSITIVE = []
777
+ include Aws::Structure
778
+ end
779
+
780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteLabelResult AWS API Documentation
781
+ #
782
+ class DeleteLabelResult < Aws::EmptyStructure; end
783
+
784
+ # @note When making an API call, you may pass DeleteModelRequest
785
+ # data as a hash:
786
+ #
787
+ # {
788
+ # model_id: "modelIdentifier", # required
789
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
790
+ # }
791
+ #
792
+ # @!attribute [rw] model_id
793
+ # The model ID of the model to delete.
794
+ # @return [String]
795
+ #
796
+ # @!attribute [rw] model_type
797
+ # The model type of the model to delete.
798
+ # @return [String]
799
+ #
800
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModelRequest AWS API Documentation
801
+ #
802
+ class DeleteModelRequest < Struct.new(
803
+ :model_id,
804
+ :model_type)
805
+ SENSITIVE = []
806
+ include Aws::Structure
807
+ end
808
+
809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModelResult AWS API Documentation
810
+ #
811
+ class DeleteModelResult < Aws::EmptyStructure; end
812
+
813
+ # @note When making an API call, you may pass DeleteModelVersionRequest
814
+ # data as a hash:
815
+ #
816
+ # {
817
+ # model_id: "modelIdentifier", # required
818
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
819
+ # model_version_number: "floatVersionString", # required
820
+ # }
821
+ #
822
+ # @!attribute [rw] model_id
823
+ # The model ID of the model version to delete.
824
+ # @return [String]
825
+ #
826
+ # @!attribute [rw] model_type
827
+ # The model type of the model version to delete.
828
+ # @return [String]
829
+ #
830
+ # @!attribute [rw] model_version_number
831
+ # The model version number of the model version to delete.
832
+ # @return [String]
833
+ #
834
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModelVersionRequest AWS API Documentation
835
+ #
836
+ class DeleteModelVersionRequest < Struct.new(
837
+ :model_id,
838
+ :model_type,
839
+ :model_version_number)
840
+ SENSITIVE = []
841
+ include Aws::Structure
842
+ end
843
+
844
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModelVersionResult AWS API Documentation
845
+ #
846
+ class DeleteModelVersionResult < Aws::EmptyStructure; end
847
+
848
+ # @note When making an API call, you may pass DeleteOutcomeRequest
849
+ # data as a hash:
850
+ #
851
+ # {
852
+ # name: "identifier", # required
853
+ # }
854
+ #
855
+ # @!attribute [rw] name
856
+ # The name of the outcome to delete.
857
+ # @return [String]
858
+ #
859
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteOutcomeRequest AWS API Documentation
860
+ #
861
+ class DeleteOutcomeRequest < Struct.new(
862
+ :name)
863
+ SENSITIVE = []
864
+ include Aws::Structure
865
+ end
866
+
867
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteOutcomeResult AWS API Documentation
868
+ #
869
+ class DeleteOutcomeResult < Aws::EmptyStructure; end
870
+
692
871
  # @note When making an API call, you may pass DeleteRuleRequest
693
872
  # data as a hash:
694
873
  #
@@ -716,6 +895,29 @@ module Aws::FraudDetector
716
895
  #
717
896
  class DeleteRuleResult < Aws::EmptyStructure; end
718
897
 
898
+ # @note When making an API call, you may pass DeleteVariableRequest
899
+ # data as a hash:
900
+ #
901
+ # {
902
+ # name: "string", # required
903
+ # }
904
+ #
905
+ # @!attribute [rw] name
906
+ # The name of the variable to delete.
907
+ # @return [String]
908
+ #
909
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteVariableRequest AWS API Documentation
910
+ #
911
+ class DeleteVariableRequest < Struct.new(
912
+ :name)
913
+ SENSITIVE = []
914
+ include Aws::Structure
915
+ end
916
+
917
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteVariableResult AWS API Documentation
918
+ #
919
+ class DeleteVariableResult < Aws::EmptyStructure; end
920
+
719
921
  # @note When making an API call, you may pass DescribeDetectorRequest
720
922
  # data as a hash:
721
923
  #
@@ -1660,6 +1862,26 @@ module Aws::FraudDetector
1660
1862
  #
1661
1863
  # @!attribute [rw] status
1662
1864
  # The model version status.
1865
+ #
1866
+ # Possible values are:
1867
+ #
1868
+ # * `TRAINING_IN_PROGRESS`
1869
+ #
1870
+ # * `TRAINING_COMPLETE`
1871
+ #
1872
+ # * `ACTIVATE_REQUESTED`
1873
+ #
1874
+ # * `ACTIVATE_IN_PROGRESS`
1875
+ #
1876
+ # * `ACTIVE`
1877
+ #
1878
+ # * `INACTIVATE_REQUESTED`
1879
+ #
1880
+ # * `INACTIVATE_IN_PROGRESS`
1881
+ #
1882
+ # * `INACTIVE`
1883
+ #
1884
+ # * `ERROR`
1663
1885
  # @return [String]
1664
1886
  #
1665
1887
  # @!attribute [rw] arn
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.13.0
4
+ version: 1.14.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-09-30 00:00:00.000000000 Z
11
+ date: 2020-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core