aws-sdk-frauddetector 1.5.1 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -11,6 +13,7 @@ module Aws::FraudDetector
11
13
 
12
14
  include Seahorse::Model
13
15
 
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
14
17
  BatchCreateVariableError = Shapes::StructureShape.new(name: 'BatchCreateVariableError')
15
18
  BatchCreateVariableErrorList = Shapes::ListShape.new(name: 'BatchCreateVariableErrorList')
16
19
  BatchCreateVariableRequest = Shapes::StructureShape.new(name: 'BatchCreateVariableRequest')
@@ -22,6 +25,8 @@ module Aws::FraudDetector
22
25
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
23
26
  CreateDetectorVersionRequest = Shapes::StructureShape.new(name: 'CreateDetectorVersionRequest')
24
27
  CreateDetectorVersionResult = Shapes::StructureShape.new(name: 'CreateDetectorVersionResult')
28
+ CreateModelRequest = Shapes::StructureShape.new(name: 'CreateModelRequest')
29
+ CreateModelResult = Shapes::StructureShape.new(name: 'CreateModelResult')
25
30
  CreateModelVersionRequest = Shapes::StructureShape.new(name: 'CreateModelVersionRequest')
26
31
  CreateModelVersionResult = Shapes::StructureShape.new(name: 'CreateModelVersionResult')
27
32
  CreateRuleRequest = Shapes::StructureShape.new(name: 'CreateRuleRequest')
@@ -31,14 +36,15 @@ module Aws::FraudDetector
31
36
  CsvIndexToVariableMap = Shapes::MapShape.new(name: 'CsvIndexToVariableMap')
32
37
  DataSource = Shapes::StringShape.new(name: 'DataSource')
33
38
  DataType = Shapes::StringShape.new(name: 'DataType')
39
+ DataValidationMetrics = Shapes::StructureShape.new(name: 'DataValidationMetrics')
34
40
  DeleteDetectorRequest = Shapes::StructureShape.new(name: 'DeleteDetectorRequest')
35
41
  DeleteDetectorResult = Shapes::StructureShape.new(name: 'DeleteDetectorResult')
36
42
  DeleteDetectorVersionRequest = Shapes::StructureShape.new(name: 'DeleteDetectorVersionRequest')
37
43
  DeleteDetectorVersionResult = Shapes::StructureShape.new(name: 'DeleteDetectorVersionResult')
38
44
  DeleteEventRequest = Shapes::StructureShape.new(name: 'DeleteEventRequest')
39
45
  DeleteEventResult = Shapes::StructureShape.new(name: 'DeleteEventResult')
40
- DeleteRuleVersionRequest = Shapes::StructureShape.new(name: 'DeleteRuleVersionRequest')
41
- DeleteRuleVersionResult = Shapes::StructureShape.new(name: 'DeleteRuleVersionResult')
46
+ DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
47
+ DeleteRuleResult = Shapes::StructureShape.new(name: 'DeleteRuleResult')
42
48
  DescribeDetectorRequest = Shapes::StructureShape.new(name: 'DescribeDetectorRequest')
43
49
  DescribeDetectorResult = Shapes::StructureShape.new(name: 'DescribeDetectorResult')
44
50
  DescribeModelVersionsRequest = Shapes::StructureShape.new(name: 'DescribeModelVersionsRequest')
@@ -50,59 +56,69 @@ module Aws::FraudDetector
50
56
  DetectorVersionSummary = Shapes::StructureShape.new(name: 'DetectorVersionSummary')
51
57
  DetectorVersionSummaryList = Shapes::ListShape.new(name: 'DetectorVersionSummaryList')
52
58
  DetectorsMaxResults = Shapes::IntegerShape.new(name: 'DetectorsMaxResults')
53
- 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')
54
64
  ExternalModel = Shapes::StructureShape.new(name: 'ExternalModel')
55
65
  ExternalModelEndpointDataBlobMap = Shapes::MapShape.new(name: 'ExternalModelEndpointDataBlobMap')
56
66
  ExternalModelList = Shapes::ListShape.new(name: 'ExternalModelList')
57
67
  ExternalModelsMaxResults = Shapes::IntegerShape.new(name: 'ExternalModelsMaxResults')
68
+ FieldValidationMessage = Shapes::StructureShape.new(name: 'FieldValidationMessage')
69
+ FileValidationMessage = Shapes::StructureShape.new(name: 'FileValidationMessage')
58
70
  GetDetectorVersionRequest = Shapes::StructureShape.new(name: 'GetDetectorVersionRequest')
59
71
  GetDetectorVersionResult = Shapes::StructureShape.new(name: 'GetDetectorVersionResult')
60
72
  GetDetectorsRequest = Shapes::StructureShape.new(name: 'GetDetectorsRequest')
61
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')
62
80
  GetExternalModelsRequest = Shapes::StructureShape.new(name: 'GetExternalModelsRequest')
63
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')
64
85
  GetModelVersionRequest = Shapes::StructureShape.new(name: 'GetModelVersionRequest')
65
86
  GetModelVersionResult = Shapes::StructureShape.new(name: 'GetModelVersionResult')
66
87
  GetModelsRequest = Shapes::StructureShape.new(name: 'GetModelsRequest')
67
88
  GetModelsResult = Shapes::StructureShape.new(name: 'GetModelsResult')
68
89
  GetOutcomesRequest = Shapes::StructureShape.new(name: 'GetOutcomesRequest')
69
90
  GetOutcomesResult = Shapes::StructureShape.new(name: 'GetOutcomesResult')
70
- GetPredictionRequest = Shapes::StructureShape.new(name: 'GetPredictionRequest')
71
- GetPredictionResult = Shapes::StructureShape.new(name: 'GetPredictionResult')
72
91
  GetRulesRequest = Shapes::StructureShape.new(name: 'GetRulesRequest')
73
92
  GetRulesResult = Shapes::StructureShape.new(name: 'GetRulesResult')
74
93
  GetVariablesRequest = Shapes::StructureShape.new(name: 'GetVariablesRequest')
75
94
  GetVariablesResult = Shapes::StructureShape.new(name: 'GetVariablesResult')
76
95
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
77
- IsOpaque = Shapes::BooleanShape.new(name: 'IsOpaque')
78
96
  JsonKeyToVariableMap = Shapes::MapShape.new(name: 'JsonKeyToVariableMap')
79
- 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')
80
100
  LabelSchema = Shapes::StructureShape.new(name: 'LabelSchema')
81
101
  Language = Shapes::StringShape.new(name: 'Language')
82
102
  ListOfModelScores = Shapes::ListShape.new(name: 'ListOfModelScores')
83
103
  ListOfModelVersions = Shapes::ListShape.new(name: 'ListOfModelVersions')
84
104
  ListOfRuleResults = Shapes::ListShape.new(name: 'ListOfRuleResults')
85
105
  ListOfStrings = Shapes::ListShape.new(name: 'ListOfStrings')
86
- MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
87
- 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')
88
109
  Model = Shapes::StructureShape.new(name: 'Model')
89
110
  ModelEndpointDataBlob = Shapes::StructureShape.new(name: 'ModelEndpointDataBlob')
90
111
  ModelEndpointStatus = Shapes::StringShape.new(name: 'ModelEndpointStatus')
91
112
  ModelInputConfiguration = Shapes::StructureShape.new(name: 'ModelInputConfiguration')
92
113
  ModelInputDataFormat = Shapes::StringShape.new(name: 'ModelInputDataFormat')
93
- ModelList = Shapes::ListShape.new(name: 'ModelList')
94
114
  ModelOutputConfiguration = Shapes::StructureShape.new(name: 'ModelOutputConfiguration')
95
115
  ModelOutputDataFormat = Shapes::StringShape.new(name: 'ModelOutputDataFormat')
96
116
  ModelPredictionMap = Shapes::MapShape.new(name: 'ModelPredictionMap')
97
117
  ModelScores = Shapes::StructureShape.new(name: 'ModelScores')
98
118
  ModelSource = Shapes::StringShape.new(name: 'ModelSource')
99
119
  ModelTypeEnum = Shapes::StringShape.new(name: 'ModelTypeEnum')
100
- ModelVariable = Shapes::StructureShape.new(name: 'ModelVariable')
101
- ModelVariableIndex = Shapes::IntegerShape.new(name: 'ModelVariableIndex')
102
- ModelVariablesList = Shapes::ListShape.new(name: 'ModelVariablesList')
103
120
  ModelVersion = Shapes::StructureShape.new(name: 'ModelVersion')
104
121
  ModelVersionDetail = Shapes::StructureShape.new(name: 'ModelVersionDetail')
105
- ModelVersionDetailList = Shapes::ListShape.new(name: 'ModelVersionDetailList')
106
122
  ModelVersionStatus = Shapes::StringShape.new(name: 'ModelVersionStatus')
107
123
  NameList = Shapes::ListShape.new(name: 'NameList')
108
124
  NonEmptyListOfStrings = Shapes::ListShape.new(name: 'NonEmptyListOfStrings')
@@ -111,14 +127,19 @@ module Aws::FraudDetector
111
127
  OutcomesMaxResults = Shapes::IntegerShape.new(name: 'OutcomesMaxResults')
112
128
  PutDetectorRequest = Shapes::StructureShape.new(name: 'PutDetectorRequest')
113
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')
114
134
  PutExternalModelRequest = Shapes::StructureShape.new(name: 'PutExternalModelRequest')
115
135
  PutExternalModelResult = Shapes::StructureShape.new(name: 'PutExternalModelResult')
116
- PutModelRequest = Shapes::StructureShape.new(name: 'PutModelRequest')
117
- 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')
118
140
  PutOutcomeRequest = Shapes::StructureShape.new(name: 'PutOutcomeRequest')
119
141
  PutOutcomeResult = Shapes::StructureShape.new(name: 'PutOutcomeResult')
120
142
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
121
- Role = Shapes::StructureShape.new(name: 'Role')
122
143
  Rule = Shapes::StructureShape.new(name: 'Rule')
123
144
  RuleDetail = Shapes::StructureShape.new(name: 'RuleDetail')
124
145
  RuleDetailList = Shapes::ListShape.new(name: 'RuleDetailList')
@@ -126,42 +147,82 @@ module Aws::FraudDetector
126
147
  RuleList = Shapes::ListShape.new(name: 'RuleList')
127
148
  RuleResult = Shapes::StructureShape.new(name: 'RuleResult')
128
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')
129
154
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
130
- 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')
131
161
  UpdateDetectorVersionMetadataRequest = Shapes::StructureShape.new(name: 'UpdateDetectorVersionMetadataRequest')
132
162
  UpdateDetectorVersionMetadataResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionMetadataResult')
133
163
  UpdateDetectorVersionRequest = Shapes::StructureShape.new(name: 'UpdateDetectorVersionRequest')
134
164
  UpdateDetectorVersionResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionResult')
135
165
  UpdateDetectorVersionStatusRequest = Shapes::StructureShape.new(name: 'UpdateDetectorVersionStatusRequest')
136
166
  UpdateDetectorVersionStatusResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionStatusResult')
167
+ UpdateModelRequest = Shapes::StructureShape.new(name: 'UpdateModelRequest')
168
+ UpdateModelResult = Shapes::StructureShape.new(name: 'UpdateModelResult')
137
169
  UpdateModelVersionRequest = Shapes::StructureShape.new(name: 'UpdateModelVersionRequest')
138
170
  UpdateModelVersionResult = Shapes::StructureShape.new(name: 'UpdateModelVersionResult')
171
+ UpdateModelVersionStatusRequest = Shapes::StructureShape.new(name: 'UpdateModelVersionStatusRequest')
172
+ UpdateModelVersionStatusResult = Shapes::StructureShape.new(name: 'UpdateModelVersionStatusResult')
139
173
  UpdateRuleMetadataRequest = Shapes::StructureShape.new(name: 'UpdateRuleMetadataRequest')
140
174
  UpdateRuleMetadataResult = Shapes::StructureShape.new(name: 'UpdateRuleMetadataResult')
141
175
  UpdateRuleVersionRequest = Shapes::StructureShape.new(name: 'UpdateRuleVersionRequest')
142
176
  UpdateRuleVersionResult = Shapes::StructureShape.new(name: 'UpdateRuleVersionResult')
143
177
  UpdateVariableRequest = Shapes::StructureShape.new(name: 'UpdateVariableRequest')
144
178
  UpdateVariableResult = Shapes::StructureShape.new(name: 'UpdateVariableResult')
179
+ UseEventVariables = Shapes::BooleanShape.new(name: 'UseEventVariables')
145
180
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
146
181
  Variable = Shapes::StructureShape.new(name: 'Variable')
147
182
  VariableEntry = Shapes::StructureShape.new(name: 'VariableEntry')
148
183
  VariableEntryList = Shapes::ListShape.new(name: 'VariableEntryList')
149
184
  VariableList = Shapes::ListShape.new(name: 'VariableList')
150
185
  VariablesMaxResults = Shapes::IntegerShape.new(name: 'VariablesMaxResults')
151
- attributeKey = Shapes::StringShape.new(name: 'attributeKey')
152
- attributeValue = Shapes::StringShape.new(name: 'attributeValue')
153
186
  blob = Shapes::BlobShape.new(name: 'blob')
154
187
  contentType = Shapes::StringShape.new(name: 'contentType')
155
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')
156
195
  float = Shapes::FloatShape.new(name: 'float')
196
+ floatVersionString = Shapes::StringShape.new(name: 'floatVersionString')
197
+ fraudDetectorArn = Shapes::StringShape.new(name: 'fraudDetectorArn')
157
198
  iamRoleArn = Shapes::StringShape.new(name: 'iamRoleArn')
158
199
  identifier = Shapes::StringShape.new(name: 'identifier')
159
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')
160
210
  nonEmptyString = Shapes::StringShape.new(name: 'nonEmptyString')
161
211
  ruleExpression = Shapes::StringShape.new(name: 'ruleExpression')
162
212
  s3BucketLocation = Shapes::StringShape.new(name: 's3BucketLocation')
213
+ sageMakerEndpointIdentifier = Shapes::StringShape.new(name: 'sageMakerEndpointIdentifier')
163
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')
164
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
165
226
 
166
227
  BatchCreateVariableError.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
167
228
  BatchCreateVariableError.add_member(:code, Shapes::ShapeRef.new(shape: integer, location_name: "code"))
@@ -171,6 +232,7 @@ module Aws::FraudDetector
171
232
  BatchCreateVariableErrorList.member = Shapes::ShapeRef.new(shape: BatchCreateVariableError)
172
233
 
173
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"))
174
236
  BatchCreateVariableRequest.struct_class = Types::BatchCreateVariableRequest
175
237
 
176
238
  BatchCreateVariableResult.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateVariableErrorList, location_name: "errors"))
@@ -199,6 +261,7 @@ module Aws::FraudDetector
199
261
  CreateDetectorVersionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: RuleList, required: true, location_name: "rules"))
200
262
  CreateDetectorVersionRequest.add_member(:model_versions, Shapes::ShapeRef.new(shape: ListOfModelVersions, location_name: "modelVersions"))
201
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"))
202
265
  CreateDetectorVersionRequest.struct_class = Types::CreateDetectorVersionRequest
203
266
 
204
267
  CreateDetectorVersionResult.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
@@ -206,12 +269,24 @@ module Aws::FraudDetector
206
269
  CreateDetectorVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, location_name: "status"))
207
270
  CreateDetectorVersionResult.struct_class = Types::CreateDetectorVersionResult
208
271
 
209
- 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"))
210
282
  CreateModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
211
- CreateModelVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
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"))
212
287
  CreateModelVersionRequest.struct_class = Types::CreateModelVersionRequest
213
288
 
214
- 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"))
215
290
  CreateModelVersionResult.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
216
291
  CreateModelVersionResult.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
217
292
  CreateModelVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
@@ -223,6 +298,7 @@ module Aws::FraudDetector
223
298
  CreateRuleRequest.add_member(:expression, Shapes::ShapeRef.new(shape: ruleExpression, required: true, location_name: "expression"))
224
299
  CreateRuleRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, required: true, location_name: "language"))
225
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"))
226
302
  CreateRuleRequest.struct_class = Types::CreateRuleRequest
227
303
 
228
304
  CreateRuleResult.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, location_name: "rule"))
@@ -234,6 +310,7 @@ module Aws::FraudDetector
234
310
  CreateVariableRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: string, required: true, location_name: "defaultValue"))
235
311
  CreateVariableRequest.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "description"))
236
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"))
237
314
  CreateVariableRequest.struct_class = Types::CreateVariableRequest
238
315
 
239
316
  CreateVariableResult.struct_class = Types::CreateVariableResult
@@ -241,28 +318,31 @@ module Aws::FraudDetector
241
318
  CsvIndexToVariableMap.key = Shapes::ShapeRef.new(shape: string)
242
319
  CsvIndexToVariableMap.value = Shapes::ShapeRef.new(shape: string)
243
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
+
244
325
  DeleteDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
245
326
  DeleteDetectorRequest.struct_class = Types::DeleteDetectorRequest
246
327
 
247
328
  DeleteDetectorResult.struct_class = Types::DeleteDetectorResult
248
329
 
249
330
  DeleteDetectorVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
250
- DeleteDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
331
+ DeleteDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "detectorVersionId"))
251
332
  DeleteDetectorVersionRequest.struct_class = Types::DeleteDetectorVersionRequest
252
333
 
253
334
  DeleteDetectorVersionResult.struct_class = Types::DeleteDetectorVersionResult
254
335
 
255
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"))
256
338
  DeleteEventRequest.struct_class = Types::DeleteEventRequest
257
339
 
258
340
  DeleteEventResult.struct_class = Types::DeleteEventResult
259
341
 
260
- DeleteRuleVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
261
- DeleteRuleVersionRequest.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "ruleId"))
262
- DeleteRuleVersionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "ruleVersion"))
263
- DeleteRuleVersionRequest.struct_class = Types::DeleteRuleVersionRequest
342
+ DeleteRuleRequest.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, required: true, location_name: "rule"))
343
+ DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
264
344
 
265
- DeleteRuleVersionResult.struct_class = Types::DeleteRuleVersionResult
345
+ DeleteRuleResult.struct_class = Types::DeleteRuleResult
266
346
 
267
347
  DescribeDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
268
348
  DescribeDetectorRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
@@ -272,23 +352,26 @@ module Aws::FraudDetector
272
352
  DescribeDetectorResult.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
273
353
  DescribeDetectorResult.add_member(:detector_version_summaries, Shapes::ShapeRef.new(shape: DetectorVersionSummaryList, location_name: "detectorVersionSummaries"))
274
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"))
275
356
  DescribeDetectorResult.struct_class = Types::DescribeDetectorResult
276
357
 
277
- DescribeModelVersionsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
278
- DescribeModelVersionsRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
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"))
279
360
  DescribeModelVersionsRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
280
361
  DescribeModelVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
281
- DescribeModelVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
362
+ DescribeModelVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: modelsMaxPageSize, location_name: "maxResults"))
282
363
  DescribeModelVersionsRequest.struct_class = Types::DescribeModelVersionsRequest
283
364
 
284
- 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"))
285
366
  DescribeModelVersionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
286
367
  DescribeModelVersionsResult.struct_class = Types::DescribeModelVersionsResult
287
368
 
288
369
  Detector.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
289
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"))
290
372
  Detector.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
291
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"))
292
375
  Detector.struct_class = Types::Detector
293
376
 
294
377
  DetectorList.member = Shapes::ShapeRef.new(shape: Detector)
@@ -301,17 +384,43 @@ module Aws::FraudDetector
301
384
 
302
385
  DetectorVersionSummaryList.member = Shapes::ShapeRef.new(shape: DetectorVersionSummary)
303
386
 
304
- EventAttributeMap.key = Shapes::ShapeRef.new(shape: attributeKey)
305
- 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
306
414
 
307
415
  ExternalModel.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: string, location_name: "modelEndpoint"))
308
416
  ExternalModel.add_member(:model_source, Shapes::ShapeRef.new(shape: ModelSource, location_name: "modelSource"))
309
- 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"))
310
418
  ExternalModel.add_member(:input_configuration, Shapes::ShapeRef.new(shape: ModelInputConfiguration, location_name: "inputConfiguration"))
311
419
  ExternalModel.add_member(:output_configuration, Shapes::ShapeRef.new(shape: ModelOutputConfiguration, location_name: "outputConfiguration"))
312
420
  ExternalModel.add_member(:model_endpoint_status, Shapes::ShapeRef.new(shape: ModelEndpointStatus, location_name: "modelEndpointStatus"))
313
421
  ExternalModel.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
314
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"))
315
424
  ExternalModel.struct_class = Types::ExternalModel
316
425
 
317
426
  ExternalModelEndpointDataBlobMap.key = Shapes::ShapeRef.new(shape: string)
@@ -319,12 +428,24 @@ module Aws::FraudDetector
319
428
 
320
429
  ExternalModelList.member = Shapes::ShapeRef.new(shape: ExternalModel)
321
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
+
322
443
  GetDetectorVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
323
- GetDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
444
+ GetDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "detectorVersionId"))
324
445
  GetDetectorVersionRequest.struct_class = Types::GetDetectorVersionRequest
325
446
 
326
447
  GetDetectorVersionResult.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
327
- GetDetectorVersionResult.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "detectorVersionId"))
448
+ GetDetectorVersionResult.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: wholeNumberVersionString, location_name: "detectorVersionId"))
328
449
  GetDetectorVersionResult.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
329
450
  GetDetectorVersionResult.add_member(:external_model_endpoints, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "externalModelEndpoints"))
330
451
  GetDetectorVersionResult.add_member(:model_versions, Shapes::ShapeRef.new(shape: ListOfModelVersions, location_name: "modelVersions"))
@@ -333,6 +454,7 @@ module Aws::FraudDetector
333
454
  GetDetectorVersionResult.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
334
455
  GetDetectorVersionResult.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
335
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"))
336
458
  GetDetectorVersionResult.struct_class = Types::GetDetectorVersionResult
337
459
 
338
460
  GetDetectorsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
@@ -344,6 +466,38 @@ module Aws::FraudDetector
344
466
  GetDetectorsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
345
467
  GetDetectorsResult.struct_class = Types::GetDetectorsResult
346
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
+
347
501
  GetExternalModelsRequest.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: string, location_name: "modelEndpoint"))
348
502
  GetExternalModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
349
503
  GetExternalModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ExternalModelsMaxResults, location_name: "maxResults"))
@@ -353,26 +507,41 @@ module Aws::FraudDetector
353
507
  GetExternalModelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
354
508
  GetExternalModelsResult.struct_class = Types::GetExternalModelsResult
355
509
 
356
- 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"))
357
523
  GetModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
358
- GetModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "modelVersionNumber"))
524
+ GetModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, required: true, location_name: "modelVersionNumber"))
359
525
  GetModelVersionRequest.struct_class = Types::GetModelVersionRequest
360
526
 
361
- 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"))
362
528
  GetModelVersionResult.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
363
- GetModelVersionResult.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
364
- GetModelVersionResult.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
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"))
365
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"))
366
535
  GetModelVersionResult.struct_class = Types::GetModelVersionResult
367
536
 
537
+ GetModelsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
368
538
  GetModelsRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
369
- GetModelsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
370
539
  GetModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
371
- GetModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
540
+ GetModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: modelsMaxPageSize, location_name: "maxResults"))
372
541
  GetModelsRequest.struct_class = Types::GetModelsRequest
373
542
 
374
543
  GetModelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
375
- GetModelsResult.add_member(:models, Shapes::ShapeRef.new(shape: ModelList, location_name: "models"))
544
+ GetModelsResult.add_member(:models, Shapes::ShapeRef.new(shape: modelList, location_name: "models"))
376
545
  GetModelsResult.struct_class = Types::GetModelsResult
377
546
 
378
547
  GetOutcomesRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, location_name: "name"))
@@ -384,21 +553,9 @@ module Aws::FraudDetector
384
553
  GetOutcomesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
385
554
  GetOutcomesResult.struct_class = Types::GetOutcomesResult
386
555
 
387
- GetPredictionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "detectorId"))
388
- GetPredictionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: string, location_name: "detectorVersionId"))
389
- GetPredictionRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventId"))
390
- GetPredictionRequest.add_member(:event_attributes, Shapes::ShapeRef.new(shape: EventAttributeMap, location_name: "eventAttributes"))
391
- GetPredictionRequest.add_member(:external_model_endpoint_data_blobs, Shapes::ShapeRef.new(shape: ExternalModelEndpointDataBlobMap, location_name: "externalModelEndpointDataBlobs"))
392
- GetPredictionRequest.struct_class = Types::GetPredictionRequest
393
-
394
- GetPredictionResult.add_member(:outcomes, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "outcomes"))
395
- GetPredictionResult.add_member(:model_scores, Shapes::ShapeRef.new(shape: ListOfModelScores, location_name: "modelScores"))
396
- GetPredictionResult.add_member(:rule_results, Shapes::ShapeRef.new(shape: ListOfRuleResults, location_name: "ruleResults"))
397
- GetPredictionResult.struct_class = Types::GetPredictionResult
398
-
399
556
  GetRulesRequest.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, location_name: "ruleId"))
400
557
  GetRulesRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
401
- GetRulesRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "ruleVersion"))
558
+ GetRulesRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: wholeNumberVersionString, location_name: "ruleVersion"))
402
559
  GetRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
403
560
  GetRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: RulesMaxResults, location_name: "maxResults"))
404
561
  GetRulesRequest.struct_class = Types::GetRulesRequest
@@ -422,11 +579,17 @@ module Aws::FraudDetector
422
579
  JsonKeyToVariableMap.key = Shapes::ShapeRef.new(shape: string)
423
580
  JsonKeyToVariableMap.value = Shapes::ShapeRef.new(shape: string)
424
581
 
425
- LabelMapper.key = Shapes::ShapeRef.new(shape: string)
426
- 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
584
+
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
427
591
 
428
- LabelSchema.add_member(:label_key, Shapes::ShapeRef.new(shape: string, required: true, location_name: "labelKey"))
429
- LabelSchema.add_member(:label_mapper, Shapes::ShapeRef.new(shape: LabelMapper, required: true, location_name: "labelMapper"))
592
+ LabelSchema.add_member(:label_mapper, Shapes::ShapeRef.new(shape: labelMapper, required: true, location_name: "labelMapper"))
430
593
  LabelSchema.struct_class = Types::LabelSchema
431
594
 
432
595
  ListOfModelScores.member = Shapes::ShapeRef.new(shape: ModelScores)
@@ -437,31 +600,41 @@ module Aws::FraudDetector
437
600
 
438
601
  ListOfStrings.member = Shapes::ShapeRef.new(shape: string)
439
602
 
440
- MetricsMap.key = Shapes::ShapeRef.new(shape: string)
441
- 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
442
611
 
443
- Model.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
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
617
+
618
+ Model.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
444
619
  Model.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
445
620
  Model.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
446
- Model.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSource, location_name: "trainingDataSource"))
447
- Model.add_member(:model_variables, Shapes::ShapeRef.new(shape: ModelVariablesList, location_name: "modelVariables"))
448
- Model.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, location_name: "labelSchema"))
449
- Model.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
621
+ Model.add_member(:event_type_name, Shapes::ShapeRef.new(shape: string, location_name: "eventTypeName"))
450
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"))
451
625
  Model.struct_class = Types::Model
452
626
 
453
627
  ModelEndpointDataBlob.add_member(:byte_buffer, Shapes::ShapeRef.new(shape: blob, location_name: "byteBuffer"))
454
628
  ModelEndpointDataBlob.add_member(:content_type, Shapes::ShapeRef.new(shape: contentType, location_name: "contentType"))
455
629
  ModelEndpointDataBlob.struct_class = Types::ModelEndpointDataBlob
456
630
 
631
+ ModelInputConfiguration.add_member(:event_type_name, Shapes::ShapeRef.new(shape: identifier, location_name: "eventTypeName"))
457
632
  ModelInputConfiguration.add_member(:format, Shapes::ShapeRef.new(shape: ModelInputDataFormat, location_name: "format"))
458
- ModelInputConfiguration.add_member(:is_opaque, Shapes::ShapeRef.new(shape: IsOpaque, required: true, location_name: "isOpaque"))
633
+ ModelInputConfiguration.add_member(:use_event_variables, Shapes::ShapeRef.new(shape: UseEventVariables, required: true, location_name: "useEventVariables"))
459
634
  ModelInputConfiguration.add_member(:json_input_template, Shapes::ShapeRef.new(shape: string, location_name: "jsonInputTemplate"))
460
635
  ModelInputConfiguration.add_member(:csv_input_template, Shapes::ShapeRef.new(shape: string, location_name: "csvInputTemplate"))
461
636
  ModelInputConfiguration.struct_class = Types::ModelInputConfiguration
462
637
 
463
- ModelList.member = Shapes::ShapeRef.new(shape: Model)
464
-
465
638
  ModelOutputConfiguration.add_member(:format, Shapes::ShapeRef.new(shape: ModelOutputDataFormat, required: true, location_name: "format"))
466
639
  ModelOutputConfiguration.add_member(:json_key_to_variable_map, Shapes::ShapeRef.new(shape: JsonKeyToVariableMap, location_name: "jsonKeyToVariableMap"))
467
640
  ModelOutputConfiguration.add_member(:csv_index_to_variable_map, Shapes::ShapeRef.new(shape: CsvIndexToVariableMap, location_name: "csvIndexToVariableMap"))
@@ -474,33 +647,25 @@ module Aws::FraudDetector
474
647
  ModelScores.add_member(:scores, Shapes::ShapeRef.new(shape: ModelPredictionMap, location_name: "scores"))
475
648
  ModelScores.struct_class = Types::ModelScores
476
649
 
477
- ModelVariable.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "name"))
478
- ModelVariable.add_member(:index, Shapes::ShapeRef.new(shape: ModelVariableIndex, location_name: "index"))
479
- ModelVariable.struct_class = Types::ModelVariable
480
-
481
- ModelVariablesList.member = Shapes::ShapeRef.new(shape: ModelVariable)
482
-
483
- 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"))
484
651
  ModelVersion.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
485
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"))
486
654
  ModelVersion.struct_class = Types::ModelVersion
487
655
 
488
- 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"))
489
657
  ModelVersionDetail.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
490
- ModelVersionDetail.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
491
- ModelVersionDetail.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
658
+ ModelVersionDetail.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, location_name: "modelVersionNumber"))
492
659
  ModelVersionDetail.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
493
- ModelVersionDetail.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSource, location_name: "trainingDataSource"))
494
- ModelVersionDetail.add_member(:model_variables, Shapes::ShapeRef.new(shape: ModelVariablesList, location_name: "modelVariables"))
495
- ModelVersionDetail.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, location_name: "labelSchema"))
496
- ModelVersionDetail.add_member(:validation_metrics, Shapes::ShapeRef.new(shape: MetricsMap, location_name: "validationMetrics"))
497
- ModelVersionDetail.add_member(:training_metrics, Shapes::ShapeRef.new(shape: MetricsMap, location_name: "trainingMetrics"))
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"))
498
664
  ModelVersionDetail.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
499
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"))
500
667
  ModelVersionDetail.struct_class = Types::ModelVersionDetail
501
668
 
502
- ModelVersionDetailList.member = Shapes::ShapeRef.new(shape: ModelVersionDetail)
503
-
504
669
  NameList.member = Shapes::ShapeRef.new(shape: string)
505
670
 
506
671
  NonEmptyListOfStrings.member = Shapes::ShapeRef.new(shape: string)
@@ -509,38 +674,62 @@ module Aws::FraudDetector
509
674
  Outcome.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
510
675
  Outcome.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
511
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"))
512
678
  Outcome.struct_class = Types::Outcome
513
679
 
514
680
  OutcomeList.member = Shapes::ShapeRef.new(shape: Outcome)
515
681
 
516
682
  PutDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
517
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"))
518
686
  PutDetectorRequest.struct_class = Types::PutDetectorRequest
519
687
 
520
688
  PutDetectorResult.struct_class = Types::PutDetectorResult
521
689
 
522
- 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"))
523
708
  PutExternalModelRequest.add_member(:model_source, Shapes::ShapeRef.new(shape: ModelSource, required: true, location_name: "modelSource"))
524
- 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"))
525
710
  PutExternalModelRequest.add_member(:input_configuration, Shapes::ShapeRef.new(shape: ModelInputConfiguration, required: true, location_name: "inputConfiguration"))
526
711
  PutExternalModelRequest.add_member(:output_configuration, Shapes::ShapeRef.new(shape: ModelOutputConfiguration, required: true, location_name: "outputConfiguration"))
527
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"))
528
714
  PutExternalModelRequest.struct_class = Types::PutExternalModelRequest
529
715
 
530
716
  PutExternalModelResult.struct_class = Types::PutExternalModelResult
531
717
 
532
- PutModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
533
- PutModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
534
- PutModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
535
- PutModelRequest.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSource, required: true, location_name: "trainingDataSource"))
536
- PutModelRequest.add_member(:model_variables, Shapes::ShapeRef.new(shape: ModelVariablesList, required: true, location_name: "modelVariables"))
537
- PutModelRequest.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, required: true, location_name: "labelSchema"))
538
- PutModelRequest.struct_class = Types::PutModelRequest
718
+ PutKMSEncryptionKeyRequest.add_member(:kms_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsEncryptionKeyArn, required: true, location_name: "kmsEncryptionKeyArn"))
719
+ PutKMSEncryptionKeyRequest.struct_class = Types::PutKMSEncryptionKeyRequest
539
720
 
540
- PutModelResult.struct_class = Types::PutModelResult
721
+ PutKMSEncryptionKeyResult.struct_class = Types::PutKMSEncryptionKeyResult
722
+
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
541
729
 
542
730
  PutOutcomeRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "name"))
543
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"))
544
733
  PutOutcomeRequest.struct_class = Types::PutOutcomeRequest
545
734
 
546
735
  PutOutcomeResult.struct_class = Types::PutOutcomeResult
@@ -548,24 +737,21 @@ module Aws::FraudDetector
548
737
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, required: true, location_name: "message"))
549
738
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
550
739
 
551
- Role.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "arn"))
552
- Role.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "name"))
553
- Role.struct_class = Types::Role
554
-
555
740
  Rule.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
556
741
  Rule.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "ruleId"))
557
- Rule.add_member(:rule_version, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "ruleVersion"))
742
+ Rule.add_member(:rule_version, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "ruleVersion"))
558
743
  Rule.struct_class = Types::Rule
559
744
 
560
745
  RuleDetail.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, location_name: "ruleId"))
561
746
  RuleDetail.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
562
747
  RuleDetail.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
563
- RuleDetail.add_member(:rule_version, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "ruleVersion"))
748
+ RuleDetail.add_member(:rule_version, Shapes::ShapeRef.new(shape: wholeNumberVersionString, location_name: "ruleVersion"))
564
749
  RuleDetail.add_member(:expression, Shapes::ShapeRef.new(shape: ruleExpression, location_name: "expression"))
565
750
  RuleDetail.add_member(:language, Shapes::ShapeRef.new(shape: Language, location_name: "language"))
566
751
  RuleDetail.add_member(:outcomes, Shapes::ShapeRef.new(shape: NonEmptyListOfStrings, location_name: "outcomes"))
567
752
  RuleDetail.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
568
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"))
569
755
  RuleDetail.struct_class = Types::RuleDetail
570
756
 
571
757
  RuleDetailList.member = Shapes::ShapeRef.new(shape: RuleDetail)
@@ -576,22 +762,46 @@ module Aws::FraudDetector
576
762
  RuleResult.add_member(:outcomes, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "outcomes"))
577
763
  RuleResult.struct_class = Types::RuleResult
578
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
+
579
775
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: string, required: true, location_name: "message"))
580
776
  ThrottlingException.struct_class = Types::ThrottlingException
581
777
 
582
- TrainingDataSource.add_member(:data_location, Shapes::ShapeRef.new(shape: s3BucketLocation, required: true, location_name: "dataLocation"))
583
- TrainingDataSource.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: iamRoleArn, required: true, location_name: "dataAccessRoleArn"))
584
- TrainingDataSource.struct_class = Types::TrainingDataSource
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
585
795
 
586
796
  UpdateDetectorVersionMetadataRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
587
- UpdateDetectorVersionMetadataRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
797
+ UpdateDetectorVersionMetadataRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "detectorVersionId"))
588
798
  UpdateDetectorVersionMetadataRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, required: true, location_name: "description"))
589
799
  UpdateDetectorVersionMetadataRequest.struct_class = Types::UpdateDetectorVersionMetadataRequest
590
800
 
591
801
  UpdateDetectorVersionMetadataResult.struct_class = Types::UpdateDetectorVersionMetadataResult
592
802
 
593
803
  UpdateDetectorVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
594
- UpdateDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
804
+ UpdateDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "detectorVersionId"))
595
805
  UpdateDetectorVersionRequest.add_member(:external_model_endpoints, Shapes::ShapeRef.new(shape: ListOfStrings, required: true, location_name: "externalModelEndpoints"))
596
806
  UpdateDetectorVersionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: RuleList, required: true, location_name: "rules"))
597
807
  UpdateDetectorVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
@@ -602,21 +812,40 @@ module Aws::FraudDetector
602
812
  UpdateDetectorVersionResult.struct_class = Types::UpdateDetectorVersionResult
603
813
 
604
814
  UpdateDetectorVersionStatusRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
605
- UpdateDetectorVersionStatusRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
815
+ UpdateDetectorVersionStatusRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "detectorVersionId"))
606
816
  UpdateDetectorVersionStatusRequest.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, required: true, location_name: "status"))
607
817
  UpdateDetectorVersionStatusRequest.struct_class = Types::UpdateDetectorVersionStatusRequest
608
818
 
609
819
  UpdateDetectorVersionStatusResult.struct_class = Types::UpdateDetectorVersionStatusResult
610
820
 
611
- 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"))
612
829
  UpdateModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
613
- UpdateModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "modelVersionNumber"))
614
- UpdateModelVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, required: true, location_name: "description"))
615
- UpdateModelVersionRequest.add_member(:status, Shapes::ShapeRef.new(shape: ModelVersionStatus, required: true, location_name: "status"))
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"))
616
833
  UpdateModelVersionRequest.struct_class = Types::UpdateModelVersionRequest
617
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"))
618
839
  UpdateModelVersionResult.struct_class = Types::UpdateModelVersionResult
619
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
+
620
849
  UpdateRuleMetadataRequest.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, required: true, location_name: "rule"))
621
850
  UpdateRuleMetadataRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, required: true, location_name: "description"))
622
851
  UpdateRuleMetadataRequest.struct_class = Types::UpdateRuleMetadataRequest
@@ -628,6 +857,7 @@ module Aws::FraudDetector
628
857
  UpdateRuleVersionRequest.add_member(:expression, Shapes::ShapeRef.new(shape: ruleExpression, required: true, location_name: "expression"))
629
858
  UpdateRuleVersionRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, required: true, location_name: "language"))
630
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"))
631
861
  UpdateRuleVersionRequest.struct_class = Types::UpdateRuleVersionRequest
632
862
 
633
863
  UpdateRuleVersionResult.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, location_name: "rule"))
@@ -652,6 +882,7 @@ module Aws::FraudDetector
652
882
  Variable.add_member(:variable_type, Shapes::ShapeRef.new(shape: string, location_name: "variableType"))
653
883
  Variable.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
654
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"))
655
886
  Variable.struct_class = Types::Variable
656
887
 
657
888
  VariableEntry.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
@@ -666,6 +897,31 @@ module Aws::FraudDetector
666
897
 
667
898
  VariableList.member = Shapes::ShapeRef.new(shape: Variable)
668
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
+
669
925
 
670
926
  # @api private
671
927
  API = Seahorse::Model::Api.new.tap do |api|
@@ -693,6 +949,7 @@ module Aws::FraudDetector
693
949
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
694
950
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
695
951
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
952
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
696
953
  end)
697
954
 
698
955
  api.add_operation(:batch_get_variable, Seahorse::Model::Operation.new.tap do |o|
@@ -704,6 +961,7 @@ module Aws::FraudDetector
704
961
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
705
962
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
706
963
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
964
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
707
965
  end)
708
966
 
709
967
  api.add_operation(:create_detector_version, Seahorse::Model::Operation.new.tap do |o|
@@ -716,6 +974,18 @@ module Aws::FraudDetector
716
974
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
717
975
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
718
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)
719
989
  end)
720
990
 
721
991
  api.add_operation(:create_model_version, Seahorse::Model::Operation.new.tap do |o|
@@ -726,8 +996,8 @@ module Aws::FraudDetector
726
996
  o.output = Shapes::ShapeRef.new(shape: CreateModelVersionResult)
727
997
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
728
998
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
999
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
729
1000
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
730
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
731
1001
  end)
732
1002
 
733
1003
  api.add_operation(:create_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -739,6 +1009,7 @@ module Aws::FraudDetector
739
1009
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
740
1010
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
741
1011
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1012
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
742
1013
  end)
743
1014
 
744
1015
  api.add_operation(:create_variable, Seahorse::Model::Operation.new.tap do |o|
@@ -750,6 +1021,7 @@ module Aws::FraudDetector
750
1021
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
751
1022
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
752
1023
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1024
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
753
1025
  end)
754
1026
 
755
1027
  api.add_operation(:delete_detector, Seahorse::Model::Operation.new.tap do |o|
@@ -762,6 +1034,7 @@ module Aws::FraudDetector
762
1034
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
763
1035
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
764
1036
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1037
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
765
1038
  end)
766
1039
 
767
1040
  api.add_operation(:delete_detector_version, Seahorse::Model::Operation.new.tap do |o|
@@ -775,6 +1048,7 @@ module Aws::FraudDetector
775
1048
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
776
1049
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
777
1050
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1051
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
778
1052
  end)
779
1053
 
780
1054
  api.add_operation(:delete_event, Seahorse::Model::Operation.new.tap do |o|
@@ -785,18 +1059,20 @@ module Aws::FraudDetector
785
1059
  o.output = Shapes::ShapeRef.new(shape: DeleteEventResult)
786
1060
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
787
1061
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1062
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
788
1063
  end)
789
1064
 
790
- api.add_operation(:delete_rule_version, Seahorse::Model::Operation.new.tap do |o|
791
- o.name = "DeleteRuleVersion"
1065
+ api.add_operation(:delete_rule, Seahorse::Model::Operation.new.tap do |o|
1066
+ o.name = "DeleteRule"
792
1067
  o.http_method = "POST"
793
1068
  o.http_request_uri = "/"
794
- o.input = Shapes::ShapeRef.new(shape: DeleteRuleVersionRequest)
795
- o.output = Shapes::ShapeRef.new(shape: DeleteRuleVersionResult)
1069
+ o.input = Shapes::ShapeRef.new(shape: DeleteRuleRequest)
1070
+ o.output = Shapes::ShapeRef.new(shape: DeleteRuleResult)
796
1071
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
797
1072
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
798
1073
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
799
1074
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1075
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
800
1076
  end)
801
1077
 
802
1078
  api.add_operation(:describe_detector, Seahorse::Model::Operation.new.tap do |o|
@@ -809,6 +1085,7 @@ module Aws::FraudDetector
809
1085
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
810
1086
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
811
1087
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1088
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
812
1089
  end)
813
1090
 
814
1091
  api.add_operation(:describe_model_versions, Seahorse::Model::Operation.new.tap do |o|
@@ -820,7 +1097,7 @@ module Aws::FraudDetector
820
1097
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
821
1098
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
822
1099
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
823
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1100
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
824
1101
  o[:pager] = Aws::Pager.new(
825
1102
  limit_key: "max_results",
826
1103
  tokens: {
@@ -839,6 +1116,7 @@ module Aws::FraudDetector
839
1116
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
840
1117
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
841
1118
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1119
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
842
1120
  end)
843
1121
 
844
1122
  api.add_operation(:get_detectors, Seahorse::Model::Operation.new.tap do |o|
@@ -851,6 +1129,56 @@ module Aws::FraudDetector
851
1129
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
852
1130
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
853
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)
854
1182
  o[:pager] = Aws::Pager.new(
855
1183
  limit_key: "max_results",
856
1184
  tokens: {
@@ -869,6 +1197,36 @@ module Aws::FraudDetector
869
1197
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
870
1198
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
871
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)
872
1230
  o[:pager] = Aws::Pager.new(
873
1231
  limit_key: "max_results",
874
1232
  tokens: {
@@ -886,7 +1244,7 @@ module Aws::FraudDetector
886
1244
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
887
1245
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
888
1246
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
889
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1247
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
890
1248
  end)
891
1249
 
892
1250
  api.add_operation(:get_models, Seahorse::Model::Operation.new.tap do |o|
@@ -898,7 +1256,7 @@ module Aws::FraudDetector
898
1256
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
899
1257
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
900
1258
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
901
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1259
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
902
1260
  o[:pager] = Aws::Pager.new(
903
1261
  limit_key: "max_results",
904
1262
  tokens: {
@@ -917,6 +1275,7 @@ module Aws::FraudDetector
917
1275
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
918
1276
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
919
1277
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1278
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
920
1279
  o[:pager] = Aws::Pager.new(
921
1280
  limit_key: "max_results",
922
1281
  tokens: {
@@ -925,18 +1284,6 @@ module Aws::FraudDetector
925
1284
  )
926
1285
  end)
927
1286
 
928
- api.add_operation(:get_prediction, Seahorse::Model::Operation.new.tap do |o|
929
- o.name = "GetPrediction"
930
- o.http_method = "POST"
931
- o.http_request_uri = "/"
932
- o.input = Shapes::ShapeRef.new(shape: GetPredictionRequest)
933
- o.output = Shapes::ShapeRef.new(shape: GetPredictionResult)
934
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
935
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
936
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
937
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
938
- end)
939
-
940
1287
  api.add_operation(:get_rules, Seahorse::Model::Operation.new.tap do |o|
941
1288
  o.name = "GetRules"
942
1289
  o.http_method = "POST"
@@ -947,6 +1294,7 @@ module Aws::FraudDetector
947
1294
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
948
1295
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
949
1296
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1297
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
950
1298
  o[:pager] = Aws::Pager.new(
951
1299
  limit_key: "max_results",
952
1300
  tokens: {
@@ -965,6 +1313,24 @@ module Aws::FraudDetector
965
1313
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
966
1314
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
967
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)
968
1334
  o[:pager] = Aws::Pager.new(
969
1335
  limit_key: "max_results",
970
1336
  tokens: {
@@ -982,6 +1348,29 @@ module Aws::FraudDetector
982
1348
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
983
1349
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
984
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)
985
1374
  end)
986
1375
 
987
1376
  api.add_operation(:put_external_model, Seahorse::Model::Operation.new.tap do |o|
@@ -993,17 +1382,30 @@ module Aws::FraudDetector
993
1382
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
994
1383
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
995
1384
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1385
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
996
1386
  end)
997
1387
 
998
- api.add_operation(:put_model, Seahorse::Model::Operation.new.tap do |o|
999
- o.name = "PutModel"
1388
+ api.add_operation(:put_kms_encryption_key, Seahorse::Model::Operation.new.tap do |o|
1389
+ o.name = "PutKMSEncryptionKey"
1000
1390
  o.http_method = "POST"
1001
1391
  o.http_request_uri = "/"
1002
- o.input = Shapes::ShapeRef.new(shape: PutModelRequest)
1003
- o.output = Shapes::ShapeRef.new(shape: PutModelResult)
1392
+ o.input = Shapes::ShapeRef.new(shape: PutKMSEncryptionKeyRequest)
1393
+ o.output = Shapes::ShapeRef.new(shape: PutKMSEncryptionKeyResult)
1004
1394
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1395
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1005
1396
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1006
- 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)
1007
1409
  end)
1008
1410
 
1009
1411
  api.add_operation(:put_outcome, Seahorse::Model::Operation.new.tap do |o|
@@ -1015,6 +1417,29 @@ module Aws::FraudDetector
1015
1417
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1016
1418
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1017
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)
1018
1443
  end)
1019
1444
 
1020
1445
  api.add_operation(:update_detector_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1027,6 +1452,7 @@ module Aws::FraudDetector
1027
1452
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1028
1453
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1029
1454
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1455
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1030
1456
  end)
1031
1457
 
1032
1458
  api.add_operation(:update_detector_version_metadata, Seahorse::Model::Operation.new.tap do |o|
@@ -1038,6 +1464,7 @@ module Aws::FraudDetector
1038
1464
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1039
1465
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1040
1466
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1467
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1041
1468
  end)
1042
1469
 
1043
1470
  api.add_operation(:update_detector_version_status, Seahorse::Model::Operation.new.tap do |o|
@@ -1050,6 +1477,19 @@ module Aws::FraudDetector
1050
1477
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1051
1478
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1052
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)
1053
1493
  end)
1054
1494
 
1055
1495
  api.add_operation(:update_model_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1060,8 +1500,20 @@ module Aws::FraudDetector
1060
1500
  o.output = Shapes::ShapeRef.new(shape: UpdateModelVersionResult)
1061
1501
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1062
1502
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1503
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1063
1504
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1064
- 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)
1065
1517
  end)
1066
1518
 
1067
1519
  api.add_operation(:update_rule_metadata, Seahorse::Model::Operation.new.tap do |o|
@@ -1074,6 +1526,7 @@ module Aws::FraudDetector
1074
1526
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1075
1527
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1076
1528
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1529
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1077
1530
  end)
1078
1531
 
1079
1532
  api.add_operation(:update_rule_version, Seahorse::Model::Operation.new.tap do |o|
@@ -1086,6 +1539,7 @@ module Aws::FraudDetector
1086
1539
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1087
1540
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1088
1541
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1542
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1089
1543
  end)
1090
1544
 
1091
1545
  api.add_operation(:update_variable, Seahorse::Model::Operation.new.tap do |o|
@@ -1098,6 +1552,7 @@ module Aws::FraudDetector
1098
1552
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1099
1553
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1100
1554
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1555
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1101
1556
  end)
1102
1557
  end
1103
1558