aws-sdk-frauddetector 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,7 @@ module Aws::FraudDetector
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
16
17
  BatchCreateVariableError = Shapes::StructureShape.new(name: 'BatchCreateVariableError')
17
18
  BatchCreateVariableErrorList = Shapes::ListShape.new(name: 'BatchCreateVariableErrorList')
18
19
  BatchCreateVariableRequest = Shapes::StructureShape.new(name: 'BatchCreateVariableRequest')
@@ -24,6 +25,8 @@ module Aws::FraudDetector
24
25
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
25
26
  CreateDetectorVersionRequest = Shapes::StructureShape.new(name: 'CreateDetectorVersionRequest')
26
27
  CreateDetectorVersionResult = Shapes::StructureShape.new(name: 'CreateDetectorVersionResult')
28
+ CreateModelRequest = Shapes::StructureShape.new(name: 'CreateModelRequest')
29
+ CreateModelResult = Shapes::StructureShape.new(name: 'CreateModelResult')
27
30
  CreateModelVersionRequest = Shapes::StructureShape.new(name: 'CreateModelVersionRequest')
28
31
  CreateModelVersionResult = Shapes::StructureShape.new(name: 'CreateModelVersionResult')
29
32
  CreateRuleRequest = Shapes::StructureShape.new(name: 'CreateRuleRequest')
@@ -33,14 +36,15 @@ module Aws::FraudDetector
33
36
  CsvIndexToVariableMap = Shapes::MapShape.new(name: 'CsvIndexToVariableMap')
34
37
  DataSource = Shapes::StringShape.new(name: 'DataSource')
35
38
  DataType = Shapes::StringShape.new(name: 'DataType')
39
+ DataValidationMetrics = Shapes::StructureShape.new(name: 'DataValidationMetrics')
36
40
  DeleteDetectorRequest = Shapes::StructureShape.new(name: 'DeleteDetectorRequest')
37
41
  DeleteDetectorResult = Shapes::StructureShape.new(name: 'DeleteDetectorResult')
38
42
  DeleteDetectorVersionRequest = Shapes::StructureShape.new(name: 'DeleteDetectorVersionRequest')
39
43
  DeleteDetectorVersionResult = Shapes::StructureShape.new(name: 'DeleteDetectorVersionResult')
40
44
  DeleteEventRequest = Shapes::StructureShape.new(name: 'DeleteEventRequest')
41
45
  DeleteEventResult = Shapes::StructureShape.new(name: 'DeleteEventResult')
42
- DeleteRuleVersionRequest = Shapes::StructureShape.new(name: 'DeleteRuleVersionRequest')
43
- DeleteRuleVersionResult = Shapes::StructureShape.new(name: 'DeleteRuleVersionResult')
46
+ DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
47
+ DeleteRuleResult = Shapes::StructureShape.new(name: 'DeleteRuleResult')
44
48
  DescribeDetectorRequest = Shapes::StructureShape.new(name: 'DescribeDetectorRequest')
45
49
  DescribeDetectorResult = Shapes::StructureShape.new(name: 'DescribeDetectorResult')
46
50
  DescribeModelVersionsRequest = Shapes::StructureShape.new(name: 'DescribeModelVersionsRequest')
@@ -52,17 +56,33 @@ module Aws::FraudDetector
52
56
  DetectorVersionSummary = Shapes::StructureShape.new(name: 'DetectorVersionSummary')
53
57
  DetectorVersionSummaryList = Shapes::ListShape.new(name: 'DetectorVersionSummaryList')
54
58
  DetectorsMaxResults = Shapes::IntegerShape.new(name: 'DetectorsMaxResults')
59
+ Entity = Shapes::StructureShape.new(name: 'Entity')
60
+ EntityType = Shapes::StructureShape.new(name: 'EntityType')
55
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')
56
65
  ExternalModel = Shapes::StructureShape.new(name: 'ExternalModel')
57
66
  ExternalModelEndpointDataBlobMap = Shapes::MapShape.new(name: 'ExternalModelEndpointDataBlobMap')
58
67
  ExternalModelList = Shapes::ListShape.new(name: 'ExternalModelList')
59
68
  ExternalModelsMaxResults = Shapes::IntegerShape.new(name: 'ExternalModelsMaxResults')
69
+ FieldValidationMessage = Shapes::StructureShape.new(name: 'FieldValidationMessage')
70
+ FileValidationMessage = Shapes::StructureShape.new(name: 'FileValidationMessage')
60
71
  GetDetectorVersionRequest = Shapes::StructureShape.new(name: 'GetDetectorVersionRequest')
61
72
  GetDetectorVersionResult = Shapes::StructureShape.new(name: 'GetDetectorVersionResult')
62
73
  GetDetectorsRequest = Shapes::StructureShape.new(name: 'GetDetectorsRequest')
63
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')
64
81
  GetExternalModelsRequest = Shapes::StructureShape.new(name: 'GetExternalModelsRequest')
65
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')
66
86
  GetModelVersionRequest = Shapes::StructureShape.new(name: 'GetModelVersionRequest')
67
87
  GetModelVersionResult = Shapes::StructureShape.new(name: 'GetModelVersionResult')
68
88
  GetModelsRequest = Shapes::StructureShape.new(name: 'GetModelsRequest')
@@ -76,35 +96,32 @@ module Aws::FraudDetector
76
96
  GetVariablesRequest = Shapes::StructureShape.new(name: 'GetVariablesRequest')
77
97
  GetVariablesResult = Shapes::StructureShape.new(name: 'GetVariablesResult')
78
98
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
79
- IsOpaque = Shapes::BooleanShape.new(name: 'IsOpaque')
80
99
  JsonKeyToVariableMap = Shapes::MapShape.new(name: 'JsonKeyToVariableMap')
81
- 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')
82
103
  LabelSchema = Shapes::StructureShape.new(name: 'LabelSchema')
83
104
  Language = Shapes::StringShape.new(name: 'Language')
84
105
  ListOfModelScores = Shapes::ListShape.new(name: 'ListOfModelScores')
85
106
  ListOfModelVersions = Shapes::ListShape.new(name: 'ListOfModelVersions')
86
107
  ListOfRuleResults = Shapes::ListShape.new(name: 'ListOfRuleResults')
87
108
  ListOfStrings = Shapes::ListShape.new(name: 'ListOfStrings')
88
- MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
89
- 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')
90
112
  Model = Shapes::StructureShape.new(name: 'Model')
91
113
  ModelEndpointDataBlob = Shapes::StructureShape.new(name: 'ModelEndpointDataBlob')
92
114
  ModelEndpointStatus = Shapes::StringShape.new(name: 'ModelEndpointStatus')
93
115
  ModelInputConfiguration = Shapes::StructureShape.new(name: 'ModelInputConfiguration')
94
116
  ModelInputDataFormat = Shapes::StringShape.new(name: 'ModelInputDataFormat')
95
- ModelList = Shapes::ListShape.new(name: 'ModelList')
96
117
  ModelOutputConfiguration = Shapes::StructureShape.new(name: 'ModelOutputConfiguration')
97
118
  ModelOutputDataFormat = Shapes::StringShape.new(name: 'ModelOutputDataFormat')
98
119
  ModelPredictionMap = Shapes::MapShape.new(name: 'ModelPredictionMap')
99
120
  ModelScores = Shapes::StructureShape.new(name: 'ModelScores')
100
121
  ModelSource = Shapes::StringShape.new(name: 'ModelSource')
101
122
  ModelTypeEnum = Shapes::StringShape.new(name: 'ModelTypeEnum')
102
- ModelVariable = Shapes::StructureShape.new(name: 'ModelVariable')
103
- ModelVariableIndex = Shapes::IntegerShape.new(name: 'ModelVariableIndex')
104
- ModelVariablesList = Shapes::ListShape.new(name: 'ModelVariablesList')
105
123
  ModelVersion = Shapes::StructureShape.new(name: 'ModelVersion')
106
124
  ModelVersionDetail = Shapes::StructureShape.new(name: 'ModelVersionDetail')
107
- ModelVersionDetailList = Shapes::ListShape.new(name: 'ModelVersionDetailList')
108
125
  ModelVersionStatus = Shapes::StringShape.new(name: 'ModelVersionStatus')
109
126
  NameList = Shapes::ListShape.new(name: 'NameList')
110
127
  NonEmptyListOfStrings = Shapes::ListShape.new(name: 'NonEmptyListOfStrings')
@@ -113,10 +130,16 @@ module Aws::FraudDetector
113
130
  OutcomesMaxResults = Shapes::IntegerShape.new(name: 'OutcomesMaxResults')
114
131
  PutDetectorRequest = Shapes::StructureShape.new(name: 'PutDetectorRequest')
115
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')
116
137
  PutExternalModelRequest = Shapes::StructureShape.new(name: 'PutExternalModelRequest')
117
138
  PutExternalModelResult = Shapes::StructureShape.new(name: 'PutExternalModelResult')
118
- PutModelRequest = Shapes::StructureShape.new(name: 'PutModelRequest')
119
- 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')
120
143
  PutOutcomeRequest = Shapes::StructureShape.new(name: 'PutOutcomeRequest')
121
144
  PutOutcomeResult = Shapes::StructureShape.new(name: 'PutOutcomeResult')
122
145
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -128,22 +151,36 @@ module Aws::FraudDetector
128
151
  RuleList = Shapes::ListShape.new(name: 'RuleList')
129
152
  RuleResult = Shapes::StructureShape.new(name: 'RuleResult')
130
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')
131
158
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
132
- 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')
133
165
  UpdateDetectorVersionMetadataRequest = Shapes::StructureShape.new(name: 'UpdateDetectorVersionMetadataRequest')
134
166
  UpdateDetectorVersionMetadataResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionMetadataResult')
135
167
  UpdateDetectorVersionRequest = Shapes::StructureShape.new(name: 'UpdateDetectorVersionRequest')
136
168
  UpdateDetectorVersionResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionResult')
137
169
  UpdateDetectorVersionStatusRequest = Shapes::StructureShape.new(name: 'UpdateDetectorVersionStatusRequest')
138
170
  UpdateDetectorVersionStatusResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionStatusResult')
171
+ UpdateModelRequest = Shapes::StructureShape.new(name: 'UpdateModelRequest')
172
+ UpdateModelResult = Shapes::StructureShape.new(name: 'UpdateModelResult')
139
173
  UpdateModelVersionRequest = Shapes::StructureShape.new(name: 'UpdateModelVersionRequest')
140
174
  UpdateModelVersionResult = Shapes::StructureShape.new(name: 'UpdateModelVersionResult')
175
+ UpdateModelVersionStatusRequest = Shapes::StructureShape.new(name: 'UpdateModelVersionStatusRequest')
176
+ UpdateModelVersionStatusResult = Shapes::StructureShape.new(name: 'UpdateModelVersionStatusResult')
141
177
  UpdateRuleMetadataRequest = Shapes::StructureShape.new(name: 'UpdateRuleMetadataRequest')
142
178
  UpdateRuleMetadataResult = Shapes::StructureShape.new(name: 'UpdateRuleMetadataResult')
143
179
  UpdateRuleVersionRequest = Shapes::StructureShape.new(name: 'UpdateRuleVersionRequest')
144
180
  UpdateRuleVersionResult = Shapes::StructureShape.new(name: 'UpdateRuleVersionResult')
145
181
  UpdateVariableRequest = Shapes::StructureShape.new(name: 'UpdateVariableRequest')
146
182
  UpdateVariableResult = Shapes::StructureShape.new(name: 'UpdateVariableResult')
183
+ UseEventVariables = Shapes::BooleanShape.new(name: 'UseEventVariables')
147
184
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
148
185
  Variable = Shapes::StructureShape.new(name: 'Variable')
149
186
  VariableEntry = Shapes::StructureShape.new(name: 'VariableEntry')
@@ -155,15 +192,42 @@ module Aws::FraudDetector
155
192
  blob = Shapes::BlobShape.new(name: 'blob')
156
193
  contentType = Shapes::StringShape.new(name: 'contentType')
157
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')
158
201
  float = Shapes::FloatShape.new(name: 'float')
202
+ floatVersionString = Shapes::StringShape.new(name: 'floatVersionString')
203
+ fraudDetectorArn = Shapes::StringShape.new(name: 'fraudDetectorArn')
159
204
  iamRoleArn = Shapes::StringShape.new(name: 'iamRoleArn')
160
205
  identifier = Shapes::StringShape.new(name: 'identifier')
161
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')
162
215
  nonEmptyString = Shapes::StringShape.new(name: 'nonEmptyString')
163
216
  ruleExpression = Shapes::StringShape.new(name: 'ruleExpression')
164
217
  s3BucketLocation = Shapes::StringShape.new(name: 's3BucketLocation')
218
+ sageMakerEndpointIdentifier = Shapes::StringShape.new(name: 'sageMakerEndpointIdentifier')
165
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')
166
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
167
231
 
168
232
  BatchCreateVariableError.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
169
233
  BatchCreateVariableError.add_member(:code, Shapes::ShapeRef.new(shape: integer, location_name: "code"))
@@ -173,6 +237,7 @@ module Aws::FraudDetector
173
237
  BatchCreateVariableErrorList.member = Shapes::ShapeRef.new(shape: BatchCreateVariableError)
174
238
 
175
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"))
176
241
  BatchCreateVariableRequest.struct_class = Types::BatchCreateVariableRequest
177
242
 
178
243
  BatchCreateVariableResult.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateVariableErrorList, location_name: "errors"))
@@ -201,6 +266,7 @@ module Aws::FraudDetector
201
266
  CreateDetectorVersionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: RuleList, required: true, location_name: "rules"))
202
267
  CreateDetectorVersionRequest.add_member(:model_versions, Shapes::ShapeRef.new(shape: ListOfModelVersions, location_name: "modelVersions"))
203
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"))
204
270
  CreateDetectorVersionRequest.struct_class = Types::CreateDetectorVersionRequest
205
271
 
206
272
  CreateDetectorVersionResult.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
@@ -208,9 +274,21 @@ module Aws::FraudDetector
208
274
  CreateDetectorVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, location_name: "status"))
209
275
  CreateDetectorVersionResult.struct_class = Types::CreateDetectorVersionResult
210
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
+
211
286
  CreateModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
212
287
  CreateModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
213
- 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"))
214
292
  CreateModelVersionRequest.struct_class = Types::CreateModelVersionRequest
215
293
 
216
294
  CreateModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
@@ -225,6 +303,7 @@ module Aws::FraudDetector
225
303
  CreateRuleRequest.add_member(:expression, Shapes::ShapeRef.new(shape: ruleExpression, required: true, location_name: "expression"))
226
304
  CreateRuleRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, required: true, location_name: "language"))
227
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"))
228
307
  CreateRuleRequest.struct_class = Types::CreateRuleRequest
229
308
 
230
309
  CreateRuleResult.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, location_name: "rule"))
@@ -236,6 +315,7 @@ module Aws::FraudDetector
236
315
  CreateVariableRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: string, required: true, location_name: "defaultValue"))
237
316
  CreateVariableRequest.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "description"))
238
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"))
239
319
  CreateVariableRequest.struct_class = Types::CreateVariableRequest
240
320
 
241
321
  CreateVariableResult.struct_class = Types::CreateVariableResult
@@ -243,28 +323,31 @@ module Aws::FraudDetector
243
323
  CsvIndexToVariableMap.key = Shapes::ShapeRef.new(shape: string)
244
324
  CsvIndexToVariableMap.value = Shapes::ShapeRef.new(shape: string)
245
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
+
246
330
  DeleteDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
247
331
  DeleteDetectorRequest.struct_class = Types::DeleteDetectorRequest
248
332
 
249
333
  DeleteDetectorResult.struct_class = Types::DeleteDetectorResult
250
334
 
251
335
  DeleteDetectorVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
252
- 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"))
253
337
  DeleteDetectorVersionRequest.struct_class = Types::DeleteDetectorVersionRequest
254
338
 
255
339
  DeleteDetectorVersionResult.struct_class = Types::DeleteDetectorVersionResult
256
340
 
257
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"))
258
343
  DeleteEventRequest.struct_class = Types::DeleteEventRequest
259
344
 
260
345
  DeleteEventResult.struct_class = Types::DeleteEventResult
261
346
 
262
- DeleteRuleVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
263
- DeleteRuleVersionRequest.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "ruleId"))
264
- DeleteRuleVersionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "ruleVersion"))
265
- 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
266
349
 
267
- DeleteRuleVersionResult.struct_class = Types::DeleteRuleVersionResult
350
+ DeleteRuleResult.struct_class = Types::DeleteRuleResult
268
351
 
269
352
  DescribeDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
270
353
  DescribeDetectorRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
@@ -274,23 +357,26 @@ module Aws::FraudDetector
274
357
  DescribeDetectorResult.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
275
358
  DescribeDetectorResult.add_member(:detector_version_summaries, Shapes::ShapeRef.new(shape: DetectorVersionSummaryList, location_name: "detectorVersionSummaries"))
276
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"))
277
361
  DescribeDetectorResult.struct_class = Types::DescribeDetectorResult
278
362
 
279
363
  DescribeModelVersionsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
280
- 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"))
281
365
  DescribeModelVersionsRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
282
366
  DescribeModelVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
283
- 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"))
284
368
  DescribeModelVersionsRequest.struct_class = Types::DescribeModelVersionsRequest
285
369
 
286
- 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"))
287
371
  DescribeModelVersionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
288
372
  DescribeModelVersionsResult.struct_class = Types::DescribeModelVersionsResult
289
373
 
290
374
  Detector.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
291
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"))
292
377
  Detector.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
293
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"))
294
380
  Detector.struct_class = Types::Detector
295
381
 
296
382
  DetectorList.member = Shapes::ShapeRef.new(shape: Detector)
@@ -303,10 +389,39 @@ module Aws::FraudDetector
303
389
 
304
390
  DetectorVersionSummaryList.member = Shapes::ShapeRef.new(shape: DetectorVersionSummary)
305
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
+
306
403
  EventAttributeMap.key = Shapes::ShapeRef.new(shape: attributeKey)
307
404
  EventAttributeMap.value = Shapes::ShapeRef.new(shape: attributeValue)
308
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
+
309
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"))
310
425
  ExternalModel.add_member(:model_source, Shapes::ShapeRef.new(shape: ModelSource, location_name: "modelSource"))
311
426
  ExternalModel.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "role"))
312
427
  ExternalModel.add_member(:input_configuration, Shapes::ShapeRef.new(shape: ModelInputConfiguration, location_name: "inputConfiguration"))
@@ -314,6 +429,7 @@ module Aws::FraudDetector
314
429
  ExternalModel.add_member(:model_endpoint_status, Shapes::ShapeRef.new(shape: ModelEndpointStatus, location_name: "modelEndpointStatus"))
315
430
  ExternalModel.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
316
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"))
317
433
  ExternalModel.struct_class = Types::ExternalModel
318
434
 
319
435
  ExternalModelEndpointDataBlobMap.key = Shapes::ShapeRef.new(shape: string)
@@ -321,12 +437,24 @@ module Aws::FraudDetector
321
437
 
322
438
  ExternalModelList.member = Shapes::ShapeRef.new(shape: ExternalModel)
323
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
+
324
452
  GetDetectorVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
325
- 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"))
326
454
  GetDetectorVersionRequest.struct_class = Types::GetDetectorVersionRequest
327
455
 
328
456
  GetDetectorVersionResult.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
329
- 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"))
330
458
  GetDetectorVersionResult.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
331
459
  GetDetectorVersionResult.add_member(:external_model_endpoints, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "externalModelEndpoints"))
332
460
  GetDetectorVersionResult.add_member(:model_versions, Shapes::ShapeRef.new(shape: ListOfModelVersions, location_name: "modelVersions"))
@@ -335,6 +463,7 @@ module Aws::FraudDetector
335
463
  GetDetectorVersionResult.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
336
464
  GetDetectorVersionResult.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
337
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"))
338
467
  GetDetectorVersionResult.struct_class = Types::GetDetectorVersionResult
339
468
 
340
469
  GetDetectorsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
@@ -346,6 +475,38 @@ module Aws::FraudDetector
346
475
  GetDetectorsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
347
476
  GetDetectorsResult.struct_class = Types::GetDetectorsResult
348
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
+
349
510
  GetExternalModelsRequest.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: string, location_name: "modelEndpoint"))
350
511
  GetExternalModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
351
512
  GetExternalModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ExternalModelsMaxResults, location_name: "maxResults"))
@@ -355,26 +516,41 @@ module Aws::FraudDetector
355
516
  GetExternalModelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
356
517
  GetExternalModelsResult.struct_class = Types::GetExternalModelsResult
357
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
+
358
531
  GetModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
359
532
  GetModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
360
- 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"))
361
534
  GetModelVersionRequest.struct_class = Types::GetModelVersionRequest
362
535
 
363
536
  GetModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
364
537
  GetModelVersionResult.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
365
- GetModelVersionResult.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
366
- 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"))
367
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"))
368
544
  GetModelVersionResult.struct_class = Types::GetModelVersionResult
369
545
 
370
- GetModelsRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
371
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"))
372
548
  GetModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
373
- 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"))
374
550
  GetModelsRequest.struct_class = Types::GetModelsRequest
375
551
 
376
552
  GetModelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
377
- 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"))
378
554
  GetModelsResult.struct_class = Types::GetModelsResult
379
555
 
380
556
  GetOutcomesRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, location_name: "name"))
@@ -400,7 +576,7 @@ module Aws::FraudDetector
400
576
 
401
577
  GetRulesRequest.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, location_name: "ruleId"))
402
578
  GetRulesRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
403
- 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"))
404
580
  GetRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
405
581
  GetRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: RulesMaxResults, location_name: "maxResults"))
406
582
  GetRulesRequest.struct_class = Types::GetRulesRequest
@@ -424,11 +600,17 @@ module Aws::FraudDetector
424
600
  JsonKeyToVariableMap.key = Shapes::ShapeRef.new(shape: string)
425
601
  JsonKeyToVariableMap.value = Shapes::ShapeRef.new(shape: string)
426
602
 
427
- LabelMapper.key = Shapes::ShapeRef.new(shape: string)
428
- 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
605
+
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
429
612
 
430
- LabelSchema.add_member(:label_key, Shapes::ShapeRef.new(shape: string, required: true, location_name: "labelKey"))
431
- LabelSchema.add_member(:label_mapper, Shapes::ShapeRef.new(shape: LabelMapper, required: true, location_name: "labelMapper"))
613
+ LabelSchema.add_member(:label_mapper, Shapes::ShapeRef.new(shape: labelMapper, required: true, location_name: "labelMapper"))
432
614
  LabelSchema.struct_class = Types::LabelSchema
433
615
 
434
616
  ListOfModelScores.member = Shapes::ShapeRef.new(shape: ModelScores)
@@ -439,17 +621,28 @@ module Aws::FraudDetector
439
621
 
440
622
  ListOfStrings.member = Shapes::ShapeRef.new(shape: string)
441
623
 
442
- MetricsMap.key = Shapes::ShapeRef.new(shape: string)
443
- 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
444
638
 
445
639
  Model.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
446
640
  Model.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
447
641
  Model.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
448
- Model.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSource, location_name: "trainingDataSource"))
449
- Model.add_member(:model_variables, Shapes::ShapeRef.new(shape: ModelVariablesList, location_name: "modelVariables"))
450
- Model.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, location_name: "labelSchema"))
451
- 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"))
452
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"))
453
646
  Model.struct_class = Types::Model
454
647
 
455
648
  ModelEndpointDataBlob.add_member(:byte_buffer, Shapes::ShapeRef.new(shape: blob, location_name: "byteBuffer"))
@@ -457,13 +650,11 @@ module Aws::FraudDetector
457
650
  ModelEndpointDataBlob.struct_class = Types::ModelEndpointDataBlob
458
651
 
459
652
  ModelInputConfiguration.add_member(:format, Shapes::ShapeRef.new(shape: ModelInputDataFormat, location_name: "format"))
460
- 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"))
461
654
  ModelInputConfiguration.add_member(:json_input_template, Shapes::ShapeRef.new(shape: string, location_name: "jsonInputTemplate"))
462
655
  ModelInputConfiguration.add_member(:csv_input_template, Shapes::ShapeRef.new(shape: string, location_name: "csvInputTemplate"))
463
656
  ModelInputConfiguration.struct_class = Types::ModelInputConfiguration
464
657
 
465
- ModelList.member = Shapes::ShapeRef.new(shape: Model)
466
-
467
658
  ModelOutputConfiguration.add_member(:format, Shapes::ShapeRef.new(shape: ModelOutputDataFormat, required: true, location_name: "format"))
468
659
  ModelOutputConfiguration.add_member(:json_key_to_variable_map, Shapes::ShapeRef.new(shape: JsonKeyToVariableMap, location_name: "jsonKeyToVariableMap"))
469
660
  ModelOutputConfiguration.add_member(:csv_index_to_variable_map, Shapes::ShapeRef.new(shape: CsvIndexToVariableMap, location_name: "csvIndexToVariableMap"))
@@ -476,33 +667,25 @@ module Aws::FraudDetector
476
667
  ModelScores.add_member(:scores, Shapes::ShapeRef.new(shape: ModelPredictionMap, location_name: "scores"))
477
668
  ModelScores.struct_class = Types::ModelScores
478
669
 
479
- ModelVariable.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "name"))
480
- ModelVariable.add_member(:index, Shapes::ShapeRef.new(shape: ModelVariableIndex, location_name: "index"))
481
- ModelVariable.struct_class = Types::ModelVariable
482
-
483
- ModelVariablesList.member = Shapes::ShapeRef.new(shape: ModelVariable)
484
-
485
670
  ModelVersion.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
486
671
  ModelVersion.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
487
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"))
488
674
  ModelVersion.struct_class = Types::ModelVersion
489
675
 
490
676
  ModelVersionDetail.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
491
677
  ModelVersionDetail.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
492
- ModelVersionDetail.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
493
- 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"))
494
679
  ModelVersionDetail.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
495
- ModelVersionDetail.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSource, location_name: "trainingDataSource"))
496
- ModelVersionDetail.add_member(:model_variables, Shapes::ShapeRef.new(shape: ModelVariablesList, location_name: "modelVariables"))
497
- ModelVersionDetail.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, location_name: "labelSchema"))
498
- ModelVersionDetail.add_member(:validation_metrics, Shapes::ShapeRef.new(shape: MetricsMap, location_name: "validationMetrics"))
499
- 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"))
500
684
  ModelVersionDetail.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
501
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"))
502
687
  ModelVersionDetail.struct_class = Types::ModelVersionDetail
503
688
 
504
- ModelVersionDetailList.member = Shapes::ShapeRef.new(shape: ModelVersionDetail)
505
-
506
689
  NameList.member = Shapes::ShapeRef.new(shape: string)
507
690
 
508
691
  NonEmptyListOfStrings.member = Shapes::ShapeRef.new(shape: string)
@@ -511,38 +694,63 @@ module Aws::FraudDetector
511
694
  Outcome.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
512
695
  Outcome.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
513
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"))
514
698
  Outcome.struct_class = Types::Outcome
515
699
 
516
700
  OutcomeList.member = Shapes::ShapeRef.new(shape: Outcome)
517
701
 
518
702
  PutDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
519
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"))
520
706
  PutDetectorRequest.struct_class = Types::PutDetectorRequest
521
707
 
522
708
  PutDetectorResult.struct_class = Types::PutDetectorResult
523
709
 
524
- 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"))
525
729
  PutExternalModelRequest.add_member(:model_source, Shapes::ShapeRef.new(shape: ModelSource, required: true, location_name: "modelSource"))
526
730
  PutExternalModelRequest.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "role"))
527
731
  PutExternalModelRequest.add_member(:input_configuration, Shapes::ShapeRef.new(shape: ModelInputConfiguration, required: true, location_name: "inputConfiguration"))
528
732
  PutExternalModelRequest.add_member(:output_configuration, Shapes::ShapeRef.new(shape: ModelOutputConfiguration, required: true, location_name: "outputConfiguration"))
529
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"))
530
735
  PutExternalModelRequest.struct_class = Types::PutExternalModelRequest
531
736
 
532
737
  PutExternalModelResult.struct_class = Types::PutExternalModelResult
533
738
 
534
- PutModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
535
- PutModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
536
- PutModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
537
- PutModelRequest.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSource, required: true, location_name: "trainingDataSource"))
538
- PutModelRequest.add_member(:model_variables, Shapes::ShapeRef.new(shape: ModelVariablesList, required: true, location_name: "modelVariables"))
539
- PutModelRequest.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, required: true, location_name: "labelSchema"))
540
- 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
743
+
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
541
748
 
542
- PutModelResult.struct_class = Types::PutModelResult
749
+ PutLabelResult.struct_class = Types::PutLabelResult
543
750
 
544
751
  PutOutcomeRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "name"))
545
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"))
546
754
  PutOutcomeRequest.struct_class = Types::PutOutcomeRequest
547
755
 
548
756
  PutOutcomeResult.struct_class = Types::PutOutcomeResult
@@ -556,18 +764,19 @@ module Aws::FraudDetector
556
764
 
557
765
  Rule.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
558
766
  Rule.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "ruleId"))
559
- 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"))
560
768
  Rule.struct_class = Types::Rule
561
769
 
562
770
  RuleDetail.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, location_name: "ruleId"))
563
771
  RuleDetail.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
564
772
  RuleDetail.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
565
- 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"))
566
774
  RuleDetail.add_member(:expression, Shapes::ShapeRef.new(shape: ruleExpression, location_name: "expression"))
567
775
  RuleDetail.add_member(:language, Shapes::ShapeRef.new(shape: Language, location_name: "language"))
568
776
  RuleDetail.add_member(:outcomes, Shapes::ShapeRef.new(shape: NonEmptyListOfStrings, location_name: "outcomes"))
569
777
  RuleDetail.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
570
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"))
571
780
  RuleDetail.struct_class = Types::RuleDetail
572
781
 
573
782
  RuleDetailList.member = Shapes::ShapeRef.new(shape: RuleDetail)
@@ -578,22 +787,46 @@ module Aws::FraudDetector
578
787
  RuleResult.add_member(:outcomes, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "outcomes"))
579
788
  RuleResult.struct_class = Types::RuleResult
580
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
+
581
800
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: string, required: true, location_name: "message"))
582
801
  ThrottlingException.struct_class = Types::ThrottlingException
583
802
 
584
- TrainingDataSource.add_member(:data_location, Shapes::ShapeRef.new(shape: s3BucketLocation, required: true, location_name: "dataLocation"))
585
- TrainingDataSource.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: iamRoleArn, required: true, location_name: "dataAccessRoleArn"))
586
- 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
587
820
 
588
821
  UpdateDetectorVersionMetadataRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
589
- 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"))
590
823
  UpdateDetectorVersionMetadataRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, required: true, location_name: "description"))
591
824
  UpdateDetectorVersionMetadataRequest.struct_class = Types::UpdateDetectorVersionMetadataRequest
592
825
 
593
826
  UpdateDetectorVersionMetadataResult.struct_class = Types::UpdateDetectorVersionMetadataResult
594
827
 
595
828
  UpdateDetectorVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
596
- 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"))
597
830
  UpdateDetectorVersionRequest.add_member(:external_model_endpoints, Shapes::ShapeRef.new(shape: ListOfStrings, required: true, location_name: "externalModelEndpoints"))
598
831
  UpdateDetectorVersionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: RuleList, required: true, location_name: "rules"))
599
832
  UpdateDetectorVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
@@ -604,21 +837,40 @@ module Aws::FraudDetector
604
837
  UpdateDetectorVersionResult.struct_class = Types::UpdateDetectorVersionResult
605
838
 
606
839
  UpdateDetectorVersionStatusRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
607
- 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"))
608
841
  UpdateDetectorVersionStatusRequest.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, required: true, location_name: "status"))
609
842
  UpdateDetectorVersionStatusRequest.struct_class = Types::UpdateDetectorVersionStatusRequest
610
843
 
611
844
  UpdateDetectorVersionStatusResult.struct_class = Types::UpdateDetectorVersionStatusResult
612
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
+
613
853
  UpdateModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
614
854
  UpdateModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
615
- UpdateModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "modelVersionNumber"))
616
- UpdateModelVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, required: true, location_name: "description"))
617
- 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"))
618
858
  UpdateModelVersionRequest.struct_class = Types::UpdateModelVersionRequest
619
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"))
620
864
  UpdateModelVersionResult.struct_class = Types::UpdateModelVersionResult
621
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
+
622
874
  UpdateRuleMetadataRequest.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, required: true, location_name: "rule"))
623
875
  UpdateRuleMetadataRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, required: true, location_name: "description"))
624
876
  UpdateRuleMetadataRequest.struct_class = Types::UpdateRuleMetadataRequest
@@ -630,6 +882,7 @@ module Aws::FraudDetector
630
882
  UpdateRuleVersionRequest.add_member(:expression, Shapes::ShapeRef.new(shape: ruleExpression, required: true, location_name: "expression"))
631
883
  UpdateRuleVersionRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, required: true, location_name: "language"))
632
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"))
633
886
  UpdateRuleVersionRequest.struct_class = Types::UpdateRuleVersionRequest
634
887
 
635
888
  UpdateRuleVersionResult.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, location_name: "rule"))
@@ -654,6 +907,7 @@ module Aws::FraudDetector
654
907
  Variable.add_member(:variable_type, Shapes::ShapeRef.new(shape: string, location_name: "variableType"))
655
908
  Variable.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
656
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"))
657
911
  Variable.struct_class = Types::Variable
658
912
 
659
913
  VariableEntry.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
@@ -668,6 +922,31 @@ module Aws::FraudDetector
668
922
 
669
923
  VariableList.member = Shapes::ShapeRef.new(shape: Variable)
670
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
+
671
950
 
672
951
  # @api private
673
952
  API = Seahorse::Model::Api.new.tap do |api|
@@ -695,6 +974,7 @@ module Aws::FraudDetector
695
974
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
696
975
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
697
976
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
977
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
698
978
  end)
699
979
 
700
980
  api.add_operation(:batch_get_variable, Seahorse::Model::Operation.new.tap do |o|
@@ -706,6 +986,7 @@ module Aws::FraudDetector
706
986
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
707
987
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
708
988
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
989
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
709
990
  end)
710
991
 
711
992
  api.add_operation(:create_detector_version, Seahorse::Model::Operation.new.tap do |o|
@@ -718,6 +999,18 @@ module Aws::FraudDetector
718
999
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
719
1000
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
720
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)
721
1014
  end)
722
1015
 
723
1016
  api.add_operation(:create_model_version, Seahorse::Model::Operation.new.tap do |o|
@@ -728,8 +1021,8 @@ module Aws::FraudDetector
728
1021
  o.output = Shapes::ShapeRef.new(shape: CreateModelVersionResult)
729
1022
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
730
1023
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1024
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
731
1025
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
732
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
733
1026
  end)
734
1027
 
735
1028
  api.add_operation(:create_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -741,6 +1034,7 @@ module Aws::FraudDetector
741
1034
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
742
1035
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
743
1036
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1037
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
744
1038
  end)
745
1039
 
746
1040
  api.add_operation(:create_variable, Seahorse::Model::Operation.new.tap do |o|
@@ -752,6 +1046,7 @@ module Aws::FraudDetector
752
1046
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
753
1047
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
754
1048
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1049
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
755
1050
  end)
756
1051
 
757
1052
  api.add_operation(:delete_detector, Seahorse::Model::Operation.new.tap do |o|
@@ -764,6 +1059,7 @@ module Aws::FraudDetector
764
1059
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
765
1060
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
766
1061
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1062
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
767
1063
  end)
768
1064
 
769
1065
  api.add_operation(:delete_detector_version, Seahorse::Model::Operation.new.tap do |o|
@@ -777,6 +1073,7 @@ module Aws::FraudDetector
777
1073
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
778
1074
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
779
1075
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1076
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
780
1077
  end)
781
1078
 
782
1079
  api.add_operation(:delete_event, Seahorse::Model::Operation.new.tap do |o|
@@ -787,18 +1084,20 @@ module Aws::FraudDetector
787
1084
  o.output = Shapes::ShapeRef.new(shape: DeleteEventResult)
788
1085
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
789
1086
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1087
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
790
1088
  end)
791
1089
 
792
- api.add_operation(:delete_rule_version, Seahorse::Model::Operation.new.tap do |o|
793
- o.name = "DeleteRuleVersion"
1090
+ api.add_operation(:delete_rule, Seahorse::Model::Operation.new.tap do |o|
1091
+ o.name = "DeleteRule"
794
1092
  o.http_method = "POST"
795
1093
  o.http_request_uri = "/"
796
- o.input = Shapes::ShapeRef.new(shape: DeleteRuleVersionRequest)
797
- o.output = Shapes::ShapeRef.new(shape: DeleteRuleVersionResult)
1094
+ o.input = Shapes::ShapeRef.new(shape: DeleteRuleRequest)
1095
+ o.output = Shapes::ShapeRef.new(shape: DeleteRuleResult)
798
1096
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
799
1097
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
800
1098
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
801
1099
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1100
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
802
1101
  end)
803
1102
 
804
1103
  api.add_operation(:describe_detector, Seahorse::Model::Operation.new.tap do |o|
@@ -811,6 +1110,7 @@ module Aws::FraudDetector
811
1110
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
812
1111
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
813
1112
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1113
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
814
1114
  end)
815
1115
 
816
1116
  api.add_operation(:describe_model_versions, Seahorse::Model::Operation.new.tap do |o|
@@ -822,7 +1122,7 @@ module Aws::FraudDetector
822
1122
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
823
1123
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
824
1124
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
825
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1125
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
826
1126
  o[:pager] = Aws::Pager.new(
827
1127
  limit_key: "max_results",
828
1128
  tokens: {
@@ -841,6 +1141,7 @@ module Aws::FraudDetector
841
1141
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
842
1142
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
843
1143
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1144
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
844
1145
  end)
845
1146
 
846
1147
  api.add_operation(:get_detectors, Seahorse::Model::Operation.new.tap do |o|
@@ -853,6 +1154,56 @@ module Aws::FraudDetector
853
1154
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
854
1155
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
855
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)
856
1207
  o[:pager] = Aws::Pager.new(
857
1208
  limit_key: "max_results",
858
1209
  tokens: {
@@ -871,6 +1222,36 @@ module Aws::FraudDetector
871
1222
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
872
1223
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
873
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)
874
1255
  o[:pager] = Aws::Pager.new(
875
1256
  limit_key: "max_results",
876
1257
  tokens: {
@@ -888,7 +1269,7 @@ module Aws::FraudDetector
888
1269
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
889
1270
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
890
1271
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
891
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1272
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
892
1273
  end)
893
1274
 
894
1275
  api.add_operation(:get_models, Seahorse::Model::Operation.new.tap do |o|
@@ -900,7 +1281,7 @@ module Aws::FraudDetector
900
1281
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
901
1282
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
902
1283
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
903
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1284
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
904
1285
  o[:pager] = Aws::Pager.new(
905
1286
  limit_key: "max_results",
906
1287
  tokens: {
@@ -919,6 +1300,7 @@ module Aws::FraudDetector
919
1300
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
920
1301
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
921
1302
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1303
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
922
1304
  o[:pager] = Aws::Pager.new(
923
1305
  limit_key: "max_results",
924
1306
  tokens: {
@@ -937,6 +1319,7 @@ module Aws::FraudDetector
937
1319
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
938
1320
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
939
1321
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1322
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
940
1323
  end)
941
1324
 
942
1325
  api.add_operation(:get_rules, Seahorse::Model::Operation.new.tap do |o|
@@ -949,6 +1332,7 @@ module Aws::FraudDetector
949
1332
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
950
1333
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
951
1334
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1335
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
952
1336
  o[:pager] = Aws::Pager.new(
953
1337
  limit_key: "max_results",
954
1338
  tokens: {
@@ -967,6 +1351,24 @@ module Aws::FraudDetector
967
1351
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
968
1352
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
969
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)
970
1372
  o[:pager] = Aws::Pager.new(
971
1373
  limit_key: "max_results",
972
1374
  tokens: {
@@ -984,6 +1386,29 @@ module Aws::FraudDetector
984
1386
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
985
1387
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
986
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)
987
1412
  end)
988
1413
 
989
1414
  api.add_operation(:put_external_model, Seahorse::Model::Operation.new.tap do |o|
@@ -995,17 +1420,30 @@ module Aws::FraudDetector
995
1420
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
996
1421
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
997
1422
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1423
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
998
1424
  end)
999
1425
 
1000
- api.add_operation(:put_model, Seahorse::Model::Operation.new.tap do |o|
1001
- o.name = "PutModel"
1426
+ api.add_operation(:put_kms_encryption_key, Seahorse::Model::Operation.new.tap do |o|
1427
+ o.name = "PutKMSEncryptionKey"
1002
1428
  o.http_method = "POST"
1003
1429
  o.http_request_uri = "/"
1004
- o.input = Shapes::ShapeRef.new(shape: PutModelRequest)
1005
- o.output = Shapes::ShapeRef.new(shape: PutModelResult)
1430
+ o.input = Shapes::ShapeRef.new(shape: PutKMSEncryptionKeyRequest)
1431
+ o.output = Shapes::ShapeRef.new(shape: PutKMSEncryptionKeyResult)
1006
1432
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1433
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1007
1434
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1008
- 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)
1009
1447
  end)
1010
1448
 
1011
1449
  api.add_operation(:put_outcome, Seahorse::Model::Operation.new.tap do |o|
@@ -1017,6 +1455,29 @@ module Aws::FraudDetector
1017
1455
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1018
1456
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1019
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)
1020
1481
  end)
1021
1482
 
1022
1483
  api.add_operation(:update_detector_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1029,6 +1490,7 @@ module Aws::FraudDetector
1029
1490
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1030
1491
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1031
1492
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1493
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1032
1494
  end)
1033
1495
 
1034
1496
  api.add_operation(:update_detector_version_metadata, Seahorse::Model::Operation.new.tap do |o|
@@ -1040,6 +1502,7 @@ module Aws::FraudDetector
1040
1502
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1041
1503
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1042
1504
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1505
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1043
1506
  end)
1044
1507
 
1045
1508
  api.add_operation(:update_detector_version_status, Seahorse::Model::Operation.new.tap do |o|
@@ -1052,6 +1515,19 @@ module Aws::FraudDetector
1052
1515
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1053
1516
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1054
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)
1055
1531
  end)
1056
1532
 
1057
1533
  api.add_operation(:update_model_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1062,8 +1538,20 @@ module Aws::FraudDetector
1062
1538
  o.output = Shapes::ShapeRef.new(shape: UpdateModelVersionResult)
1063
1539
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1064
1540
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1541
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1065
1542
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1066
- 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)
1067
1555
  end)
1068
1556
 
1069
1557
  api.add_operation(:update_rule_metadata, Seahorse::Model::Operation.new.tap do |o|
@@ -1076,6 +1564,7 @@ module Aws::FraudDetector
1076
1564
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1077
1565
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1078
1566
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1567
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1079
1568
  end)
1080
1569
 
1081
1570
  api.add_operation(:update_rule_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1088,6 +1577,7 @@ module Aws::FraudDetector
1088
1577
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1089
1578
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1090
1579
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1580
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1091
1581
  end)
1092
1582
 
1093
1583
  api.add_operation(:update_variable, Seahorse::Model::Operation.new.tap do |o|
@@ -1100,6 +1590,7 @@ module Aws::FraudDetector
1100
1590
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1101
1591
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1102
1592
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1593
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1103
1594
  end)
1104
1595
  end
1105
1596