aws-sdk-frauddetector 1.6.0 → 1.11.0

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