aws-sdk-frauddetector 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1046 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::FraudDetector
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ BatchCreateVariableError = Shapes::StructureShape.new(name: 'BatchCreateVariableError')
15
+ BatchCreateVariableErrorList = Shapes::ListShape.new(name: 'BatchCreateVariableErrorList')
16
+ BatchCreateVariableRequest = Shapes::StructureShape.new(name: 'BatchCreateVariableRequest')
17
+ BatchCreateVariableResult = Shapes::StructureShape.new(name: 'BatchCreateVariableResult')
18
+ BatchGetVariableError = Shapes::StructureShape.new(name: 'BatchGetVariableError')
19
+ BatchGetVariableErrorList = Shapes::ListShape.new(name: 'BatchGetVariableErrorList')
20
+ BatchGetVariableRequest = Shapes::StructureShape.new(name: 'BatchGetVariableRequest')
21
+ BatchGetVariableResult = Shapes::StructureShape.new(name: 'BatchGetVariableResult')
22
+ CreateDetectorVersionRequest = Shapes::StructureShape.new(name: 'CreateDetectorVersionRequest')
23
+ CreateDetectorVersionResult = Shapes::StructureShape.new(name: 'CreateDetectorVersionResult')
24
+ CreateModelVersionRequest = Shapes::StructureShape.new(name: 'CreateModelVersionRequest')
25
+ CreateModelVersionResult = Shapes::StructureShape.new(name: 'CreateModelVersionResult')
26
+ CreateRuleRequest = Shapes::StructureShape.new(name: 'CreateRuleRequest')
27
+ CreateRuleResult = Shapes::StructureShape.new(name: 'CreateRuleResult')
28
+ CreateVariableRequest = Shapes::StructureShape.new(name: 'CreateVariableRequest')
29
+ CreateVariableResult = Shapes::StructureShape.new(name: 'CreateVariableResult')
30
+ CsvIndexToVariableMap = Shapes::MapShape.new(name: 'CsvIndexToVariableMap')
31
+ DataSource = Shapes::StringShape.new(name: 'DataSource')
32
+ DataType = Shapes::StringShape.new(name: 'DataType')
33
+ DeleteDetectorVersionRequest = Shapes::StructureShape.new(name: 'DeleteDetectorVersionRequest')
34
+ DeleteDetectorVersionResult = Shapes::StructureShape.new(name: 'DeleteDetectorVersionResult')
35
+ DeleteEventRequest = Shapes::StructureShape.new(name: 'DeleteEventRequest')
36
+ DeleteEventResult = Shapes::StructureShape.new(name: 'DeleteEventResult')
37
+ DescribeDetectorRequest = Shapes::StructureShape.new(name: 'DescribeDetectorRequest')
38
+ DescribeDetectorResult = Shapes::StructureShape.new(name: 'DescribeDetectorResult')
39
+ DescribeModelVersionsRequest = Shapes::StructureShape.new(name: 'DescribeModelVersionsRequest')
40
+ DescribeModelVersionsResult = Shapes::StructureShape.new(name: 'DescribeModelVersionsResult')
41
+ Detector = Shapes::StructureShape.new(name: 'Detector')
42
+ DetectorList = Shapes::ListShape.new(name: 'DetectorList')
43
+ DetectorVersionMaxResults = Shapes::IntegerShape.new(name: 'DetectorVersionMaxResults')
44
+ DetectorVersionStatus = Shapes::StringShape.new(name: 'DetectorVersionStatus')
45
+ DetectorVersionSummary = Shapes::StructureShape.new(name: 'DetectorVersionSummary')
46
+ DetectorVersionSummaryList = Shapes::ListShape.new(name: 'DetectorVersionSummaryList')
47
+ DetectorsMaxResults = Shapes::IntegerShape.new(name: 'DetectorsMaxResults')
48
+ EventAttributeMap = Shapes::MapShape.new(name: 'EventAttributeMap')
49
+ ExternalModel = Shapes::StructureShape.new(name: 'ExternalModel')
50
+ ExternalModelEndpointDataBlobMap = Shapes::MapShape.new(name: 'ExternalModelEndpointDataBlobMap')
51
+ ExternalModelList = Shapes::ListShape.new(name: 'ExternalModelList')
52
+ ExternalModelsMaxResults = Shapes::IntegerShape.new(name: 'ExternalModelsMaxResults')
53
+ GetDetectorVersionRequest = Shapes::StructureShape.new(name: 'GetDetectorVersionRequest')
54
+ GetDetectorVersionResult = Shapes::StructureShape.new(name: 'GetDetectorVersionResult')
55
+ GetDetectorsRequest = Shapes::StructureShape.new(name: 'GetDetectorsRequest')
56
+ GetDetectorsResult = Shapes::StructureShape.new(name: 'GetDetectorsResult')
57
+ GetExternalModelsRequest = Shapes::StructureShape.new(name: 'GetExternalModelsRequest')
58
+ GetExternalModelsResult = Shapes::StructureShape.new(name: 'GetExternalModelsResult')
59
+ GetModelVersionRequest = Shapes::StructureShape.new(name: 'GetModelVersionRequest')
60
+ GetModelVersionResult = Shapes::StructureShape.new(name: 'GetModelVersionResult')
61
+ GetModelsRequest = Shapes::StructureShape.new(name: 'GetModelsRequest')
62
+ GetModelsResult = Shapes::StructureShape.new(name: 'GetModelsResult')
63
+ GetOutcomesRequest = Shapes::StructureShape.new(name: 'GetOutcomesRequest')
64
+ GetOutcomesResult = Shapes::StructureShape.new(name: 'GetOutcomesResult')
65
+ GetPredictionRequest = Shapes::StructureShape.new(name: 'GetPredictionRequest')
66
+ GetPredictionResult = Shapes::StructureShape.new(name: 'GetPredictionResult')
67
+ GetRulesRequest = Shapes::StructureShape.new(name: 'GetRulesRequest')
68
+ GetRulesResult = Shapes::StructureShape.new(name: 'GetRulesResult')
69
+ GetVariablesRequest = Shapes::StructureShape.new(name: 'GetVariablesRequest')
70
+ GetVariablesResult = Shapes::StructureShape.new(name: 'GetVariablesResult')
71
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
72
+ IsOpaque = Shapes::BooleanShape.new(name: 'IsOpaque')
73
+ JsonKeyToVariableMap = Shapes::MapShape.new(name: 'JsonKeyToVariableMap')
74
+ LabelMapper = Shapes::MapShape.new(name: 'LabelMapper')
75
+ LabelSchema = Shapes::StructureShape.new(name: 'LabelSchema')
76
+ Language = Shapes::StringShape.new(name: 'Language')
77
+ ListOfModelScores = Shapes::ListShape.new(name: 'ListOfModelScores')
78
+ ListOfModelVersions = Shapes::ListShape.new(name: 'ListOfModelVersions')
79
+ ListOfStrings = Shapes::ListShape.new(name: 'ListOfStrings')
80
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
81
+ MetricsMap = Shapes::MapShape.new(name: 'MetricsMap')
82
+ Model = Shapes::StructureShape.new(name: 'Model')
83
+ ModelEndpointDataBlob = Shapes::StructureShape.new(name: 'ModelEndpointDataBlob')
84
+ ModelEndpointStatus = Shapes::StringShape.new(name: 'ModelEndpointStatus')
85
+ ModelInputConfiguration = Shapes::StructureShape.new(name: 'ModelInputConfiguration')
86
+ ModelInputDataFormat = Shapes::StringShape.new(name: 'ModelInputDataFormat')
87
+ ModelList = Shapes::ListShape.new(name: 'ModelList')
88
+ ModelOutputConfiguration = Shapes::StructureShape.new(name: 'ModelOutputConfiguration')
89
+ ModelOutputDataFormat = Shapes::StringShape.new(name: 'ModelOutputDataFormat')
90
+ ModelPredictionMap = Shapes::MapShape.new(name: 'ModelPredictionMap')
91
+ ModelScores = Shapes::StructureShape.new(name: 'ModelScores')
92
+ ModelSource = Shapes::StringShape.new(name: 'ModelSource')
93
+ ModelTypeEnum = Shapes::StringShape.new(name: 'ModelTypeEnum')
94
+ ModelVariable = Shapes::StructureShape.new(name: 'ModelVariable')
95
+ ModelVariableIndex = Shapes::IntegerShape.new(name: 'ModelVariableIndex')
96
+ ModelVariablesList = Shapes::ListShape.new(name: 'ModelVariablesList')
97
+ ModelVersion = Shapes::StructureShape.new(name: 'ModelVersion')
98
+ ModelVersionDetail = Shapes::StructureShape.new(name: 'ModelVersionDetail')
99
+ ModelVersionDetailList = Shapes::ListShape.new(name: 'ModelVersionDetailList')
100
+ ModelVersionStatus = Shapes::StringShape.new(name: 'ModelVersionStatus')
101
+ NameList = Shapes::ListShape.new(name: 'NameList')
102
+ NonEmptyListOfStrings = Shapes::ListShape.new(name: 'NonEmptyListOfStrings')
103
+ Outcome = Shapes::StructureShape.new(name: 'Outcome')
104
+ OutcomeList = Shapes::ListShape.new(name: 'OutcomeList')
105
+ OutcomesMaxResults = Shapes::IntegerShape.new(name: 'OutcomesMaxResults')
106
+ PutDetectorRequest = Shapes::StructureShape.new(name: 'PutDetectorRequest')
107
+ PutDetectorResult = Shapes::StructureShape.new(name: 'PutDetectorResult')
108
+ PutExternalModelRequest = Shapes::StructureShape.new(name: 'PutExternalModelRequest')
109
+ PutExternalModelResult = Shapes::StructureShape.new(name: 'PutExternalModelResult')
110
+ PutModelRequest = Shapes::StructureShape.new(name: 'PutModelRequest')
111
+ PutModelResult = Shapes::StructureShape.new(name: 'PutModelResult')
112
+ PutOutcomeRequest = Shapes::StructureShape.new(name: 'PutOutcomeRequest')
113
+ PutOutcomeResult = Shapes::StructureShape.new(name: 'PutOutcomeResult')
114
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
115
+ Role = Shapes::StructureShape.new(name: 'Role')
116
+ Rule = Shapes::StructureShape.new(name: 'Rule')
117
+ RuleDetail = Shapes::StructureShape.new(name: 'RuleDetail')
118
+ RuleDetailList = Shapes::ListShape.new(name: 'RuleDetailList')
119
+ RuleList = Shapes::ListShape.new(name: 'RuleList')
120
+ RulesMaxResults = Shapes::IntegerShape.new(name: 'RulesMaxResults')
121
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
122
+ TrainingDataSource = Shapes::StructureShape.new(name: 'TrainingDataSource')
123
+ UpdateDetectorVersionMetadataRequest = Shapes::StructureShape.new(name: 'UpdateDetectorVersionMetadataRequest')
124
+ UpdateDetectorVersionMetadataResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionMetadataResult')
125
+ UpdateDetectorVersionRequest = Shapes::StructureShape.new(name: 'UpdateDetectorVersionRequest')
126
+ UpdateDetectorVersionResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionResult')
127
+ UpdateDetectorVersionStatusRequest = Shapes::StructureShape.new(name: 'UpdateDetectorVersionStatusRequest')
128
+ UpdateDetectorVersionStatusResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionStatusResult')
129
+ UpdateModelVersionRequest = Shapes::StructureShape.new(name: 'UpdateModelVersionRequest')
130
+ UpdateModelVersionResult = Shapes::StructureShape.new(name: 'UpdateModelVersionResult')
131
+ UpdateRuleMetadataRequest = Shapes::StructureShape.new(name: 'UpdateRuleMetadataRequest')
132
+ UpdateRuleMetadataResult = Shapes::StructureShape.new(name: 'UpdateRuleMetadataResult')
133
+ UpdateRuleVersionRequest = Shapes::StructureShape.new(name: 'UpdateRuleVersionRequest')
134
+ UpdateRuleVersionResult = Shapes::StructureShape.new(name: 'UpdateRuleVersionResult')
135
+ UpdateVariableRequest = Shapes::StructureShape.new(name: 'UpdateVariableRequest')
136
+ UpdateVariableResult = Shapes::StructureShape.new(name: 'UpdateVariableResult')
137
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
138
+ Variable = Shapes::StructureShape.new(name: 'Variable')
139
+ VariableEntry = Shapes::StructureShape.new(name: 'VariableEntry')
140
+ VariableEntryList = Shapes::ListShape.new(name: 'VariableEntryList')
141
+ VariableList = Shapes::ListShape.new(name: 'VariableList')
142
+ VariablesMaxResults = Shapes::IntegerShape.new(name: 'VariablesMaxResults')
143
+ attributeKey = Shapes::StringShape.new(name: 'attributeKey')
144
+ attributeValue = Shapes::StringShape.new(name: 'attributeValue')
145
+ blob = Shapes::BlobShape.new(name: 'blob')
146
+ contentType = Shapes::StringShape.new(name: 'contentType')
147
+ description = Shapes::StringShape.new(name: 'description')
148
+ float = Shapes::FloatShape.new(name: 'float')
149
+ iamRoleArn = Shapes::StringShape.new(name: 'iamRoleArn')
150
+ identifier = Shapes::StringShape.new(name: 'identifier')
151
+ integer = Shapes::IntegerShape.new(name: 'integer')
152
+ nonEmptyString = Shapes::StringShape.new(name: 'nonEmptyString')
153
+ ruleExpression = Shapes::StringShape.new(name: 'ruleExpression')
154
+ s3BucketLocation = Shapes::StringShape.new(name: 's3BucketLocation')
155
+ string = Shapes::StringShape.new(name: 'string')
156
+ time = Shapes::StringShape.new(name: 'time')
157
+
158
+ BatchCreateVariableError.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
159
+ BatchCreateVariableError.add_member(:code, Shapes::ShapeRef.new(shape: integer, location_name: "code"))
160
+ BatchCreateVariableError.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
161
+ BatchCreateVariableError.struct_class = Types::BatchCreateVariableError
162
+
163
+ BatchCreateVariableErrorList.member = Shapes::ShapeRef.new(shape: BatchCreateVariableError)
164
+
165
+ BatchCreateVariableRequest.add_member(:variable_entries, Shapes::ShapeRef.new(shape: VariableEntryList, required: true, location_name: "variableEntries"))
166
+ BatchCreateVariableRequest.struct_class = Types::BatchCreateVariableRequest
167
+
168
+ BatchCreateVariableResult.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateVariableErrorList, location_name: "errors"))
169
+ BatchCreateVariableResult.struct_class = Types::BatchCreateVariableResult
170
+
171
+ BatchGetVariableError.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
172
+ BatchGetVariableError.add_member(:code, Shapes::ShapeRef.new(shape: integer, location_name: "code"))
173
+ BatchGetVariableError.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
174
+ BatchGetVariableError.struct_class = Types::BatchGetVariableError
175
+
176
+ BatchGetVariableErrorList.member = Shapes::ShapeRef.new(shape: BatchGetVariableError)
177
+
178
+ BatchGetVariableRequest.add_member(:names, Shapes::ShapeRef.new(shape: NameList, required: true, location_name: "names"))
179
+ BatchGetVariableRequest.struct_class = Types::BatchGetVariableRequest
180
+
181
+ BatchGetVariableResult.add_member(:variables, Shapes::ShapeRef.new(shape: VariableList, location_name: "variables"))
182
+ BatchGetVariableResult.add_member(:errors, Shapes::ShapeRef.new(shape: BatchGetVariableErrorList, location_name: "errors"))
183
+ BatchGetVariableResult.struct_class = Types::BatchGetVariableResult
184
+
185
+ CreateDetectorVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
186
+ CreateDetectorVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
187
+ CreateDetectorVersionRequest.add_member(:external_model_endpoints, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "externalModelEndpoints"))
188
+ CreateDetectorVersionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: RuleList, required: true, location_name: "rules"))
189
+ CreateDetectorVersionRequest.add_member(:model_versions, Shapes::ShapeRef.new(shape: ListOfModelVersions, location_name: "modelVersions"))
190
+ CreateDetectorVersionRequest.struct_class = Types::CreateDetectorVersionRequest
191
+
192
+ CreateDetectorVersionResult.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
193
+ CreateDetectorVersionResult.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "detectorVersionId"))
194
+ CreateDetectorVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, location_name: "status"))
195
+ CreateDetectorVersionResult.struct_class = Types::CreateDetectorVersionResult
196
+
197
+ CreateModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
198
+ CreateModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
199
+ CreateModelVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
200
+ CreateModelVersionRequest.struct_class = Types::CreateModelVersionRequest
201
+
202
+ CreateModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
203
+ CreateModelVersionResult.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
204
+ CreateModelVersionResult.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
205
+ CreateModelVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
206
+ CreateModelVersionResult.struct_class = Types::CreateModelVersionResult
207
+
208
+ CreateRuleRequest.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "ruleId"))
209
+ CreateRuleRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
210
+ CreateRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
211
+ CreateRuleRequest.add_member(:expression, Shapes::ShapeRef.new(shape: ruleExpression, required: true, location_name: "expression"))
212
+ CreateRuleRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, required: true, location_name: "language"))
213
+ CreateRuleRequest.add_member(:outcomes, Shapes::ShapeRef.new(shape: NonEmptyListOfStrings, required: true, location_name: "outcomes"))
214
+ CreateRuleRequest.struct_class = Types::CreateRuleRequest
215
+
216
+ CreateRuleResult.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, location_name: "rule"))
217
+ CreateRuleResult.struct_class = Types::CreateRuleResult
218
+
219
+ CreateVariableRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "name"))
220
+ CreateVariableRequest.add_member(:data_type, Shapes::ShapeRef.new(shape: DataType, required: true, location_name: "dataType"))
221
+ CreateVariableRequest.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "dataSource"))
222
+ CreateVariableRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: string, required: true, location_name: "defaultValue"))
223
+ CreateVariableRequest.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "description"))
224
+ CreateVariableRequest.add_member(:variable_type, Shapes::ShapeRef.new(shape: string, location_name: "variableType"))
225
+ CreateVariableRequest.struct_class = Types::CreateVariableRequest
226
+
227
+ CreateVariableResult.struct_class = Types::CreateVariableResult
228
+
229
+ CsvIndexToVariableMap.key = Shapes::ShapeRef.new(shape: string)
230
+ CsvIndexToVariableMap.value = Shapes::ShapeRef.new(shape: string)
231
+
232
+ DeleteDetectorVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
233
+ DeleteDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
234
+ DeleteDetectorVersionRequest.struct_class = Types::DeleteDetectorVersionRequest
235
+
236
+ DeleteDetectorVersionResult.struct_class = Types::DeleteDetectorVersionResult
237
+
238
+ DeleteEventRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventId"))
239
+ DeleteEventRequest.struct_class = Types::DeleteEventRequest
240
+
241
+ DeleteEventResult.struct_class = Types::DeleteEventResult
242
+
243
+ DescribeDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
244
+ DescribeDetectorRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
245
+ DescribeDetectorRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DetectorVersionMaxResults, location_name: "maxResults"))
246
+ DescribeDetectorRequest.struct_class = Types::DescribeDetectorRequest
247
+
248
+ DescribeDetectorResult.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
249
+ DescribeDetectorResult.add_member(:detector_version_summaries, Shapes::ShapeRef.new(shape: DetectorVersionSummaryList, location_name: "detectorVersionSummaries"))
250
+ DescribeDetectorResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
251
+ DescribeDetectorResult.struct_class = Types::DescribeDetectorResult
252
+
253
+ DescribeModelVersionsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
254
+ DescribeModelVersionsRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
255
+ DescribeModelVersionsRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
256
+ DescribeModelVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
257
+ DescribeModelVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
258
+ DescribeModelVersionsRequest.struct_class = Types::DescribeModelVersionsRequest
259
+
260
+ DescribeModelVersionsResult.add_member(:model_version_details, Shapes::ShapeRef.new(shape: ModelVersionDetailList, location_name: "modelVersionDetails"))
261
+ DescribeModelVersionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
262
+ DescribeModelVersionsResult.struct_class = Types::DescribeModelVersionsResult
263
+
264
+ Detector.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
265
+ Detector.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
266
+ Detector.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
267
+ Detector.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
268
+ Detector.struct_class = Types::Detector
269
+
270
+ DetectorList.member = Shapes::ShapeRef.new(shape: Detector)
271
+
272
+ DetectorVersionSummary.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "detectorVersionId"))
273
+ DetectorVersionSummary.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, location_name: "status"))
274
+ DetectorVersionSummary.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
275
+ DetectorVersionSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
276
+ DetectorVersionSummary.struct_class = Types::DetectorVersionSummary
277
+
278
+ DetectorVersionSummaryList.member = Shapes::ShapeRef.new(shape: DetectorVersionSummary)
279
+
280
+ EventAttributeMap.key = Shapes::ShapeRef.new(shape: attributeKey)
281
+ EventAttributeMap.value = Shapes::ShapeRef.new(shape: attributeValue)
282
+
283
+ ExternalModel.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: string, location_name: "modelEndpoint"))
284
+ ExternalModel.add_member(:model_source, Shapes::ShapeRef.new(shape: ModelSource, location_name: "modelSource"))
285
+ ExternalModel.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "role"))
286
+ ExternalModel.add_member(:input_configuration, Shapes::ShapeRef.new(shape: ModelInputConfiguration, location_name: "inputConfiguration"))
287
+ ExternalModel.add_member(:output_configuration, Shapes::ShapeRef.new(shape: ModelOutputConfiguration, location_name: "outputConfiguration"))
288
+ ExternalModel.add_member(:model_endpoint_status, Shapes::ShapeRef.new(shape: ModelEndpointStatus, location_name: "modelEndpointStatus"))
289
+ ExternalModel.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
290
+ ExternalModel.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
291
+ ExternalModel.struct_class = Types::ExternalModel
292
+
293
+ ExternalModelEndpointDataBlobMap.key = Shapes::ShapeRef.new(shape: string)
294
+ ExternalModelEndpointDataBlobMap.value = Shapes::ShapeRef.new(shape: ModelEndpointDataBlob)
295
+
296
+ ExternalModelList.member = Shapes::ShapeRef.new(shape: ExternalModel)
297
+
298
+ GetDetectorVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
299
+ GetDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
300
+ GetDetectorVersionRequest.struct_class = Types::GetDetectorVersionRequest
301
+
302
+ GetDetectorVersionResult.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
303
+ GetDetectorVersionResult.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "detectorVersionId"))
304
+ GetDetectorVersionResult.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
305
+ GetDetectorVersionResult.add_member(:external_model_endpoints, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "externalModelEndpoints"))
306
+ GetDetectorVersionResult.add_member(:model_versions, Shapes::ShapeRef.new(shape: ListOfModelVersions, location_name: "modelVersions"))
307
+ GetDetectorVersionResult.add_member(:rules, Shapes::ShapeRef.new(shape: RuleList, location_name: "rules"))
308
+ GetDetectorVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, location_name: "status"))
309
+ GetDetectorVersionResult.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
310
+ GetDetectorVersionResult.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
311
+ GetDetectorVersionResult.struct_class = Types::GetDetectorVersionResult
312
+
313
+ GetDetectorsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
314
+ GetDetectorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
315
+ GetDetectorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DetectorsMaxResults, location_name: "maxResults"))
316
+ GetDetectorsRequest.struct_class = Types::GetDetectorsRequest
317
+
318
+ GetDetectorsResult.add_member(:detectors, Shapes::ShapeRef.new(shape: DetectorList, location_name: "detectors"))
319
+ GetDetectorsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
320
+ GetDetectorsResult.struct_class = Types::GetDetectorsResult
321
+
322
+ GetExternalModelsRequest.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: string, location_name: "modelEndpoint"))
323
+ GetExternalModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
324
+ GetExternalModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ExternalModelsMaxResults, location_name: "maxResults"))
325
+ GetExternalModelsRequest.struct_class = Types::GetExternalModelsRequest
326
+
327
+ GetExternalModelsResult.add_member(:external_models, Shapes::ShapeRef.new(shape: ExternalModelList, location_name: "externalModels"))
328
+ GetExternalModelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
329
+ GetExternalModelsResult.struct_class = Types::GetExternalModelsResult
330
+
331
+ GetModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
332
+ GetModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
333
+ GetModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "modelVersionNumber"))
334
+ GetModelVersionRequest.struct_class = Types::GetModelVersionRequest
335
+
336
+ GetModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
337
+ GetModelVersionResult.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
338
+ GetModelVersionResult.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
339
+ GetModelVersionResult.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
340
+ GetModelVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
341
+ GetModelVersionResult.struct_class = Types::GetModelVersionResult
342
+
343
+ GetModelsRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
344
+ GetModelsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
345
+ GetModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
346
+ GetModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
347
+ GetModelsRequest.struct_class = Types::GetModelsRequest
348
+
349
+ GetModelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
350
+ GetModelsResult.add_member(:models, Shapes::ShapeRef.new(shape: ModelList, location_name: "models"))
351
+ GetModelsResult.struct_class = Types::GetModelsResult
352
+
353
+ GetOutcomesRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, location_name: "name"))
354
+ GetOutcomesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
355
+ GetOutcomesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: OutcomesMaxResults, location_name: "maxResults"))
356
+ GetOutcomesRequest.struct_class = Types::GetOutcomesRequest
357
+
358
+ GetOutcomesResult.add_member(:outcomes, Shapes::ShapeRef.new(shape: OutcomeList, location_name: "outcomes"))
359
+ GetOutcomesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
360
+ GetOutcomesResult.struct_class = Types::GetOutcomesResult
361
+
362
+ GetPredictionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "detectorId"))
363
+ GetPredictionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: string, location_name: "detectorVersionId"))
364
+ GetPredictionRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventId"))
365
+ GetPredictionRequest.add_member(:event_attributes, Shapes::ShapeRef.new(shape: EventAttributeMap, location_name: "eventAttributes"))
366
+ GetPredictionRequest.add_member(:external_model_endpoint_data_blobs, Shapes::ShapeRef.new(shape: ExternalModelEndpointDataBlobMap, location_name: "externalModelEndpointDataBlobs"))
367
+ GetPredictionRequest.struct_class = Types::GetPredictionRequest
368
+
369
+ GetPredictionResult.add_member(:outcomes, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "outcomes"))
370
+ GetPredictionResult.add_member(:model_scores, Shapes::ShapeRef.new(shape: ListOfModelScores, location_name: "modelScores"))
371
+ GetPredictionResult.struct_class = Types::GetPredictionResult
372
+
373
+ GetRulesRequest.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, location_name: "ruleId"))
374
+ GetRulesRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
375
+ GetRulesRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "ruleVersion"))
376
+ GetRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
377
+ GetRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: RulesMaxResults, location_name: "maxResults"))
378
+ GetRulesRequest.struct_class = Types::GetRulesRequest
379
+
380
+ GetRulesResult.add_member(:rule_details, Shapes::ShapeRef.new(shape: RuleDetailList, location_name: "ruleDetails"))
381
+ GetRulesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
382
+ GetRulesResult.struct_class = Types::GetRulesResult
383
+
384
+ GetVariablesRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
385
+ GetVariablesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
386
+ GetVariablesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: VariablesMaxResults, location_name: "maxResults"))
387
+ GetVariablesRequest.struct_class = Types::GetVariablesRequest
388
+
389
+ GetVariablesResult.add_member(:variables, Shapes::ShapeRef.new(shape: VariableList, location_name: "variables"))
390
+ GetVariablesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
391
+ GetVariablesResult.struct_class = Types::GetVariablesResult
392
+
393
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: string, required: true, location_name: "message"))
394
+ InternalServerException.struct_class = Types::InternalServerException
395
+
396
+ JsonKeyToVariableMap.key = Shapes::ShapeRef.new(shape: string)
397
+ JsonKeyToVariableMap.value = Shapes::ShapeRef.new(shape: string)
398
+
399
+ LabelMapper.key = Shapes::ShapeRef.new(shape: string)
400
+ LabelMapper.value = Shapes::ShapeRef.new(shape: ListOfStrings)
401
+
402
+ LabelSchema.add_member(:label_key, Shapes::ShapeRef.new(shape: string, required: true, location_name: "labelKey"))
403
+ LabelSchema.add_member(:label_mapper, Shapes::ShapeRef.new(shape: LabelMapper, required: true, location_name: "labelMapper"))
404
+ LabelSchema.struct_class = Types::LabelSchema
405
+
406
+ ListOfModelScores.member = Shapes::ShapeRef.new(shape: ModelScores)
407
+
408
+ ListOfModelVersions.member = Shapes::ShapeRef.new(shape: ModelVersion)
409
+
410
+ ListOfStrings.member = Shapes::ShapeRef.new(shape: string)
411
+
412
+ MetricsMap.key = Shapes::ShapeRef.new(shape: string)
413
+ MetricsMap.value = Shapes::ShapeRef.new(shape: string)
414
+
415
+ Model.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
416
+ Model.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
417
+ Model.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
418
+ Model.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSource, location_name: "trainingDataSource"))
419
+ Model.add_member(:model_variables, Shapes::ShapeRef.new(shape: ModelVariablesList, location_name: "modelVariables"))
420
+ Model.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, location_name: "labelSchema"))
421
+ Model.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
422
+ Model.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
423
+ Model.struct_class = Types::Model
424
+
425
+ ModelEndpointDataBlob.add_member(:byte_buffer, Shapes::ShapeRef.new(shape: blob, location_name: "byteBuffer"))
426
+ ModelEndpointDataBlob.add_member(:content_type, Shapes::ShapeRef.new(shape: contentType, location_name: "contentType"))
427
+ ModelEndpointDataBlob.struct_class = Types::ModelEndpointDataBlob
428
+
429
+ ModelInputConfiguration.add_member(:format, Shapes::ShapeRef.new(shape: ModelInputDataFormat, location_name: "format"))
430
+ ModelInputConfiguration.add_member(:is_opaque, Shapes::ShapeRef.new(shape: IsOpaque, required: true, location_name: "isOpaque"))
431
+ ModelInputConfiguration.add_member(:json_input_template, Shapes::ShapeRef.new(shape: string, location_name: "jsonInputTemplate"))
432
+ ModelInputConfiguration.add_member(:csv_input_template, Shapes::ShapeRef.new(shape: string, location_name: "csvInputTemplate"))
433
+ ModelInputConfiguration.struct_class = Types::ModelInputConfiguration
434
+
435
+ ModelList.member = Shapes::ShapeRef.new(shape: Model)
436
+
437
+ ModelOutputConfiguration.add_member(:format, Shapes::ShapeRef.new(shape: ModelOutputDataFormat, required: true, location_name: "format"))
438
+ ModelOutputConfiguration.add_member(:json_key_to_variable_map, Shapes::ShapeRef.new(shape: JsonKeyToVariableMap, location_name: "jsonKeyToVariableMap"))
439
+ ModelOutputConfiguration.add_member(:csv_index_to_variable_map, Shapes::ShapeRef.new(shape: CsvIndexToVariableMap, location_name: "csvIndexToVariableMap"))
440
+ ModelOutputConfiguration.struct_class = Types::ModelOutputConfiguration
441
+
442
+ ModelPredictionMap.key = Shapes::ShapeRef.new(shape: string)
443
+ ModelPredictionMap.value = Shapes::ShapeRef.new(shape: float)
444
+
445
+ ModelScores.add_member(:model_version, Shapes::ShapeRef.new(shape: ModelVersion, location_name: "modelVersion"))
446
+ ModelScores.add_member(:scores, Shapes::ShapeRef.new(shape: ModelPredictionMap, location_name: "scores"))
447
+ ModelScores.struct_class = Types::ModelScores
448
+
449
+ ModelVariable.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "name"))
450
+ ModelVariable.add_member(:index, Shapes::ShapeRef.new(shape: ModelVariableIndex, location_name: "index"))
451
+ ModelVariable.struct_class = Types::ModelVariable
452
+
453
+ ModelVariablesList.member = Shapes::ShapeRef.new(shape: ModelVariable)
454
+
455
+ ModelVersion.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
456
+ ModelVersion.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
457
+ ModelVersion.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "modelVersionNumber"))
458
+ ModelVersion.struct_class = Types::ModelVersion
459
+
460
+ ModelVersionDetail.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, location_name: "modelId"))
461
+ ModelVersionDetail.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
462
+ ModelVersionDetail.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
463
+ ModelVersionDetail.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
464
+ ModelVersionDetail.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
465
+ ModelVersionDetail.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSource, location_name: "trainingDataSource"))
466
+ ModelVersionDetail.add_member(:model_variables, Shapes::ShapeRef.new(shape: ModelVariablesList, location_name: "modelVariables"))
467
+ ModelVersionDetail.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, location_name: "labelSchema"))
468
+ ModelVersionDetail.add_member(:validation_metrics, Shapes::ShapeRef.new(shape: MetricsMap, location_name: "validationMetrics"))
469
+ ModelVersionDetail.add_member(:training_metrics, Shapes::ShapeRef.new(shape: MetricsMap, location_name: "trainingMetrics"))
470
+ ModelVersionDetail.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
471
+ ModelVersionDetail.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
472
+ ModelVersionDetail.struct_class = Types::ModelVersionDetail
473
+
474
+ ModelVersionDetailList.member = Shapes::ShapeRef.new(shape: ModelVersionDetail)
475
+
476
+ NameList.member = Shapes::ShapeRef.new(shape: string)
477
+
478
+ NonEmptyListOfStrings.member = Shapes::ShapeRef.new(shape: string)
479
+
480
+ Outcome.add_member(:name, Shapes::ShapeRef.new(shape: identifier, location_name: "name"))
481
+ Outcome.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
482
+ Outcome.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
483
+ Outcome.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
484
+ Outcome.struct_class = Types::Outcome
485
+
486
+ OutcomeList.member = Shapes::ShapeRef.new(shape: Outcome)
487
+
488
+ PutDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
489
+ PutDetectorRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
490
+ PutDetectorRequest.struct_class = Types::PutDetectorRequest
491
+
492
+ PutDetectorResult.struct_class = Types::PutDetectorResult
493
+
494
+ PutExternalModelRequest.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: string, required: true, location_name: "modelEndpoint"))
495
+ PutExternalModelRequest.add_member(:model_source, Shapes::ShapeRef.new(shape: ModelSource, required: true, location_name: "modelSource"))
496
+ PutExternalModelRequest.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "role"))
497
+ PutExternalModelRequest.add_member(:input_configuration, Shapes::ShapeRef.new(shape: ModelInputConfiguration, required: true, location_name: "inputConfiguration"))
498
+ PutExternalModelRequest.add_member(:output_configuration, Shapes::ShapeRef.new(shape: ModelOutputConfiguration, required: true, location_name: "outputConfiguration"))
499
+ PutExternalModelRequest.add_member(:model_endpoint_status, Shapes::ShapeRef.new(shape: ModelEndpointStatus, required: true, location_name: "modelEndpointStatus"))
500
+ PutExternalModelRequest.struct_class = Types::PutExternalModelRequest
501
+
502
+ PutExternalModelResult.struct_class = Types::PutExternalModelResult
503
+
504
+ PutModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
505
+ PutModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
506
+ PutModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
507
+ PutModelRequest.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSource, required: true, location_name: "trainingDataSource"))
508
+ PutModelRequest.add_member(:model_variables, Shapes::ShapeRef.new(shape: ModelVariablesList, required: true, location_name: "modelVariables"))
509
+ PutModelRequest.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, required: true, location_name: "labelSchema"))
510
+ PutModelRequest.struct_class = Types::PutModelRequest
511
+
512
+ PutModelResult.struct_class = Types::PutModelResult
513
+
514
+ PutOutcomeRequest.add_member(:name, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "name"))
515
+ PutOutcomeRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
516
+ PutOutcomeRequest.struct_class = Types::PutOutcomeRequest
517
+
518
+ PutOutcomeResult.struct_class = Types::PutOutcomeResult
519
+
520
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, required: true, location_name: "message"))
521
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
522
+
523
+ Role.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "arn"))
524
+ Role.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "name"))
525
+ Role.struct_class = Types::Role
526
+
527
+ Rule.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
528
+ Rule.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "ruleId"))
529
+ Rule.add_member(:rule_version, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "ruleVersion"))
530
+ Rule.struct_class = Types::Rule
531
+
532
+ RuleDetail.add_member(:rule_id, Shapes::ShapeRef.new(shape: identifier, location_name: "ruleId"))
533
+ RuleDetail.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
534
+ RuleDetail.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, location_name: "detectorId"))
535
+ RuleDetail.add_member(:rule_version, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "ruleVersion"))
536
+ RuleDetail.add_member(:expression, Shapes::ShapeRef.new(shape: ruleExpression, location_name: "expression"))
537
+ RuleDetail.add_member(:language, Shapes::ShapeRef.new(shape: Language, location_name: "language"))
538
+ RuleDetail.add_member(:outcomes, Shapes::ShapeRef.new(shape: NonEmptyListOfStrings, location_name: "outcomes"))
539
+ RuleDetail.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
540
+ RuleDetail.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
541
+ RuleDetail.struct_class = Types::RuleDetail
542
+
543
+ RuleDetailList.member = Shapes::ShapeRef.new(shape: RuleDetail)
544
+
545
+ RuleList.member = Shapes::ShapeRef.new(shape: Rule)
546
+
547
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: string, required: true, location_name: "message"))
548
+ ThrottlingException.struct_class = Types::ThrottlingException
549
+
550
+ TrainingDataSource.add_member(:data_location, Shapes::ShapeRef.new(shape: s3BucketLocation, required: true, location_name: "dataLocation"))
551
+ TrainingDataSource.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: iamRoleArn, required: true, location_name: "dataAccessRoleArn"))
552
+ TrainingDataSource.struct_class = Types::TrainingDataSource
553
+
554
+ UpdateDetectorVersionMetadataRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
555
+ UpdateDetectorVersionMetadataRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
556
+ UpdateDetectorVersionMetadataRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, required: true, location_name: "description"))
557
+ UpdateDetectorVersionMetadataRequest.struct_class = Types::UpdateDetectorVersionMetadataRequest
558
+
559
+ UpdateDetectorVersionMetadataResult.struct_class = Types::UpdateDetectorVersionMetadataResult
560
+
561
+ UpdateDetectorVersionRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
562
+ UpdateDetectorVersionRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
563
+ UpdateDetectorVersionRequest.add_member(:external_model_endpoints, Shapes::ShapeRef.new(shape: ListOfStrings, required: true, location_name: "externalModelEndpoints"))
564
+ UpdateDetectorVersionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: RuleList, required: true, location_name: "rules"))
565
+ UpdateDetectorVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
566
+ UpdateDetectorVersionRequest.add_member(:model_versions, Shapes::ShapeRef.new(shape: ListOfModelVersions, location_name: "modelVersions"))
567
+ UpdateDetectorVersionRequest.struct_class = Types::UpdateDetectorVersionRequest
568
+
569
+ UpdateDetectorVersionResult.struct_class = Types::UpdateDetectorVersionResult
570
+
571
+ UpdateDetectorVersionStatusRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "detectorId"))
572
+ UpdateDetectorVersionStatusRequest.add_member(:detector_version_id, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "detectorVersionId"))
573
+ UpdateDetectorVersionStatusRequest.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, required: true, location_name: "status"))
574
+ UpdateDetectorVersionStatusRequest.struct_class = Types::UpdateDetectorVersionStatusRequest
575
+
576
+ UpdateDetectorVersionStatusResult.struct_class = Types::UpdateDetectorVersionStatusResult
577
+
578
+ UpdateModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "modelId"))
579
+ UpdateModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
580
+ UpdateModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "modelVersionNumber"))
581
+ UpdateModelVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, required: true, location_name: "description"))
582
+ UpdateModelVersionRequest.add_member(:status, Shapes::ShapeRef.new(shape: ModelVersionStatus, required: true, location_name: "status"))
583
+ UpdateModelVersionRequest.struct_class = Types::UpdateModelVersionRequest
584
+
585
+ UpdateModelVersionResult.struct_class = Types::UpdateModelVersionResult
586
+
587
+ UpdateRuleMetadataRequest.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, required: true, location_name: "rule"))
588
+ UpdateRuleMetadataRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, required: true, location_name: "description"))
589
+ UpdateRuleMetadataRequest.struct_class = Types::UpdateRuleMetadataRequest
590
+
591
+ UpdateRuleMetadataResult.struct_class = Types::UpdateRuleMetadataResult
592
+
593
+ UpdateRuleVersionRequest.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, required: true, location_name: "rule"))
594
+ UpdateRuleVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
595
+ UpdateRuleVersionRequest.add_member(:expression, Shapes::ShapeRef.new(shape: ruleExpression, required: true, location_name: "expression"))
596
+ UpdateRuleVersionRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, required: true, location_name: "language"))
597
+ UpdateRuleVersionRequest.add_member(:outcomes, Shapes::ShapeRef.new(shape: NonEmptyListOfStrings, required: true, location_name: "outcomes"))
598
+ UpdateRuleVersionRequest.struct_class = Types::UpdateRuleVersionRequest
599
+
600
+ UpdateRuleVersionResult.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, location_name: "rule"))
601
+ UpdateRuleVersionResult.struct_class = Types::UpdateRuleVersionResult
602
+
603
+ UpdateVariableRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "name"))
604
+ UpdateVariableRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: string, location_name: "defaultValue"))
605
+ UpdateVariableRequest.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "description"))
606
+ UpdateVariableRequest.add_member(:variable_type, Shapes::ShapeRef.new(shape: string, location_name: "variableType"))
607
+ UpdateVariableRequest.struct_class = Types::UpdateVariableRequest
608
+
609
+ UpdateVariableResult.struct_class = Types::UpdateVariableResult
610
+
611
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: string, required: true, location_name: "message"))
612
+ ValidationException.struct_class = Types::ValidationException
613
+
614
+ Variable.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
615
+ Variable.add_member(:data_type, Shapes::ShapeRef.new(shape: DataType, location_name: "dataType"))
616
+ Variable.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
617
+ Variable.add_member(:default_value, Shapes::ShapeRef.new(shape: string, location_name: "defaultValue"))
618
+ Variable.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "description"))
619
+ Variable.add_member(:variable_type, Shapes::ShapeRef.new(shape: string, location_name: "variableType"))
620
+ Variable.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
621
+ Variable.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
622
+ Variable.struct_class = Types::Variable
623
+
624
+ VariableEntry.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
625
+ VariableEntry.add_member(:data_type, Shapes::ShapeRef.new(shape: string, location_name: "dataType"))
626
+ VariableEntry.add_member(:data_source, Shapes::ShapeRef.new(shape: string, location_name: "dataSource"))
627
+ VariableEntry.add_member(:default_value, Shapes::ShapeRef.new(shape: string, location_name: "defaultValue"))
628
+ VariableEntry.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "description"))
629
+ VariableEntry.add_member(:variable_type, Shapes::ShapeRef.new(shape: string, location_name: "variableType"))
630
+ VariableEntry.struct_class = Types::VariableEntry
631
+
632
+ VariableEntryList.member = Shapes::ShapeRef.new(shape: VariableEntry)
633
+
634
+ VariableList.member = Shapes::ShapeRef.new(shape: Variable)
635
+
636
+
637
+ # @api private
638
+ API = Seahorse::Model::Api.new.tap do |api|
639
+
640
+ api.version = "2019-11-15"
641
+
642
+ api.metadata = {
643
+ "apiVersion" => "2019-11-15",
644
+ "endpointPrefix" => "frauddetector",
645
+ "jsonVersion" => "1.1",
646
+ "protocol" => "json",
647
+ "serviceFullName" => "Amazon Fraud Detector",
648
+ "serviceId" => "FraudDetector",
649
+ "signatureVersion" => "v4",
650
+ "targetPrefix" => "AWSHawksNestServiceFacade",
651
+ "uid" => "frauddetector-2019-11-15",
652
+ }
653
+
654
+ api.add_operation(:batch_create_variable, Seahorse::Model::Operation.new.tap do |o|
655
+ o.name = "BatchCreateVariable"
656
+ o.http_method = "POST"
657
+ o.http_request_uri = "/"
658
+ o.input = Shapes::ShapeRef.new(shape: BatchCreateVariableRequest)
659
+ o.output = Shapes::ShapeRef.new(shape: BatchCreateVariableResult)
660
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
661
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
662
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
663
+ end)
664
+
665
+ api.add_operation(:batch_get_variable, Seahorse::Model::Operation.new.tap do |o|
666
+ o.name = "BatchGetVariable"
667
+ o.http_method = "POST"
668
+ o.http_request_uri = "/"
669
+ o.input = Shapes::ShapeRef.new(shape: BatchGetVariableRequest)
670
+ o.output = Shapes::ShapeRef.new(shape: BatchGetVariableResult)
671
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
672
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
673
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
674
+ end)
675
+
676
+ api.add_operation(:create_detector_version, Seahorse::Model::Operation.new.tap do |o|
677
+ o.name = "CreateDetectorVersion"
678
+ o.http_method = "POST"
679
+ o.http_request_uri = "/"
680
+ o.input = Shapes::ShapeRef.new(shape: CreateDetectorVersionRequest)
681
+ o.output = Shapes::ShapeRef.new(shape: CreateDetectorVersionResult)
682
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
683
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
684
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
685
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
686
+ end)
687
+
688
+ api.add_operation(:create_model_version, Seahorse::Model::Operation.new.tap do |o|
689
+ o.name = "CreateModelVersion"
690
+ o.http_method = "POST"
691
+ o.http_request_uri = "/"
692
+ o.input = Shapes::ShapeRef.new(shape: CreateModelVersionRequest)
693
+ o.output = Shapes::ShapeRef.new(shape: CreateModelVersionResult)
694
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
695
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
696
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
697
+ end)
698
+
699
+ api.add_operation(:create_rule, Seahorse::Model::Operation.new.tap do |o|
700
+ o.name = "CreateRule"
701
+ o.http_method = "POST"
702
+ o.http_request_uri = "/"
703
+ o.input = Shapes::ShapeRef.new(shape: CreateRuleRequest)
704
+ o.output = Shapes::ShapeRef.new(shape: CreateRuleResult)
705
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
706
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
707
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
708
+ end)
709
+
710
+ api.add_operation(:create_variable, Seahorse::Model::Operation.new.tap do |o|
711
+ o.name = "CreateVariable"
712
+ o.http_method = "POST"
713
+ o.http_request_uri = "/"
714
+ o.input = Shapes::ShapeRef.new(shape: CreateVariableRequest)
715
+ o.output = Shapes::ShapeRef.new(shape: CreateVariableResult)
716
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
717
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
718
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
719
+ end)
720
+
721
+ api.add_operation(:delete_detector_version, Seahorse::Model::Operation.new.tap do |o|
722
+ o.name = "DeleteDetectorVersion"
723
+ o.http_method = "POST"
724
+ o.http_request_uri = "/"
725
+ o.input = Shapes::ShapeRef.new(shape: DeleteDetectorVersionRequest)
726
+ o.output = Shapes::ShapeRef.new(shape: DeleteDetectorVersionResult)
727
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
728
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
729
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
730
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
731
+ end)
732
+
733
+ api.add_operation(:delete_event, Seahorse::Model::Operation.new.tap do |o|
734
+ o.name = "DeleteEvent"
735
+ o.http_method = "POST"
736
+ o.http_request_uri = "/"
737
+ o.input = Shapes::ShapeRef.new(shape: DeleteEventRequest)
738
+ o.output = Shapes::ShapeRef.new(shape: DeleteEventResult)
739
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
740
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
741
+ end)
742
+
743
+ api.add_operation(:describe_detector, Seahorse::Model::Operation.new.tap do |o|
744
+ o.name = "DescribeDetector"
745
+ o.http_method = "POST"
746
+ o.http_request_uri = "/"
747
+ o.input = Shapes::ShapeRef.new(shape: DescribeDetectorRequest)
748
+ o.output = Shapes::ShapeRef.new(shape: DescribeDetectorResult)
749
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
750
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
751
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
752
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
753
+ end)
754
+
755
+ api.add_operation(:describe_model_versions, Seahorse::Model::Operation.new.tap do |o|
756
+ o.name = "DescribeModelVersions"
757
+ o.http_method = "POST"
758
+ o.http_request_uri = "/"
759
+ o.input = Shapes::ShapeRef.new(shape: DescribeModelVersionsRequest)
760
+ o.output = Shapes::ShapeRef.new(shape: DescribeModelVersionsResult)
761
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
762
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
763
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
764
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
765
+ o[:pager] = Aws::Pager.new(
766
+ limit_key: "max_results",
767
+ tokens: {
768
+ "next_token" => "next_token"
769
+ }
770
+ )
771
+ end)
772
+
773
+ api.add_operation(:get_detector_version, Seahorse::Model::Operation.new.tap do |o|
774
+ o.name = "GetDetectorVersion"
775
+ o.http_method = "POST"
776
+ o.http_request_uri = "/"
777
+ o.input = Shapes::ShapeRef.new(shape: GetDetectorVersionRequest)
778
+ o.output = Shapes::ShapeRef.new(shape: GetDetectorVersionResult)
779
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
780
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
781
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
782
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
783
+ end)
784
+
785
+ api.add_operation(:get_detectors, Seahorse::Model::Operation.new.tap do |o|
786
+ o.name = "GetDetectors"
787
+ o.http_method = "POST"
788
+ o.http_request_uri = "/"
789
+ o.input = Shapes::ShapeRef.new(shape: GetDetectorsRequest)
790
+ o.output = Shapes::ShapeRef.new(shape: GetDetectorsResult)
791
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
792
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
793
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
794
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
795
+ o[:pager] = Aws::Pager.new(
796
+ limit_key: "max_results",
797
+ tokens: {
798
+ "next_token" => "next_token"
799
+ }
800
+ )
801
+ end)
802
+
803
+ api.add_operation(:get_external_models, Seahorse::Model::Operation.new.tap do |o|
804
+ o.name = "GetExternalModels"
805
+ o.http_method = "POST"
806
+ o.http_request_uri = "/"
807
+ o.input = Shapes::ShapeRef.new(shape: GetExternalModelsRequest)
808
+ o.output = Shapes::ShapeRef.new(shape: GetExternalModelsResult)
809
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
810
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
811
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
812
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
813
+ o[:pager] = Aws::Pager.new(
814
+ limit_key: "max_results",
815
+ tokens: {
816
+ "next_token" => "next_token"
817
+ }
818
+ )
819
+ end)
820
+
821
+ api.add_operation(:get_model_version, Seahorse::Model::Operation.new.tap do |o|
822
+ o.name = "GetModelVersion"
823
+ o.http_method = "POST"
824
+ o.http_request_uri = "/"
825
+ o.input = Shapes::ShapeRef.new(shape: GetModelVersionRequest)
826
+ o.output = Shapes::ShapeRef.new(shape: GetModelVersionResult)
827
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
828
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
829
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
830
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
831
+ end)
832
+
833
+ api.add_operation(:get_models, Seahorse::Model::Operation.new.tap do |o|
834
+ o.name = "GetModels"
835
+ o.http_method = "POST"
836
+ o.http_request_uri = "/"
837
+ o.input = Shapes::ShapeRef.new(shape: GetModelsRequest)
838
+ o.output = Shapes::ShapeRef.new(shape: GetModelsResult)
839
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
840
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
841
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
842
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
843
+ o[:pager] = Aws::Pager.new(
844
+ limit_key: "max_results",
845
+ tokens: {
846
+ "next_token" => "next_token"
847
+ }
848
+ )
849
+ end)
850
+
851
+ api.add_operation(:get_outcomes, Seahorse::Model::Operation.new.tap do |o|
852
+ o.name = "GetOutcomes"
853
+ o.http_method = "POST"
854
+ o.http_request_uri = "/"
855
+ o.input = Shapes::ShapeRef.new(shape: GetOutcomesRequest)
856
+ o.output = Shapes::ShapeRef.new(shape: GetOutcomesResult)
857
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
858
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
859
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
860
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
861
+ o[:pager] = Aws::Pager.new(
862
+ limit_key: "max_results",
863
+ tokens: {
864
+ "next_token" => "next_token"
865
+ }
866
+ )
867
+ end)
868
+
869
+ api.add_operation(:get_prediction, Seahorse::Model::Operation.new.tap do |o|
870
+ o.name = "GetPrediction"
871
+ o.http_method = "POST"
872
+ o.http_request_uri = "/"
873
+ o.input = Shapes::ShapeRef.new(shape: GetPredictionRequest)
874
+ o.output = Shapes::ShapeRef.new(shape: GetPredictionResult)
875
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
876
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
877
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
878
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
879
+ end)
880
+
881
+ api.add_operation(:get_rules, Seahorse::Model::Operation.new.tap do |o|
882
+ o.name = "GetRules"
883
+ o.http_method = "POST"
884
+ o.http_request_uri = "/"
885
+ o.input = Shapes::ShapeRef.new(shape: GetRulesRequest)
886
+ o.output = Shapes::ShapeRef.new(shape: GetRulesResult)
887
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
888
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
889
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
890
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
891
+ o[:pager] = Aws::Pager.new(
892
+ limit_key: "max_results",
893
+ tokens: {
894
+ "next_token" => "next_token"
895
+ }
896
+ )
897
+ end)
898
+
899
+ api.add_operation(:get_variables, Seahorse::Model::Operation.new.tap do |o|
900
+ o.name = "GetVariables"
901
+ o.http_method = "POST"
902
+ o.http_request_uri = "/"
903
+ o.input = Shapes::ShapeRef.new(shape: GetVariablesRequest)
904
+ o.output = Shapes::ShapeRef.new(shape: GetVariablesResult)
905
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
906
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
907
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
908
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
909
+ o[:pager] = Aws::Pager.new(
910
+ limit_key: "max_results",
911
+ tokens: {
912
+ "next_token" => "next_token"
913
+ }
914
+ )
915
+ end)
916
+
917
+ api.add_operation(:put_detector, Seahorse::Model::Operation.new.tap do |o|
918
+ o.name = "PutDetector"
919
+ o.http_method = "POST"
920
+ o.http_request_uri = "/"
921
+ o.input = Shapes::ShapeRef.new(shape: PutDetectorRequest)
922
+ o.output = Shapes::ShapeRef.new(shape: PutDetectorResult)
923
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
924
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
925
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
926
+ end)
927
+
928
+ api.add_operation(:put_external_model, Seahorse::Model::Operation.new.tap do |o|
929
+ o.name = "PutExternalModel"
930
+ o.http_method = "POST"
931
+ o.http_request_uri = "/"
932
+ o.input = Shapes::ShapeRef.new(shape: PutExternalModelRequest)
933
+ o.output = Shapes::ShapeRef.new(shape: PutExternalModelResult)
934
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
935
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
936
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
937
+ end)
938
+
939
+ api.add_operation(:put_model, Seahorse::Model::Operation.new.tap do |o|
940
+ o.name = "PutModel"
941
+ o.http_method = "POST"
942
+ o.http_request_uri = "/"
943
+ o.input = Shapes::ShapeRef.new(shape: PutModelRequest)
944
+ o.output = Shapes::ShapeRef.new(shape: PutModelResult)
945
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
946
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
947
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
948
+ end)
949
+
950
+ api.add_operation(:put_outcome, Seahorse::Model::Operation.new.tap do |o|
951
+ o.name = "PutOutcome"
952
+ o.http_method = "POST"
953
+ o.http_request_uri = "/"
954
+ o.input = Shapes::ShapeRef.new(shape: PutOutcomeRequest)
955
+ o.output = Shapes::ShapeRef.new(shape: PutOutcomeResult)
956
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
957
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
958
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
959
+ end)
960
+
961
+ api.add_operation(:update_detector_version, Seahorse::Model::Operation.new.tap do |o|
962
+ o.name = "UpdateDetectorVersion"
963
+ o.http_method = "POST"
964
+ o.http_request_uri = "/"
965
+ o.input = Shapes::ShapeRef.new(shape: UpdateDetectorVersionRequest)
966
+ o.output = Shapes::ShapeRef.new(shape: UpdateDetectorVersionResult)
967
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
968
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
969
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
970
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
971
+ end)
972
+
973
+ api.add_operation(:update_detector_version_metadata, Seahorse::Model::Operation.new.tap do |o|
974
+ o.name = "UpdateDetectorVersionMetadata"
975
+ o.http_method = "POST"
976
+ o.http_request_uri = "/"
977
+ o.input = Shapes::ShapeRef.new(shape: UpdateDetectorVersionMetadataRequest)
978
+ o.output = Shapes::ShapeRef.new(shape: UpdateDetectorVersionMetadataResult)
979
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
980
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
981
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
982
+ end)
983
+
984
+ api.add_operation(:update_detector_version_status, Seahorse::Model::Operation.new.tap do |o|
985
+ o.name = "UpdateDetectorVersionStatus"
986
+ o.http_method = "POST"
987
+ o.http_request_uri = "/"
988
+ o.input = Shapes::ShapeRef.new(shape: UpdateDetectorVersionStatusRequest)
989
+ o.output = Shapes::ShapeRef.new(shape: UpdateDetectorVersionStatusResult)
990
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
991
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
992
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
993
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
994
+ end)
995
+
996
+ api.add_operation(:update_model_version, Seahorse::Model::Operation.new.tap do |o|
997
+ o.name = "UpdateModelVersion"
998
+ o.http_method = "POST"
999
+ o.http_request_uri = "/"
1000
+ o.input = Shapes::ShapeRef.new(shape: UpdateModelVersionRequest)
1001
+ o.output = Shapes::ShapeRef.new(shape: UpdateModelVersionResult)
1002
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1003
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1004
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1005
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1006
+ end)
1007
+
1008
+ api.add_operation(:update_rule_metadata, Seahorse::Model::Operation.new.tap do |o|
1009
+ o.name = "UpdateRuleMetadata"
1010
+ o.http_method = "POST"
1011
+ o.http_request_uri = "/"
1012
+ o.input = Shapes::ShapeRef.new(shape: UpdateRuleMetadataRequest)
1013
+ o.output = Shapes::ShapeRef.new(shape: UpdateRuleMetadataResult)
1014
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1015
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1016
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1017
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1018
+ end)
1019
+
1020
+ api.add_operation(:update_rule_version, Seahorse::Model::Operation.new.tap do |o|
1021
+ o.name = "UpdateRuleVersion"
1022
+ o.http_method = "POST"
1023
+ o.http_request_uri = "/"
1024
+ o.input = Shapes::ShapeRef.new(shape: UpdateRuleVersionRequest)
1025
+ o.output = Shapes::ShapeRef.new(shape: UpdateRuleVersionResult)
1026
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1027
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1028
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1029
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1030
+ end)
1031
+
1032
+ api.add_operation(:update_variable, Seahorse::Model::Operation.new.tap do |o|
1033
+ o.name = "UpdateVariable"
1034
+ o.http_method = "POST"
1035
+ o.http_request_uri = "/"
1036
+ o.input = Shapes::ShapeRef.new(shape: UpdateVariableRequest)
1037
+ o.output = Shapes::ShapeRef.new(shape: UpdateVariableResult)
1038
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1039
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1040
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1041
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1042
+ end)
1043
+ end
1044
+
1045
+ end
1046
+ end