aws-sdk-frauddetector 1.2.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -11,6 +13,7 @@ module Aws::FraudDetector
11
13
 
12
14
  include Seahorse::Model
13
15
 
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
14
17
  BatchCreateVariableError = Shapes::StructureShape.new(name: 'BatchCreateVariableError')
15
18
  BatchCreateVariableErrorList = Shapes::ListShape.new(name: 'BatchCreateVariableErrorList')
16
19
  BatchCreateVariableRequest = Shapes::StructureShape.new(name: 'BatchCreateVariableRequest')
@@ -22,6 +25,8 @@ module Aws::FraudDetector
22
25
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
23
26
  CreateDetectorVersionRequest = Shapes::StructureShape.new(name: 'CreateDetectorVersionRequest')
24
27
  CreateDetectorVersionResult = Shapes::StructureShape.new(name: 'CreateDetectorVersionResult')
28
+ CreateModelRequest = Shapes::StructureShape.new(name: 'CreateModelRequest')
29
+ CreateModelResult = Shapes::StructureShape.new(name: 'CreateModelResult')
25
30
  CreateModelVersionRequest = Shapes::StructureShape.new(name: 'CreateModelVersionRequest')
26
31
  CreateModelVersionResult = Shapes::StructureShape.new(name: 'CreateModelVersionResult')
27
32
  CreateRuleRequest = Shapes::StructureShape.new(name: 'CreateRuleRequest')
@@ -31,14 +36,15 @@ module Aws::FraudDetector
31
36
  CsvIndexToVariableMap = Shapes::MapShape.new(name: 'CsvIndexToVariableMap')
32
37
  DataSource = Shapes::StringShape.new(name: 'DataSource')
33
38
  DataType = Shapes::StringShape.new(name: 'DataType')
39
+ DataValidationMetrics = Shapes::StructureShape.new(name: 'DataValidationMetrics')
34
40
  DeleteDetectorRequest = Shapes::StructureShape.new(name: 'DeleteDetectorRequest')
35
41
  DeleteDetectorResult = Shapes::StructureShape.new(name: 'DeleteDetectorResult')
36
42
  DeleteDetectorVersionRequest = Shapes::StructureShape.new(name: 'DeleteDetectorVersionRequest')
37
43
  DeleteDetectorVersionResult = Shapes::StructureShape.new(name: 'DeleteDetectorVersionResult')
38
44
  DeleteEventRequest = Shapes::StructureShape.new(name: 'DeleteEventRequest')
39
45
  DeleteEventResult = Shapes::StructureShape.new(name: 'DeleteEventResult')
40
- DeleteRuleVersionRequest = Shapes::StructureShape.new(name: 'DeleteRuleVersionRequest')
41
- DeleteRuleVersionResult = Shapes::StructureShape.new(name: 'DeleteRuleVersionResult')
46
+ DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
47
+ DeleteRuleResult = Shapes::StructureShape.new(name: 'DeleteRuleResult')
42
48
  DescribeDetectorRequest = Shapes::StructureShape.new(name: 'DescribeDetectorRequest')
43
49
  DescribeDetectorResult = Shapes::StructureShape.new(name: 'DescribeDetectorResult')
44
50
  DescribeModelVersionsRequest = Shapes::StructureShape.new(name: 'DescribeModelVersionsRequest')
@@ -50,17 +56,33 @@ module Aws::FraudDetector
50
56
  DetectorVersionSummary = Shapes::StructureShape.new(name: 'DetectorVersionSummary')
51
57
  DetectorVersionSummaryList = Shapes::ListShape.new(name: 'DetectorVersionSummaryList')
52
58
  DetectorsMaxResults = Shapes::IntegerShape.new(name: 'DetectorsMaxResults')
59
+ Entity = Shapes::StructureShape.new(name: 'Entity')
60
+ EntityType = Shapes::StructureShape.new(name: 'EntityType')
53
61
  EventAttributeMap = Shapes::MapShape.new(name: 'EventAttributeMap')
62
+ EventType = Shapes::StructureShape.new(name: 'EventType')
63
+ EventVariableMap = Shapes::MapShape.new(name: 'EventVariableMap')
64
+ ExternalEventsDetail = Shapes::StructureShape.new(name: 'ExternalEventsDetail')
54
65
  ExternalModel = Shapes::StructureShape.new(name: 'ExternalModel')
55
66
  ExternalModelEndpointDataBlobMap = Shapes::MapShape.new(name: 'ExternalModelEndpointDataBlobMap')
56
67
  ExternalModelList = Shapes::ListShape.new(name: 'ExternalModelList')
57
68
  ExternalModelsMaxResults = Shapes::IntegerShape.new(name: 'ExternalModelsMaxResults')
69
+ FieldValidationMessage = Shapes::StructureShape.new(name: 'FieldValidationMessage')
70
+ FileValidationMessage = Shapes::StructureShape.new(name: 'FileValidationMessage')
58
71
  GetDetectorVersionRequest = Shapes::StructureShape.new(name: 'GetDetectorVersionRequest')
59
72
  GetDetectorVersionResult = Shapes::StructureShape.new(name: 'GetDetectorVersionResult')
60
73
  GetDetectorsRequest = Shapes::StructureShape.new(name: 'GetDetectorsRequest')
61
74
  GetDetectorsResult = Shapes::StructureShape.new(name: 'GetDetectorsResult')
75
+ GetEntityTypesRequest = Shapes::StructureShape.new(name: 'GetEntityTypesRequest')
76
+ GetEntityTypesResult = Shapes::StructureShape.new(name: 'GetEntityTypesResult')
77
+ GetEventPredictionRequest = Shapes::StructureShape.new(name: 'GetEventPredictionRequest')
78
+ GetEventPredictionResult = Shapes::StructureShape.new(name: 'GetEventPredictionResult')
79
+ GetEventTypesRequest = Shapes::StructureShape.new(name: 'GetEventTypesRequest')
80
+ GetEventTypesResult = Shapes::StructureShape.new(name: 'GetEventTypesResult')
62
81
  GetExternalModelsRequest = Shapes::StructureShape.new(name: 'GetExternalModelsRequest')
63
82
  GetExternalModelsResult = Shapes::StructureShape.new(name: 'GetExternalModelsResult')
83
+ GetKMSEncryptionKeyResult = Shapes::StructureShape.new(name: 'GetKMSEncryptionKeyResult')
84
+ GetLabelsRequest = Shapes::StructureShape.new(name: 'GetLabelsRequest')
85
+ GetLabelsResult = Shapes::StructureShape.new(name: 'GetLabelsResult')
64
86
  GetModelVersionRequest = Shapes::StructureShape.new(name: 'GetModelVersionRequest')
65
87
  GetModelVersionResult = Shapes::StructureShape.new(name: 'GetModelVersionResult')
66
88
  GetModelsRequest = Shapes::StructureShape.new(name: 'GetModelsRequest')
@@ -74,35 +96,32 @@ module Aws::FraudDetector
74
96
  GetVariablesRequest = Shapes::StructureShape.new(name: 'GetVariablesRequest')
75
97
  GetVariablesResult = Shapes::StructureShape.new(name: 'GetVariablesResult')
76
98
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
77
- IsOpaque = Shapes::BooleanShape.new(name: 'IsOpaque')
78
99
  JsonKeyToVariableMap = Shapes::MapShape.new(name: 'JsonKeyToVariableMap')
79
- LabelMapper = Shapes::MapShape.new(name: 'LabelMapper')
100
+ KMSKey = Shapes::StructureShape.new(name: 'KMSKey')
101
+ KmsEncryptionKeyArn = Shapes::StringShape.new(name: 'KmsEncryptionKeyArn')
102
+ Label = Shapes::StructureShape.new(name: 'Label')
80
103
  LabelSchema = Shapes::StructureShape.new(name: 'LabelSchema')
81
104
  Language = Shapes::StringShape.new(name: 'Language')
82
105
  ListOfModelScores = Shapes::ListShape.new(name: 'ListOfModelScores')
83
106
  ListOfModelVersions = Shapes::ListShape.new(name: 'ListOfModelVersions')
84
107
  ListOfRuleResults = Shapes::ListShape.new(name: 'ListOfRuleResults')
85
108
  ListOfStrings = Shapes::ListShape.new(name: 'ListOfStrings')
86
- MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
87
- MetricsMap = Shapes::MapShape.new(name: 'MetricsMap')
109
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
110
+ ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
111
+ MetricDataPoint = Shapes::StructureShape.new(name: 'MetricDataPoint')
88
112
  Model = Shapes::StructureShape.new(name: 'Model')
89
113
  ModelEndpointDataBlob = Shapes::StructureShape.new(name: 'ModelEndpointDataBlob')
90
114
  ModelEndpointStatus = Shapes::StringShape.new(name: 'ModelEndpointStatus')
91
115
  ModelInputConfiguration = Shapes::StructureShape.new(name: 'ModelInputConfiguration')
92
116
  ModelInputDataFormat = Shapes::StringShape.new(name: 'ModelInputDataFormat')
93
- ModelList = Shapes::ListShape.new(name: 'ModelList')
94
117
  ModelOutputConfiguration = Shapes::StructureShape.new(name: 'ModelOutputConfiguration')
95
118
  ModelOutputDataFormat = Shapes::StringShape.new(name: 'ModelOutputDataFormat')
96
119
  ModelPredictionMap = Shapes::MapShape.new(name: 'ModelPredictionMap')
97
120
  ModelScores = Shapes::StructureShape.new(name: 'ModelScores')
98
121
  ModelSource = Shapes::StringShape.new(name: 'ModelSource')
99
122
  ModelTypeEnum = Shapes::StringShape.new(name: 'ModelTypeEnum')
100
- ModelVariable = Shapes::StructureShape.new(name: 'ModelVariable')
101
- ModelVariableIndex = Shapes::IntegerShape.new(name: 'ModelVariableIndex')
102
- ModelVariablesList = Shapes::ListShape.new(name: 'ModelVariablesList')
103
123
  ModelVersion = Shapes::StructureShape.new(name: 'ModelVersion')
104
124
  ModelVersionDetail = Shapes::StructureShape.new(name: 'ModelVersionDetail')
105
- ModelVersionDetailList = Shapes::ListShape.new(name: 'ModelVersionDetailList')
106
125
  ModelVersionStatus = Shapes::StringShape.new(name: 'ModelVersionStatus')
107
126
  NameList = Shapes::ListShape.new(name: 'NameList')
108
127
  NonEmptyListOfStrings = Shapes::ListShape.new(name: 'NonEmptyListOfStrings')
@@ -111,10 +130,16 @@ module Aws::FraudDetector
111
130
  OutcomesMaxResults = Shapes::IntegerShape.new(name: 'OutcomesMaxResults')
112
131
  PutDetectorRequest = Shapes::StructureShape.new(name: 'PutDetectorRequest')
113
132
  PutDetectorResult = Shapes::StructureShape.new(name: 'PutDetectorResult')
133
+ PutEntityTypeRequest = Shapes::StructureShape.new(name: 'PutEntityTypeRequest')
134
+ PutEntityTypeResult = Shapes::StructureShape.new(name: 'PutEntityTypeResult')
135
+ PutEventTypeRequest = Shapes::StructureShape.new(name: 'PutEventTypeRequest')
136
+ PutEventTypeResult = Shapes::StructureShape.new(name: 'PutEventTypeResult')
114
137
  PutExternalModelRequest = Shapes::StructureShape.new(name: 'PutExternalModelRequest')
115
138
  PutExternalModelResult = Shapes::StructureShape.new(name: 'PutExternalModelResult')
116
- PutModelRequest = Shapes::StructureShape.new(name: 'PutModelRequest')
117
- PutModelResult = Shapes::StructureShape.new(name: 'PutModelResult')
139
+ PutKMSEncryptionKeyRequest = Shapes::StructureShape.new(name: 'PutKMSEncryptionKeyRequest')
140
+ PutKMSEncryptionKeyResult = Shapes::StructureShape.new(name: 'PutKMSEncryptionKeyResult')
141
+ PutLabelRequest = Shapes::StructureShape.new(name: 'PutLabelRequest')
142
+ PutLabelResult = Shapes::StructureShape.new(name: 'PutLabelResult')
118
143
  PutOutcomeRequest = Shapes::StructureShape.new(name: 'PutOutcomeRequest')
119
144
  PutOutcomeResult = Shapes::StructureShape.new(name: 'PutOutcomeResult')
120
145
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -126,22 +151,36 @@ module Aws::FraudDetector
126
151
  RuleList = Shapes::ListShape.new(name: 'RuleList')
127
152
  RuleResult = Shapes::StructureShape.new(name: 'RuleResult')
128
153
  RulesMaxResults = Shapes::IntegerShape.new(name: 'RulesMaxResults')
154
+ Tag = Shapes::StructureShape.new(name: 'Tag')
155
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
156
+ TagResourceResult = Shapes::StructureShape.new(name: 'TagResourceResult')
157
+ TagsMaxResults = Shapes::IntegerShape.new(name: 'TagsMaxResults')
129
158
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
130
- TrainingDataSource = Shapes::StructureShape.new(name: 'TrainingDataSource')
159
+ TrainingDataSchema = Shapes::StructureShape.new(name: 'TrainingDataSchema')
160
+ TrainingDataSourceEnum = Shapes::StringShape.new(name: 'TrainingDataSourceEnum')
161
+ TrainingMetrics = Shapes::StructureShape.new(name: 'TrainingMetrics')
162
+ TrainingResult = Shapes::StructureShape.new(name: 'TrainingResult')
163
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
164
+ UntagResourceResult = Shapes::StructureShape.new(name: 'UntagResourceResult')
131
165
  UpdateDetectorVersionMetadataRequest = Shapes::StructureShape.new(name: 'UpdateDetectorVersionMetadataRequest')
132
166
  UpdateDetectorVersionMetadataResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionMetadataResult')
133
167
  UpdateDetectorVersionRequest = Shapes::StructureShape.new(name: 'UpdateDetectorVersionRequest')
134
168
  UpdateDetectorVersionResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionResult')
135
169
  UpdateDetectorVersionStatusRequest = Shapes::StructureShape.new(name: 'UpdateDetectorVersionStatusRequest')
136
170
  UpdateDetectorVersionStatusResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionStatusResult')
171
+ UpdateModelRequest = Shapes::StructureShape.new(name: 'UpdateModelRequest')
172
+ UpdateModelResult = Shapes::StructureShape.new(name: 'UpdateModelResult')
137
173
  UpdateModelVersionRequest = Shapes::StructureShape.new(name: 'UpdateModelVersionRequest')
138
174
  UpdateModelVersionResult = Shapes::StructureShape.new(name: 'UpdateModelVersionResult')
175
+ UpdateModelVersionStatusRequest = Shapes::StructureShape.new(name: 'UpdateModelVersionStatusRequest')
176
+ UpdateModelVersionStatusResult = Shapes::StructureShape.new(name: 'UpdateModelVersionStatusResult')
139
177
  UpdateRuleMetadataRequest = Shapes::StructureShape.new(name: 'UpdateRuleMetadataRequest')
140
178
  UpdateRuleMetadataResult = Shapes::StructureShape.new(name: 'UpdateRuleMetadataResult')
141
179
  UpdateRuleVersionRequest = Shapes::StructureShape.new(name: 'UpdateRuleVersionRequest')
142
180
  UpdateRuleVersionResult = Shapes::StructureShape.new(name: 'UpdateRuleVersionResult')
143
181
  UpdateVariableRequest = Shapes::StructureShape.new(name: 'UpdateVariableRequest')
144
182
  UpdateVariableResult = Shapes::StructureShape.new(name: 'UpdateVariableResult')
183
+ UseEventVariables = Shapes::BooleanShape.new(name: 'UseEventVariables')
145
184
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
146
185
  Variable = Shapes::StructureShape.new(name: 'Variable')
147
186
  VariableEntry = Shapes::StructureShape.new(name: 'VariableEntry')
@@ -153,15 +192,42 @@ module Aws::FraudDetector
153
192
  blob = Shapes::BlobShape.new(name: 'blob')
154
193
  contentType = Shapes::StringShape.new(name: 'contentType')
155
194
  description = Shapes::StringShape.new(name: 'description')
195
+ entityTypeList = Shapes::ListShape.new(name: 'entityTypeList')
196
+ entityTypesMaxResults = Shapes::IntegerShape.new(name: 'entityTypesMaxResults')
197
+ eventTypeList = Shapes::ListShape.new(name: 'eventTypeList')
198
+ eventTypesMaxResults = Shapes::IntegerShape.new(name: 'eventTypesMaxResults')
199
+ fieldValidationMessageList = Shapes::ListShape.new(name: 'fieldValidationMessageList')
200
+ fileValidationMessageList = Shapes::ListShape.new(name: 'fileValidationMessageList')
156
201
  float = Shapes::FloatShape.new(name: 'float')
202
+ floatVersionString = Shapes::StringShape.new(name: 'floatVersionString')
203
+ fraudDetectorArn = Shapes::StringShape.new(name: 'fraudDetectorArn')
157
204
  iamRoleArn = Shapes::StringShape.new(name: 'iamRoleArn')
158
205
  identifier = Shapes::StringShape.new(name: 'identifier')
159
206
  integer = Shapes::IntegerShape.new(name: 'integer')
207
+ labelList = Shapes::ListShape.new(name: 'labelList')
208
+ labelMapper = Shapes::MapShape.new(name: 'labelMapper')
209
+ labelsMaxResults = Shapes::IntegerShape.new(name: 'labelsMaxResults')
210
+ listOfEntities = Shapes::ListShape.new(name: 'listOfEntities')
211
+ metricDataPointsList = Shapes::ListShape.new(name: 'metricDataPointsList')
212
+ modelList = Shapes::ListShape.new(name: 'modelList')
213
+ modelVersionDetailList = Shapes::ListShape.new(name: 'modelVersionDetailList')
214
+ modelsMaxPageSize = Shapes::IntegerShape.new(name: 'modelsMaxPageSize')
160
215
  nonEmptyString = Shapes::StringShape.new(name: 'nonEmptyString')
161
216
  ruleExpression = Shapes::StringShape.new(name: 'ruleExpression')
162
217
  s3BucketLocation = Shapes::StringShape.new(name: 's3BucketLocation')
218
+ sageMakerEndpointIdentifier = Shapes::StringShape.new(name: 'sageMakerEndpointIdentifier')
163
219
  string = Shapes::StringShape.new(name: 'string')
220
+ tagKey = Shapes::StringShape.new(name: 'tagKey')
221
+ tagKeyList = Shapes::ListShape.new(name: 'tagKeyList')
222
+ tagList = Shapes::ListShape.new(name: 'tagList')
223
+ tagValue = Shapes::StringShape.new(name: 'tagValue')
164
224
  time = Shapes::StringShape.new(name: 'time')
225
+ variableName = Shapes::StringShape.new(name: 'variableName')
226
+ variableValue = Shapes::StringShape.new(name: 'variableValue')
227
+ wholeNumberVersionString = Shapes::StringShape.new(name: 'wholeNumberVersionString')
228
+
229
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: string, required: true, location_name: "message"))
230
+ AccessDeniedException.struct_class = Types::AccessDeniedException
165
231
 
166
232
  BatchCreateVariableError.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
167
233
  BatchCreateVariableError.add_member(:code, Shapes::ShapeRef.new(shape: integer, location_name: "code"))
@@ -171,6 +237,7 @@ module Aws::FraudDetector
171
237
  BatchCreateVariableErrorList.member = Shapes::ShapeRef.new(shape: BatchCreateVariableError)
172
238
 
173
239
  BatchCreateVariableRequest.add_member(:variable_entries, Shapes::ShapeRef.new(shape: VariableEntryList, required: true, location_name: "variableEntries"))
240
+ BatchCreateVariableRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
174
241
  BatchCreateVariableRequest.struct_class = Types::BatchCreateVariableRequest
175
242
 
176
243
  BatchCreateVariableResult.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateVariableErrorList, location_name: "errors"))
@@ -199,6 +266,7 @@ module Aws::FraudDetector
199
266
  CreateDetectorVersionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: RuleList, required: true, location_name: "rules"))
200
267
  CreateDetectorVersionRequest.add_member(:model_versions, Shapes::ShapeRef.new(shape: ListOfModelVersions, location_name: "modelVersions"))
201
268
  CreateDetectorVersionRequest.add_member(:rule_execution_mode, Shapes::ShapeRef.new(shape: RuleExecutionMode, location_name: "ruleExecutionMode"))
269
+ CreateDetectorVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
202
270
  CreateDetectorVersionRequest.struct_class = Types::CreateDetectorVersionRequest
203
271
 
204
272
  CreateDetectorVersionResult.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
@@ -206,9 +274,21 @@ module Aws::FraudDetector
206
274
  CreateDetectorVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, location_name: "status"))
207
275
  CreateDetectorVersionResult.struct_class = Types::CreateDetectorVersionResult
208
276
 
277
+ CreateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
278
+ CreateModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
279
+ CreateModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
280
+ CreateModelRequest.add_member(:event_type_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventTypeName"))
281
+ CreateModelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
282
+ CreateModelRequest.struct_class = Types::CreateModelRequest
283
+
284
+ CreateModelResult.struct_class = Types::CreateModelResult
285
+
209
286
  CreateModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
210
287
  CreateModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
211
- CreateModelVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
288
+ CreateModelVersionRequest.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSourceEnum, required: true, location_name: "trainingDataSource"))
289
+ CreateModelVersionRequest.add_member(:training_data_schema, Shapes::ShapeRef.new(shape: TrainingDataSchema, required: true, location_name: "trainingDataSchema"))
290
+ CreateModelVersionRequest.add_member(:external_events_detail, Shapes::ShapeRef.new(shape: ExternalEventsDetail, location_name: "externalEventsDetail"))
291
+ CreateModelVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
212
292
  CreateModelVersionRequest.struct_class = Types::CreateModelVersionRequest
213
293
 
214
294
  CreateModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
@@ -223,6 +303,7 @@ module Aws::FraudDetector
223
303
  CreateRuleRequest.add_member(:expression, Shapes::ShapeRef.new(shape: ruleExpression, required: true, location_name: "expression"))
224
304
  CreateRuleRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, required: true, location_name: "language"))
225
305
  CreateRuleRequest.add_member(:outcomes, Shapes::ShapeRef.new(shape: NonEmptyListOfStrings, required: true, location_name: "outcomes"))
306
+ CreateRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
226
307
  CreateRuleRequest.struct_class = Types::CreateRuleRequest
227
308
 
228
309
  CreateRuleResult.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, location_name: "rule"))
@@ -234,6 +315,7 @@ module Aws::FraudDetector
234
315
  CreateVariableRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: string, required: true, location_name: "defaultValue"))
235
316
  CreateVariableRequest.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "description"))
236
317
  CreateVariableRequest.add_member(:variable_type, Shapes::ShapeRef.new(shape: string, location_name: "variableType"))
318
+ CreateVariableRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
237
319
  CreateVariableRequest.struct_class = Types::CreateVariableRequest
238
320
 
239
321
  CreateVariableResult.struct_class = Types::CreateVariableResult
@@ -241,28 +323,31 @@ module Aws::FraudDetector
241
323
  CsvIndexToVariableMap.key = Shapes::ShapeRef.new(shape: string)
242
324
  CsvIndexToVariableMap.value = Shapes::ShapeRef.new(shape: string)
243
325
 
326
+ DataValidationMetrics.add_member(:file_level_messages, Shapes::ShapeRef.new(shape: fileValidationMessageList, location_name: "fileLevelMessages"))
327
+ DataValidationMetrics.add_member(:field_level_messages, Shapes::ShapeRef.new(shape: fieldValidationMessageList, location_name: "fieldLevelMessages"))
328
+ DataValidationMetrics.struct_class = Types::DataValidationMetrics
329
+
244
330
  DeleteDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
245
331
  DeleteDetectorRequest.struct_class = Types::DeleteDetectorRequest
246
332
 
247
333
  DeleteDetectorResult.struct_class = Types::DeleteDetectorResult
248
334
 
249
335
  DeleteDetectorVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
250
- DeleteDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
336
+ DeleteDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "detectorVersionId"))
251
337
  DeleteDetectorVersionRequest.struct_class = Types::DeleteDetectorVersionRequest
252
338
 
253
339
  DeleteDetectorVersionResult.struct_class = Types::DeleteDetectorVersionResult
254
340
 
255
341
  DeleteEventRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventId"))
342
+ DeleteEventRequest.add_member(:event_type_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventTypeName"))
256
343
  DeleteEventRequest.struct_class = Types::DeleteEventRequest
257
344
 
258
345
  DeleteEventResult.struct_class = Types::DeleteEventResult
259
346
 
260
- DeleteRuleVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
261
- DeleteRuleVersionRequest.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "ruleId"))
262
- DeleteRuleVersionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "ruleVersion"))
263
- DeleteRuleVersionRequest.struct_class = Types::DeleteRuleVersionRequest
347
+ DeleteRuleRequest.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, required: true, location_name: "rule"))
348
+ DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
264
349
 
265
- DeleteRuleVersionResult.struct_class = Types::DeleteRuleVersionResult
350
+ DeleteRuleResult.struct_class = Types::DeleteRuleResult
266
351
 
267
352
  DescribeDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
268
353
  DescribeDetectorRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
@@ -272,23 +357,26 @@ module Aws::FraudDetector
272
357
  DescribeDetectorResult.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
273
358
  DescribeDetectorResult.add_member(:detector_version_summaries, Shapes::ShapeRef.new(shape: DetectorVersionSummaryList, location_name: "detectorVersionSummaries"))
274
359
  DescribeDetectorResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
360
+ DescribeDetectorResult.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
275
361
  DescribeDetectorResult.struct_class = Types::DescribeDetectorResult
276
362
 
277
363
  DescribeModelVersionsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
278
- DescribeModelVersionsRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
364
+ DescribeModelVersionsRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, location_name: "modelVersionNumber"))
279
365
  DescribeModelVersionsRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
280
366
  DescribeModelVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
281
- DescribeModelVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
367
+ DescribeModelVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: modelsMaxPageSize, location_name: "maxResults"))
282
368
  DescribeModelVersionsRequest.struct_class = Types::DescribeModelVersionsRequest
283
369
 
284
- DescribeModelVersionsResult.add_member(:model_version_details, Shapes::ShapeRef.new(shape: ModelVersionDetailList, location_name: "modelVersionDetails"))
370
+ DescribeModelVersionsResult.add_member(:model_version_details, Shapes::ShapeRef.new(shape: modelVersionDetailList, location_name: "modelVersionDetails"))
285
371
  DescribeModelVersionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
286
372
  DescribeModelVersionsResult.struct_class = Types::DescribeModelVersionsResult
287
373
 
288
374
  Detector.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
289
375
  Detector.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
376
+ Detector.add_member(:event_type_name, Shapes::ShapeRef.new(shape: identifier, location_name: "eventTypeName"))
290
377
  Detector.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
291
378
  Detector.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
379
+ Detector.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
292
380
  Detector.struct_class = Types::Detector
293
381
 
294
382
  DetectorList.member = Shapes::ShapeRef.new(shape: Detector)
@@ -301,10 +389,39 @@ module Aws::FraudDetector
301
389
 
302
390
  DetectorVersionSummaryList.member = Shapes::ShapeRef.new(shape: DetectorVersionSummary)
303
391
 
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"))
394
+ Entity.struct_class = Types::Entity
395
+
396
+ EntityType.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
397
+ EntityType.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
398
+ EntityType.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
399
+ EntityType.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
400
+ EntityType.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
401
+ EntityType.struct_class = Types::EntityType
402
+
304
403
  EventAttributeMap.key = Shapes::ShapeRef.new(shape: attributeKey)
305
404
  EventAttributeMap.value = Shapes::ShapeRef.new(shape: attributeValue)
306
405
 
406
+ EventType.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
407
+ EventType.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
408
+ EventType.add_member(:event_variables, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "eventVariables"))
409
+ EventType.add_member(:labels, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "labels"))
410
+ EventType.add_member(:entity_types, Shapes::ShapeRef.new(shape: NonEmptyListOfStrings, location_name: "entityTypes"))
411
+ EventType.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
412
+ EventType.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
413
+ EventType.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
414
+ EventType.struct_class = Types::EventType
415
+
416
+ EventVariableMap.key = Shapes::ShapeRef.new(shape: variableName)
417
+ EventVariableMap.value = Shapes::ShapeRef.new(shape: variableValue)
418
+
419
+ ExternalEventsDetail.add_member(:data_location, Shapes::ShapeRef.new(shape: s3BucketLocation, required: true, location_name: "dataLocation"))
420
+ ExternalEventsDetail.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: iamRoleArn, required: true, location_name: "dataAccessRoleArn"))
421
+ ExternalEventsDetail.struct_class = Types::ExternalEventsDetail
422
+
307
423
  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"))
308
425
  ExternalModel.add_member(:model_source, Shapes::ShapeRef.new(shape: ModelSource, location_name: "modelSource"))
309
426
  ExternalModel.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "role"))
310
427
  ExternalModel.add_member(:input_configuration, Shapes::ShapeRef.new(shape: ModelInputConfiguration, location_name: "inputConfiguration"))
@@ -312,6 +429,7 @@ module Aws::FraudDetector
312
429
  ExternalModel.add_member(:model_endpoint_status, Shapes::ShapeRef.new(shape: ModelEndpointStatus, location_name: "modelEndpointStatus"))
313
430
  ExternalModel.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
314
431
  ExternalModel.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
432
+ ExternalModel.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
315
433
  ExternalModel.struct_class = Types::ExternalModel
316
434
 
317
435
  ExternalModelEndpointDataBlobMap.key = Shapes::ShapeRef.new(shape: string)
@@ -319,12 +437,24 @@ module Aws::FraudDetector
319
437
 
320
438
  ExternalModelList.member = Shapes::ShapeRef.new(shape: ExternalModel)
321
439
 
440
+ FieldValidationMessage.add_member(:field_name, Shapes::ShapeRef.new(shape: string, location_name: "fieldName"))
441
+ FieldValidationMessage.add_member(:identifier, Shapes::ShapeRef.new(shape: string, location_name: "identifier"))
442
+ FieldValidationMessage.add_member(:title, Shapes::ShapeRef.new(shape: string, location_name: "title"))
443
+ FieldValidationMessage.add_member(:content, Shapes::ShapeRef.new(shape: string, location_name: "content"))
444
+ FieldValidationMessage.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "type"))
445
+ FieldValidationMessage.struct_class = Types::FieldValidationMessage
446
+
447
+ FileValidationMessage.add_member(:title, Shapes::ShapeRef.new(shape: string, location_name: "title"))
448
+ FileValidationMessage.add_member(:content, Shapes::ShapeRef.new(shape: string, location_name: "content"))
449
+ FileValidationMessage.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "type"))
450
+ FileValidationMessage.struct_class = Types::FileValidationMessage
451
+
322
452
  GetDetectorVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
323
- GetDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
453
+ GetDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "detectorVersionId"))
324
454
  GetDetectorVersionRequest.struct_class = Types::GetDetectorVersionRequest
325
455
 
326
456
  GetDetectorVersionResult.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
327
- GetDetectorVersionResult.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "detectorVersionId"))
457
+ GetDetectorVersionResult.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: wholeNumberVersionString, location_name: "detectorVersionId"))
328
458
  GetDetectorVersionResult.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
329
459
  GetDetectorVersionResult.add_member(:external_model_endpoints, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "externalModelEndpoints"))
330
460
  GetDetectorVersionResult.add_member(:model_versions, Shapes::ShapeRef.new(shape: ListOfModelVersions, location_name: "modelVersions"))
@@ -333,6 +463,7 @@ module Aws::FraudDetector
333
463
  GetDetectorVersionResult.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
334
464
  GetDetectorVersionResult.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
335
465
  GetDetectorVersionResult.add_member(:rule_execution_mode, Shapes::ShapeRef.new(shape: RuleExecutionMode, location_name: "ruleExecutionMode"))
466
+ GetDetectorVersionResult.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
336
467
  GetDetectorVersionResult.struct_class = Types::GetDetectorVersionResult
337
468
 
338
469
  GetDetectorsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
@@ -344,6 +475,38 @@ module Aws::FraudDetector
344
475
  GetDetectorsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
345
476
  GetDetectorsResult.struct_class = Types::GetDetectorsResult
346
477
 
478
+ GetEntityTypesRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, location_name: "name"))
479
+ GetEntityTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
480
+ GetEntityTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: entityTypesMaxResults, location_name: "maxResults"))
481
+ GetEntityTypesRequest.struct_class = Types::GetEntityTypesRequest
482
+
483
+ GetEntityTypesResult.add_member(:entity_types, Shapes::ShapeRef.new(shape: entityTypeList, location_name: "entityTypes"))
484
+ GetEntityTypesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
485
+ GetEntityTypesResult.struct_class = Types::GetEntityTypesResult
486
+
487
+ 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"))
489
+ GetEventPredictionRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventId"))
490
+ GetEventPredictionRequest.add_member(:event_type_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventTypeName"))
491
+ GetEventPredictionRequest.add_member(:entities, Shapes::ShapeRef.new(shape: listOfEntities, required: true, location_name: "entities"))
492
+ GetEventPredictionRequest.add_member(:event_timestamp, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventTimestamp"))
493
+ GetEventPredictionRequest.add_member(:event_variables, Shapes::ShapeRef.new(shape: EventVariableMap, required: true, location_name: "eventVariables"))
494
+ GetEventPredictionRequest.add_member(:external_model_endpoint_data_blobs, Shapes::ShapeRef.new(shape: ExternalModelEndpointDataBlobMap, location_name: "externalModelEndpointDataBlobs"))
495
+ GetEventPredictionRequest.struct_class = Types::GetEventPredictionRequest
496
+
497
+ GetEventPredictionResult.add_member(:model_scores, Shapes::ShapeRef.new(shape: ListOfModelScores, location_name: "modelScores"))
498
+ GetEventPredictionResult.add_member(:rule_results, Shapes::ShapeRef.new(shape: ListOfRuleResults, location_name: "ruleResults"))
499
+ GetEventPredictionResult.struct_class = Types::GetEventPredictionResult
500
+
501
+ GetEventTypesRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, location_name: "name"))
502
+ GetEventTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
503
+ GetEventTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: eventTypesMaxResults, location_name: "maxResults"))
504
+ GetEventTypesRequest.struct_class = Types::GetEventTypesRequest
505
+
506
+ GetEventTypesResult.add_member(:event_types, Shapes::ShapeRef.new(shape: eventTypeList, location_name: "eventTypes"))
507
+ GetEventTypesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
508
+ GetEventTypesResult.struct_class = Types::GetEventTypesResult
509
+
347
510
  GetExternalModelsRequest.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: string, location_name: "modelEndpoint"))
348
511
  GetExternalModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
349
512
  GetExternalModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ExternalModelsMaxResults, location_name: "maxResults"))
@@ -353,26 +516,41 @@ module Aws::FraudDetector
353
516
  GetExternalModelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
354
517
  GetExternalModelsResult.struct_class = Types::GetExternalModelsResult
355
518
 
519
+ GetKMSEncryptionKeyResult.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "kmsKey"))
520
+ GetKMSEncryptionKeyResult.struct_class = Types::GetKMSEncryptionKeyResult
521
+
522
+ GetLabelsRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, location_name: "name"))
523
+ GetLabelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
524
+ GetLabelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: labelsMaxResults, location_name: "maxResults"))
525
+ GetLabelsRequest.struct_class = Types::GetLabelsRequest
526
+
527
+ GetLabelsResult.add_member(:labels, Shapes::ShapeRef.new(shape: labelList, location_name: "labels"))
528
+ GetLabelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
529
+ GetLabelsResult.struct_class = Types::GetLabelsResult
530
+
356
531
  GetModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
357
532
  GetModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
358
- GetModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "modelVersionNumber"))
533
+ GetModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, required: true, location_name: "modelVersionNumber"))
359
534
  GetModelVersionRequest.struct_class = Types::GetModelVersionRequest
360
535
 
361
536
  GetModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
362
537
  GetModelVersionResult.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
363
- GetModelVersionResult.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
364
- GetModelVersionResult.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
538
+ GetModelVersionResult.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, location_name: "modelVersionNumber"))
539
+ GetModelVersionResult.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSourceEnum, location_name: "trainingDataSource"))
540
+ GetModelVersionResult.add_member(:training_data_schema, Shapes::ShapeRef.new(shape: TrainingDataSchema, location_name: "trainingDataSchema"))
541
+ GetModelVersionResult.add_member(:external_events_detail, Shapes::ShapeRef.new(shape: ExternalEventsDetail, location_name: "externalEventsDetail"))
365
542
  GetModelVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
543
+ GetModelVersionResult.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
366
544
  GetModelVersionResult.struct_class = Types::GetModelVersionResult
367
545
 
368
- GetModelsRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
369
546
  GetModelsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
547
+ GetModelsRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
370
548
  GetModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
371
- GetModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
549
+ GetModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: modelsMaxPageSize, location_name: "maxResults"))
372
550
  GetModelsRequest.struct_class = Types::GetModelsRequest
373
551
 
374
552
  GetModelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
375
- GetModelsResult.add_member(:models, Shapes::ShapeRef.new(shape: ModelList, location_name: "models"))
553
+ GetModelsResult.add_member(:models, Shapes::ShapeRef.new(shape: modelList, location_name: "models"))
376
554
  GetModelsResult.struct_class = Types::GetModelsResult
377
555
 
378
556
  GetOutcomesRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, location_name: "name"))
@@ -398,7 +576,7 @@ module Aws::FraudDetector
398
576
 
399
577
  GetRulesRequest.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, location_name: "ruleId"))
400
578
  GetRulesRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
401
- GetRulesRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "ruleVersion"))
579
+ GetRulesRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: wholeNumberVersionString, location_name: "ruleVersion"))
402
580
  GetRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
403
581
  GetRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: RulesMaxResults, location_name: "maxResults"))
404
582
  GetRulesRequest.struct_class = Types::GetRulesRequest
@@ -422,11 +600,17 @@ module Aws::FraudDetector
422
600
  JsonKeyToVariableMap.key = Shapes::ShapeRef.new(shape: string)
423
601
  JsonKeyToVariableMap.value = Shapes::ShapeRef.new(shape: string)
424
602
 
425
- LabelMapper.key = Shapes::ShapeRef.new(shape: string)
426
- LabelMapper.value = Shapes::ShapeRef.new(shape: ListOfStrings)
603
+ KMSKey.add_member(:kms_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsEncryptionKeyArn, location_name: "kmsEncryptionKeyArn"))
604
+ KMSKey.struct_class = Types::KMSKey
427
605
 
428
- LabelSchema.add_member(:label_key, Shapes::ShapeRef.new(shape: string, required: true, location_name: "labelKey"))
429
- LabelSchema.add_member(:label_mapper, Shapes::ShapeRef.new(shape: LabelMapper, required: true, location_name: "labelMapper"))
606
+ Label.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
607
+ Label.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
608
+ Label.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
609
+ Label.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
610
+ Label.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
611
+ Label.struct_class = Types::Label
612
+
613
+ LabelSchema.add_member(:label_mapper, Shapes::ShapeRef.new(shape: labelMapper, required: true, location_name: "labelMapper"))
430
614
  LabelSchema.struct_class = Types::LabelSchema
431
615
 
432
616
  ListOfModelScores.member = Shapes::ShapeRef.new(shape: ModelScores)
@@ -437,17 +621,28 @@ module Aws::FraudDetector
437
621
 
438
622
  ListOfStrings.member = Shapes::ShapeRef.new(shape: string)
439
623
 
440
- MetricsMap.key = Shapes::ShapeRef.new(shape: string)
441
- MetricsMap.value = Shapes::ShapeRef.new(shape: string)
624
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, required: true, location_name: "resourceARN"))
625
+ ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
626
+ ListTagsForResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: TagsMaxResults, location_name: "maxResults"))
627
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
628
+
629
+ ListTagsForResourceResult.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
630
+ ListTagsForResourceResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
631
+ ListTagsForResourceResult.struct_class = Types::ListTagsForResourceResult
632
+
633
+ MetricDataPoint.add_member(:fpr, Shapes::ShapeRef.new(shape: float, location_name: "fpr"))
634
+ MetricDataPoint.add_member(:precision, Shapes::ShapeRef.new(shape: float, location_name: "precision"))
635
+ MetricDataPoint.add_member(:tpr, Shapes::ShapeRef.new(shape: float, location_name: "tpr"))
636
+ MetricDataPoint.add_member(:threshold, Shapes::ShapeRef.new(shape: float, location_name: "threshold"))
637
+ MetricDataPoint.struct_class = Types::MetricDataPoint
442
638
 
443
639
  Model.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
444
640
  Model.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
445
641
  Model.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
446
- Model.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSource, location_name: "trainingDataSource"))
447
- Model.add_member(:model_variables, Shapes::ShapeRef.new(shape: ModelVariablesList, location_name: "modelVariables"))
448
- Model.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, location_name: "labelSchema"))
449
- Model.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
642
+ Model.add_member(:event_type_name, Shapes::ShapeRef.new(shape: string, location_name: "eventTypeName"))
450
643
  Model.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
644
+ Model.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
645
+ Model.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
451
646
  Model.struct_class = Types::Model
452
647
 
453
648
  ModelEndpointDataBlob.add_member(:byte_buffer, Shapes::ShapeRef.new(shape: blob, location_name: "byteBuffer"))
@@ -455,13 +650,11 @@ module Aws::FraudDetector
455
650
  ModelEndpointDataBlob.struct_class = Types::ModelEndpointDataBlob
456
651
 
457
652
  ModelInputConfiguration.add_member(:format, Shapes::ShapeRef.new(shape: ModelInputDataFormat, location_name: "format"))
458
- ModelInputConfiguration.add_member(:is_opaque, Shapes::ShapeRef.new(shape: IsOpaque, required: true, location_name: "isOpaque"))
653
+ ModelInputConfiguration.add_member(:use_event_variables, Shapes::ShapeRef.new(shape: UseEventVariables, required: true, location_name: "useEventVariables"))
459
654
  ModelInputConfiguration.add_member(:json_input_template, Shapes::ShapeRef.new(shape: string, location_name: "jsonInputTemplate"))
460
655
  ModelInputConfiguration.add_member(:csv_input_template, Shapes::ShapeRef.new(shape: string, location_name: "csvInputTemplate"))
461
656
  ModelInputConfiguration.struct_class = Types::ModelInputConfiguration
462
657
 
463
- ModelList.member = Shapes::ShapeRef.new(shape: Model)
464
-
465
658
  ModelOutputConfiguration.add_member(:format, Shapes::ShapeRef.new(shape: ModelOutputDataFormat, required: true, location_name: "format"))
466
659
  ModelOutputConfiguration.add_member(:json_key_to_variable_map, Shapes::ShapeRef.new(shape: JsonKeyToVariableMap, location_name: "jsonKeyToVariableMap"))
467
660
  ModelOutputConfiguration.add_member(:csv_index_to_variable_map, Shapes::ShapeRef.new(shape: CsvIndexToVariableMap, location_name: "csvIndexToVariableMap"))
@@ -474,33 +667,25 @@ module Aws::FraudDetector
474
667
  ModelScores.add_member(:scores, Shapes::ShapeRef.new(shape: ModelPredictionMap, location_name: "scores"))
475
668
  ModelScores.struct_class = Types::ModelScores
476
669
 
477
- ModelVariable.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "name"))
478
- ModelVariable.add_member(:index, Shapes::ShapeRef.new(shape: ModelVariableIndex, location_name: "index"))
479
- ModelVariable.struct_class = Types::ModelVariable
480
-
481
- ModelVariablesList.member = Shapes::ShapeRef.new(shape: ModelVariable)
482
-
483
670
  ModelVersion.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
484
671
  ModelVersion.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
485
672
  ModelVersion.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "modelVersionNumber"))
673
+ ModelVersion.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
486
674
  ModelVersion.struct_class = Types::ModelVersion
487
675
 
488
676
  ModelVersionDetail.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
489
677
  ModelVersionDetail.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
490
- ModelVersionDetail.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
491
- ModelVersionDetail.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
678
+ ModelVersionDetail.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, location_name: "modelVersionNumber"))
492
679
  ModelVersionDetail.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
493
- ModelVersionDetail.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSource, location_name: "trainingDataSource"))
494
- ModelVersionDetail.add_member(:model_variables, Shapes::ShapeRef.new(shape: ModelVariablesList, location_name: "modelVariables"))
495
- ModelVersionDetail.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, location_name: "labelSchema"))
496
- ModelVersionDetail.add_member(:validation_metrics, Shapes::ShapeRef.new(shape: MetricsMap, location_name: "validationMetrics"))
497
- ModelVersionDetail.add_member(:training_metrics, Shapes::ShapeRef.new(shape: MetricsMap, location_name: "trainingMetrics"))
680
+ ModelVersionDetail.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSourceEnum, location_name: "trainingDataSource"))
681
+ ModelVersionDetail.add_member(:training_data_schema, Shapes::ShapeRef.new(shape: TrainingDataSchema, location_name: "trainingDataSchema"))
682
+ ModelVersionDetail.add_member(:external_events_detail, Shapes::ShapeRef.new(shape: ExternalEventsDetail, location_name: "externalEventsDetail"))
683
+ ModelVersionDetail.add_member(:training_result, Shapes::ShapeRef.new(shape: TrainingResult, location_name: "trainingResult"))
498
684
  ModelVersionDetail.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
499
685
  ModelVersionDetail.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
686
+ ModelVersionDetail.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
500
687
  ModelVersionDetail.struct_class = Types::ModelVersionDetail
501
688
 
502
- ModelVersionDetailList.member = Shapes::ShapeRef.new(shape: ModelVersionDetail)
503
-
504
689
  NameList.member = Shapes::ShapeRef.new(shape: string)
505
690
 
506
691
  NonEmptyListOfStrings.member = Shapes::ShapeRef.new(shape: string)
@@ -509,38 +694,63 @@ module Aws::FraudDetector
509
694
  Outcome.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
510
695
  Outcome.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
511
696
  Outcome.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
697
+ Outcome.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
512
698
  Outcome.struct_class = Types::Outcome
513
699
 
514
700
  OutcomeList.member = Shapes::ShapeRef.new(shape: Outcome)
515
701
 
516
702
  PutDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
517
703
  PutDetectorRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
704
+ PutDetectorRequest.add_member(:event_type_name, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "eventTypeName"))
705
+ PutDetectorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
518
706
  PutDetectorRequest.struct_class = Types::PutDetectorRequest
519
707
 
520
708
  PutDetectorResult.struct_class = Types::PutDetectorResult
521
709
 
522
- PutExternalModelRequest.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: string, required: true, location_name: "modelEndpoint"))
710
+ PutEntityTypeRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "name"))
711
+ PutEntityTypeRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
712
+ PutEntityTypeRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
713
+ PutEntityTypeRequest.struct_class = Types::PutEntityTypeRequest
714
+
715
+ PutEntityTypeResult.struct_class = Types::PutEntityTypeResult
716
+
717
+ PutEventTypeRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "name"))
718
+ PutEventTypeRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
719
+ PutEventTypeRequest.add_member(:event_variables, Shapes::ShapeRef.new(shape: NonEmptyListOfStrings, required: true, location_name: "eventVariables"))
720
+ PutEventTypeRequest.add_member(:labels, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "labels"))
721
+ PutEventTypeRequest.add_member(:entity_types, Shapes::ShapeRef.new(shape: NonEmptyListOfStrings, required: true, location_name: "entityTypes"))
722
+ PutEventTypeRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
723
+ PutEventTypeRequest.struct_class = Types::PutEventTypeRequest
724
+
725
+ PutEventTypeResult.struct_class = Types::PutEventTypeResult
726
+
727
+ 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"))
523
729
  PutExternalModelRequest.add_member(:model_source, Shapes::ShapeRef.new(shape: ModelSource, required: true, location_name: "modelSource"))
524
730
  PutExternalModelRequest.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "role"))
525
731
  PutExternalModelRequest.add_member(:input_configuration, Shapes::ShapeRef.new(shape: ModelInputConfiguration, required: true, location_name: "inputConfiguration"))
526
732
  PutExternalModelRequest.add_member(:output_configuration, Shapes::ShapeRef.new(shape: ModelOutputConfiguration, required: true, location_name: "outputConfiguration"))
527
733
  PutExternalModelRequest.add_member(:model_endpoint_status, Shapes::ShapeRef.new(shape: ModelEndpointStatus, required: true, location_name: "modelEndpointStatus"))
734
+ PutExternalModelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
528
735
  PutExternalModelRequest.struct_class = Types::PutExternalModelRequest
529
736
 
530
737
  PutExternalModelResult.struct_class = Types::PutExternalModelResult
531
738
 
532
- PutModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
533
- PutModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
534
- PutModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
535
- PutModelRequest.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSource, required: true, location_name: "trainingDataSource"))
536
- PutModelRequest.add_member(:model_variables, Shapes::ShapeRef.new(shape: ModelVariablesList, required: true, location_name: "modelVariables"))
537
- PutModelRequest.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, required: true, location_name: "labelSchema"))
538
- PutModelRequest.struct_class = Types::PutModelRequest
739
+ PutKMSEncryptionKeyRequest.add_member(:kms_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsEncryptionKeyArn, required: true, location_name: "kmsEncryptionKeyArn"))
740
+ PutKMSEncryptionKeyRequest.struct_class = Types::PutKMSEncryptionKeyRequest
741
+
742
+ PutKMSEncryptionKeyResult.struct_class = Types::PutKMSEncryptionKeyResult
539
743
 
540
- PutModelResult.struct_class = Types::PutModelResult
744
+ PutLabelRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "name"))
745
+ PutLabelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
746
+ PutLabelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
747
+ PutLabelRequest.struct_class = Types::PutLabelRequest
748
+
749
+ PutLabelResult.struct_class = Types::PutLabelResult
541
750
 
542
751
  PutOutcomeRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "name"))
543
752
  PutOutcomeRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
753
+ PutOutcomeRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
544
754
  PutOutcomeRequest.struct_class = Types::PutOutcomeRequest
545
755
 
546
756
  PutOutcomeResult.struct_class = Types::PutOutcomeResult
@@ -554,18 +764,19 @@ module Aws::FraudDetector
554
764
 
555
765
  Rule.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
556
766
  Rule.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "ruleId"))
557
- Rule.add_member(:rule_version, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "ruleVersion"))
767
+ Rule.add_member(:rule_version, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "ruleVersion"))
558
768
  Rule.struct_class = Types::Rule
559
769
 
560
770
  RuleDetail.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, location_name: "ruleId"))
561
771
  RuleDetail.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
562
772
  RuleDetail.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
563
- RuleDetail.add_member(:rule_version, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "ruleVersion"))
773
+ RuleDetail.add_member(:rule_version, Shapes::ShapeRef.new(shape: wholeNumberVersionString, location_name: "ruleVersion"))
564
774
  RuleDetail.add_member(:expression, Shapes::ShapeRef.new(shape: ruleExpression, location_name: "expression"))
565
775
  RuleDetail.add_member(:language, Shapes::ShapeRef.new(shape: Language, location_name: "language"))
566
776
  RuleDetail.add_member(:outcomes, Shapes::ShapeRef.new(shape: NonEmptyListOfStrings, location_name: "outcomes"))
567
777
  RuleDetail.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
568
778
  RuleDetail.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
779
+ RuleDetail.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
569
780
  RuleDetail.struct_class = Types::RuleDetail
570
781
 
571
782
  RuleDetailList.member = Shapes::ShapeRef.new(shape: RuleDetail)
@@ -576,22 +787,46 @@ module Aws::FraudDetector
576
787
  RuleResult.add_member(:outcomes, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "outcomes"))
577
788
  RuleResult.struct_class = Types::RuleResult
578
789
 
790
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: tagKey, required: true, location_name: "key"))
791
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: tagValue, required: true, location_name: "value"))
792
+ Tag.struct_class = Types::Tag
793
+
794
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, required: true, location_name: "resourceARN"))
795
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, required: true, location_name: "tags"))
796
+ TagResourceRequest.struct_class = Types::TagResourceRequest
797
+
798
+ TagResourceResult.struct_class = Types::TagResourceResult
799
+
579
800
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: string, required: true, location_name: "message"))
580
801
  ThrottlingException.struct_class = Types::ThrottlingException
581
802
 
582
- TrainingDataSource.add_member(:data_location, Shapes::ShapeRef.new(shape: s3BucketLocation, required: true, location_name: "dataLocation"))
583
- TrainingDataSource.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: iamRoleArn, required: true, location_name: "dataAccessRoleArn"))
584
- TrainingDataSource.struct_class = Types::TrainingDataSource
803
+ TrainingDataSchema.add_member(:model_variables, Shapes::ShapeRef.new(shape: ListOfStrings, required: true, location_name: "modelVariables"))
804
+ TrainingDataSchema.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, required: true, location_name: "labelSchema"))
805
+ TrainingDataSchema.struct_class = Types::TrainingDataSchema
806
+
807
+ TrainingMetrics.add_member(:auc, Shapes::ShapeRef.new(shape: float, location_name: "auc"))
808
+ TrainingMetrics.add_member(:metric_data_points, Shapes::ShapeRef.new(shape: metricDataPointsList, location_name: "metricDataPoints"))
809
+ TrainingMetrics.struct_class = Types::TrainingMetrics
810
+
811
+ TrainingResult.add_member(:data_validation_metrics, Shapes::ShapeRef.new(shape: DataValidationMetrics, location_name: "dataValidationMetrics"))
812
+ TrainingResult.add_member(:training_metrics, Shapes::ShapeRef.new(shape: TrainingMetrics, location_name: "trainingMetrics"))
813
+ TrainingResult.struct_class = Types::TrainingResult
814
+
815
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, required: true, location_name: "resourceARN"))
816
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: tagKeyList, required: true, location_name: "tagKeys"))
817
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
818
+
819
+ UntagResourceResult.struct_class = Types::UntagResourceResult
585
820
 
586
821
  UpdateDetectorVersionMetadataRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
587
- UpdateDetectorVersionMetadataRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
822
+ UpdateDetectorVersionMetadataRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "detectorVersionId"))
588
823
  UpdateDetectorVersionMetadataRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, required: true, location_name: "description"))
589
824
  UpdateDetectorVersionMetadataRequest.struct_class = Types::UpdateDetectorVersionMetadataRequest
590
825
 
591
826
  UpdateDetectorVersionMetadataResult.struct_class = Types::UpdateDetectorVersionMetadataResult
592
827
 
593
828
  UpdateDetectorVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
594
- UpdateDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
829
+ UpdateDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "detectorVersionId"))
595
830
  UpdateDetectorVersionRequest.add_member(:external_model_endpoints, Shapes::ShapeRef.new(shape: ListOfStrings, required: true, location_name: "externalModelEndpoints"))
596
831
  UpdateDetectorVersionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: RuleList, required: true, location_name: "rules"))
597
832
  UpdateDetectorVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
@@ -602,21 +837,40 @@ module Aws::FraudDetector
602
837
  UpdateDetectorVersionResult.struct_class = Types::UpdateDetectorVersionResult
603
838
 
604
839
  UpdateDetectorVersionStatusRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
605
- UpdateDetectorVersionStatusRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
840
+ UpdateDetectorVersionStatusRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "detectorVersionId"))
606
841
  UpdateDetectorVersionStatusRequest.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, required: true, location_name: "status"))
607
842
  UpdateDetectorVersionStatusRequest.struct_class = Types::UpdateDetectorVersionStatusRequest
608
843
 
609
844
  UpdateDetectorVersionStatusResult.struct_class = Types::UpdateDetectorVersionStatusResult
610
845
 
846
+ UpdateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
847
+ UpdateModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
848
+ UpdateModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
849
+ UpdateModelRequest.struct_class = Types::UpdateModelRequest
850
+
851
+ UpdateModelResult.struct_class = Types::UpdateModelResult
852
+
611
853
  UpdateModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
612
854
  UpdateModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
613
- UpdateModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "modelVersionNumber"))
614
- UpdateModelVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, required: true, location_name: "description"))
615
- UpdateModelVersionRequest.add_member(:status, Shapes::ShapeRef.new(shape: ModelVersionStatus, required: true, location_name: "status"))
855
+ UpdateModelVersionRequest.add_member(:major_version_number, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "majorVersionNumber"))
856
+ UpdateModelVersionRequest.add_member(:external_events_detail, Shapes::ShapeRef.new(shape: ExternalEventsDetail, location_name: "externalEventsDetail"))
857
+ UpdateModelVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
616
858
  UpdateModelVersionRequest.struct_class = Types::UpdateModelVersionRequest
617
859
 
860
+ UpdateModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
861
+ UpdateModelVersionResult.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
862
+ UpdateModelVersionResult.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, location_name: "modelVersionNumber"))
863
+ UpdateModelVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
618
864
  UpdateModelVersionResult.struct_class = Types::UpdateModelVersionResult
619
865
 
866
+ UpdateModelVersionStatusRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
867
+ UpdateModelVersionStatusRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
868
+ UpdateModelVersionStatusRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, required: true, location_name: "modelVersionNumber"))
869
+ UpdateModelVersionStatusRequest.add_member(:status, Shapes::ShapeRef.new(shape: ModelVersionStatus, required: true, location_name: "status"))
870
+ UpdateModelVersionStatusRequest.struct_class = Types::UpdateModelVersionStatusRequest
871
+
872
+ UpdateModelVersionStatusResult.struct_class = Types::UpdateModelVersionStatusResult
873
+
620
874
  UpdateRuleMetadataRequest.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, required: true, location_name: "rule"))
621
875
  UpdateRuleMetadataRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, required: true, location_name: "description"))
622
876
  UpdateRuleMetadataRequest.struct_class = Types::UpdateRuleMetadataRequest
@@ -628,6 +882,7 @@ module Aws::FraudDetector
628
882
  UpdateRuleVersionRequest.add_member(:expression, Shapes::ShapeRef.new(shape: ruleExpression, required: true, location_name: "expression"))
629
883
  UpdateRuleVersionRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, required: true, location_name: "language"))
630
884
  UpdateRuleVersionRequest.add_member(:outcomes, Shapes::ShapeRef.new(shape: NonEmptyListOfStrings, required: true, location_name: "outcomes"))
885
+ UpdateRuleVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
631
886
  UpdateRuleVersionRequest.struct_class = Types::UpdateRuleVersionRequest
632
887
 
633
888
  UpdateRuleVersionResult.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, location_name: "rule"))
@@ -652,6 +907,7 @@ module Aws::FraudDetector
652
907
  Variable.add_member(:variable_type, Shapes::ShapeRef.new(shape: string, location_name: "variableType"))
653
908
  Variable.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
654
909
  Variable.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
910
+ Variable.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
655
911
  Variable.struct_class = Types::Variable
656
912
 
657
913
  VariableEntry.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
@@ -666,6 +922,31 @@ module Aws::FraudDetector
666
922
 
667
923
  VariableList.member = Shapes::ShapeRef.new(shape: Variable)
668
924
 
925
+ entityTypeList.member = Shapes::ShapeRef.new(shape: EntityType)
926
+
927
+ eventTypeList.member = Shapes::ShapeRef.new(shape: EventType)
928
+
929
+ fieldValidationMessageList.member = Shapes::ShapeRef.new(shape: FieldValidationMessage)
930
+
931
+ fileValidationMessageList.member = Shapes::ShapeRef.new(shape: FileValidationMessage)
932
+
933
+ labelList.member = Shapes::ShapeRef.new(shape: Label)
934
+
935
+ labelMapper.key = Shapes::ShapeRef.new(shape: string)
936
+ labelMapper.value = Shapes::ShapeRef.new(shape: ListOfStrings)
937
+
938
+ listOfEntities.member = Shapes::ShapeRef.new(shape: Entity)
939
+
940
+ metricDataPointsList.member = Shapes::ShapeRef.new(shape: MetricDataPoint)
941
+
942
+ modelList.member = Shapes::ShapeRef.new(shape: Model)
943
+
944
+ modelVersionDetailList.member = Shapes::ShapeRef.new(shape: ModelVersionDetail)
945
+
946
+ tagKeyList.member = Shapes::ShapeRef.new(shape: tagKey)
947
+
948
+ tagList.member = Shapes::ShapeRef.new(shape: Tag)
949
+
669
950
 
670
951
  # @api private
671
952
  API = Seahorse::Model::Api.new.tap do |api|
@@ -693,6 +974,7 @@ module Aws::FraudDetector
693
974
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
694
975
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
695
976
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
977
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
696
978
  end)
697
979
 
698
980
  api.add_operation(:batch_get_variable, Seahorse::Model::Operation.new.tap do |o|
@@ -704,6 +986,7 @@ module Aws::FraudDetector
704
986
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
705
987
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
706
988
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
989
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
707
990
  end)
708
991
 
709
992
  api.add_operation(:create_detector_version, Seahorse::Model::Operation.new.tap do |o|
@@ -716,6 +999,18 @@ module Aws::FraudDetector
716
999
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
717
1000
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
718
1001
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1002
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1003
+ end)
1004
+
1005
+ api.add_operation(:create_model, Seahorse::Model::Operation.new.tap do |o|
1006
+ o.name = "CreateModel"
1007
+ o.http_method = "POST"
1008
+ o.http_request_uri = "/"
1009
+ o.input = Shapes::ShapeRef.new(shape: CreateModelRequest)
1010
+ o.output = Shapes::ShapeRef.new(shape: CreateModelResult)
1011
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1012
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1013
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
719
1014
  end)
720
1015
 
721
1016
  api.add_operation(:create_model_version, Seahorse::Model::Operation.new.tap do |o|
@@ -726,8 +1021,8 @@ module Aws::FraudDetector
726
1021
  o.output = Shapes::ShapeRef.new(shape: CreateModelVersionResult)
727
1022
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
728
1023
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1024
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
729
1025
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
730
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
731
1026
  end)
732
1027
 
733
1028
  api.add_operation(:create_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -739,6 +1034,7 @@ module Aws::FraudDetector
739
1034
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
740
1035
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
741
1036
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1037
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
742
1038
  end)
743
1039
 
744
1040
  api.add_operation(:create_variable, Seahorse::Model::Operation.new.tap do |o|
@@ -750,6 +1046,7 @@ module Aws::FraudDetector
750
1046
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
751
1047
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
752
1048
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1049
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
753
1050
  end)
754
1051
 
755
1052
  api.add_operation(:delete_detector, Seahorse::Model::Operation.new.tap do |o|
@@ -762,6 +1059,7 @@ module Aws::FraudDetector
762
1059
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
763
1060
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
764
1061
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1062
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
765
1063
  end)
766
1064
 
767
1065
  api.add_operation(:delete_detector_version, Seahorse::Model::Operation.new.tap do |o|
@@ -775,6 +1073,7 @@ module Aws::FraudDetector
775
1073
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
776
1074
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
777
1075
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1076
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
778
1077
  end)
779
1078
 
780
1079
  api.add_operation(:delete_event, Seahorse::Model::Operation.new.tap do |o|
@@ -785,18 +1084,20 @@ module Aws::FraudDetector
785
1084
  o.output = Shapes::ShapeRef.new(shape: DeleteEventResult)
786
1085
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
787
1086
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1087
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
788
1088
  end)
789
1089
 
790
- api.add_operation(:delete_rule_version, Seahorse::Model::Operation.new.tap do |o|
791
- o.name = "DeleteRuleVersion"
1090
+ api.add_operation(:delete_rule, Seahorse::Model::Operation.new.tap do |o|
1091
+ o.name = "DeleteRule"
792
1092
  o.http_method = "POST"
793
1093
  o.http_request_uri = "/"
794
- o.input = Shapes::ShapeRef.new(shape: DeleteRuleVersionRequest)
795
- o.output = Shapes::ShapeRef.new(shape: DeleteRuleVersionResult)
1094
+ o.input = Shapes::ShapeRef.new(shape: DeleteRuleRequest)
1095
+ o.output = Shapes::ShapeRef.new(shape: DeleteRuleResult)
796
1096
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
797
1097
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
798
1098
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
799
1099
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1100
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
800
1101
  end)
801
1102
 
802
1103
  api.add_operation(:describe_detector, Seahorse::Model::Operation.new.tap do |o|
@@ -809,6 +1110,7 @@ module Aws::FraudDetector
809
1110
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
810
1111
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
811
1112
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1113
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
812
1114
  end)
813
1115
 
814
1116
  api.add_operation(:describe_model_versions, Seahorse::Model::Operation.new.tap do |o|
@@ -820,7 +1122,7 @@ module Aws::FraudDetector
820
1122
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
821
1123
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
822
1124
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
823
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1125
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
824
1126
  o[:pager] = Aws::Pager.new(
825
1127
  limit_key: "max_results",
826
1128
  tokens: {
@@ -839,6 +1141,7 @@ module Aws::FraudDetector
839
1141
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
840
1142
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
841
1143
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1144
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
842
1145
  end)
843
1146
 
844
1147
  api.add_operation(:get_detectors, Seahorse::Model::Operation.new.tap do |o|
@@ -851,6 +1154,56 @@ module Aws::FraudDetector
851
1154
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
852
1155
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
853
1156
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1157
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1158
+ o[:pager] = Aws::Pager.new(
1159
+ limit_key: "max_results",
1160
+ tokens: {
1161
+ "next_token" => "next_token"
1162
+ }
1163
+ )
1164
+ end)
1165
+
1166
+ api.add_operation(:get_entity_types, Seahorse::Model::Operation.new.tap do |o|
1167
+ o.name = "GetEntityTypes"
1168
+ o.http_method = "POST"
1169
+ o.http_request_uri = "/"
1170
+ o.input = Shapes::ShapeRef.new(shape: GetEntityTypesRequest)
1171
+ o.output = Shapes::ShapeRef.new(shape: GetEntityTypesResult)
1172
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1173
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1174
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1175
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1176
+ o[:pager] = Aws::Pager.new(
1177
+ limit_key: "max_results",
1178
+ tokens: {
1179
+ "next_token" => "next_token"
1180
+ }
1181
+ )
1182
+ end)
1183
+
1184
+ api.add_operation(:get_event_prediction, Seahorse::Model::Operation.new.tap do |o|
1185
+ o.name = "GetEventPrediction"
1186
+ o.http_method = "POST"
1187
+ o.http_request_uri = "/"
1188
+ o.input = Shapes::ShapeRef.new(shape: GetEventPredictionRequest)
1189
+ o.output = Shapes::ShapeRef.new(shape: GetEventPredictionResult)
1190
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1191
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1192
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1193
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1194
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1195
+ end)
1196
+
1197
+ api.add_operation(:get_event_types, Seahorse::Model::Operation.new.tap do |o|
1198
+ o.name = "GetEventTypes"
1199
+ o.http_method = "POST"
1200
+ o.http_request_uri = "/"
1201
+ o.input = Shapes::ShapeRef.new(shape: GetEventTypesRequest)
1202
+ o.output = Shapes::ShapeRef.new(shape: GetEventTypesResult)
1203
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1204
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1205
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1206
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
854
1207
  o[:pager] = Aws::Pager.new(
855
1208
  limit_key: "max_results",
856
1209
  tokens: {
@@ -869,6 +1222,36 @@ module Aws::FraudDetector
869
1222
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
870
1223
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
871
1224
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1225
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1226
+ o[:pager] = Aws::Pager.new(
1227
+ limit_key: "max_results",
1228
+ tokens: {
1229
+ "next_token" => "next_token"
1230
+ }
1231
+ )
1232
+ end)
1233
+
1234
+ api.add_operation(:get_kms_encryption_key, Seahorse::Model::Operation.new.tap do |o|
1235
+ o.name = "GetKMSEncryptionKey"
1236
+ o.http_method = "POST"
1237
+ o.http_request_uri = "/"
1238
+ o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1239
+ o.output = Shapes::ShapeRef.new(shape: GetKMSEncryptionKeyResult)
1240
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1241
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1242
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1243
+ end)
1244
+
1245
+ api.add_operation(:get_labels, Seahorse::Model::Operation.new.tap do |o|
1246
+ o.name = "GetLabels"
1247
+ o.http_method = "POST"
1248
+ o.http_request_uri = "/"
1249
+ o.input = Shapes::ShapeRef.new(shape: GetLabelsRequest)
1250
+ o.output = Shapes::ShapeRef.new(shape: GetLabelsResult)
1251
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1252
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1253
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1254
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
872
1255
  o[:pager] = Aws::Pager.new(
873
1256
  limit_key: "max_results",
874
1257
  tokens: {
@@ -886,7 +1269,7 @@ module Aws::FraudDetector
886
1269
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
887
1270
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
888
1271
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
889
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1272
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
890
1273
  end)
891
1274
 
892
1275
  api.add_operation(:get_models, Seahorse::Model::Operation.new.tap do |o|
@@ -898,7 +1281,7 @@ module Aws::FraudDetector
898
1281
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
899
1282
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
900
1283
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
901
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1284
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
902
1285
  o[:pager] = Aws::Pager.new(
903
1286
  limit_key: "max_results",
904
1287
  tokens: {
@@ -917,6 +1300,7 @@ module Aws::FraudDetector
917
1300
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
918
1301
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
919
1302
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1303
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
920
1304
  o[:pager] = Aws::Pager.new(
921
1305
  limit_key: "max_results",
922
1306
  tokens: {
@@ -935,6 +1319,7 @@ module Aws::FraudDetector
935
1319
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
936
1320
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
937
1321
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1322
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
938
1323
  end)
939
1324
 
940
1325
  api.add_operation(:get_rules, Seahorse::Model::Operation.new.tap do |o|
@@ -947,6 +1332,7 @@ module Aws::FraudDetector
947
1332
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
948
1333
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
949
1334
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1335
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
950
1336
  o[:pager] = Aws::Pager.new(
951
1337
  limit_key: "max_results",
952
1338
  tokens: {
@@ -965,6 +1351,24 @@ module Aws::FraudDetector
965
1351
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
966
1352
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
967
1353
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1354
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1355
+ o[:pager] = Aws::Pager.new(
1356
+ limit_key: "max_results",
1357
+ tokens: {
1358
+ "next_token" => "next_token"
1359
+ }
1360
+ )
1361
+ end)
1362
+
1363
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1364
+ o.name = "ListTagsForResource"
1365
+ o.http_method = "POST"
1366
+ o.http_request_uri = "/"
1367
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1368
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResult)
1369
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1370
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1371
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
968
1372
  o[:pager] = Aws::Pager.new(
969
1373
  limit_key: "max_results",
970
1374
  tokens: {
@@ -982,6 +1386,29 @@ module Aws::FraudDetector
982
1386
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
983
1387
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
984
1388
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1389
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1390
+ end)
1391
+
1392
+ api.add_operation(:put_entity_type, Seahorse::Model::Operation.new.tap do |o|
1393
+ o.name = "PutEntityType"
1394
+ o.http_method = "POST"
1395
+ o.http_request_uri = "/"
1396
+ o.input = Shapes::ShapeRef.new(shape: PutEntityTypeRequest)
1397
+ o.output = Shapes::ShapeRef.new(shape: PutEntityTypeResult)
1398
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1399
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1400
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1401
+ end)
1402
+
1403
+ api.add_operation(:put_event_type, Seahorse::Model::Operation.new.tap do |o|
1404
+ o.name = "PutEventType"
1405
+ o.http_method = "POST"
1406
+ o.http_request_uri = "/"
1407
+ o.input = Shapes::ShapeRef.new(shape: PutEventTypeRequest)
1408
+ o.output = Shapes::ShapeRef.new(shape: PutEventTypeResult)
1409
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1410
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1411
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
985
1412
  end)
986
1413
 
987
1414
  api.add_operation(:put_external_model, Seahorse::Model::Operation.new.tap do |o|
@@ -993,17 +1420,30 @@ module Aws::FraudDetector
993
1420
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
994
1421
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
995
1422
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1423
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
996
1424
  end)
997
1425
 
998
- api.add_operation(:put_model, Seahorse::Model::Operation.new.tap do |o|
999
- o.name = "PutModel"
1426
+ api.add_operation(:put_kms_encryption_key, Seahorse::Model::Operation.new.tap do |o|
1427
+ o.name = "PutKMSEncryptionKey"
1000
1428
  o.http_method = "POST"
1001
1429
  o.http_request_uri = "/"
1002
- o.input = Shapes::ShapeRef.new(shape: PutModelRequest)
1003
- o.output = Shapes::ShapeRef.new(shape: PutModelResult)
1430
+ o.input = Shapes::ShapeRef.new(shape: PutKMSEncryptionKeyRequest)
1431
+ o.output = Shapes::ShapeRef.new(shape: PutKMSEncryptionKeyResult)
1004
1432
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1433
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1005
1434
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1006
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1435
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1436
+ end)
1437
+
1438
+ api.add_operation(:put_label, Seahorse::Model::Operation.new.tap do |o|
1439
+ o.name = "PutLabel"
1440
+ o.http_method = "POST"
1441
+ o.http_request_uri = "/"
1442
+ o.input = Shapes::ShapeRef.new(shape: PutLabelRequest)
1443
+ o.output = Shapes::ShapeRef.new(shape: PutLabelResult)
1444
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1445
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1446
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1007
1447
  end)
1008
1448
 
1009
1449
  api.add_operation(:put_outcome, Seahorse::Model::Operation.new.tap do |o|
@@ -1015,6 +1455,29 @@ module Aws::FraudDetector
1015
1455
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1016
1456
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1017
1457
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1458
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1459
+ end)
1460
+
1461
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1462
+ o.name = "TagResource"
1463
+ o.http_method = "POST"
1464
+ o.http_request_uri = "/"
1465
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1466
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResult)
1467
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1468
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1469
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1470
+ end)
1471
+
1472
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1473
+ o.name = "UntagResource"
1474
+ o.http_method = "POST"
1475
+ o.http_request_uri = "/"
1476
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1477
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResult)
1478
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1479
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1480
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1018
1481
  end)
1019
1482
 
1020
1483
  api.add_operation(:update_detector_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1027,6 +1490,7 @@ module Aws::FraudDetector
1027
1490
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1028
1491
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1029
1492
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1493
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1030
1494
  end)
1031
1495
 
1032
1496
  api.add_operation(:update_detector_version_metadata, Seahorse::Model::Operation.new.tap do |o|
@@ -1038,6 +1502,7 @@ module Aws::FraudDetector
1038
1502
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1039
1503
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1040
1504
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1505
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1041
1506
  end)
1042
1507
 
1043
1508
  api.add_operation(:update_detector_version_status, Seahorse::Model::Operation.new.tap do |o|
@@ -1050,6 +1515,19 @@ module Aws::FraudDetector
1050
1515
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1051
1516
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1052
1517
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1518
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1519
+ end)
1520
+
1521
+ api.add_operation(:update_model, Seahorse::Model::Operation.new.tap do |o|
1522
+ o.name = "UpdateModel"
1523
+ o.http_method = "POST"
1524
+ o.http_request_uri = "/"
1525
+ o.input = Shapes::ShapeRef.new(shape: UpdateModelRequest)
1526
+ o.output = Shapes::ShapeRef.new(shape: UpdateModelResult)
1527
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1528
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1529
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1530
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1053
1531
  end)
1054
1532
 
1055
1533
  api.add_operation(:update_model_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1060,8 +1538,20 @@ module Aws::FraudDetector
1060
1538
  o.output = Shapes::ShapeRef.new(shape: UpdateModelVersionResult)
1061
1539
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1062
1540
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1541
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1063
1542
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1064
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1543
+ end)
1544
+
1545
+ api.add_operation(:update_model_version_status, Seahorse::Model::Operation.new.tap do |o|
1546
+ o.name = "UpdateModelVersionStatus"
1547
+ o.http_method = "POST"
1548
+ o.http_request_uri = "/"
1549
+ o.input = Shapes::ShapeRef.new(shape: UpdateModelVersionStatusRequest)
1550
+ o.output = Shapes::ShapeRef.new(shape: UpdateModelVersionStatusResult)
1551
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1552
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1553
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1554
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1065
1555
  end)
1066
1556
 
1067
1557
  api.add_operation(:update_rule_metadata, Seahorse::Model::Operation.new.tap do |o|
@@ -1074,6 +1564,7 @@ module Aws::FraudDetector
1074
1564
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1075
1565
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1076
1566
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1567
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1077
1568
  end)
1078
1569
 
1079
1570
  api.add_operation(:update_rule_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1086,6 +1577,7 @@ module Aws::FraudDetector
1086
1577
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1087
1578
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1088
1579
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1580
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1089
1581
  end)
1090
1582
 
1091
1583
  api.add_operation(:update_variable, Seahorse::Model::Operation.new.tap do |o|
@@ -1098,6 +1590,7 @@ module Aws::FraudDetector
1098
1590
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1099
1591
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1100
1592
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1593
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1101
1594
  end)
1102
1595
  end
1103
1596