aws-sdk-rekognition 1.32.0 → 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-rekognition.rb +2 -1
- data/lib/aws-sdk-rekognition/client.rb +601 -23
- data/lib/aws-sdk-rekognition/client_api.rb +323 -0
- data/lib/aws-sdk-rekognition/errors.rb +26 -0
- data/lib/aws-sdk-rekognition/types.rb +834 -21
- data/lib/aws-sdk-rekognition/waiters.rb +103 -0
- metadata +3 -2
@@ -13,6 +13,8 @@ module Aws::Rekognition
|
|
13
13
|
|
14
14
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
15
15
|
AgeRange = Shapes::StructureShape.new(name: 'AgeRange')
|
16
|
+
Asset = Shapes::StructureShape.new(name: 'Asset')
|
17
|
+
Assets = Shapes::ListShape.new(name: 'Assets')
|
16
18
|
Attribute = Shapes::StringShape.new(name: 'Attribute')
|
17
19
|
Attributes = Shapes::ListShape.new(name: 'Attributes')
|
18
20
|
Beard = Shapes::StructureShape.new(name: 'Beard')
|
@@ -35,13 +37,21 @@ module Aws::Rekognition
|
|
35
37
|
ComparedFace = Shapes::StructureShape.new(name: 'ComparedFace')
|
36
38
|
ComparedFaceList = Shapes::ListShape.new(name: 'ComparedFaceList')
|
37
39
|
ComparedSourceImageFace = Shapes::StructureShape.new(name: 'ComparedSourceImageFace')
|
40
|
+
ContentClassifier = Shapes::StringShape.new(name: 'ContentClassifier')
|
41
|
+
ContentClassifiers = Shapes::ListShape.new(name: 'ContentClassifiers')
|
38
42
|
ContentModerationDetection = Shapes::StructureShape.new(name: 'ContentModerationDetection')
|
39
43
|
ContentModerationDetections = Shapes::ListShape.new(name: 'ContentModerationDetections')
|
40
44
|
ContentModerationSortBy = Shapes::StringShape.new(name: 'ContentModerationSortBy')
|
41
45
|
CreateCollectionRequest = Shapes::StructureShape.new(name: 'CreateCollectionRequest')
|
42
46
|
CreateCollectionResponse = Shapes::StructureShape.new(name: 'CreateCollectionResponse')
|
47
|
+
CreateProjectRequest = Shapes::StructureShape.new(name: 'CreateProjectRequest')
|
48
|
+
CreateProjectResponse = Shapes::StructureShape.new(name: 'CreateProjectResponse')
|
49
|
+
CreateProjectVersionRequest = Shapes::StructureShape.new(name: 'CreateProjectVersionRequest')
|
50
|
+
CreateProjectVersionResponse = Shapes::StructureShape.new(name: 'CreateProjectVersionResponse')
|
43
51
|
CreateStreamProcessorRequest = Shapes::StructureShape.new(name: 'CreateStreamProcessorRequest')
|
44
52
|
CreateStreamProcessorResponse = Shapes::StructureShape.new(name: 'CreateStreamProcessorResponse')
|
53
|
+
CustomLabel = Shapes::StructureShape.new(name: 'CustomLabel')
|
54
|
+
CustomLabels = Shapes::ListShape.new(name: 'CustomLabels')
|
45
55
|
DateTime = Shapes::TimestampShape.new(name: 'DateTime')
|
46
56
|
Degree = Shapes::FloatShape.new(name: 'Degree')
|
47
57
|
DeleteCollectionRequest = Shapes::StructureShape.new(name: 'DeleteCollectionRequest')
|
@@ -52,8 +62,14 @@ module Aws::Rekognition
|
|
52
62
|
DeleteStreamProcessorResponse = Shapes::StructureShape.new(name: 'DeleteStreamProcessorResponse')
|
53
63
|
DescribeCollectionRequest = Shapes::StructureShape.new(name: 'DescribeCollectionRequest')
|
54
64
|
DescribeCollectionResponse = Shapes::StructureShape.new(name: 'DescribeCollectionResponse')
|
65
|
+
DescribeProjectVersionsRequest = Shapes::StructureShape.new(name: 'DescribeProjectVersionsRequest')
|
66
|
+
DescribeProjectVersionsResponse = Shapes::StructureShape.new(name: 'DescribeProjectVersionsResponse')
|
67
|
+
DescribeProjectsRequest = Shapes::StructureShape.new(name: 'DescribeProjectsRequest')
|
68
|
+
DescribeProjectsResponse = Shapes::StructureShape.new(name: 'DescribeProjectsResponse')
|
55
69
|
DescribeStreamProcessorRequest = Shapes::StructureShape.new(name: 'DescribeStreamProcessorRequest')
|
56
70
|
DescribeStreamProcessorResponse = Shapes::StructureShape.new(name: 'DescribeStreamProcessorResponse')
|
71
|
+
DetectCustomLabelsRequest = Shapes::StructureShape.new(name: 'DetectCustomLabelsRequest')
|
72
|
+
DetectCustomLabelsResponse = Shapes::StructureShape.new(name: 'DetectCustomLabelsResponse')
|
57
73
|
DetectFacesRequest = Shapes::StructureShape.new(name: 'DetectFacesRequest')
|
58
74
|
DetectFacesResponse = Shapes::StructureShape.new(name: 'DetectFacesResponse')
|
59
75
|
DetectLabelsRequest = Shapes::StructureShape.new(name: 'DetectLabelsRequest')
|
@@ -65,6 +81,8 @@ module Aws::Rekognition
|
|
65
81
|
Emotion = Shapes::StructureShape.new(name: 'Emotion')
|
66
82
|
EmotionName = Shapes::StringShape.new(name: 'EmotionName')
|
67
83
|
Emotions = Shapes::ListShape.new(name: 'Emotions')
|
84
|
+
EvaluationResult = Shapes::StructureShape.new(name: 'EvaluationResult')
|
85
|
+
ExtendedPaginationToken = Shapes::StringShape.new(name: 'ExtendedPaginationToken')
|
68
86
|
ExternalImageId = Shapes::StringShape.new(name: 'ExternalImageId')
|
69
87
|
EyeOpen = Shapes::StructureShape.new(name: 'EyeOpen')
|
70
88
|
Eyeglasses = Shapes::StructureShape.new(name: 'Eyeglasses')
|
@@ -85,6 +103,7 @@ module Aws::Rekognition
|
|
85
103
|
FaceSearchSettings = Shapes::StructureShape.new(name: 'FaceSearchSettings')
|
86
104
|
FaceSearchSortBy = Shapes::StringShape.new(name: 'FaceSearchSortBy')
|
87
105
|
Float = Shapes::FloatShape.new(name: 'Float')
|
106
|
+
FlowDefinitionArn = Shapes::StringShape.new(name: 'FlowDefinitionArn')
|
88
107
|
Gender = Shapes::StructureShape.new(name: 'Gender')
|
89
108
|
GenderType = Shapes::StringShape.new(name: 'GenderType')
|
90
109
|
Geometry = Shapes::StructureShape.new(name: 'Geometry')
|
@@ -102,6 +121,16 @@ module Aws::Rekognition
|
|
102
121
|
GetLabelDetectionResponse = Shapes::StructureShape.new(name: 'GetLabelDetectionResponse')
|
103
122
|
GetPersonTrackingRequest = Shapes::StructureShape.new(name: 'GetPersonTrackingRequest')
|
104
123
|
GetPersonTrackingResponse = Shapes::StructureShape.new(name: 'GetPersonTrackingResponse')
|
124
|
+
GroundTruthManifest = Shapes::StructureShape.new(name: 'GroundTruthManifest')
|
125
|
+
HumanLoopActivationConditionsEvaluationResults = Shapes::StringShape.new(name: 'HumanLoopActivationConditionsEvaluationResults')
|
126
|
+
HumanLoopActivationOutput = Shapes::StructureShape.new(name: 'HumanLoopActivationOutput')
|
127
|
+
HumanLoopActivationReason = Shapes::StringShape.new(name: 'HumanLoopActivationReason')
|
128
|
+
HumanLoopActivationReasons = Shapes::ListShape.new(name: 'HumanLoopActivationReasons')
|
129
|
+
HumanLoopArn = Shapes::StringShape.new(name: 'HumanLoopArn')
|
130
|
+
HumanLoopConfig = Shapes::StructureShape.new(name: 'HumanLoopConfig')
|
131
|
+
HumanLoopDataAttributes = Shapes::StructureShape.new(name: 'HumanLoopDataAttributes')
|
132
|
+
HumanLoopName = Shapes::StringShape.new(name: 'HumanLoopName')
|
133
|
+
HumanLoopQuotaExceededException = Shapes::StructureShape.new(name: 'HumanLoopQuotaExceededException')
|
105
134
|
IdempotentParameterMismatchException = Shapes::StructureShape.new(name: 'IdempotentParameterMismatchException')
|
106
135
|
Image = Shapes::StructureShape.new(name: 'Image')
|
107
136
|
ImageBlob = Shapes::BlobShape.new(name: 'ImageBlob')
|
@@ -110,6 +139,7 @@ module Aws::Rekognition
|
|
110
139
|
ImageTooLargeException = Shapes::StructureShape.new(name: 'ImageTooLargeException')
|
111
140
|
IndexFacesRequest = Shapes::StructureShape.new(name: 'IndexFacesRequest')
|
112
141
|
IndexFacesResponse = Shapes::StructureShape.new(name: 'IndexFacesResponse')
|
142
|
+
InferenceUnits = Shapes::IntegerShape.new(name: 'InferenceUnits')
|
113
143
|
Instance = Shapes::StructureShape.new(name: 'Instance')
|
114
144
|
Instances = Shapes::ListShape.new(name: 'Instances')
|
115
145
|
InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
|
@@ -147,6 +177,7 @@ module Aws::Rekognition
|
|
147
177
|
Mustache = Shapes::StructureShape.new(name: 'Mustache')
|
148
178
|
NotificationChannel = Shapes::StructureShape.new(name: 'NotificationChannel')
|
149
179
|
OrientationCorrection = Shapes::StringShape.new(name: 'OrientationCorrection')
|
180
|
+
OutputConfig = Shapes::StructureShape.new(name: 'OutputConfig')
|
150
181
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
151
182
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
152
183
|
Parent = Shapes::StructureShape.new(name: 'Parent')
|
@@ -162,6 +193,17 @@ module Aws::Rekognition
|
|
162
193
|
Point = Shapes::StructureShape.new(name: 'Point')
|
163
194
|
Polygon = Shapes::ListShape.new(name: 'Polygon')
|
164
195
|
Pose = Shapes::StructureShape.new(name: 'Pose')
|
196
|
+
ProjectArn = Shapes::StringShape.new(name: 'ProjectArn')
|
197
|
+
ProjectDescription = Shapes::StructureShape.new(name: 'ProjectDescription')
|
198
|
+
ProjectDescriptions = Shapes::ListShape.new(name: 'ProjectDescriptions')
|
199
|
+
ProjectName = Shapes::StringShape.new(name: 'ProjectName')
|
200
|
+
ProjectStatus = Shapes::StringShape.new(name: 'ProjectStatus')
|
201
|
+
ProjectVersionArn = Shapes::StringShape.new(name: 'ProjectVersionArn')
|
202
|
+
ProjectVersionDescription = Shapes::StructureShape.new(name: 'ProjectVersionDescription')
|
203
|
+
ProjectVersionDescriptions = Shapes::ListShape.new(name: 'ProjectVersionDescriptions')
|
204
|
+
ProjectVersionStatus = Shapes::StringShape.new(name: 'ProjectVersionStatus')
|
205
|
+
ProjectVersionsPageSize = Shapes::IntegerShape.new(name: 'ProjectVersionsPageSize')
|
206
|
+
ProjectsPageSize = Shapes::IntegerShape.new(name: 'ProjectsPageSize')
|
165
207
|
ProvisionedThroughputExceededException = Shapes::StructureShape.new(name: 'ProvisionedThroughputExceededException')
|
166
208
|
QualityFilter = Shapes::StringShape.new(name: 'QualityFilter')
|
167
209
|
Reason = Shapes::StringShape.new(name: 'Reason')
|
@@ -172,8 +214,10 @@ module Aws::Rekognition
|
|
172
214
|
ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
|
173
215
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
174
216
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
217
|
+
ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
|
175
218
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
176
219
|
S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
|
220
|
+
S3KeyPrefix = Shapes::StringShape.new(name: 'S3KeyPrefix')
|
177
221
|
S3Object = Shapes::StructureShape.new(name: 'S3Object')
|
178
222
|
S3ObjectName = Shapes::StringShape.new(name: 'S3ObjectName')
|
179
223
|
S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
|
@@ -195,9 +239,13 @@ module Aws::Rekognition
|
|
195
239
|
StartLabelDetectionResponse = Shapes::StructureShape.new(name: 'StartLabelDetectionResponse')
|
196
240
|
StartPersonTrackingRequest = Shapes::StructureShape.new(name: 'StartPersonTrackingRequest')
|
197
241
|
StartPersonTrackingResponse = Shapes::StructureShape.new(name: 'StartPersonTrackingResponse')
|
242
|
+
StartProjectVersionRequest = Shapes::StructureShape.new(name: 'StartProjectVersionRequest')
|
243
|
+
StartProjectVersionResponse = Shapes::StructureShape.new(name: 'StartProjectVersionResponse')
|
198
244
|
StartStreamProcessorRequest = Shapes::StructureShape.new(name: 'StartStreamProcessorRequest')
|
199
245
|
StartStreamProcessorResponse = Shapes::StructureShape.new(name: 'StartStreamProcessorResponse')
|
200
246
|
StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
|
247
|
+
StopProjectVersionRequest = Shapes::StructureShape.new(name: 'StopProjectVersionRequest')
|
248
|
+
StopProjectVersionResponse = Shapes::StructureShape.new(name: 'StopProjectVersionResponse')
|
201
249
|
StopStreamProcessorRequest = Shapes::StructureShape.new(name: 'StopStreamProcessorRequest')
|
202
250
|
StopStreamProcessorResponse = Shapes::StructureShape.new(name: 'StopStreamProcessorResponse')
|
203
251
|
StreamProcessor = Shapes::StructureShape.new(name: 'StreamProcessor')
|
@@ -209,18 +257,25 @@ module Aws::Rekognition
|
|
209
257
|
StreamProcessorSettings = Shapes::StructureShape.new(name: 'StreamProcessorSettings')
|
210
258
|
StreamProcessorStatus = Shapes::StringShape.new(name: 'StreamProcessorStatus')
|
211
259
|
String = Shapes::StringShape.new(name: 'String')
|
260
|
+
Summary = Shapes::StructureShape.new(name: 'Summary')
|
212
261
|
Sunglasses = Shapes::StructureShape.new(name: 'Sunglasses')
|
262
|
+
TestingData = Shapes::StructureShape.new(name: 'TestingData')
|
263
|
+
TestingDataResult = Shapes::StructureShape.new(name: 'TestingDataResult')
|
213
264
|
TextDetection = Shapes::StructureShape.new(name: 'TextDetection')
|
214
265
|
TextDetectionList = Shapes::ListShape.new(name: 'TextDetectionList')
|
215
266
|
TextTypes = Shapes::StringShape.new(name: 'TextTypes')
|
216
267
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
217
268
|
Timestamp = Shapes::IntegerShape.new(name: 'Timestamp')
|
269
|
+
TrainingData = Shapes::StructureShape.new(name: 'TrainingData')
|
270
|
+
TrainingDataResult = Shapes::StructureShape.new(name: 'TrainingDataResult')
|
218
271
|
UInteger = Shapes::IntegerShape.new(name: 'UInteger')
|
219
272
|
ULong = Shapes::IntegerShape.new(name: 'ULong')
|
220
273
|
UnindexedFace = Shapes::StructureShape.new(name: 'UnindexedFace')
|
221
274
|
UnindexedFaces = Shapes::ListShape.new(name: 'UnindexedFaces')
|
222
275
|
Url = Shapes::StringShape.new(name: 'Url')
|
223
276
|
Urls = Shapes::ListShape.new(name: 'Urls')
|
277
|
+
VersionName = Shapes::StringShape.new(name: 'VersionName')
|
278
|
+
VersionNames = Shapes::ListShape.new(name: 'VersionNames')
|
224
279
|
Video = Shapes::StructureShape.new(name: 'Video')
|
225
280
|
VideoJobStatus = Shapes::StringShape.new(name: 'VideoJobStatus')
|
226
281
|
VideoMetadata = Shapes::StructureShape.new(name: 'VideoMetadata')
|
@@ -230,6 +285,11 @@ module Aws::Rekognition
|
|
230
285
|
AgeRange.add_member(:high, Shapes::ShapeRef.new(shape: UInteger, location_name: "High"))
|
231
286
|
AgeRange.struct_class = Types::AgeRange
|
232
287
|
|
288
|
+
Asset.add_member(:ground_truth_manifest, Shapes::ShapeRef.new(shape: GroundTruthManifest, location_name: "GroundTruthManifest"))
|
289
|
+
Asset.struct_class = Types::Asset
|
290
|
+
|
291
|
+
Assets.member = Shapes::ShapeRef.new(shape: Asset)
|
292
|
+
|
233
293
|
Attributes.member = Shapes::ShapeRef.new(shape: Attribute)
|
234
294
|
|
235
295
|
Beard.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
|
@@ -301,6 +361,8 @@ module Aws::Rekognition
|
|
301
361
|
ComparedSourceImageFace.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
302
362
|
ComparedSourceImageFace.struct_class = Types::ComparedSourceImageFace
|
303
363
|
|
364
|
+
ContentClassifiers.member = Shapes::ShapeRef.new(shape: ContentClassifier)
|
365
|
+
|
304
366
|
ContentModerationDetection.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
305
367
|
ContentModerationDetection.add_member(:moderation_label, Shapes::ShapeRef.new(shape: ModerationLabel, location_name: "ModerationLabel"))
|
306
368
|
ContentModerationDetection.struct_class = Types::ContentModerationDetection
|
@@ -315,6 +377,22 @@ module Aws::Rekognition
|
|
315
377
|
CreateCollectionResponse.add_member(:face_model_version, Shapes::ShapeRef.new(shape: String, location_name: "FaceModelVersion"))
|
316
378
|
CreateCollectionResponse.struct_class = Types::CreateCollectionResponse
|
317
379
|
|
380
|
+
CreateProjectRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "ProjectName"))
|
381
|
+
CreateProjectRequest.struct_class = Types::CreateProjectRequest
|
382
|
+
|
383
|
+
CreateProjectResponse.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, location_name: "ProjectArn"))
|
384
|
+
CreateProjectResponse.struct_class = Types::CreateProjectResponse
|
385
|
+
|
386
|
+
CreateProjectVersionRequest.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, required: true, location_name: "ProjectArn"))
|
387
|
+
CreateProjectVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location_name: "VersionName"))
|
388
|
+
CreateProjectVersionRequest.add_member(:output_config, Shapes::ShapeRef.new(shape: OutputConfig, required: true, location_name: "OutputConfig"))
|
389
|
+
CreateProjectVersionRequest.add_member(:training_data, Shapes::ShapeRef.new(shape: TrainingData, required: true, location_name: "TrainingData"))
|
390
|
+
CreateProjectVersionRequest.add_member(:testing_data, Shapes::ShapeRef.new(shape: TestingData, required: true, location_name: "TestingData"))
|
391
|
+
CreateProjectVersionRequest.struct_class = Types::CreateProjectVersionRequest
|
392
|
+
|
393
|
+
CreateProjectVersionResponse.add_member(:project_version_arn, Shapes::ShapeRef.new(shape: ProjectVersionArn, location_name: "ProjectVersionArn"))
|
394
|
+
CreateProjectVersionResponse.struct_class = Types::CreateProjectVersionResponse
|
395
|
+
|
318
396
|
CreateStreamProcessorRequest.add_member(:input, Shapes::ShapeRef.new(shape: StreamProcessorInput, required: true, location_name: "Input"))
|
319
397
|
CreateStreamProcessorRequest.add_member(:output, Shapes::ShapeRef.new(shape: StreamProcessorOutput, required: true, location_name: "Output"))
|
320
398
|
CreateStreamProcessorRequest.add_member(:name, Shapes::ShapeRef.new(shape: StreamProcessorName, required: true, location_name: "Name"))
|
@@ -325,6 +403,13 @@ module Aws::Rekognition
|
|
325
403
|
CreateStreamProcessorResponse.add_member(:stream_processor_arn, Shapes::ShapeRef.new(shape: StreamProcessorArn, location_name: "StreamProcessorArn"))
|
326
404
|
CreateStreamProcessorResponse.struct_class = Types::CreateStreamProcessorResponse
|
327
405
|
|
406
|
+
CustomLabel.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
407
|
+
CustomLabel.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
408
|
+
CustomLabel.add_member(:geometry, Shapes::ShapeRef.new(shape: Geometry, location_name: "Geometry"))
|
409
|
+
CustomLabel.struct_class = Types::CustomLabel
|
410
|
+
|
411
|
+
CustomLabels.member = Shapes::ShapeRef.new(shape: CustomLabel)
|
412
|
+
|
328
413
|
DeleteCollectionRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
|
329
414
|
DeleteCollectionRequest.struct_class = Types::DeleteCollectionRequest
|
330
415
|
|
@@ -352,6 +437,24 @@ module Aws::Rekognition
|
|
352
437
|
DescribeCollectionResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTimestamp"))
|
353
438
|
DescribeCollectionResponse.struct_class = Types::DescribeCollectionResponse
|
354
439
|
|
440
|
+
DescribeProjectVersionsRequest.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, required: true, location_name: "ProjectArn"))
|
441
|
+
DescribeProjectVersionsRequest.add_member(:version_names, Shapes::ShapeRef.new(shape: VersionNames, location_name: "VersionNames"))
|
442
|
+
DescribeProjectVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ExtendedPaginationToken, location_name: "NextToken"))
|
443
|
+
DescribeProjectVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ProjectVersionsPageSize, location_name: "MaxResults"))
|
444
|
+
DescribeProjectVersionsRequest.struct_class = Types::DescribeProjectVersionsRequest
|
445
|
+
|
446
|
+
DescribeProjectVersionsResponse.add_member(:project_version_descriptions, Shapes::ShapeRef.new(shape: ProjectVersionDescriptions, location_name: "ProjectVersionDescriptions"))
|
447
|
+
DescribeProjectVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ExtendedPaginationToken, location_name: "NextToken"))
|
448
|
+
DescribeProjectVersionsResponse.struct_class = Types::DescribeProjectVersionsResponse
|
449
|
+
|
450
|
+
DescribeProjectsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ExtendedPaginationToken, location_name: "NextToken"))
|
451
|
+
DescribeProjectsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ProjectsPageSize, location_name: "MaxResults"))
|
452
|
+
DescribeProjectsRequest.struct_class = Types::DescribeProjectsRequest
|
453
|
+
|
454
|
+
DescribeProjectsResponse.add_member(:project_descriptions, Shapes::ShapeRef.new(shape: ProjectDescriptions, location_name: "ProjectDescriptions"))
|
455
|
+
DescribeProjectsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ExtendedPaginationToken, location_name: "NextToken"))
|
456
|
+
DescribeProjectsResponse.struct_class = Types::DescribeProjectsResponse
|
457
|
+
|
355
458
|
DescribeStreamProcessorRequest.add_member(:name, Shapes::ShapeRef.new(shape: StreamProcessorName, required: true, location_name: "Name"))
|
356
459
|
DescribeStreamProcessorRequest.struct_class = Types::DescribeStreamProcessorRequest
|
357
460
|
|
@@ -367,6 +470,15 @@ module Aws::Rekognition
|
|
367
470
|
DescribeStreamProcessorResponse.add_member(:settings, Shapes::ShapeRef.new(shape: StreamProcessorSettings, location_name: "Settings"))
|
368
471
|
DescribeStreamProcessorResponse.struct_class = Types::DescribeStreamProcessorResponse
|
369
472
|
|
473
|
+
DetectCustomLabelsRequest.add_member(:project_version_arn, Shapes::ShapeRef.new(shape: ProjectVersionArn, required: true, location_name: "ProjectVersionArn"))
|
474
|
+
DetectCustomLabelsRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
|
475
|
+
DetectCustomLabelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: UInteger, location_name: "MaxResults"))
|
476
|
+
DetectCustomLabelsRequest.add_member(:min_confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "MinConfidence"))
|
477
|
+
DetectCustomLabelsRequest.struct_class = Types::DetectCustomLabelsRequest
|
478
|
+
|
479
|
+
DetectCustomLabelsResponse.add_member(:custom_labels, Shapes::ShapeRef.new(shape: CustomLabels, location_name: "CustomLabels"))
|
480
|
+
DetectCustomLabelsResponse.struct_class = Types::DetectCustomLabelsResponse
|
481
|
+
|
370
482
|
DetectFacesRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
|
371
483
|
DetectFacesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
|
372
484
|
DetectFacesRequest.struct_class = Types::DetectFacesRequest
|
@@ -387,10 +499,12 @@ module Aws::Rekognition
|
|
387
499
|
|
388
500
|
DetectModerationLabelsRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
|
389
501
|
DetectModerationLabelsRequest.add_member(:min_confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "MinConfidence"))
|
502
|
+
DetectModerationLabelsRequest.add_member(:human_loop_config, Shapes::ShapeRef.new(shape: HumanLoopConfig, location_name: "HumanLoopConfig"))
|
390
503
|
DetectModerationLabelsRequest.struct_class = Types::DetectModerationLabelsRequest
|
391
504
|
|
392
505
|
DetectModerationLabelsResponse.add_member(:moderation_labels, Shapes::ShapeRef.new(shape: ModerationLabels, location_name: "ModerationLabels"))
|
393
506
|
DetectModerationLabelsResponse.add_member(:moderation_model_version, Shapes::ShapeRef.new(shape: String, location_name: "ModerationModelVersion"))
|
507
|
+
DetectModerationLabelsResponse.add_member(:human_loop_activation_output, Shapes::ShapeRef.new(shape: HumanLoopActivationOutput, location_name: "HumanLoopActivationOutput"))
|
394
508
|
DetectModerationLabelsResponse.struct_class = Types::DetectModerationLabelsResponse
|
395
509
|
|
396
510
|
DetectTextRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
|
@@ -405,6 +519,10 @@ module Aws::Rekognition
|
|
405
519
|
|
406
520
|
Emotions.member = Shapes::ShapeRef.new(shape: Emotion)
|
407
521
|
|
522
|
+
EvaluationResult.add_member(:f1_score, Shapes::ShapeRef.new(shape: Float, location_name: "F1Score"))
|
523
|
+
EvaluationResult.add_member(:summary, Shapes::ShapeRef.new(shape: Summary, location_name: "Summary"))
|
524
|
+
EvaluationResult.struct_class = Types::EvaluationResult
|
525
|
+
|
408
526
|
EyeOpen.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
|
409
527
|
EyeOpen.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
410
528
|
EyeOpen.struct_class = Types::EyeOpen
|
@@ -561,6 +679,29 @@ module Aws::Rekognition
|
|
561
679
|
GetPersonTrackingResponse.add_member(:persons, Shapes::ShapeRef.new(shape: PersonDetections, location_name: "Persons"))
|
562
680
|
GetPersonTrackingResponse.struct_class = Types::GetPersonTrackingResponse
|
563
681
|
|
682
|
+
GroundTruthManifest.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "S3Object"))
|
683
|
+
GroundTruthManifest.struct_class = Types::GroundTruthManifest
|
684
|
+
|
685
|
+
HumanLoopActivationOutput.add_member(:human_loop_arn, Shapes::ShapeRef.new(shape: HumanLoopArn, location_name: "HumanLoopArn"))
|
686
|
+
HumanLoopActivationOutput.add_member(:human_loop_activation_reasons, Shapes::ShapeRef.new(shape: HumanLoopActivationReasons, location_name: "HumanLoopActivationReasons"))
|
687
|
+
HumanLoopActivationOutput.add_member(:human_loop_activation_conditions_evaluation_results, Shapes::ShapeRef.new(shape: HumanLoopActivationConditionsEvaluationResults, location_name: "HumanLoopActivationConditionsEvaluationResults", metadata: {"jsonvalue"=>true}))
|
688
|
+
HumanLoopActivationOutput.struct_class = Types::HumanLoopActivationOutput
|
689
|
+
|
690
|
+
HumanLoopActivationReasons.member = Shapes::ShapeRef.new(shape: HumanLoopActivationReason)
|
691
|
+
|
692
|
+
HumanLoopConfig.add_member(:human_loop_name, Shapes::ShapeRef.new(shape: HumanLoopName, required: true, location_name: "HumanLoopName"))
|
693
|
+
HumanLoopConfig.add_member(:flow_definition_arn, Shapes::ShapeRef.new(shape: FlowDefinitionArn, required: true, location_name: "FlowDefinitionArn"))
|
694
|
+
HumanLoopConfig.add_member(:data_attributes, Shapes::ShapeRef.new(shape: HumanLoopDataAttributes, location_name: "DataAttributes"))
|
695
|
+
HumanLoopConfig.struct_class = Types::HumanLoopConfig
|
696
|
+
|
697
|
+
HumanLoopDataAttributes.add_member(:content_classifiers, Shapes::ShapeRef.new(shape: ContentClassifiers, location_name: "ContentClassifiers"))
|
698
|
+
HumanLoopDataAttributes.struct_class = Types::HumanLoopDataAttributes
|
699
|
+
|
700
|
+
HumanLoopQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
|
701
|
+
HumanLoopQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "QuotaCode"))
|
702
|
+
HumanLoopQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "ServiceCode"))
|
703
|
+
HumanLoopQuotaExceededException.struct_class = Types::HumanLoopQuotaExceededException
|
704
|
+
|
564
705
|
Image.add_member(:bytes, Shapes::ShapeRef.new(shape: ImageBlob, location_name: "Bytes"))
|
565
706
|
Image.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "S3Object"))
|
566
707
|
Image.struct_class = Types::Image
|
@@ -662,6 +803,10 @@ module Aws::Rekognition
|
|
662
803
|
NotificationChannel.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
|
663
804
|
NotificationChannel.struct_class = Types::NotificationChannel
|
664
805
|
|
806
|
+
OutputConfig.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "S3Bucket"))
|
807
|
+
OutputConfig.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: S3KeyPrefix, location_name: "S3KeyPrefix"))
|
808
|
+
OutputConfig.struct_class = Types::OutputConfig
|
809
|
+
|
665
810
|
Parent.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
666
811
|
Parent.struct_class = Types::Parent
|
667
812
|
|
@@ -696,6 +841,28 @@ module Aws::Rekognition
|
|
696
841
|
Pose.add_member(:pitch, Shapes::ShapeRef.new(shape: Degree, location_name: "Pitch"))
|
697
842
|
Pose.struct_class = Types::Pose
|
698
843
|
|
844
|
+
ProjectDescription.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, location_name: "ProjectArn"))
|
845
|
+
ProjectDescription.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTimestamp"))
|
846
|
+
ProjectDescription.add_member(:status, Shapes::ShapeRef.new(shape: ProjectStatus, location_name: "Status"))
|
847
|
+
ProjectDescription.struct_class = Types::ProjectDescription
|
848
|
+
|
849
|
+
ProjectDescriptions.member = Shapes::ShapeRef.new(shape: ProjectDescription)
|
850
|
+
|
851
|
+
ProjectVersionDescription.add_member(:project_version_arn, Shapes::ShapeRef.new(shape: ProjectVersionArn, location_name: "ProjectVersionArn"))
|
852
|
+
ProjectVersionDescription.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTimestamp"))
|
853
|
+
ProjectVersionDescription.add_member(:min_inference_units, Shapes::ShapeRef.new(shape: InferenceUnits, location_name: "MinInferenceUnits"))
|
854
|
+
ProjectVersionDescription.add_member(:status, Shapes::ShapeRef.new(shape: ProjectVersionStatus, location_name: "Status"))
|
855
|
+
ProjectVersionDescription.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
|
856
|
+
ProjectVersionDescription.add_member(:billable_training_time_in_seconds, Shapes::ShapeRef.new(shape: ULong, location_name: "BillableTrainingTimeInSeconds"))
|
857
|
+
ProjectVersionDescription.add_member(:training_end_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "TrainingEndTimestamp"))
|
858
|
+
ProjectVersionDescription.add_member(:output_config, Shapes::ShapeRef.new(shape: OutputConfig, location_name: "OutputConfig"))
|
859
|
+
ProjectVersionDescription.add_member(:training_data_result, Shapes::ShapeRef.new(shape: TrainingDataResult, location_name: "TrainingDataResult"))
|
860
|
+
ProjectVersionDescription.add_member(:testing_data_result, Shapes::ShapeRef.new(shape: TestingDataResult, location_name: "TestingDataResult"))
|
861
|
+
ProjectVersionDescription.add_member(:evaluation_result, Shapes::ShapeRef.new(shape: EvaluationResult, location_name: "EvaluationResult"))
|
862
|
+
ProjectVersionDescription.struct_class = Types::ProjectVersionDescription
|
863
|
+
|
864
|
+
ProjectVersionDescriptions.member = Shapes::ShapeRef.new(shape: ProjectVersionDescription)
|
865
|
+
|
699
866
|
Reasons.member = Shapes::ShapeRef.new(shape: Reason)
|
700
867
|
|
701
868
|
RecognizeCelebritiesRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
|
@@ -798,11 +965,24 @@ module Aws::Rekognition
|
|
798
965
|
StartPersonTrackingResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
799
966
|
StartPersonTrackingResponse.struct_class = Types::StartPersonTrackingResponse
|
800
967
|
|
968
|
+
StartProjectVersionRequest.add_member(:project_version_arn, Shapes::ShapeRef.new(shape: ProjectVersionArn, required: true, location_name: "ProjectVersionArn"))
|
969
|
+
StartProjectVersionRequest.add_member(:min_inference_units, Shapes::ShapeRef.new(shape: InferenceUnits, required: true, location_name: "MinInferenceUnits"))
|
970
|
+
StartProjectVersionRequest.struct_class = Types::StartProjectVersionRequest
|
971
|
+
|
972
|
+
StartProjectVersionResponse.add_member(:status, Shapes::ShapeRef.new(shape: ProjectVersionStatus, location_name: "Status"))
|
973
|
+
StartProjectVersionResponse.struct_class = Types::StartProjectVersionResponse
|
974
|
+
|
801
975
|
StartStreamProcessorRequest.add_member(:name, Shapes::ShapeRef.new(shape: StreamProcessorName, required: true, location_name: "Name"))
|
802
976
|
StartStreamProcessorRequest.struct_class = Types::StartStreamProcessorRequest
|
803
977
|
|
804
978
|
StartStreamProcessorResponse.struct_class = Types::StartStreamProcessorResponse
|
805
979
|
|
980
|
+
StopProjectVersionRequest.add_member(:project_version_arn, Shapes::ShapeRef.new(shape: ProjectVersionArn, required: true, location_name: "ProjectVersionArn"))
|
981
|
+
StopProjectVersionRequest.struct_class = Types::StopProjectVersionRequest
|
982
|
+
|
983
|
+
StopProjectVersionResponse.add_member(:status, Shapes::ShapeRef.new(shape: ProjectVersionStatus, location_name: "Status"))
|
984
|
+
StopProjectVersionResponse.struct_class = Types::StopProjectVersionResponse
|
985
|
+
|
806
986
|
StopStreamProcessorRequest.add_member(:name, Shapes::ShapeRef.new(shape: StreamProcessorName, required: true, location_name: "Name"))
|
807
987
|
StopStreamProcessorRequest.struct_class = Types::StopStreamProcessorRequest
|
808
988
|
|
@@ -823,10 +1003,21 @@ module Aws::Rekognition
|
|
823
1003
|
StreamProcessorSettings.add_member(:face_search, Shapes::ShapeRef.new(shape: FaceSearchSettings, location_name: "FaceSearch"))
|
824
1004
|
StreamProcessorSettings.struct_class = Types::StreamProcessorSettings
|
825
1005
|
|
1006
|
+
Summary.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "S3Object"))
|
1007
|
+
Summary.struct_class = Types::Summary
|
1008
|
+
|
826
1009
|
Sunglasses.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
|
827
1010
|
Sunglasses.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
828
1011
|
Sunglasses.struct_class = Types::Sunglasses
|
829
1012
|
|
1013
|
+
TestingData.add_member(:assets, Shapes::ShapeRef.new(shape: Assets, location_name: "Assets"))
|
1014
|
+
TestingData.add_member(:auto_create, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoCreate"))
|
1015
|
+
TestingData.struct_class = Types::TestingData
|
1016
|
+
|
1017
|
+
TestingDataResult.add_member(:input, Shapes::ShapeRef.new(shape: TestingData, location_name: "Input"))
|
1018
|
+
TestingDataResult.add_member(:output, Shapes::ShapeRef.new(shape: TestingData, location_name: "Output"))
|
1019
|
+
TestingDataResult.struct_class = Types::TestingDataResult
|
1020
|
+
|
830
1021
|
TextDetection.add_member(:detected_text, Shapes::ShapeRef.new(shape: String, location_name: "DetectedText"))
|
831
1022
|
TextDetection.add_member(:type, Shapes::ShapeRef.new(shape: TextTypes, location_name: "Type"))
|
832
1023
|
TextDetection.add_member(:id, Shapes::ShapeRef.new(shape: UInteger, location_name: "Id"))
|
@@ -837,6 +1028,13 @@ module Aws::Rekognition
|
|
837
1028
|
|
838
1029
|
TextDetectionList.member = Shapes::ShapeRef.new(shape: TextDetection)
|
839
1030
|
|
1031
|
+
TrainingData.add_member(:assets, Shapes::ShapeRef.new(shape: Assets, location_name: "Assets"))
|
1032
|
+
TrainingData.struct_class = Types::TrainingData
|
1033
|
+
|
1034
|
+
TrainingDataResult.add_member(:input, Shapes::ShapeRef.new(shape: TrainingData, location_name: "Input"))
|
1035
|
+
TrainingDataResult.add_member(:output, Shapes::ShapeRef.new(shape: TrainingData, location_name: "Output"))
|
1036
|
+
TrainingDataResult.struct_class = Types::TrainingDataResult
|
1037
|
+
|
840
1038
|
UnindexedFace.add_member(:reasons, Shapes::ShapeRef.new(shape: Reasons, location_name: "Reasons"))
|
841
1039
|
UnindexedFace.add_member(:face_detail, Shapes::ShapeRef.new(shape: FaceDetail, location_name: "FaceDetail"))
|
842
1040
|
UnindexedFace.struct_class = Types::UnindexedFace
|
@@ -845,6 +1043,8 @@ module Aws::Rekognition
|
|
845
1043
|
|
846
1044
|
Urls.member = Shapes::ShapeRef.new(shape: Url)
|
847
1045
|
|
1046
|
+
VersionNames.member = Shapes::ShapeRef.new(shape: VersionName)
|
1047
|
+
|
848
1048
|
Video.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "S3Object"))
|
849
1049
|
Video.struct_class = Types::Video
|
850
1050
|
|
@@ -904,6 +1104,37 @@ module Aws::Rekognition
|
|
904
1104
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
905
1105
|
end)
|
906
1106
|
|
1107
|
+
api.add_operation(:create_project, Seahorse::Model::Operation.new.tap do |o|
|
1108
|
+
o.name = "CreateProject"
|
1109
|
+
o.http_method = "POST"
|
1110
|
+
o.http_request_uri = "/"
|
1111
|
+
o.input = Shapes::ShapeRef.new(shape: CreateProjectRequest)
|
1112
|
+
o.output = Shapes::ShapeRef.new(shape: CreateProjectResponse)
|
1113
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1114
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1115
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1116
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1117
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1118
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1119
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1120
|
+
end)
|
1121
|
+
|
1122
|
+
api.add_operation(:create_project_version, Seahorse::Model::Operation.new.tap do |o|
|
1123
|
+
o.name = "CreateProjectVersion"
|
1124
|
+
o.http_method = "POST"
|
1125
|
+
o.http_request_uri = "/"
|
1126
|
+
o.input = Shapes::ShapeRef.new(shape: CreateProjectVersionRequest)
|
1127
|
+
o.output = Shapes::ShapeRef.new(shape: CreateProjectVersionResponse)
|
1128
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1129
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1130
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1131
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1132
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1133
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1134
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1135
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1136
|
+
end)
|
1137
|
+
|
907
1138
|
api.add_operation(:create_stream_processor, Seahorse::Model::Operation.new.tap do |o|
|
908
1139
|
o.name = "CreateStreamProcessor"
|
909
1140
|
o.http_method = "POST"
|
@@ -976,6 +1207,47 @@ module Aws::Rekognition
|
|
976
1207
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
977
1208
|
end)
|
978
1209
|
|
1210
|
+
api.add_operation(:describe_project_versions, Seahorse::Model::Operation.new.tap do |o|
|
1211
|
+
o.name = "DescribeProjectVersions"
|
1212
|
+
o.http_method = "POST"
|
1213
|
+
o.http_request_uri = "/"
|
1214
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeProjectVersionsRequest)
|
1215
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeProjectVersionsResponse)
|
1216
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1217
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
|
1218
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1219
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1220
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1221
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1222
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1223
|
+
o[:pager] = Aws::Pager.new(
|
1224
|
+
limit_key: "max_results",
|
1225
|
+
tokens: {
|
1226
|
+
"next_token" => "next_token"
|
1227
|
+
}
|
1228
|
+
)
|
1229
|
+
end)
|
1230
|
+
|
1231
|
+
api.add_operation(:describe_projects, Seahorse::Model::Operation.new.tap do |o|
|
1232
|
+
o.name = "DescribeProjects"
|
1233
|
+
o.http_method = "POST"
|
1234
|
+
o.http_request_uri = "/"
|
1235
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeProjectsRequest)
|
1236
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeProjectsResponse)
|
1237
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
|
1238
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1239
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1240
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1241
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1242
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1243
|
+
o[:pager] = Aws::Pager.new(
|
1244
|
+
limit_key: "max_results",
|
1245
|
+
tokens: {
|
1246
|
+
"next_token" => "next_token"
|
1247
|
+
}
|
1248
|
+
)
|
1249
|
+
end)
|
1250
|
+
|
979
1251
|
api.add_operation(:describe_stream_processor, Seahorse::Model::Operation.new.tap do |o|
|
980
1252
|
o.name = "DescribeStreamProcessor"
|
981
1253
|
o.http_method = "POST"
|
@@ -990,6 +1262,25 @@ module Aws::Rekognition
|
|
990
1262
|
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
991
1263
|
end)
|
992
1264
|
|
1265
|
+
api.add_operation(:detect_custom_labels, Seahorse::Model::Operation.new.tap do |o|
|
1266
|
+
o.name = "DetectCustomLabels"
|
1267
|
+
o.http_method = "POST"
|
1268
|
+
o.http_request_uri = "/"
|
1269
|
+
o.input = Shapes::ShapeRef.new(shape: DetectCustomLabelsRequest)
|
1270
|
+
o.output = Shapes::ShapeRef.new(shape: DetectCustomLabelsResponse)
|
1271
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1272
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
1273
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
|
1274
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1275
|
+
o.errors << Shapes::ShapeRef.new(shape: ImageTooLargeException)
|
1276
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1277
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1278
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1279
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1280
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1281
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
|
1282
|
+
end)
|
1283
|
+
|
993
1284
|
api.add_operation(:detect_faces, Seahorse::Model::Operation.new.tap do |o|
|
994
1285
|
o.name = "DetectFaces"
|
995
1286
|
o.http_method = "POST"
|
@@ -1036,6 +1327,7 @@ module Aws::Rekognition
|
|
1036
1327
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1037
1328
|
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1038
1329
|
o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
|
1330
|
+
o.errors << Shapes::ShapeRef.new(shape: HumanLoopQuotaExceededException)
|
1039
1331
|
end)
|
1040
1332
|
|
1041
1333
|
api.add_operation(:detect_text, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1424,6 +1716,22 @@ module Aws::Rekognition
|
|
1424
1716
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1425
1717
|
end)
|
1426
1718
|
|
1719
|
+
api.add_operation(:start_project_version, Seahorse::Model::Operation.new.tap do |o|
|
1720
|
+
o.name = "StartProjectVersion"
|
1721
|
+
o.http_method = "POST"
|
1722
|
+
o.http_request_uri = "/"
|
1723
|
+
o.input = Shapes::ShapeRef.new(shape: StartProjectVersionRequest)
|
1724
|
+
o.output = Shapes::ShapeRef.new(shape: StartProjectVersionResponse)
|
1725
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1726
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1727
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1728
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1729
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1730
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1731
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1732
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1733
|
+
end)
|
1734
|
+
|
1427
1735
|
api.add_operation(:start_stream_processor, Seahorse::Model::Operation.new.tap do |o|
|
1428
1736
|
o.name = "StartStreamProcessor"
|
1429
1737
|
o.http_method = "POST"
|
@@ -1439,6 +1747,21 @@ module Aws::Rekognition
|
|
1439
1747
|
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1440
1748
|
end)
|
1441
1749
|
|
1750
|
+
api.add_operation(:stop_project_version, Seahorse::Model::Operation.new.tap do |o|
|
1751
|
+
o.name = "StopProjectVersion"
|
1752
|
+
o.http_method = "POST"
|
1753
|
+
o.http_request_uri = "/"
|
1754
|
+
o.input = Shapes::ShapeRef.new(shape: StopProjectVersionRequest)
|
1755
|
+
o.output = Shapes::ShapeRef.new(shape: StopProjectVersionResponse)
|
1756
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1757
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1758
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1759
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1760
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1761
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1762
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1763
|
+
end)
|
1764
|
+
|
1442
1765
|
api.add_operation(:stop_stream_processor, Seahorse::Model::Operation.new.tap do |o|
|
1443
1766
|
o.name = "StopStreamProcessor"
|
1444
1767
|
o.http_method = "POST"
|