aws-sdk-rekognition 1.1.0 → 1.2.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 +1 -1
- data/lib/aws-sdk-rekognition/client.rb +1383 -19
- data/lib/aws-sdk-rekognition/client_api.rb +685 -0
- data/lib/aws-sdk-rekognition/types.rb +1969 -443
- metadata +2 -2
@@ -19,7 +19,12 @@ module Aws::Rekognition
|
|
19
19
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
20
20
|
BoundingBox = Shapes::StructureShape.new(name: 'BoundingBox')
|
21
21
|
Celebrity = Shapes::StructureShape.new(name: 'Celebrity')
|
22
|
+
CelebrityDetail = Shapes::StructureShape.new(name: 'CelebrityDetail')
|
22
23
|
CelebrityList = Shapes::ListShape.new(name: 'CelebrityList')
|
24
|
+
CelebrityRecognition = Shapes::StructureShape.new(name: 'CelebrityRecognition')
|
25
|
+
CelebrityRecognitionSortBy = Shapes::StringShape.new(name: 'CelebrityRecognitionSortBy')
|
26
|
+
CelebrityRecognitions = Shapes::ListShape.new(name: 'CelebrityRecognitions')
|
27
|
+
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
23
28
|
CollectionId = Shapes::StringShape.new(name: 'CollectionId')
|
24
29
|
CollectionIdList = Shapes::ListShape.new(name: 'CollectionIdList')
|
25
30
|
CompareFacesMatch = Shapes::StructureShape.new(name: 'CompareFacesMatch')
|
@@ -30,13 +35,23 @@ module Aws::Rekognition
|
|
30
35
|
ComparedFace = Shapes::StructureShape.new(name: 'ComparedFace')
|
31
36
|
ComparedFaceList = Shapes::ListShape.new(name: 'ComparedFaceList')
|
32
37
|
ComparedSourceImageFace = Shapes::StructureShape.new(name: 'ComparedSourceImageFace')
|
38
|
+
ContentModerationDetection = Shapes::StructureShape.new(name: 'ContentModerationDetection')
|
39
|
+
ContentModerationDetections = Shapes::ListShape.new(name: 'ContentModerationDetections')
|
40
|
+
ContentModerationSortBy = Shapes::StringShape.new(name: 'ContentModerationSortBy')
|
33
41
|
CreateCollectionRequest = Shapes::StructureShape.new(name: 'CreateCollectionRequest')
|
34
42
|
CreateCollectionResponse = Shapes::StructureShape.new(name: 'CreateCollectionResponse')
|
43
|
+
CreateStreamProcessorRequest = Shapes::StructureShape.new(name: 'CreateStreamProcessorRequest')
|
44
|
+
CreateStreamProcessorResponse = Shapes::StructureShape.new(name: 'CreateStreamProcessorResponse')
|
45
|
+
DateTime = Shapes::TimestampShape.new(name: 'DateTime')
|
35
46
|
Degree = Shapes::FloatShape.new(name: 'Degree')
|
36
47
|
DeleteCollectionRequest = Shapes::StructureShape.new(name: 'DeleteCollectionRequest')
|
37
48
|
DeleteCollectionResponse = Shapes::StructureShape.new(name: 'DeleteCollectionResponse')
|
38
49
|
DeleteFacesRequest = Shapes::StructureShape.new(name: 'DeleteFacesRequest')
|
39
50
|
DeleteFacesResponse = Shapes::StructureShape.new(name: 'DeleteFacesResponse')
|
51
|
+
DeleteStreamProcessorRequest = Shapes::StructureShape.new(name: 'DeleteStreamProcessorRequest')
|
52
|
+
DeleteStreamProcessorResponse = Shapes::StructureShape.new(name: 'DeleteStreamProcessorResponse')
|
53
|
+
DescribeStreamProcessorRequest = Shapes::StructureShape.new(name: 'DescribeStreamProcessorRequest')
|
54
|
+
DescribeStreamProcessorResponse = Shapes::StructureShape.new(name: 'DescribeStreamProcessorResponse')
|
40
55
|
DetectFacesRequest = Shapes::StructureShape.new(name: 'DetectFacesRequest')
|
41
56
|
DetectFacesResponse = Shapes::StructureShape.new(name: 'DetectFacesResponse')
|
42
57
|
DetectLabelsRequest = Shapes::StructureShape.new(name: 'DetectLabelsRequest')
|
@@ -52,8 +67,11 @@ module Aws::Rekognition
|
|
52
67
|
EyeOpen = Shapes::StructureShape.new(name: 'EyeOpen')
|
53
68
|
Eyeglasses = Shapes::StructureShape.new(name: 'Eyeglasses')
|
54
69
|
Face = Shapes::StructureShape.new(name: 'Face')
|
70
|
+
FaceAttributes = Shapes::StringShape.new(name: 'FaceAttributes')
|
55
71
|
FaceDetail = Shapes::StructureShape.new(name: 'FaceDetail')
|
56
72
|
FaceDetailList = Shapes::ListShape.new(name: 'FaceDetailList')
|
73
|
+
FaceDetection = Shapes::StructureShape.new(name: 'FaceDetection')
|
74
|
+
FaceDetections = Shapes::ListShape.new(name: 'FaceDetections')
|
57
75
|
FaceId = Shapes::StringShape.new(name: 'FaceId')
|
58
76
|
FaceIdList = Shapes::ListShape.new(name: 'FaceIdList')
|
59
77
|
FaceList = Shapes::ListShape.new(name: 'FaceList')
|
@@ -62,12 +80,27 @@ module Aws::Rekognition
|
|
62
80
|
FaceModelVersionList = Shapes::ListShape.new(name: 'FaceModelVersionList')
|
63
81
|
FaceRecord = Shapes::StructureShape.new(name: 'FaceRecord')
|
64
82
|
FaceRecordList = Shapes::ListShape.new(name: 'FaceRecordList')
|
83
|
+
FaceSearchSettings = Shapes::StructureShape.new(name: 'FaceSearchSettings')
|
84
|
+
FaceSearchSortBy = Shapes::StringShape.new(name: 'FaceSearchSortBy')
|
65
85
|
Float = Shapes::FloatShape.new(name: 'Float')
|
66
86
|
Gender = Shapes::StructureShape.new(name: 'Gender')
|
67
87
|
GenderType = Shapes::StringShape.new(name: 'GenderType')
|
68
88
|
Geometry = Shapes::StructureShape.new(name: 'Geometry')
|
69
89
|
GetCelebrityInfoRequest = Shapes::StructureShape.new(name: 'GetCelebrityInfoRequest')
|
70
90
|
GetCelebrityInfoResponse = Shapes::StructureShape.new(name: 'GetCelebrityInfoResponse')
|
91
|
+
GetCelebrityRecognitionRequest = Shapes::StructureShape.new(name: 'GetCelebrityRecognitionRequest')
|
92
|
+
GetCelebrityRecognitionResponse = Shapes::StructureShape.new(name: 'GetCelebrityRecognitionResponse')
|
93
|
+
GetContentModerationRequest = Shapes::StructureShape.new(name: 'GetContentModerationRequest')
|
94
|
+
GetContentModerationResponse = Shapes::StructureShape.new(name: 'GetContentModerationResponse')
|
95
|
+
GetFaceDetectionRequest = Shapes::StructureShape.new(name: 'GetFaceDetectionRequest')
|
96
|
+
GetFaceDetectionResponse = Shapes::StructureShape.new(name: 'GetFaceDetectionResponse')
|
97
|
+
GetFaceSearchRequest = Shapes::StructureShape.new(name: 'GetFaceSearchRequest')
|
98
|
+
GetFaceSearchResponse = Shapes::StructureShape.new(name: 'GetFaceSearchResponse')
|
99
|
+
GetLabelDetectionRequest = Shapes::StructureShape.new(name: 'GetLabelDetectionRequest')
|
100
|
+
GetLabelDetectionResponse = Shapes::StructureShape.new(name: 'GetLabelDetectionResponse')
|
101
|
+
GetPersonTrackingRequest = Shapes::StructureShape.new(name: 'GetPersonTrackingRequest')
|
102
|
+
GetPersonTrackingResponse = Shapes::StructureShape.new(name: 'GetPersonTrackingResponse')
|
103
|
+
IdempotentParameterMismatchException = Shapes::StructureShape.new(name: 'IdempotentParameterMismatchException')
|
71
104
|
Image = Shapes::StructureShape.new(name: 'Image')
|
72
105
|
ImageBlob = Shapes::BlobShape.new(name: 'ImageBlob')
|
73
106
|
ImageId = Shapes::StringShape.new(name: 'ImageId')
|
@@ -80,24 +113,45 @@ module Aws::Rekognition
|
|
80
113
|
InvalidPaginationTokenException = Shapes::StructureShape.new(name: 'InvalidPaginationTokenException')
|
81
114
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
82
115
|
InvalidS3ObjectException = Shapes::StructureShape.new(name: 'InvalidS3ObjectException')
|
116
|
+
JobId = Shapes::StringShape.new(name: 'JobId')
|
117
|
+
JobTag = Shapes::StringShape.new(name: 'JobTag')
|
118
|
+
KinesisDataArn = Shapes::StringShape.new(name: 'KinesisDataArn')
|
119
|
+
KinesisDataStream = Shapes::StructureShape.new(name: 'KinesisDataStream')
|
120
|
+
KinesisVideoArn = Shapes::StringShape.new(name: 'KinesisVideoArn')
|
121
|
+
KinesisVideoStream = Shapes::StructureShape.new(name: 'KinesisVideoStream')
|
83
122
|
Label = Shapes::StructureShape.new(name: 'Label')
|
123
|
+
LabelDetection = Shapes::StructureShape.new(name: 'LabelDetection')
|
124
|
+
LabelDetectionSortBy = Shapes::StringShape.new(name: 'LabelDetectionSortBy')
|
125
|
+
LabelDetections = Shapes::ListShape.new(name: 'LabelDetections')
|
84
126
|
Labels = Shapes::ListShape.new(name: 'Labels')
|
85
127
|
Landmark = Shapes::StructureShape.new(name: 'Landmark')
|
86
128
|
LandmarkType = Shapes::StringShape.new(name: 'LandmarkType')
|
87
129
|
Landmarks = Shapes::ListShape.new(name: 'Landmarks')
|
130
|
+
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
88
131
|
ListCollectionsRequest = Shapes::StructureShape.new(name: 'ListCollectionsRequest')
|
89
132
|
ListCollectionsResponse = Shapes::StructureShape.new(name: 'ListCollectionsResponse')
|
90
133
|
ListFacesRequest = Shapes::StructureShape.new(name: 'ListFacesRequest')
|
91
134
|
ListFacesResponse = Shapes::StructureShape.new(name: 'ListFacesResponse')
|
135
|
+
ListStreamProcessorsRequest = Shapes::StructureShape.new(name: 'ListStreamProcessorsRequest')
|
136
|
+
ListStreamProcessorsResponse = Shapes::StructureShape.new(name: 'ListStreamProcessorsResponse')
|
92
137
|
MaxFaces = Shapes::IntegerShape.new(name: 'MaxFaces')
|
138
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
93
139
|
ModerationLabel = Shapes::StructureShape.new(name: 'ModerationLabel')
|
94
140
|
ModerationLabels = Shapes::ListShape.new(name: 'ModerationLabels')
|
95
141
|
MouthOpen = Shapes::StructureShape.new(name: 'MouthOpen')
|
96
142
|
Mustache = Shapes::StructureShape.new(name: 'Mustache')
|
143
|
+
NotificationChannel = Shapes::StructureShape.new(name: 'NotificationChannel')
|
97
144
|
OrientationCorrection = Shapes::StringShape.new(name: 'OrientationCorrection')
|
98
145
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
99
146
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
100
147
|
Percent = Shapes::FloatShape.new(name: 'Percent')
|
148
|
+
PersonDetail = Shapes::StructureShape.new(name: 'PersonDetail')
|
149
|
+
PersonDetection = Shapes::StructureShape.new(name: 'PersonDetection')
|
150
|
+
PersonDetections = Shapes::ListShape.new(name: 'PersonDetections')
|
151
|
+
PersonIndex = Shapes::IntegerShape.new(name: 'PersonIndex')
|
152
|
+
PersonMatch = Shapes::StructureShape.new(name: 'PersonMatch')
|
153
|
+
PersonMatches = Shapes::ListShape.new(name: 'PersonMatches')
|
154
|
+
PersonTrackingSortBy = Shapes::StringShape.new(name: 'PersonTrackingSortBy')
|
101
155
|
Point = Shapes::StructureShape.new(name: 'Point')
|
102
156
|
Polygon = Shapes::ListShape.new(name: 'Polygon')
|
103
157
|
Pose = Shapes::StructureShape.new(name: 'Pose')
|
@@ -106,25 +160,59 @@ module Aws::Rekognition
|
|
106
160
|
RecognizeCelebritiesResponse = Shapes::StructureShape.new(name: 'RecognizeCelebritiesResponse')
|
107
161
|
RekognitionUniqueId = Shapes::StringShape.new(name: 'RekognitionUniqueId')
|
108
162
|
ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
|
163
|
+
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
109
164
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
165
|
+
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
110
166
|
S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
|
111
167
|
S3Object = Shapes::StructureShape.new(name: 'S3Object')
|
112
168
|
S3ObjectName = Shapes::StringShape.new(name: 'S3ObjectName')
|
113
169
|
S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
|
170
|
+
SNSTopicArn = Shapes::StringShape.new(name: 'SNSTopicArn')
|
114
171
|
SearchFacesByImageRequest = Shapes::StructureShape.new(name: 'SearchFacesByImageRequest')
|
115
172
|
SearchFacesByImageResponse = Shapes::StructureShape.new(name: 'SearchFacesByImageResponse')
|
116
173
|
SearchFacesRequest = Shapes::StructureShape.new(name: 'SearchFacesRequest')
|
117
174
|
SearchFacesResponse = Shapes::StructureShape.new(name: 'SearchFacesResponse')
|
118
175
|
Smile = Shapes::StructureShape.new(name: 'Smile')
|
176
|
+
StartCelebrityRecognitionRequest = Shapes::StructureShape.new(name: 'StartCelebrityRecognitionRequest')
|
177
|
+
StartCelebrityRecognitionResponse = Shapes::StructureShape.new(name: 'StartCelebrityRecognitionResponse')
|
178
|
+
StartContentModerationRequest = Shapes::StructureShape.new(name: 'StartContentModerationRequest')
|
179
|
+
StartContentModerationResponse = Shapes::StructureShape.new(name: 'StartContentModerationResponse')
|
180
|
+
StartFaceDetectionRequest = Shapes::StructureShape.new(name: 'StartFaceDetectionRequest')
|
181
|
+
StartFaceDetectionResponse = Shapes::StructureShape.new(name: 'StartFaceDetectionResponse')
|
182
|
+
StartFaceSearchRequest = Shapes::StructureShape.new(name: 'StartFaceSearchRequest')
|
183
|
+
StartFaceSearchResponse = Shapes::StructureShape.new(name: 'StartFaceSearchResponse')
|
184
|
+
StartLabelDetectionRequest = Shapes::StructureShape.new(name: 'StartLabelDetectionRequest')
|
185
|
+
StartLabelDetectionResponse = Shapes::StructureShape.new(name: 'StartLabelDetectionResponse')
|
186
|
+
StartPersonTrackingRequest = Shapes::StructureShape.new(name: 'StartPersonTrackingRequest')
|
187
|
+
StartPersonTrackingResponse = Shapes::StructureShape.new(name: 'StartPersonTrackingResponse')
|
188
|
+
StartStreamProcessorRequest = Shapes::StructureShape.new(name: 'StartStreamProcessorRequest')
|
189
|
+
StartStreamProcessorResponse = Shapes::StructureShape.new(name: 'StartStreamProcessorResponse')
|
190
|
+
StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
|
191
|
+
StopStreamProcessorRequest = Shapes::StructureShape.new(name: 'StopStreamProcessorRequest')
|
192
|
+
StopStreamProcessorResponse = Shapes::StructureShape.new(name: 'StopStreamProcessorResponse')
|
193
|
+
StreamProcessor = Shapes::StructureShape.new(name: 'StreamProcessor')
|
194
|
+
StreamProcessorArn = Shapes::StringShape.new(name: 'StreamProcessorArn')
|
195
|
+
StreamProcessorInput = Shapes::StructureShape.new(name: 'StreamProcessorInput')
|
196
|
+
StreamProcessorList = Shapes::ListShape.new(name: 'StreamProcessorList')
|
197
|
+
StreamProcessorName = Shapes::StringShape.new(name: 'StreamProcessorName')
|
198
|
+
StreamProcessorOutput = Shapes::StructureShape.new(name: 'StreamProcessorOutput')
|
199
|
+
StreamProcessorSettings = Shapes::StructureShape.new(name: 'StreamProcessorSettings')
|
200
|
+
StreamProcessorStatus = Shapes::StringShape.new(name: 'StreamProcessorStatus')
|
119
201
|
String = Shapes::StringShape.new(name: 'String')
|
120
202
|
Sunglasses = Shapes::StructureShape.new(name: 'Sunglasses')
|
121
203
|
TextDetection = Shapes::StructureShape.new(name: 'TextDetection')
|
122
204
|
TextDetectionList = Shapes::ListShape.new(name: 'TextDetectionList')
|
123
205
|
TextTypes = Shapes::StringShape.new(name: 'TextTypes')
|
124
206
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
207
|
+
Timestamp = Shapes::IntegerShape.new(name: 'Timestamp')
|
125
208
|
UInteger = Shapes::IntegerShape.new(name: 'UInteger')
|
209
|
+
ULong = Shapes::IntegerShape.new(name: 'ULong')
|
126
210
|
Url = Shapes::StringShape.new(name: 'Url')
|
127
211
|
Urls = Shapes::ListShape.new(name: 'Urls')
|
212
|
+
Video = Shapes::StructureShape.new(name: 'Video')
|
213
|
+
VideoJobStatus = Shapes::StringShape.new(name: 'VideoJobStatus')
|
214
|
+
VideoMetadata = Shapes::StructureShape.new(name: 'VideoMetadata')
|
215
|
+
VideoTooLargeException = Shapes::StructureShape.new(name: 'VideoTooLargeException')
|
128
216
|
|
129
217
|
AgeRange.add_member(:low, Shapes::ShapeRef.new(shape: UInteger, location_name: "Low"))
|
130
218
|
AgeRange.add_member(:high, Shapes::ShapeRef.new(shape: UInteger, location_name: "High"))
|
@@ -149,8 +237,22 @@ module Aws::Rekognition
|
|
149
237
|
Celebrity.add_member(:match_confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "MatchConfidence"))
|
150
238
|
Celebrity.struct_class = Types::Celebrity
|
151
239
|
|
240
|
+
CelebrityDetail.add_member(:urls, Shapes::ShapeRef.new(shape: Urls, location_name: "Urls"))
|
241
|
+
CelebrityDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
242
|
+
CelebrityDetail.add_member(:id, Shapes::ShapeRef.new(shape: RekognitionUniqueId, location_name: "Id"))
|
243
|
+
CelebrityDetail.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
244
|
+
CelebrityDetail.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
|
245
|
+
CelebrityDetail.add_member(:face, Shapes::ShapeRef.new(shape: FaceDetail, location_name: "Face"))
|
246
|
+
CelebrityDetail.struct_class = Types::CelebrityDetail
|
247
|
+
|
152
248
|
CelebrityList.member = Shapes::ShapeRef.new(shape: Celebrity)
|
153
249
|
|
250
|
+
CelebrityRecognition.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
251
|
+
CelebrityRecognition.add_member(:celebrity, Shapes::ShapeRef.new(shape: CelebrityDetail, location_name: "Celebrity"))
|
252
|
+
CelebrityRecognition.struct_class = Types::CelebrityRecognition
|
253
|
+
|
254
|
+
CelebrityRecognitions.member = Shapes::ShapeRef.new(shape: CelebrityRecognition)
|
255
|
+
|
154
256
|
CollectionIdList.member = Shapes::ShapeRef.new(shape: CollectionId)
|
155
257
|
|
156
258
|
CompareFacesMatch.add_member(:similarity, Shapes::ShapeRef.new(shape: Percent, location_name: "Similarity"))
|
@@ -186,6 +288,12 @@ module Aws::Rekognition
|
|
186
288
|
ComparedSourceImageFace.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
187
289
|
ComparedSourceImageFace.struct_class = Types::ComparedSourceImageFace
|
188
290
|
|
291
|
+
ContentModerationDetection.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
292
|
+
ContentModerationDetection.add_member(:moderation_label, Shapes::ShapeRef.new(shape: ModerationLabel, location_name: "ModerationLabel"))
|
293
|
+
ContentModerationDetection.struct_class = Types::ContentModerationDetection
|
294
|
+
|
295
|
+
ContentModerationDetections.member = Shapes::ShapeRef.new(shape: ContentModerationDetection)
|
296
|
+
|
189
297
|
CreateCollectionRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
|
190
298
|
CreateCollectionRequest.struct_class = Types::CreateCollectionRequest
|
191
299
|
|
@@ -194,6 +302,16 @@ module Aws::Rekognition
|
|
194
302
|
CreateCollectionResponse.add_member(:face_model_version, Shapes::ShapeRef.new(shape: String, location_name: "FaceModelVersion"))
|
195
303
|
CreateCollectionResponse.struct_class = Types::CreateCollectionResponse
|
196
304
|
|
305
|
+
CreateStreamProcessorRequest.add_member(:input, Shapes::ShapeRef.new(shape: StreamProcessorInput, required: true, location_name: "Input"))
|
306
|
+
CreateStreamProcessorRequest.add_member(:output, Shapes::ShapeRef.new(shape: StreamProcessorOutput, required: true, location_name: "Output"))
|
307
|
+
CreateStreamProcessorRequest.add_member(:name, Shapes::ShapeRef.new(shape: StreamProcessorName, required: true, location_name: "Name"))
|
308
|
+
CreateStreamProcessorRequest.add_member(:settings, Shapes::ShapeRef.new(shape: StreamProcessorSettings, required: true, location_name: "Settings"))
|
309
|
+
CreateStreamProcessorRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
|
310
|
+
CreateStreamProcessorRequest.struct_class = Types::CreateStreamProcessorRequest
|
311
|
+
|
312
|
+
CreateStreamProcessorResponse.add_member(:stream_processor_arn, Shapes::ShapeRef.new(shape: StreamProcessorArn, location_name: "StreamProcessorArn"))
|
313
|
+
CreateStreamProcessorResponse.struct_class = Types::CreateStreamProcessorResponse
|
314
|
+
|
197
315
|
DeleteCollectionRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
|
198
316
|
DeleteCollectionRequest.struct_class = Types::DeleteCollectionRequest
|
199
317
|
|
@@ -207,6 +325,26 @@ module Aws::Rekognition
|
|
207
325
|
DeleteFacesResponse.add_member(:deleted_faces, Shapes::ShapeRef.new(shape: FaceIdList, location_name: "DeletedFaces"))
|
208
326
|
DeleteFacesResponse.struct_class = Types::DeleteFacesResponse
|
209
327
|
|
328
|
+
DeleteStreamProcessorRequest.add_member(:name, Shapes::ShapeRef.new(shape: StreamProcessorName, required: true, location_name: "Name"))
|
329
|
+
DeleteStreamProcessorRequest.struct_class = Types::DeleteStreamProcessorRequest
|
330
|
+
|
331
|
+
DeleteStreamProcessorResponse.struct_class = Types::DeleteStreamProcessorResponse
|
332
|
+
|
333
|
+
DescribeStreamProcessorRequest.add_member(:name, Shapes::ShapeRef.new(shape: StreamProcessorName, required: true, location_name: "Name"))
|
334
|
+
DescribeStreamProcessorRequest.struct_class = Types::DescribeStreamProcessorRequest
|
335
|
+
|
336
|
+
DescribeStreamProcessorResponse.add_member(:name, Shapes::ShapeRef.new(shape: StreamProcessorName, location_name: "Name"))
|
337
|
+
DescribeStreamProcessorResponse.add_member(:stream_processor_arn, Shapes::ShapeRef.new(shape: StreamProcessorArn, location_name: "StreamProcessorArn"))
|
338
|
+
DescribeStreamProcessorResponse.add_member(:status, Shapes::ShapeRef.new(shape: StreamProcessorStatus, location_name: "Status"))
|
339
|
+
DescribeStreamProcessorResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
|
340
|
+
DescribeStreamProcessorResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTimestamp"))
|
341
|
+
DescribeStreamProcessorResponse.add_member(:last_update_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastUpdateTimestamp"))
|
342
|
+
DescribeStreamProcessorResponse.add_member(:input, Shapes::ShapeRef.new(shape: StreamProcessorInput, location_name: "Input"))
|
343
|
+
DescribeStreamProcessorResponse.add_member(:output, Shapes::ShapeRef.new(shape: StreamProcessorOutput, location_name: "Output"))
|
344
|
+
DescribeStreamProcessorResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
345
|
+
DescribeStreamProcessorResponse.add_member(:settings, Shapes::ShapeRef.new(shape: StreamProcessorSettings, location_name: "Settings"))
|
346
|
+
DescribeStreamProcessorResponse.struct_class = Types::DescribeStreamProcessorResponse
|
347
|
+
|
210
348
|
DetectFacesRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
|
211
349
|
DetectFacesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
|
212
350
|
DetectFacesRequest.struct_class = Types::DetectFacesRequest
|
@@ -277,6 +415,12 @@ module Aws::Rekognition
|
|
277
415
|
|
278
416
|
FaceDetailList.member = Shapes::ShapeRef.new(shape: FaceDetail)
|
279
417
|
|
418
|
+
FaceDetection.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
419
|
+
FaceDetection.add_member(:face, Shapes::ShapeRef.new(shape: FaceDetail, location_name: "Face"))
|
420
|
+
FaceDetection.struct_class = Types::FaceDetection
|
421
|
+
|
422
|
+
FaceDetections.member = Shapes::ShapeRef.new(shape: FaceDetection)
|
423
|
+
|
280
424
|
FaceIdList.member = Shapes::ShapeRef.new(shape: FaceId)
|
281
425
|
|
282
426
|
FaceList.member = Shapes::ShapeRef.new(shape: Face)
|
@@ -295,6 +439,10 @@ module Aws::Rekognition
|
|
295
439
|
|
296
440
|
FaceRecordList.member = Shapes::ShapeRef.new(shape: FaceRecord)
|
297
441
|
|
442
|
+
FaceSearchSettings.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, location_name: "CollectionId"))
|
443
|
+
FaceSearchSettings.add_member(:face_match_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "FaceMatchThreshold"))
|
444
|
+
FaceSearchSettings.struct_class = Types::FaceSearchSettings
|
445
|
+
|
298
446
|
Gender.add_member(:value, Shapes::ShapeRef.new(shape: GenderType, location_name: "Value"))
|
299
447
|
Gender.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
300
448
|
Gender.struct_class = Types::Gender
|
@@ -310,6 +458,83 @@ module Aws::Rekognition
|
|
310
458
|
GetCelebrityInfoResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
311
459
|
GetCelebrityInfoResponse.struct_class = Types::GetCelebrityInfoResponse
|
312
460
|
|
461
|
+
GetCelebrityRecognitionRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
462
|
+
GetCelebrityRecognitionRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
463
|
+
GetCelebrityRecognitionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
464
|
+
GetCelebrityRecognitionRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: CelebrityRecognitionSortBy, location_name: "SortBy"))
|
465
|
+
GetCelebrityRecognitionRequest.struct_class = Types::GetCelebrityRecognitionRequest
|
466
|
+
|
467
|
+
GetCelebrityRecognitionResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: VideoJobStatus, location_name: "JobStatus"))
|
468
|
+
GetCelebrityRecognitionResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
|
469
|
+
GetCelebrityRecognitionResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
470
|
+
GetCelebrityRecognitionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
471
|
+
GetCelebrityRecognitionResponse.add_member(:celebrities, Shapes::ShapeRef.new(shape: CelebrityRecognitions, location_name: "Celebrities"))
|
472
|
+
GetCelebrityRecognitionResponse.struct_class = Types::GetCelebrityRecognitionResponse
|
473
|
+
|
474
|
+
GetContentModerationRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
475
|
+
GetContentModerationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
476
|
+
GetContentModerationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
477
|
+
GetContentModerationRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: ContentModerationSortBy, location_name: "SortBy"))
|
478
|
+
GetContentModerationRequest.struct_class = Types::GetContentModerationRequest
|
479
|
+
|
480
|
+
GetContentModerationResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: VideoJobStatus, location_name: "JobStatus"))
|
481
|
+
GetContentModerationResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
|
482
|
+
GetContentModerationResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
483
|
+
GetContentModerationResponse.add_member(:moderation_labels, Shapes::ShapeRef.new(shape: ContentModerationDetections, location_name: "ModerationLabels"))
|
484
|
+
GetContentModerationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
485
|
+
GetContentModerationResponse.struct_class = Types::GetContentModerationResponse
|
486
|
+
|
487
|
+
GetFaceDetectionRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
488
|
+
GetFaceDetectionRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
489
|
+
GetFaceDetectionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
490
|
+
GetFaceDetectionRequest.struct_class = Types::GetFaceDetectionRequest
|
491
|
+
|
492
|
+
GetFaceDetectionResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: VideoJobStatus, location_name: "JobStatus"))
|
493
|
+
GetFaceDetectionResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
|
494
|
+
GetFaceDetectionResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
495
|
+
GetFaceDetectionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
496
|
+
GetFaceDetectionResponse.add_member(:faces, Shapes::ShapeRef.new(shape: FaceDetections, location_name: "Faces"))
|
497
|
+
GetFaceDetectionResponse.struct_class = Types::GetFaceDetectionResponse
|
498
|
+
|
499
|
+
GetFaceSearchRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
500
|
+
GetFaceSearchRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
501
|
+
GetFaceSearchRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
502
|
+
GetFaceSearchRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: FaceSearchSortBy, location_name: "SortBy"))
|
503
|
+
GetFaceSearchRequest.struct_class = Types::GetFaceSearchRequest
|
504
|
+
|
505
|
+
GetFaceSearchResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: VideoJobStatus, location_name: "JobStatus"))
|
506
|
+
GetFaceSearchResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
|
507
|
+
GetFaceSearchResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
508
|
+
GetFaceSearchResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
509
|
+
GetFaceSearchResponse.add_member(:persons, Shapes::ShapeRef.new(shape: PersonMatches, location_name: "Persons"))
|
510
|
+
GetFaceSearchResponse.struct_class = Types::GetFaceSearchResponse
|
511
|
+
|
512
|
+
GetLabelDetectionRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
513
|
+
GetLabelDetectionRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
514
|
+
GetLabelDetectionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
515
|
+
GetLabelDetectionRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: LabelDetectionSortBy, location_name: "SortBy"))
|
516
|
+
GetLabelDetectionRequest.struct_class = Types::GetLabelDetectionRequest
|
517
|
+
|
518
|
+
GetLabelDetectionResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: VideoJobStatus, location_name: "JobStatus"))
|
519
|
+
GetLabelDetectionResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
|
520
|
+
GetLabelDetectionResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
521
|
+
GetLabelDetectionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
522
|
+
GetLabelDetectionResponse.add_member(:labels, Shapes::ShapeRef.new(shape: LabelDetections, location_name: "Labels"))
|
523
|
+
GetLabelDetectionResponse.struct_class = Types::GetLabelDetectionResponse
|
524
|
+
|
525
|
+
GetPersonTrackingRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
526
|
+
GetPersonTrackingRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
527
|
+
GetPersonTrackingRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
528
|
+
GetPersonTrackingRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: PersonTrackingSortBy, location_name: "SortBy"))
|
529
|
+
GetPersonTrackingRequest.struct_class = Types::GetPersonTrackingRequest
|
530
|
+
|
531
|
+
GetPersonTrackingResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: VideoJobStatus, location_name: "JobStatus"))
|
532
|
+
GetPersonTrackingResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
|
533
|
+
GetPersonTrackingResponse.add_member(:video_metadata, Shapes::ShapeRef.new(shape: VideoMetadata, location_name: "VideoMetadata"))
|
534
|
+
GetPersonTrackingResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
535
|
+
GetPersonTrackingResponse.add_member(:persons, Shapes::ShapeRef.new(shape: PersonDetections, location_name: "Persons"))
|
536
|
+
GetPersonTrackingResponse.struct_class = Types::GetPersonTrackingResponse
|
537
|
+
|
313
538
|
Image.add_member(:bytes, Shapes::ShapeRef.new(shape: ImageBlob, location_name: "Bytes"))
|
314
539
|
Image.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "S3Object"))
|
315
540
|
Image.struct_class = Types::Image
|
@@ -329,10 +554,22 @@ module Aws::Rekognition
|
|
329
554
|
IndexFacesResponse.add_member(:face_model_version, Shapes::ShapeRef.new(shape: String, location_name: "FaceModelVersion"))
|
330
555
|
IndexFacesResponse.struct_class = Types::IndexFacesResponse
|
331
556
|
|
557
|
+
KinesisDataStream.add_member(:arn, Shapes::ShapeRef.new(shape: KinesisDataArn, location_name: "Arn"))
|
558
|
+
KinesisDataStream.struct_class = Types::KinesisDataStream
|
559
|
+
|
560
|
+
KinesisVideoStream.add_member(:arn, Shapes::ShapeRef.new(shape: KinesisVideoArn, location_name: "Arn"))
|
561
|
+
KinesisVideoStream.struct_class = Types::KinesisVideoStream
|
562
|
+
|
332
563
|
Label.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
333
564
|
Label.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
334
565
|
Label.struct_class = Types::Label
|
335
566
|
|
567
|
+
LabelDetection.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
568
|
+
LabelDetection.add_member(:label, Shapes::ShapeRef.new(shape: Label, location_name: "Label"))
|
569
|
+
LabelDetection.struct_class = Types::LabelDetection
|
570
|
+
|
571
|
+
LabelDetections.member = Shapes::ShapeRef.new(shape: LabelDetection)
|
572
|
+
|
336
573
|
Labels.member = Shapes::ShapeRef.new(shape: Label)
|
337
574
|
|
338
575
|
Landmark.add_member(:type, Shapes::ShapeRef.new(shape: LandmarkType, location_name: "Type"))
|
@@ -361,6 +598,14 @@ module Aws::Rekognition
|
|
361
598
|
ListFacesResponse.add_member(:face_model_version, Shapes::ShapeRef.new(shape: String, location_name: "FaceModelVersion"))
|
362
599
|
ListFacesResponse.struct_class = Types::ListFacesResponse
|
363
600
|
|
601
|
+
ListStreamProcessorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
602
|
+
ListStreamProcessorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
603
|
+
ListStreamProcessorsRequest.struct_class = Types::ListStreamProcessorsRequest
|
604
|
+
|
605
|
+
ListStreamProcessorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
606
|
+
ListStreamProcessorsResponse.add_member(:stream_processors, Shapes::ShapeRef.new(shape: StreamProcessorList, location_name: "StreamProcessors"))
|
607
|
+
ListStreamProcessorsResponse.struct_class = Types::ListStreamProcessorsResponse
|
608
|
+
|
364
609
|
ModerationLabel.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
365
610
|
ModerationLabel.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
366
611
|
ModerationLabel.add_member(:parent_name, Shapes::ShapeRef.new(shape: String, location_name: "ParentName"))
|
@@ -376,6 +621,28 @@ module Aws::Rekognition
|
|
376
621
|
Mustache.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
377
622
|
Mustache.struct_class = Types::Mustache
|
378
623
|
|
624
|
+
NotificationChannel.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SNSTopicArn, required: true, location_name: "SNSTopicArn"))
|
625
|
+
NotificationChannel.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
|
626
|
+
NotificationChannel.struct_class = Types::NotificationChannel
|
627
|
+
|
628
|
+
PersonDetail.add_member(:index, Shapes::ShapeRef.new(shape: PersonIndex, location_name: "Index"))
|
629
|
+
PersonDetail.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
|
630
|
+
PersonDetail.add_member(:face, Shapes::ShapeRef.new(shape: FaceDetail, location_name: "Face"))
|
631
|
+
PersonDetail.struct_class = Types::PersonDetail
|
632
|
+
|
633
|
+
PersonDetection.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
634
|
+
PersonDetection.add_member(:person, Shapes::ShapeRef.new(shape: PersonDetail, location_name: "Person"))
|
635
|
+
PersonDetection.struct_class = Types::PersonDetection
|
636
|
+
|
637
|
+
PersonDetections.member = Shapes::ShapeRef.new(shape: PersonDetection)
|
638
|
+
|
639
|
+
PersonMatch.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
640
|
+
PersonMatch.add_member(:person, Shapes::ShapeRef.new(shape: PersonDetail, location_name: "Person"))
|
641
|
+
PersonMatch.add_member(:face_matches, Shapes::ShapeRef.new(shape: FaceMatchList, location_name: "FaceMatches"))
|
642
|
+
PersonMatch.struct_class = Types::PersonMatch
|
643
|
+
|
644
|
+
PersonMatches.member = Shapes::ShapeRef.new(shape: PersonMatch)
|
645
|
+
|
379
646
|
Point.add_member(:x, Shapes::ShapeRef.new(shape: Float, location_name: "X"))
|
380
647
|
Point.add_member(:y, Shapes::ShapeRef.new(shape: Float, location_name: "Y"))
|
381
648
|
Point.struct_class = Types::Point
|
@@ -427,6 +694,90 @@ module Aws::Rekognition
|
|
427
694
|
Smile.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
428
695
|
Smile.struct_class = Types::Smile
|
429
696
|
|
697
|
+
StartCelebrityRecognitionRequest.add_member(:video, Shapes::ShapeRef.new(shape: Video, required: true, location_name: "Video"))
|
698
|
+
StartCelebrityRecognitionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
699
|
+
StartCelebrityRecognitionRequest.add_member(:notification_channel, Shapes::ShapeRef.new(shape: NotificationChannel, location_name: "NotificationChannel"))
|
700
|
+
StartCelebrityRecognitionRequest.add_member(:job_tag, Shapes::ShapeRef.new(shape: JobTag, location_name: "JobTag"))
|
701
|
+
StartCelebrityRecognitionRequest.struct_class = Types::StartCelebrityRecognitionRequest
|
702
|
+
|
703
|
+
StartCelebrityRecognitionResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
704
|
+
StartCelebrityRecognitionResponse.struct_class = Types::StartCelebrityRecognitionResponse
|
705
|
+
|
706
|
+
StartContentModerationRequest.add_member(:video, Shapes::ShapeRef.new(shape: Video, required: true, location_name: "Video"))
|
707
|
+
StartContentModerationRequest.add_member(:min_confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "MinConfidence"))
|
708
|
+
StartContentModerationRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
709
|
+
StartContentModerationRequest.add_member(:notification_channel, Shapes::ShapeRef.new(shape: NotificationChannel, location_name: "NotificationChannel"))
|
710
|
+
StartContentModerationRequest.add_member(:job_tag, Shapes::ShapeRef.new(shape: JobTag, location_name: "JobTag"))
|
711
|
+
StartContentModerationRequest.struct_class = Types::StartContentModerationRequest
|
712
|
+
|
713
|
+
StartContentModerationResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
714
|
+
StartContentModerationResponse.struct_class = Types::StartContentModerationResponse
|
715
|
+
|
716
|
+
StartFaceDetectionRequest.add_member(:video, Shapes::ShapeRef.new(shape: Video, required: true, location_name: "Video"))
|
717
|
+
StartFaceDetectionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
718
|
+
StartFaceDetectionRequest.add_member(:notification_channel, Shapes::ShapeRef.new(shape: NotificationChannel, location_name: "NotificationChannel"))
|
719
|
+
StartFaceDetectionRequest.add_member(:face_attributes, Shapes::ShapeRef.new(shape: FaceAttributes, location_name: "FaceAttributes"))
|
720
|
+
StartFaceDetectionRequest.add_member(:job_tag, Shapes::ShapeRef.new(shape: JobTag, location_name: "JobTag"))
|
721
|
+
StartFaceDetectionRequest.struct_class = Types::StartFaceDetectionRequest
|
722
|
+
|
723
|
+
StartFaceDetectionResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
724
|
+
StartFaceDetectionResponse.struct_class = Types::StartFaceDetectionResponse
|
725
|
+
|
726
|
+
StartFaceSearchRequest.add_member(:video, Shapes::ShapeRef.new(shape: Video, required: true, location_name: "Video"))
|
727
|
+
StartFaceSearchRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
728
|
+
StartFaceSearchRequest.add_member(:face_match_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "FaceMatchThreshold"))
|
729
|
+
StartFaceSearchRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
|
730
|
+
StartFaceSearchRequest.add_member(:notification_channel, Shapes::ShapeRef.new(shape: NotificationChannel, location_name: "NotificationChannel"))
|
731
|
+
StartFaceSearchRequest.add_member(:job_tag, Shapes::ShapeRef.new(shape: JobTag, location_name: "JobTag"))
|
732
|
+
StartFaceSearchRequest.struct_class = Types::StartFaceSearchRequest
|
733
|
+
|
734
|
+
StartFaceSearchResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
735
|
+
StartFaceSearchResponse.struct_class = Types::StartFaceSearchResponse
|
736
|
+
|
737
|
+
StartLabelDetectionRequest.add_member(:video, Shapes::ShapeRef.new(shape: Video, required: true, location_name: "Video"))
|
738
|
+
StartLabelDetectionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
739
|
+
StartLabelDetectionRequest.add_member(:min_confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "MinConfidence"))
|
740
|
+
StartLabelDetectionRequest.add_member(:notification_channel, Shapes::ShapeRef.new(shape: NotificationChannel, location_name: "NotificationChannel"))
|
741
|
+
StartLabelDetectionRequest.add_member(:job_tag, Shapes::ShapeRef.new(shape: JobTag, location_name: "JobTag"))
|
742
|
+
StartLabelDetectionRequest.struct_class = Types::StartLabelDetectionRequest
|
743
|
+
|
744
|
+
StartLabelDetectionResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
745
|
+
StartLabelDetectionResponse.struct_class = Types::StartLabelDetectionResponse
|
746
|
+
|
747
|
+
StartPersonTrackingRequest.add_member(:video, Shapes::ShapeRef.new(shape: Video, required: true, location_name: "Video"))
|
748
|
+
StartPersonTrackingRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
749
|
+
StartPersonTrackingRequest.add_member(:notification_channel, Shapes::ShapeRef.new(shape: NotificationChannel, location_name: "NotificationChannel"))
|
750
|
+
StartPersonTrackingRequest.add_member(:job_tag, Shapes::ShapeRef.new(shape: JobTag, location_name: "JobTag"))
|
751
|
+
StartPersonTrackingRequest.struct_class = Types::StartPersonTrackingRequest
|
752
|
+
|
753
|
+
StartPersonTrackingResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
754
|
+
StartPersonTrackingResponse.struct_class = Types::StartPersonTrackingResponse
|
755
|
+
|
756
|
+
StartStreamProcessorRequest.add_member(:name, Shapes::ShapeRef.new(shape: StreamProcessorName, required: true, location_name: "Name"))
|
757
|
+
StartStreamProcessorRequest.struct_class = Types::StartStreamProcessorRequest
|
758
|
+
|
759
|
+
StartStreamProcessorResponse.struct_class = Types::StartStreamProcessorResponse
|
760
|
+
|
761
|
+
StopStreamProcessorRequest.add_member(:name, Shapes::ShapeRef.new(shape: StreamProcessorName, required: true, location_name: "Name"))
|
762
|
+
StopStreamProcessorRequest.struct_class = Types::StopStreamProcessorRequest
|
763
|
+
|
764
|
+
StopStreamProcessorResponse.struct_class = Types::StopStreamProcessorResponse
|
765
|
+
|
766
|
+
StreamProcessor.add_member(:name, Shapes::ShapeRef.new(shape: StreamProcessorName, location_name: "Name"))
|
767
|
+
StreamProcessor.add_member(:status, Shapes::ShapeRef.new(shape: StreamProcessorStatus, location_name: "Status"))
|
768
|
+
StreamProcessor.struct_class = Types::StreamProcessor
|
769
|
+
|
770
|
+
StreamProcessorInput.add_member(:kinesis_video_stream, Shapes::ShapeRef.new(shape: KinesisVideoStream, location_name: "KinesisVideoStream"))
|
771
|
+
StreamProcessorInput.struct_class = Types::StreamProcessorInput
|
772
|
+
|
773
|
+
StreamProcessorList.member = Shapes::ShapeRef.new(shape: StreamProcessor)
|
774
|
+
|
775
|
+
StreamProcessorOutput.add_member(:kinesis_data_stream, Shapes::ShapeRef.new(shape: KinesisDataStream, location_name: "KinesisDataStream"))
|
776
|
+
StreamProcessorOutput.struct_class = Types::StreamProcessorOutput
|
777
|
+
|
778
|
+
StreamProcessorSettings.add_member(:face_search, Shapes::ShapeRef.new(shape: FaceSearchSettings, location_name: "FaceSearch"))
|
779
|
+
StreamProcessorSettings.struct_class = Types::StreamProcessorSettings
|
780
|
+
|
430
781
|
Sunglasses.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
|
431
782
|
Sunglasses.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
432
783
|
Sunglasses.struct_class = Types::Sunglasses
|
@@ -443,6 +794,17 @@ module Aws::Rekognition
|
|
443
794
|
|
444
795
|
Urls.member = Shapes::ShapeRef.new(shape: Url)
|
445
796
|
|
797
|
+
Video.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "S3Object"))
|
798
|
+
Video.struct_class = Types::Video
|
799
|
+
|
800
|
+
VideoMetadata.add_member(:codec, Shapes::ShapeRef.new(shape: String, location_name: "Codec"))
|
801
|
+
VideoMetadata.add_member(:duration_millis, Shapes::ShapeRef.new(shape: ULong, location_name: "DurationMillis"))
|
802
|
+
VideoMetadata.add_member(:format, Shapes::ShapeRef.new(shape: String, location_name: "Format"))
|
803
|
+
VideoMetadata.add_member(:frame_rate, Shapes::ShapeRef.new(shape: Float, location_name: "FrameRate"))
|
804
|
+
VideoMetadata.add_member(:frame_height, Shapes::ShapeRef.new(shape: ULong, location_name: "FrameHeight"))
|
805
|
+
VideoMetadata.add_member(:frame_width, Shapes::ShapeRef.new(shape: ULong, location_name: "FrameWidth"))
|
806
|
+
VideoMetadata.struct_class = Types::VideoMetadata
|
807
|
+
|
446
808
|
|
447
809
|
# @api private
|
448
810
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -488,6 +850,21 @@ module Aws::Rekognition
|
|
488
850
|
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
489
851
|
end)
|
490
852
|
|
853
|
+
api.add_operation(:create_stream_processor, Seahorse::Model::Operation.new.tap do |o|
|
854
|
+
o.name = "CreateStreamProcessor"
|
855
|
+
o.http_method = "POST"
|
856
|
+
o.http_request_uri = "/"
|
857
|
+
o.input = Shapes::ShapeRef.new(shape: CreateStreamProcessorRequest)
|
858
|
+
o.output = Shapes::ShapeRef.new(shape: CreateStreamProcessorResponse)
|
859
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
860
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
861
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
862
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
863
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
864
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
865
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
866
|
+
end)
|
867
|
+
|
491
868
|
api.add_operation(:delete_collection, Seahorse::Model::Operation.new.tap do |o|
|
492
869
|
o.name = "DeleteCollection"
|
493
870
|
o.http_method = "POST"
|
@@ -516,6 +893,35 @@ module Aws::Rekognition
|
|
516
893
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
517
894
|
end)
|
518
895
|
|
896
|
+
api.add_operation(:delete_stream_processor, Seahorse::Model::Operation.new.tap do |o|
|
897
|
+
o.name = "DeleteStreamProcessor"
|
898
|
+
o.http_method = "POST"
|
899
|
+
o.http_request_uri = "/"
|
900
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteStreamProcessorRequest)
|
901
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteStreamProcessorResponse)
|
902
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
903
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
904
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
905
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
906
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
907
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
908
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
909
|
+
end)
|
910
|
+
|
911
|
+
api.add_operation(:describe_stream_processor, Seahorse::Model::Operation.new.tap do |o|
|
912
|
+
o.name = "DescribeStreamProcessor"
|
913
|
+
o.http_method = "POST"
|
914
|
+
o.http_request_uri = "/"
|
915
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeStreamProcessorRequest)
|
916
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeStreamProcessorResponse)
|
917
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
918
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
919
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
920
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
921
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
922
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
923
|
+
end)
|
924
|
+
|
519
925
|
api.add_operation(:detect_faces, Seahorse::Model::Operation.new.tap do |o|
|
520
926
|
o.name = "DetectFaces"
|
521
927
|
o.http_method = "POST"
|
@@ -594,6 +1000,132 @@ module Aws::Rekognition
|
|
594
1000
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
595
1001
|
end)
|
596
1002
|
|
1003
|
+
api.add_operation(:get_celebrity_recognition, Seahorse::Model::Operation.new.tap do |o|
|
1004
|
+
o.name = "GetCelebrityRecognition"
|
1005
|
+
o.http_method = "POST"
|
1006
|
+
o.http_request_uri = "/"
|
1007
|
+
o.input = Shapes::ShapeRef.new(shape: GetCelebrityRecognitionRequest)
|
1008
|
+
o.output = Shapes::ShapeRef.new(shape: GetCelebrityRecognitionResponse)
|
1009
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1010
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1011
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1012
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
|
1013
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1014
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1015
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1016
|
+
o[:pager] = Aws::Pager.new(
|
1017
|
+
limit_key: "max_results",
|
1018
|
+
tokens: {
|
1019
|
+
"next_token" => "next_token"
|
1020
|
+
}
|
1021
|
+
)
|
1022
|
+
end)
|
1023
|
+
|
1024
|
+
api.add_operation(:get_content_moderation, Seahorse::Model::Operation.new.tap do |o|
|
1025
|
+
o.name = "GetContentModeration"
|
1026
|
+
o.http_method = "POST"
|
1027
|
+
o.http_request_uri = "/"
|
1028
|
+
o.input = Shapes::ShapeRef.new(shape: GetContentModerationRequest)
|
1029
|
+
o.output = Shapes::ShapeRef.new(shape: GetContentModerationResponse)
|
1030
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1031
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1032
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1033
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
|
1034
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1035
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1036
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1037
|
+
o[:pager] = Aws::Pager.new(
|
1038
|
+
limit_key: "max_results",
|
1039
|
+
tokens: {
|
1040
|
+
"next_token" => "next_token"
|
1041
|
+
}
|
1042
|
+
)
|
1043
|
+
end)
|
1044
|
+
|
1045
|
+
api.add_operation(:get_face_detection, Seahorse::Model::Operation.new.tap do |o|
|
1046
|
+
o.name = "GetFaceDetection"
|
1047
|
+
o.http_method = "POST"
|
1048
|
+
o.http_request_uri = "/"
|
1049
|
+
o.input = Shapes::ShapeRef.new(shape: GetFaceDetectionRequest)
|
1050
|
+
o.output = Shapes::ShapeRef.new(shape: GetFaceDetectionResponse)
|
1051
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1052
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1053
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1054
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
|
1055
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1056
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1057
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1058
|
+
o[:pager] = Aws::Pager.new(
|
1059
|
+
limit_key: "max_results",
|
1060
|
+
tokens: {
|
1061
|
+
"next_token" => "next_token"
|
1062
|
+
}
|
1063
|
+
)
|
1064
|
+
end)
|
1065
|
+
|
1066
|
+
api.add_operation(:get_face_search, Seahorse::Model::Operation.new.tap do |o|
|
1067
|
+
o.name = "GetFaceSearch"
|
1068
|
+
o.http_method = "POST"
|
1069
|
+
o.http_request_uri = "/"
|
1070
|
+
o.input = Shapes::ShapeRef.new(shape: GetFaceSearchRequest)
|
1071
|
+
o.output = Shapes::ShapeRef.new(shape: GetFaceSearchResponse)
|
1072
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1073
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1074
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1075
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
|
1076
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1077
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1078
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1079
|
+
o[:pager] = Aws::Pager.new(
|
1080
|
+
limit_key: "max_results",
|
1081
|
+
tokens: {
|
1082
|
+
"next_token" => "next_token"
|
1083
|
+
}
|
1084
|
+
)
|
1085
|
+
end)
|
1086
|
+
|
1087
|
+
api.add_operation(:get_label_detection, Seahorse::Model::Operation.new.tap do |o|
|
1088
|
+
o.name = "GetLabelDetection"
|
1089
|
+
o.http_method = "POST"
|
1090
|
+
o.http_request_uri = "/"
|
1091
|
+
o.input = Shapes::ShapeRef.new(shape: GetLabelDetectionRequest)
|
1092
|
+
o.output = Shapes::ShapeRef.new(shape: GetLabelDetectionResponse)
|
1093
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1094
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1095
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1096
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
|
1097
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1098
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1099
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1100
|
+
o[:pager] = Aws::Pager.new(
|
1101
|
+
limit_key: "max_results",
|
1102
|
+
tokens: {
|
1103
|
+
"next_token" => "next_token"
|
1104
|
+
}
|
1105
|
+
)
|
1106
|
+
end)
|
1107
|
+
|
1108
|
+
api.add_operation(:get_person_tracking, Seahorse::Model::Operation.new.tap do |o|
|
1109
|
+
o.name = "GetPersonTracking"
|
1110
|
+
o.http_method = "POST"
|
1111
|
+
o.http_request_uri = "/"
|
1112
|
+
o.input = Shapes::ShapeRef.new(shape: GetPersonTrackingRequest)
|
1113
|
+
o.output = Shapes::ShapeRef.new(shape: GetPersonTrackingResponse)
|
1114
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1115
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1116
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1117
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
|
1118
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1119
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1120
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1121
|
+
o[:pager] = Aws::Pager.new(
|
1122
|
+
limit_key: "max_results",
|
1123
|
+
tokens: {
|
1124
|
+
"next_token" => "next_token"
|
1125
|
+
}
|
1126
|
+
)
|
1127
|
+
end)
|
1128
|
+
|
597
1129
|
api.add_operation(:index_faces, Seahorse::Model::Operation.new.tap do |o|
|
598
1130
|
o.name = "IndexFaces"
|
599
1131
|
o.http_method = "POST"
|
@@ -653,6 +1185,26 @@ module Aws::Rekognition
|
|
653
1185
|
)
|
654
1186
|
end)
|
655
1187
|
|
1188
|
+
api.add_operation(:list_stream_processors, Seahorse::Model::Operation.new.tap do |o|
|
1189
|
+
o.name = "ListStreamProcessors"
|
1190
|
+
o.http_method = "POST"
|
1191
|
+
o.http_request_uri = "/"
|
1192
|
+
o.input = Shapes::ShapeRef.new(shape: ListStreamProcessorsRequest)
|
1193
|
+
o.output = Shapes::ShapeRef.new(shape: ListStreamProcessorsResponse)
|
1194
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1195
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1196
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1197
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1198
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
|
1199
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1200
|
+
o[:pager] = Aws::Pager.new(
|
1201
|
+
limit_key: "max_results",
|
1202
|
+
tokens: {
|
1203
|
+
"next_token" => "next_token"
|
1204
|
+
}
|
1205
|
+
)
|
1206
|
+
end)
|
1207
|
+
|
656
1208
|
api.add_operation(:recognize_celebrities, Seahorse::Model::Operation.new.tap do |o|
|
657
1209
|
o.name = "RecognizeCelebrities"
|
658
1210
|
o.http_method = "POST"
|
@@ -700,6 +1252,139 @@ module Aws::Rekognition
|
|
700
1252
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
701
1253
|
o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
|
702
1254
|
end)
|
1255
|
+
|
1256
|
+
api.add_operation(:start_celebrity_recognition, Seahorse::Model::Operation.new.tap do |o|
|
1257
|
+
o.name = "StartCelebrityRecognition"
|
1258
|
+
o.http_method = "POST"
|
1259
|
+
o.http_request_uri = "/"
|
1260
|
+
o.input = Shapes::ShapeRef.new(shape: StartCelebrityRecognitionRequest)
|
1261
|
+
o.output = Shapes::ShapeRef.new(shape: StartCelebrityRecognitionResponse)
|
1262
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1263
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
1264
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1265
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
|
1266
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1267
|
+
o.errors << Shapes::ShapeRef.new(shape: VideoTooLargeException)
|
1268
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1269
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1270
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1271
|
+
end)
|
1272
|
+
|
1273
|
+
api.add_operation(:start_content_moderation, Seahorse::Model::Operation.new.tap do |o|
|
1274
|
+
o.name = "StartContentModeration"
|
1275
|
+
o.http_method = "POST"
|
1276
|
+
o.http_request_uri = "/"
|
1277
|
+
o.input = Shapes::ShapeRef.new(shape: StartContentModerationRequest)
|
1278
|
+
o.output = Shapes::ShapeRef.new(shape: StartContentModerationResponse)
|
1279
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1280
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
1281
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1282
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
|
1283
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1284
|
+
o.errors << Shapes::ShapeRef.new(shape: VideoTooLargeException)
|
1285
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1286
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1287
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1288
|
+
end)
|
1289
|
+
|
1290
|
+
api.add_operation(:start_face_detection, Seahorse::Model::Operation.new.tap do |o|
|
1291
|
+
o.name = "StartFaceDetection"
|
1292
|
+
o.http_method = "POST"
|
1293
|
+
o.http_request_uri = "/"
|
1294
|
+
o.input = Shapes::ShapeRef.new(shape: StartFaceDetectionRequest)
|
1295
|
+
o.output = Shapes::ShapeRef.new(shape: StartFaceDetectionResponse)
|
1296
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1297
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
1298
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1299
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
|
1300
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1301
|
+
o.errors << Shapes::ShapeRef.new(shape: VideoTooLargeException)
|
1302
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1303
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1304
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1305
|
+
end)
|
1306
|
+
|
1307
|
+
api.add_operation(:start_face_search, Seahorse::Model::Operation.new.tap do |o|
|
1308
|
+
o.name = "StartFaceSearch"
|
1309
|
+
o.http_method = "POST"
|
1310
|
+
o.http_request_uri = "/"
|
1311
|
+
o.input = Shapes::ShapeRef.new(shape: StartFaceSearchRequest)
|
1312
|
+
o.output = Shapes::ShapeRef.new(shape: StartFaceSearchResponse)
|
1313
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1314
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
1315
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1316
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
|
1317
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1318
|
+
o.errors << Shapes::ShapeRef.new(shape: VideoTooLargeException)
|
1319
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1320
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1321
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1322
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1323
|
+
end)
|
1324
|
+
|
1325
|
+
api.add_operation(:start_label_detection, Seahorse::Model::Operation.new.tap do |o|
|
1326
|
+
o.name = "StartLabelDetection"
|
1327
|
+
o.http_method = "POST"
|
1328
|
+
o.http_request_uri = "/"
|
1329
|
+
o.input = Shapes::ShapeRef.new(shape: StartLabelDetectionRequest)
|
1330
|
+
o.output = Shapes::ShapeRef.new(shape: StartLabelDetectionResponse)
|
1331
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1332
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
1333
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1334
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
|
1335
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1336
|
+
o.errors << Shapes::ShapeRef.new(shape: VideoTooLargeException)
|
1337
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1338
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1339
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1340
|
+
end)
|
1341
|
+
|
1342
|
+
api.add_operation(:start_person_tracking, Seahorse::Model::Operation.new.tap do |o|
|
1343
|
+
o.name = "StartPersonTracking"
|
1344
|
+
o.http_method = "POST"
|
1345
|
+
o.http_request_uri = "/"
|
1346
|
+
o.input = Shapes::ShapeRef.new(shape: StartPersonTrackingRequest)
|
1347
|
+
o.output = Shapes::ShapeRef.new(shape: StartPersonTrackingResponse)
|
1348
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1349
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
1350
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1351
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
|
1352
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1353
|
+
o.errors << Shapes::ShapeRef.new(shape: VideoTooLargeException)
|
1354
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1355
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1356
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1357
|
+
end)
|
1358
|
+
|
1359
|
+
api.add_operation(:start_stream_processor, Seahorse::Model::Operation.new.tap do |o|
|
1360
|
+
o.name = "StartStreamProcessor"
|
1361
|
+
o.http_method = "POST"
|
1362
|
+
o.http_request_uri = "/"
|
1363
|
+
o.input = Shapes::ShapeRef.new(shape: StartStreamProcessorRequest)
|
1364
|
+
o.output = Shapes::ShapeRef.new(shape: StartStreamProcessorResponse)
|
1365
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1366
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1367
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1368
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1369
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1370
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1371
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1372
|
+
end)
|
1373
|
+
|
1374
|
+
api.add_operation(:stop_stream_processor, Seahorse::Model::Operation.new.tap do |o|
|
1375
|
+
o.name = "StopStreamProcessor"
|
1376
|
+
o.http_method = "POST"
|
1377
|
+
o.http_request_uri = "/"
|
1378
|
+
o.input = Shapes::ShapeRef.new(shape: StopStreamProcessorRequest)
|
1379
|
+
o.output = Shapes::ShapeRef.new(shape: StopStreamProcessorResponse)
|
1380
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1381
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1382
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1383
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1384
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1385
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1386
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
1387
|
+
end)
|
703
1388
|
end
|
704
1389
|
|
705
1390
|
end
|