aws-sdk-rekognition 1.92.0 → 1.94.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/types.rbs ADDED
@@ -0,0 +1,2136 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Rekognition
9
+ module Types
10
+
11
+ class AccessDeniedException < Aws::EmptyStructure
12
+ end
13
+
14
+ class AgeRange
15
+ attr_accessor low: ::Integer
16
+ attr_accessor high: ::Integer
17
+ SENSITIVE: []
18
+ end
19
+
20
+ class Asset
21
+ attr_accessor ground_truth_manifest: Types::GroundTruthManifest
22
+ SENSITIVE: []
23
+ end
24
+
25
+ class AssociateFacesRequest
26
+ attr_accessor collection_id: ::String
27
+ attr_accessor user_id: ::String
28
+ attr_accessor face_ids: ::Array[::String]
29
+ attr_accessor user_match_threshold: ::Float
30
+ attr_accessor client_request_token: ::String
31
+ SENSITIVE: []
32
+ end
33
+
34
+ class AssociateFacesResponse
35
+ attr_accessor associated_faces: ::Array[Types::AssociatedFace]
36
+ attr_accessor unsuccessful_face_associations: ::Array[Types::UnsuccessfulFaceAssociation]
37
+ attr_accessor user_status: ("ACTIVE" | "UPDATING" | "CREATING" | "CREATED")
38
+ SENSITIVE: []
39
+ end
40
+
41
+ class AssociatedFace
42
+ attr_accessor face_id: ::String
43
+ SENSITIVE: []
44
+ end
45
+
46
+ class AudioMetadata
47
+ attr_accessor codec: ::String
48
+ attr_accessor duration_millis: ::Integer
49
+ attr_accessor sample_rate: ::Integer
50
+ attr_accessor number_of_channels: ::Integer
51
+ SENSITIVE: []
52
+ end
53
+
54
+ class AuditImage
55
+ attr_accessor bytes: ::String
56
+ attr_accessor s3_object: Types::S3Object
57
+ attr_accessor bounding_box: Types::BoundingBox
58
+ SENSITIVE: [:bytes]
59
+ end
60
+
61
+ class Beard
62
+ attr_accessor value: bool
63
+ attr_accessor confidence: ::Float
64
+ SENSITIVE: []
65
+ end
66
+
67
+ class BlackFrame
68
+ attr_accessor max_pixel_threshold: ::Float
69
+ attr_accessor min_coverage_percentage: ::Float
70
+ SENSITIVE: []
71
+ end
72
+
73
+ class BoundingBox
74
+ attr_accessor width: ::Float
75
+ attr_accessor height: ::Float
76
+ attr_accessor left: ::Float
77
+ attr_accessor top: ::Float
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class Celebrity
82
+ attr_accessor urls: ::Array[::String]
83
+ attr_accessor name: ::String
84
+ attr_accessor id: ::String
85
+ attr_accessor face: Types::ComparedFace
86
+ attr_accessor match_confidence: ::Float
87
+ attr_accessor known_gender: Types::KnownGender
88
+ SENSITIVE: []
89
+ end
90
+
91
+ class CelebrityDetail
92
+ attr_accessor urls: ::Array[::String]
93
+ attr_accessor name: ::String
94
+ attr_accessor id: ::String
95
+ attr_accessor confidence: ::Float
96
+ attr_accessor bounding_box: Types::BoundingBox
97
+ attr_accessor face: Types::FaceDetail
98
+ attr_accessor known_gender: Types::KnownGender
99
+ SENSITIVE: []
100
+ end
101
+
102
+ class CelebrityRecognition
103
+ attr_accessor timestamp: ::Integer
104
+ attr_accessor celebrity: Types::CelebrityDetail
105
+ SENSITIVE: []
106
+ end
107
+
108
+ class CompareFacesMatch
109
+ attr_accessor similarity: ::Float
110
+ attr_accessor face: Types::ComparedFace
111
+ SENSITIVE: []
112
+ end
113
+
114
+ class CompareFacesRequest
115
+ attr_accessor source_image: Types::Image
116
+ attr_accessor target_image: Types::Image
117
+ attr_accessor similarity_threshold: ::Float
118
+ attr_accessor quality_filter: ("NONE" | "AUTO" | "LOW" | "MEDIUM" | "HIGH")
119
+ SENSITIVE: []
120
+ end
121
+
122
+ class CompareFacesResponse
123
+ attr_accessor source_image_face: Types::ComparedSourceImageFace
124
+ attr_accessor face_matches: ::Array[Types::CompareFacesMatch]
125
+ attr_accessor unmatched_faces: ::Array[Types::ComparedFace]
126
+ attr_accessor source_image_orientation_correction: ("ROTATE_0" | "ROTATE_90" | "ROTATE_180" | "ROTATE_270")
127
+ attr_accessor target_image_orientation_correction: ("ROTATE_0" | "ROTATE_90" | "ROTATE_180" | "ROTATE_270")
128
+ SENSITIVE: []
129
+ end
130
+
131
+ class ComparedFace
132
+ attr_accessor bounding_box: Types::BoundingBox
133
+ attr_accessor confidence: ::Float
134
+ attr_accessor landmarks: ::Array[Types::Landmark]
135
+ attr_accessor pose: Types::Pose
136
+ attr_accessor quality: Types::ImageQuality
137
+ attr_accessor emotions: ::Array[Types::Emotion]
138
+ attr_accessor smile: Types::Smile
139
+ SENSITIVE: []
140
+ end
141
+
142
+ class ComparedSourceImageFace
143
+ attr_accessor bounding_box: Types::BoundingBox
144
+ attr_accessor confidence: ::Float
145
+ SENSITIVE: []
146
+ end
147
+
148
+ class ConflictException < Aws::EmptyStructure
149
+ end
150
+
151
+ class ConnectedHomeSettings
152
+ attr_accessor labels: ::Array[::String]
153
+ attr_accessor min_confidence: ::Float
154
+ SENSITIVE: []
155
+ end
156
+
157
+ class ConnectedHomeSettingsForUpdate
158
+ attr_accessor labels: ::Array[::String]
159
+ attr_accessor min_confidence: ::Float
160
+ SENSITIVE: []
161
+ end
162
+
163
+ class ContentModerationDetection
164
+ attr_accessor timestamp: ::Integer
165
+ attr_accessor moderation_label: Types::ModerationLabel
166
+ attr_accessor start_timestamp_millis: ::Integer
167
+ attr_accessor end_timestamp_millis: ::Integer
168
+ attr_accessor duration_millis: ::Integer
169
+ attr_accessor content_types: ::Array[Types::ContentType]
170
+ SENSITIVE: []
171
+ end
172
+
173
+ class ContentType
174
+ attr_accessor confidence: ::Float
175
+ attr_accessor name: ::String
176
+ SENSITIVE: []
177
+ end
178
+
179
+ class CopyProjectVersionRequest
180
+ attr_accessor source_project_arn: ::String
181
+ attr_accessor source_project_version_arn: ::String
182
+ attr_accessor destination_project_arn: ::String
183
+ attr_accessor version_name: ::String
184
+ attr_accessor output_config: Types::OutputConfig
185
+ attr_accessor tags: ::Hash[::String, ::String]
186
+ attr_accessor kms_key_id: ::String
187
+ SENSITIVE: []
188
+ end
189
+
190
+ class CopyProjectVersionResponse
191
+ attr_accessor project_version_arn: ::String
192
+ SENSITIVE: []
193
+ end
194
+
195
+ class CoversBodyPart
196
+ attr_accessor confidence: ::Float
197
+ attr_accessor value: bool
198
+ SENSITIVE: []
199
+ end
200
+
201
+ class CreateCollectionRequest
202
+ attr_accessor collection_id: ::String
203
+ attr_accessor tags: ::Hash[::String, ::String]
204
+ SENSITIVE: []
205
+ end
206
+
207
+ class CreateCollectionResponse
208
+ attr_accessor status_code: ::Integer
209
+ attr_accessor collection_arn: ::String
210
+ attr_accessor face_model_version: ::String
211
+ SENSITIVE: []
212
+ end
213
+
214
+ class CreateDatasetRequest
215
+ attr_accessor dataset_source: Types::DatasetSource
216
+ attr_accessor dataset_type: ("TRAIN" | "TEST")
217
+ attr_accessor project_arn: ::String
218
+ SENSITIVE: []
219
+ end
220
+
221
+ class CreateDatasetResponse
222
+ attr_accessor dataset_arn: ::String
223
+ SENSITIVE: []
224
+ end
225
+
226
+ class CreateFaceLivenessSessionRequest
227
+ attr_accessor kms_key_id: ::String
228
+ attr_accessor settings: Types::CreateFaceLivenessSessionRequestSettings
229
+ attr_accessor client_request_token: ::String
230
+ SENSITIVE: []
231
+ end
232
+
233
+ class CreateFaceLivenessSessionRequestSettings
234
+ attr_accessor output_config: Types::LivenessOutputConfig
235
+ attr_accessor audit_images_limit: ::Integer
236
+ SENSITIVE: []
237
+ end
238
+
239
+ class CreateFaceLivenessSessionResponse
240
+ attr_accessor session_id: ::String
241
+ SENSITIVE: []
242
+ end
243
+
244
+ class CreateProjectRequest
245
+ attr_accessor project_name: ::String
246
+ attr_accessor feature: ("CONTENT_MODERATION" | "CUSTOM_LABELS")
247
+ attr_accessor auto_update: ("ENABLED" | "DISABLED")
248
+ SENSITIVE: []
249
+ end
250
+
251
+ class CreateProjectResponse
252
+ attr_accessor project_arn: ::String
253
+ SENSITIVE: []
254
+ end
255
+
256
+ class CreateProjectVersionRequest
257
+ attr_accessor project_arn: ::String
258
+ attr_accessor version_name: ::String
259
+ attr_accessor output_config: Types::OutputConfig
260
+ attr_accessor training_data: Types::TrainingData
261
+ attr_accessor testing_data: Types::TestingData
262
+ attr_accessor tags: ::Hash[::String, ::String]
263
+ attr_accessor kms_key_id: ::String
264
+ attr_accessor version_description: ::String
265
+ attr_accessor feature_config: Types::CustomizationFeatureConfig
266
+ SENSITIVE: []
267
+ end
268
+
269
+ class CreateProjectVersionResponse
270
+ attr_accessor project_version_arn: ::String
271
+ SENSITIVE: []
272
+ end
273
+
274
+ class CreateStreamProcessorRequest
275
+ attr_accessor input: Types::StreamProcessorInput
276
+ attr_accessor output: Types::StreamProcessorOutput
277
+ attr_accessor name: ::String
278
+ attr_accessor settings: Types::StreamProcessorSettings
279
+ attr_accessor role_arn: ::String
280
+ attr_accessor tags: ::Hash[::String, ::String]
281
+ attr_accessor notification_channel: Types::StreamProcessorNotificationChannel
282
+ attr_accessor kms_key_id: ::String
283
+ attr_accessor regions_of_interest: ::Array[Types::RegionOfInterest]
284
+ attr_accessor data_sharing_preference: Types::StreamProcessorDataSharingPreference
285
+ SENSITIVE: []
286
+ end
287
+
288
+ class CreateStreamProcessorResponse
289
+ attr_accessor stream_processor_arn: ::String
290
+ SENSITIVE: []
291
+ end
292
+
293
+ class CreateUserRequest
294
+ attr_accessor collection_id: ::String
295
+ attr_accessor user_id: ::String
296
+ attr_accessor client_request_token: ::String
297
+ SENSITIVE: []
298
+ end
299
+
300
+ class CreateUserResponse < Aws::EmptyStructure
301
+ end
302
+
303
+ class CustomLabel
304
+ attr_accessor name: ::String
305
+ attr_accessor confidence: ::Float
306
+ attr_accessor geometry: Types::Geometry
307
+ SENSITIVE: []
308
+ end
309
+
310
+ class CustomizationFeatureConfig
311
+ attr_accessor content_moderation: Types::CustomizationFeatureContentModerationConfig
312
+ SENSITIVE: []
313
+ end
314
+
315
+ class CustomizationFeatureContentModerationConfig
316
+ attr_accessor confidence_threshold: ::Float
317
+ SENSITIVE: []
318
+ end
319
+
320
+ class DatasetChanges
321
+ attr_accessor ground_truth: ::String
322
+ SENSITIVE: []
323
+ end
324
+
325
+ class DatasetDescription
326
+ attr_accessor creation_timestamp: ::Time
327
+ attr_accessor last_updated_timestamp: ::Time
328
+ attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "DELETE_IN_PROGRESS")
329
+ attr_accessor status_message: ::String
330
+ attr_accessor status_message_code: ("SUCCESS" | "SERVICE_ERROR" | "CLIENT_ERROR")
331
+ attr_accessor dataset_stats: Types::DatasetStats
332
+ SENSITIVE: []
333
+ end
334
+
335
+ class DatasetLabelDescription
336
+ attr_accessor label_name: ::String
337
+ attr_accessor label_stats: Types::DatasetLabelStats
338
+ SENSITIVE: []
339
+ end
340
+
341
+ class DatasetLabelStats
342
+ attr_accessor entry_count: ::Integer
343
+ attr_accessor bounding_box_count: ::Integer
344
+ SENSITIVE: []
345
+ end
346
+
347
+ class DatasetMetadata
348
+ attr_accessor creation_timestamp: ::Time
349
+ attr_accessor dataset_type: ("TRAIN" | "TEST")
350
+ attr_accessor dataset_arn: ::String
351
+ attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "DELETE_IN_PROGRESS")
352
+ attr_accessor status_message: ::String
353
+ attr_accessor status_message_code: ("SUCCESS" | "SERVICE_ERROR" | "CLIENT_ERROR")
354
+ SENSITIVE: []
355
+ end
356
+
357
+ class DatasetSource
358
+ attr_accessor ground_truth_manifest: Types::GroundTruthManifest
359
+ attr_accessor dataset_arn: ::String
360
+ SENSITIVE: []
361
+ end
362
+
363
+ class DatasetStats
364
+ attr_accessor labeled_entries: ::Integer
365
+ attr_accessor total_entries: ::Integer
366
+ attr_accessor total_labels: ::Integer
367
+ attr_accessor error_entries: ::Integer
368
+ SENSITIVE: []
369
+ end
370
+
371
+ class DeleteCollectionRequest
372
+ attr_accessor collection_id: ::String
373
+ SENSITIVE: []
374
+ end
375
+
376
+ class DeleteCollectionResponse
377
+ attr_accessor status_code: ::Integer
378
+ SENSITIVE: []
379
+ end
380
+
381
+ class DeleteDatasetRequest
382
+ attr_accessor dataset_arn: ::String
383
+ SENSITIVE: []
384
+ end
385
+
386
+ class DeleteDatasetResponse < Aws::EmptyStructure
387
+ end
388
+
389
+ class DeleteFacesRequest
390
+ attr_accessor collection_id: ::String
391
+ attr_accessor face_ids: ::Array[::String]
392
+ SENSITIVE: []
393
+ end
394
+
395
+ class DeleteFacesResponse
396
+ attr_accessor deleted_faces: ::Array[::String]
397
+ attr_accessor unsuccessful_face_deletions: ::Array[Types::UnsuccessfulFaceDeletion]
398
+ SENSITIVE: []
399
+ end
400
+
401
+ class DeleteProjectPolicyRequest
402
+ attr_accessor project_arn: ::String
403
+ attr_accessor policy_name: ::String
404
+ attr_accessor policy_revision_id: ::String
405
+ SENSITIVE: []
406
+ end
407
+
408
+ class DeleteProjectPolicyResponse < Aws::EmptyStructure
409
+ end
410
+
411
+ class DeleteProjectRequest
412
+ attr_accessor project_arn: ::String
413
+ SENSITIVE: []
414
+ end
415
+
416
+ class DeleteProjectResponse
417
+ attr_accessor status: ("CREATING" | "CREATED" | "DELETING")
418
+ SENSITIVE: []
419
+ end
420
+
421
+ class DeleteProjectVersionRequest
422
+ attr_accessor project_version_arn: ::String
423
+ SENSITIVE: []
424
+ end
425
+
426
+ class DeleteProjectVersionResponse
427
+ attr_accessor status: ("TRAINING_IN_PROGRESS" | "TRAINING_COMPLETED" | "TRAINING_FAILED" | "STARTING" | "RUNNING" | "FAILED" | "STOPPING" | "STOPPED" | "DELETING" | "COPYING_IN_PROGRESS" | "COPYING_COMPLETED" | "COPYING_FAILED" | "DEPRECATED" | "EXPIRED")
428
+ SENSITIVE: []
429
+ end
430
+
431
+ class DeleteStreamProcessorRequest
432
+ attr_accessor name: ::String
433
+ SENSITIVE: []
434
+ end
435
+
436
+ class DeleteStreamProcessorResponse < Aws::EmptyStructure
437
+ end
438
+
439
+ class DeleteUserRequest
440
+ attr_accessor collection_id: ::String
441
+ attr_accessor user_id: ::String
442
+ attr_accessor client_request_token: ::String
443
+ SENSITIVE: []
444
+ end
445
+
446
+ class DeleteUserResponse < Aws::EmptyStructure
447
+ end
448
+
449
+ class DescribeCollectionRequest
450
+ attr_accessor collection_id: ::String
451
+ SENSITIVE: []
452
+ end
453
+
454
+ class DescribeCollectionResponse
455
+ attr_accessor face_count: ::Integer
456
+ attr_accessor face_model_version: ::String
457
+ attr_accessor collection_arn: ::String
458
+ attr_accessor creation_timestamp: ::Time
459
+ attr_accessor user_count: ::Integer
460
+ SENSITIVE: []
461
+ end
462
+
463
+ class DescribeDatasetRequest
464
+ attr_accessor dataset_arn: ::String
465
+ SENSITIVE: []
466
+ end
467
+
468
+ class DescribeDatasetResponse
469
+ attr_accessor dataset_description: Types::DatasetDescription
470
+ SENSITIVE: []
471
+ end
472
+
473
+ class DescribeProjectVersionsRequest
474
+ attr_accessor project_arn: ::String
475
+ attr_accessor version_names: ::Array[::String]
476
+ attr_accessor next_token: ::String
477
+ attr_accessor max_results: ::Integer
478
+ SENSITIVE: []
479
+ end
480
+
481
+ class DescribeProjectVersionsResponse
482
+ attr_accessor project_version_descriptions: ::Array[Types::ProjectVersionDescription]
483
+ attr_accessor next_token: ::String
484
+ SENSITIVE: []
485
+ end
486
+
487
+ class DescribeProjectsRequest
488
+ attr_accessor next_token: ::String
489
+ attr_accessor max_results: ::Integer
490
+ attr_accessor project_names: ::Array[::String]
491
+ attr_accessor features: ::Array[("CONTENT_MODERATION" | "CUSTOM_LABELS")]
492
+ SENSITIVE: []
493
+ end
494
+
495
+ class DescribeProjectsResponse
496
+ attr_accessor project_descriptions: ::Array[Types::ProjectDescription]
497
+ attr_accessor next_token: ::String
498
+ SENSITIVE: []
499
+ end
500
+
501
+ class DescribeStreamProcessorRequest
502
+ attr_accessor name: ::String
503
+ SENSITIVE: []
504
+ end
505
+
506
+ class DescribeStreamProcessorResponse
507
+ attr_accessor name: ::String
508
+ attr_accessor stream_processor_arn: ::String
509
+ attr_accessor status: ("STOPPED" | "STARTING" | "RUNNING" | "FAILED" | "STOPPING" | "UPDATING")
510
+ attr_accessor status_message: ::String
511
+ attr_accessor creation_timestamp: ::Time
512
+ attr_accessor last_update_timestamp: ::Time
513
+ attr_accessor input: Types::StreamProcessorInput
514
+ attr_accessor output: Types::StreamProcessorOutput
515
+ attr_accessor role_arn: ::String
516
+ attr_accessor settings: Types::StreamProcessorSettings
517
+ attr_accessor notification_channel: Types::StreamProcessorNotificationChannel
518
+ attr_accessor kms_key_id: ::String
519
+ attr_accessor regions_of_interest: ::Array[Types::RegionOfInterest]
520
+ attr_accessor data_sharing_preference: Types::StreamProcessorDataSharingPreference
521
+ SENSITIVE: []
522
+ end
523
+
524
+ class DetectCustomLabelsRequest
525
+ attr_accessor project_version_arn: ::String
526
+ attr_accessor image: Types::Image
527
+ attr_accessor max_results: ::Integer
528
+ attr_accessor min_confidence: ::Float
529
+ SENSITIVE: []
530
+ end
531
+
532
+ class DetectCustomLabelsResponse
533
+ attr_accessor custom_labels: ::Array[Types::CustomLabel]
534
+ SENSITIVE: []
535
+ end
536
+
537
+ class DetectFacesRequest
538
+ attr_accessor image: Types::Image
539
+ attr_accessor attributes: ::Array[("DEFAULT" | "ALL" | "AGE_RANGE" | "BEARD" | "EMOTIONS" | "EYE_DIRECTION" | "EYEGLASSES" | "EYES_OPEN" | "GENDER" | "MOUTH_OPEN" | "MUSTACHE" | "FACE_OCCLUDED" | "SMILE" | "SUNGLASSES")]
540
+ SENSITIVE: []
541
+ end
542
+
543
+ class DetectFacesResponse
544
+ attr_accessor face_details: ::Array[Types::FaceDetail]
545
+ attr_accessor orientation_correction: ("ROTATE_0" | "ROTATE_90" | "ROTATE_180" | "ROTATE_270")
546
+ SENSITIVE: []
547
+ end
548
+
549
+ class DetectLabelsImageBackground
550
+ attr_accessor quality: Types::DetectLabelsImageQuality
551
+ attr_accessor dominant_colors: ::Array[Types::DominantColor]
552
+ SENSITIVE: []
553
+ end
554
+
555
+ class DetectLabelsImageForeground
556
+ attr_accessor quality: Types::DetectLabelsImageQuality
557
+ attr_accessor dominant_colors: ::Array[Types::DominantColor]
558
+ SENSITIVE: []
559
+ end
560
+
561
+ class DetectLabelsImageProperties
562
+ attr_accessor quality: Types::DetectLabelsImageQuality
563
+ attr_accessor dominant_colors: ::Array[Types::DominantColor]
564
+ attr_accessor foreground: Types::DetectLabelsImageForeground
565
+ attr_accessor background: Types::DetectLabelsImageBackground
566
+ SENSITIVE: []
567
+ end
568
+
569
+ class DetectLabelsImagePropertiesSettings
570
+ attr_accessor max_dominant_colors: ::Integer
571
+ SENSITIVE: []
572
+ end
573
+
574
+ class DetectLabelsImageQuality
575
+ attr_accessor brightness: ::Float
576
+ attr_accessor sharpness: ::Float
577
+ attr_accessor contrast: ::Float
578
+ SENSITIVE: []
579
+ end
580
+
581
+ class DetectLabelsRequest
582
+ attr_accessor image: Types::Image
583
+ attr_accessor max_labels: ::Integer
584
+ attr_accessor min_confidence: ::Float
585
+ attr_accessor features: ::Array[("GENERAL_LABELS" | "IMAGE_PROPERTIES")]
586
+ attr_accessor settings: Types::DetectLabelsSettings
587
+ SENSITIVE: []
588
+ end
589
+
590
+ class DetectLabelsResponse
591
+ attr_accessor labels: ::Array[Types::Label]
592
+ attr_accessor orientation_correction: ("ROTATE_0" | "ROTATE_90" | "ROTATE_180" | "ROTATE_270")
593
+ attr_accessor label_model_version: ::String
594
+ attr_accessor image_properties: Types::DetectLabelsImageProperties
595
+ SENSITIVE: []
596
+ end
597
+
598
+ class DetectLabelsSettings
599
+ attr_accessor general_labels: Types::GeneralLabelsSettings
600
+ attr_accessor image_properties: Types::DetectLabelsImagePropertiesSettings
601
+ SENSITIVE: []
602
+ end
603
+
604
+ class DetectModerationLabelsRequest
605
+ attr_accessor image: Types::Image
606
+ attr_accessor min_confidence: ::Float
607
+ attr_accessor human_loop_config: Types::HumanLoopConfig
608
+ attr_accessor project_version: ::String
609
+ SENSITIVE: []
610
+ end
611
+
612
+ class DetectModerationLabelsResponse
613
+ attr_accessor moderation_labels: ::Array[Types::ModerationLabel]
614
+ attr_accessor moderation_model_version: ::String
615
+ attr_accessor human_loop_activation_output: Types::HumanLoopActivationOutput
616
+ attr_accessor project_version: ::String
617
+ attr_accessor content_types: ::Array[Types::ContentType]
618
+ SENSITIVE: []
619
+ end
620
+
621
+ class DetectProtectiveEquipmentRequest
622
+ attr_accessor image: Types::Image
623
+ attr_accessor summarization_attributes: Types::ProtectiveEquipmentSummarizationAttributes
624
+ SENSITIVE: []
625
+ end
626
+
627
+ class DetectProtectiveEquipmentResponse
628
+ attr_accessor protective_equipment_model_version: ::String
629
+ attr_accessor persons: ::Array[Types::ProtectiveEquipmentPerson]
630
+ attr_accessor summary: Types::ProtectiveEquipmentSummary
631
+ SENSITIVE: []
632
+ end
633
+
634
+ class DetectTextFilters
635
+ attr_accessor word_filter: Types::DetectionFilter
636
+ attr_accessor regions_of_interest: ::Array[Types::RegionOfInterest]
637
+ SENSITIVE: []
638
+ end
639
+
640
+ class DetectTextRequest
641
+ attr_accessor image: Types::Image
642
+ attr_accessor filters: Types::DetectTextFilters
643
+ SENSITIVE: []
644
+ end
645
+
646
+ class DetectTextResponse
647
+ attr_accessor text_detections: ::Array[Types::TextDetection]
648
+ attr_accessor text_model_version: ::String
649
+ SENSITIVE: []
650
+ end
651
+
652
+ class DetectionFilter
653
+ attr_accessor min_confidence: ::Float
654
+ attr_accessor min_bounding_box_height: ::Float
655
+ attr_accessor min_bounding_box_width: ::Float
656
+ SENSITIVE: []
657
+ end
658
+
659
+ class DisassociateFacesRequest
660
+ attr_accessor collection_id: ::String
661
+ attr_accessor user_id: ::String
662
+ attr_accessor client_request_token: ::String
663
+ attr_accessor face_ids: ::Array[::String]
664
+ SENSITIVE: []
665
+ end
666
+
667
+ class DisassociateFacesResponse
668
+ attr_accessor disassociated_faces: ::Array[Types::DisassociatedFace]
669
+ attr_accessor unsuccessful_face_disassociations: ::Array[Types::UnsuccessfulFaceDisassociation]
670
+ attr_accessor user_status: ("ACTIVE" | "UPDATING" | "CREATING" | "CREATED")
671
+ SENSITIVE: []
672
+ end
673
+
674
+ class DisassociatedFace
675
+ attr_accessor face_id: ::String
676
+ SENSITIVE: []
677
+ end
678
+
679
+ class DistributeDataset
680
+ attr_accessor arn: ::String
681
+ SENSITIVE: []
682
+ end
683
+
684
+ class DistributeDatasetEntriesRequest
685
+ attr_accessor datasets: ::Array[Types::DistributeDataset]
686
+ SENSITIVE: []
687
+ end
688
+
689
+ class DistributeDatasetEntriesResponse < Aws::EmptyStructure
690
+ end
691
+
692
+ class DominantColor
693
+ attr_accessor red: ::Integer
694
+ attr_accessor blue: ::Integer
695
+ attr_accessor green: ::Integer
696
+ attr_accessor hex_code: ::String
697
+ attr_accessor css_color: ::String
698
+ attr_accessor simplified_color: ::String
699
+ attr_accessor pixel_percent: ::Float
700
+ SENSITIVE: []
701
+ end
702
+
703
+ class Emotion
704
+ attr_accessor type: ("HAPPY" | "SAD" | "ANGRY" | "CONFUSED" | "DISGUSTED" | "SURPRISED" | "CALM" | "UNKNOWN" | "FEAR")
705
+ attr_accessor confidence: ::Float
706
+ SENSITIVE: []
707
+ end
708
+
709
+ class EquipmentDetection
710
+ attr_accessor bounding_box: Types::BoundingBox
711
+ attr_accessor confidence: ::Float
712
+ attr_accessor type: ("FACE_COVER" | "HAND_COVER" | "HEAD_COVER")
713
+ attr_accessor covers_body_part: Types::CoversBodyPart
714
+ SENSITIVE: []
715
+ end
716
+
717
+ class EvaluationResult
718
+ attr_accessor f1_score: ::Float
719
+ attr_accessor summary: Types::Summary
720
+ SENSITIVE: []
721
+ end
722
+
723
+ class EyeDirection
724
+ attr_accessor yaw: ::Float
725
+ attr_accessor pitch: ::Float
726
+ attr_accessor confidence: ::Float
727
+ SENSITIVE: []
728
+ end
729
+
730
+ class EyeOpen
731
+ attr_accessor value: bool
732
+ attr_accessor confidence: ::Float
733
+ SENSITIVE: []
734
+ end
735
+
736
+ class Eyeglasses
737
+ attr_accessor value: bool
738
+ attr_accessor confidence: ::Float
739
+ SENSITIVE: []
740
+ end
741
+
742
+ class Face
743
+ attr_accessor face_id: ::String
744
+ attr_accessor bounding_box: Types::BoundingBox
745
+ attr_accessor image_id: ::String
746
+ attr_accessor external_image_id: ::String
747
+ attr_accessor confidence: ::Float
748
+ attr_accessor index_faces_model_version: ::String
749
+ attr_accessor user_id: ::String
750
+ SENSITIVE: []
751
+ end
752
+
753
+ class FaceDetail
754
+ attr_accessor bounding_box: Types::BoundingBox
755
+ attr_accessor age_range: Types::AgeRange
756
+ attr_accessor smile: Types::Smile
757
+ attr_accessor eyeglasses: Types::Eyeglasses
758
+ attr_accessor sunglasses: Types::Sunglasses
759
+ attr_accessor gender: Types::Gender
760
+ attr_accessor beard: Types::Beard
761
+ attr_accessor mustache: Types::Mustache
762
+ attr_accessor eyes_open: Types::EyeOpen
763
+ attr_accessor mouth_open: Types::MouthOpen
764
+ attr_accessor emotions: ::Array[Types::Emotion]
765
+ attr_accessor landmarks: ::Array[Types::Landmark]
766
+ attr_accessor pose: Types::Pose
767
+ attr_accessor quality: Types::ImageQuality
768
+ attr_accessor confidence: ::Float
769
+ attr_accessor face_occluded: Types::FaceOccluded
770
+ attr_accessor eye_direction: Types::EyeDirection
771
+ SENSITIVE: []
772
+ end
773
+
774
+ class FaceDetection
775
+ attr_accessor timestamp: ::Integer
776
+ attr_accessor face: Types::FaceDetail
777
+ SENSITIVE: []
778
+ end
779
+
780
+ class FaceMatch
781
+ attr_accessor similarity: ::Float
782
+ attr_accessor face: Types::Face
783
+ SENSITIVE: []
784
+ end
785
+
786
+ class FaceOccluded
787
+ attr_accessor value: bool
788
+ attr_accessor confidence: ::Float
789
+ SENSITIVE: []
790
+ end
791
+
792
+ class FaceRecord
793
+ attr_accessor face: Types::Face
794
+ attr_accessor face_detail: Types::FaceDetail
795
+ SENSITIVE: []
796
+ end
797
+
798
+ class FaceSearchSettings
799
+ attr_accessor collection_id: ::String
800
+ attr_accessor face_match_threshold: ::Float
801
+ SENSITIVE: []
802
+ end
803
+
804
+ class Gender
805
+ attr_accessor value: ("Male" | "Female")
806
+ attr_accessor confidence: ::Float
807
+ SENSITIVE: []
808
+ end
809
+
810
+ class GeneralLabelsSettings
811
+ attr_accessor label_inclusion_filters: ::Array[::String]
812
+ attr_accessor label_exclusion_filters: ::Array[::String]
813
+ attr_accessor label_category_inclusion_filters: ::Array[::String]
814
+ attr_accessor label_category_exclusion_filters: ::Array[::String]
815
+ SENSITIVE: []
816
+ end
817
+
818
+ class Geometry
819
+ attr_accessor bounding_box: Types::BoundingBox
820
+ attr_accessor polygon: ::Array[Types::Point]
821
+ SENSITIVE: []
822
+ end
823
+
824
+ class GetCelebrityInfoRequest
825
+ attr_accessor id: ::String
826
+ SENSITIVE: []
827
+ end
828
+
829
+ class GetCelebrityInfoResponse
830
+ attr_accessor urls: ::Array[::String]
831
+ attr_accessor name: ::String
832
+ attr_accessor known_gender: Types::KnownGender
833
+ SENSITIVE: []
834
+ end
835
+
836
+ class GetCelebrityRecognitionRequest
837
+ attr_accessor job_id: ::String
838
+ attr_accessor max_results: ::Integer
839
+ attr_accessor next_token: ::String
840
+ attr_accessor sort_by: ("ID" | "TIMESTAMP")
841
+ SENSITIVE: []
842
+ end
843
+
844
+ class GetCelebrityRecognitionResponse
845
+ attr_accessor job_status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED")
846
+ attr_accessor status_message: ::String
847
+ attr_accessor video_metadata: Types::VideoMetadata
848
+ attr_accessor next_token: ::String
849
+ attr_accessor celebrities: ::Array[Types::CelebrityRecognition]
850
+ attr_accessor job_id: ::String
851
+ attr_accessor video: Types::Video
852
+ attr_accessor job_tag: ::String
853
+ SENSITIVE: []
854
+ end
855
+
856
+ class GetContentModerationRequest
857
+ attr_accessor job_id: ::String
858
+ attr_accessor max_results: ::Integer
859
+ attr_accessor next_token: ::String
860
+ attr_accessor sort_by: ("NAME" | "TIMESTAMP")
861
+ attr_accessor aggregate_by: ("TIMESTAMPS" | "SEGMENTS")
862
+ SENSITIVE: []
863
+ end
864
+
865
+ class GetContentModerationRequestMetadata
866
+ attr_accessor sort_by: ("NAME" | "TIMESTAMP")
867
+ attr_accessor aggregate_by: ("TIMESTAMPS" | "SEGMENTS")
868
+ SENSITIVE: []
869
+ end
870
+
871
+ class GetContentModerationResponse
872
+ attr_accessor job_status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED")
873
+ attr_accessor status_message: ::String
874
+ attr_accessor video_metadata: Types::VideoMetadata
875
+ attr_accessor moderation_labels: ::Array[Types::ContentModerationDetection]
876
+ attr_accessor next_token: ::String
877
+ attr_accessor moderation_model_version: ::String
878
+ attr_accessor job_id: ::String
879
+ attr_accessor video: Types::Video
880
+ attr_accessor job_tag: ::String
881
+ attr_accessor get_request_metadata: Types::GetContentModerationRequestMetadata
882
+ SENSITIVE: []
883
+ end
884
+
885
+ class GetFaceDetectionRequest
886
+ attr_accessor job_id: ::String
887
+ attr_accessor max_results: ::Integer
888
+ attr_accessor next_token: ::String
889
+ SENSITIVE: []
890
+ end
891
+
892
+ class GetFaceDetectionResponse
893
+ attr_accessor job_status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED")
894
+ attr_accessor status_message: ::String
895
+ attr_accessor video_metadata: Types::VideoMetadata
896
+ attr_accessor next_token: ::String
897
+ attr_accessor faces: ::Array[Types::FaceDetection]
898
+ attr_accessor job_id: ::String
899
+ attr_accessor video: Types::Video
900
+ attr_accessor job_tag: ::String
901
+ SENSITIVE: []
902
+ end
903
+
904
+ class GetFaceLivenessSessionResultsRequest
905
+ attr_accessor session_id: ::String
906
+ SENSITIVE: []
907
+ end
908
+
909
+ class GetFaceLivenessSessionResultsResponse
910
+ attr_accessor session_id: ::String
911
+ attr_accessor status: ("CREATED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "EXPIRED")
912
+ attr_accessor confidence: ::Float
913
+ attr_accessor reference_image: Types::AuditImage
914
+ attr_accessor audit_images: ::Array[Types::AuditImage]
915
+ SENSITIVE: []
916
+ end
917
+
918
+ class GetFaceSearchRequest
919
+ attr_accessor job_id: ::String
920
+ attr_accessor max_results: ::Integer
921
+ attr_accessor next_token: ::String
922
+ attr_accessor sort_by: ("INDEX" | "TIMESTAMP")
923
+ SENSITIVE: []
924
+ end
925
+
926
+ class GetFaceSearchResponse
927
+ attr_accessor job_status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED")
928
+ attr_accessor status_message: ::String
929
+ attr_accessor next_token: ::String
930
+ attr_accessor video_metadata: Types::VideoMetadata
931
+ attr_accessor persons: ::Array[Types::PersonMatch]
932
+ attr_accessor job_id: ::String
933
+ attr_accessor video: Types::Video
934
+ attr_accessor job_tag: ::String
935
+ SENSITIVE: []
936
+ end
937
+
938
+ class GetLabelDetectionRequest
939
+ attr_accessor job_id: ::String
940
+ attr_accessor max_results: ::Integer
941
+ attr_accessor next_token: ::String
942
+ attr_accessor sort_by: ("NAME" | "TIMESTAMP")
943
+ attr_accessor aggregate_by: ("TIMESTAMPS" | "SEGMENTS")
944
+ SENSITIVE: []
945
+ end
946
+
947
+ class GetLabelDetectionRequestMetadata
948
+ attr_accessor sort_by: ("NAME" | "TIMESTAMP")
949
+ attr_accessor aggregate_by: ("TIMESTAMPS" | "SEGMENTS")
950
+ SENSITIVE: []
951
+ end
952
+
953
+ class GetLabelDetectionResponse
954
+ attr_accessor job_status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED")
955
+ attr_accessor status_message: ::String
956
+ attr_accessor video_metadata: Types::VideoMetadata
957
+ attr_accessor next_token: ::String
958
+ attr_accessor labels: ::Array[Types::LabelDetection]
959
+ attr_accessor label_model_version: ::String
960
+ attr_accessor job_id: ::String
961
+ attr_accessor video: Types::Video
962
+ attr_accessor job_tag: ::String
963
+ attr_accessor get_request_metadata: Types::GetLabelDetectionRequestMetadata
964
+ SENSITIVE: []
965
+ end
966
+
967
+ class GetMediaAnalysisJobRequest
968
+ attr_accessor job_id: ::String
969
+ SENSITIVE: []
970
+ end
971
+
972
+ class GetMediaAnalysisJobResponse
973
+ attr_accessor job_id: ::String
974
+ attr_accessor job_name: ::String
975
+ attr_accessor operations_config: Types::MediaAnalysisOperationsConfig
976
+ attr_accessor status: ("CREATED" | "QUEUED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED")
977
+ attr_accessor failure_details: Types::MediaAnalysisJobFailureDetails
978
+ attr_accessor creation_timestamp: ::Time
979
+ attr_accessor completion_timestamp: ::Time
980
+ attr_accessor input: Types::MediaAnalysisInput
981
+ attr_accessor output_config: Types::MediaAnalysisOutputConfig
982
+ attr_accessor kms_key_id: ::String
983
+ attr_accessor results: Types::MediaAnalysisResults
984
+ attr_accessor manifest_summary: Types::MediaAnalysisManifestSummary
985
+ SENSITIVE: []
986
+ end
987
+
988
+ class GetPersonTrackingRequest
989
+ attr_accessor job_id: ::String
990
+ attr_accessor max_results: ::Integer
991
+ attr_accessor next_token: ::String
992
+ attr_accessor sort_by: ("INDEX" | "TIMESTAMP")
993
+ SENSITIVE: []
994
+ end
995
+
996
+ class GetPersonTrackingResponse
997
+ attr_accessor job_status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED")
998
+ attr_accessor status_message: ::String
999
+ attr_accessor video_metadata: Types::VideoMetadata
1000
+ attr_accessor next_token: ::String
1001
+ attr_accessor persons: ::Array[Types::PersonDetection]
1002
+ attr_accessor job_id: ::String
1003
+ attr_accessor video: Types::Video
1004
+ attr_accessor job_tag: ::String
1005
+ SENSITIVE: []
1006
+ end
1007
+
1008
+ class GetSegmentDetectionRequest
1009
+ attr_accessor job_id: ::String
1010
+ attr_accessor max_results: ::Integer
1011
+ attr_accessor next_token: ::String
1012
+ SENSITIVE: []
1013
+ end
1014
+
1015
+ class GetSegmentDetectionResponse
1016
+ attr_accessor job_status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED")
1017
+ attr_accessor status_message: ::String
1018
+ attr_accessor video_metadata: ::Array[Types::VideoMetadata]
1019
+ attr_accessor audio_metadata: ::Array[Types::AudioMetadata]
1020
+ attr_accessor next_token: ::String
1021
+ attr_accessor segments: ::Array[Types::SegmentDetection]
1022
+ attr_accessor selected_segment_types: ::Array[Types::SegmentTypeInfo]
1023
+ attr_accessor job_id: ::String
1024
+ attr_accessor video: Types::Video
1025
+ attr_accessor job_tag: ::String
1026
+ SENSITIVE: []
1027
+ end
1028
+
1029
+ class GetTextDetectionRequest
1030
+ attr_accessor job_id: ::String
1031
+ attr_accessor max_results: ::Integer
1032
+ attr_accessor next_token: ::String
1033
+ SENSITIVE: []
1034
+ end
1035
+
1036
+ class GetTextDetectionResponse
1037
+ attr_accessor job_status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED")
1038
+ attr_accessor status_message: ::String
1039
+ attr_accessor video_metadata: Types::VideoMetadata
1040
+ attr_accessor text_detections: ::Array[Types::TextDetectionResult]
1041
+ attr_accessor next_token: ::String
1042
+ attr_accessor text_model_version: ::String
1043
+ attr_accessor job_id: ::String
1044
+ attr_accessor video: Types::Video
1045
+ attr_accessor job_tag: ::String
1046
+ SENSITIVE: []
1047
+ end
1048
+
1049
+ class GroundTruthManifest
1050
+ attr_accessor s3_object: Types::S3Object
1051
+ SENSITIVE: []
1052
+ end
1053
+
1054
+ class HumanLoopActivationOutput
1055
+ attr_accessor human_loop_arn: ::String
1056
+ attr_accessor human_loop_activation_reasons: ::Array[::String]
1057
+ attr_accessor human_loop_activation_conditions_evaluation_results: ::String
1058
+ SENSITIVE: []
1059
+ end
1060
+
1061
+ class HumanLoopConfig
1062
+ attr_accessor human_loop_name: ::String
1063
+ attr_accessor flow_definition_arn: ::String
1064
+ attr_accessor data_attributes: Types::HumanLoopDataAttributes
1065
+ SENSITIVE: []
1066
+ end
1067
+
1068
+ class HumanLoopDataAttributes
1069
+ attr_accessor content_classifiers: ::Array[("FreeOfPersonallyIdentifiableInformation" | "FreeOfAdultContent")]
1070
+ SENSITIVE: []
1071
+ end
1072
+
1073
+ class HumanLoopQuotaExceededException
1074
+ attr_accessor resource_type: ::String
1075
+ attr_accessor quota_code: ::String
1076
+ attr_accessor service_code: ::String
1077
+ SENSITIVE: []
1078
+ end
1079
+
1080
+ class IdempotentParameterMismatchException < Aws::EmptyStructure
1081
+ end
1082
+
1083
+ class Image
1084
+ attr_accessor bytes: ::String
1085
+ attr_accessor s3_object: Types::S3Object
1086
+ SENSITIVE: []
1087
+ end
1088
+
1089
+ class ImageQuality
1090
+ attr_accessor brightness: ::Float
1091
+ attr_accessor sharpness: ::Float
1092
+ SENSITIVE: []
1093
+ end
1094
+
1095
+ class ImageTooLargeException < Aws::EmptyStructure
1096
+ end
1097
+
1098
+ class IndexFacesRequest
1099
+ attr_accessor collection_id: ::String
1100
+ attr_accessor image: Types::Image
1101
+ attr_accessor external_image_id: ::String
1102
+ attr_accessor detection_attributes: ::Array[("DEFAULT" | "ALL" | "AGE_RANGE" | "BEARD" | "EMOTIONS" | "EYE_DIRECTION" | "EYEGLASSES" | "EYES_OPEN" | "GENDER" | "MOUTH_OPEN" | "MUSTACHE" | "FACE_OCCLUDED" | "SMILE" | "SUNGLASSES")]
1103
+ attr_accessor max_faces: ::Integer
1104
+ attr_accessor quality_filter: ("NONE" | "AUTO" | "LOW" | "MEDIUM" | "HIGH")
1105
+ SENSITIVE: []
1106
+ end
1107
+
1108
+ class IndexFacesResponse
1109
+ attr_accessor face_records: ::Array[Types::FaceRecord]
1110
+ attr_accessor orientation_correction: ("ROTATE_0" | "ROTATE_90" | "ROTATE_180" | "ROTATE_270")
1111
+ attr_accessor face_model_version: ::String
1112
+ attr_accessor unindexed_faces: ::Array[Types::UnindexedFace]
1113
+ SENSITIVE: []
1114
+ end
1115
+
1116
+ class Instance
1117
+ attr_accessor bounding_box: Types::BoundingBox
1118
+ attr_accessor confidence: ::Float
1119
+ attr_accessor dominant_colors: ::Array[Types::DominantColor]
1120
+ SENSITIVE: []
1121
+ end
1122
+
1123
+ class InternalServerError < Aws::EmptyStructure
1124
+ end
1125
+
1126
+ class InvalidImageFormatException < Aws::EmptyStructure
1127
+ end
1128
+
1129
+ class InvalidManifestException < Aws::EmptyStructure
1130
+ end
1131
+
1132
+ class InvalidPaginationTokenException < Aws::EmptyStructure
1133
+ end
1134
+
1135
+ class InvalidParameterException < Aws::EmptyStructure
1136
+ end
1137
+
1138
+ class InvalidPolicyRevisionIdException < Aws::EmptyStructure
1139
+ end
1140
+
1141
+ class InvalidS3ObjectException < Aws::EmptyStructure
1142
+ end
1143
+
1144
+ class KinesisDataStream
1145
+ attr_accessor arn: ::String
1146
+ SENSITIVE: []
1147
+ end
1148
+
1149
+ class KinesisVideoStream
1150
+ attr_accessor arn: ::String
1151
+ SENSITIVE: []
1152
+ end
1153
+
1154
+ class KinesisVideoStreamStartSelector
1155
+ attr_accessor producer_timestamp: ::Integer
1156
+ attr_accessor fragment_number: ::String
1157
+ SENSITIVE: []
1158
+ end
1159
+
1160
+ class KnownGender
1161
+ attr_accessor type: ("Male" | "Female" | "Nonbinary" | "Unlisted")
1162
+ SENSITIVE: []
1163
+ end
1164
+
1165
+ class Label
1166
+ attr_accessor name: ::String
1167
+ attr_accessor confidence: ::Float
1168
+ attr_accessor instances: ::Array[Types::Instance]
1169
+ attr_accessor parents: ::Array[Types::Parent]
1170
+ attr_accessor aliases: ::Array[Types::LabelAlias]
1171
+ attr_accessor categories: ::Array[Types::LabelCategory]
1172
+ SENSITIVE: []
1173
+ end
1174
+
1175
+ class LabelAlias
1176
+ attr_accessor name: ::String
1177
+ SENSITIVE: []
1178
+ end
1179
+
1180
+ class LabelCategory
1181
+ attr_accessor name: ::String
1182
+ SENSITIVE: []
1183
+ end
1184
+
1185
+ class LabelDetection
1186
+ attr_accessor timestamp: ::Integer
1187
+ attr_accessor label: Types::Label
1188
+ attr_accessor start_timestamp_millis: ::Integer
1189
+ attr_accessor end_timestamp_millis: ::Integer
1190
+ attr_accessor duration_millis: ::Integer
1191
+ SENSITIVE: []
1192
+ end
1193
+
1194
+ class LabelDetectionSettings
1195
+ attr_accessor general_labels: Types::GeneralLabelsSettings
1196
+ SENSITIVE: []
1197
+ end
1198
+
1199
+ class Landmark
1200
+ attr_accessor type: ("eyeLeft" | "eyeRight" | "nose" | "mouthLeft" | "mouthRight" | "leftEyeBrowLeft" | "leftEyeBrowRight" | "leftEyeBrowUp" | "rightEyeBrowLeft" | "rightEyeBrowRight" | "rightEyeBrowUp" | "leftEyeLeft" | "leftEyeRight" | "leftEyeUp" | "leftEyeDown" | "rightEyeLeft" | "rightEyeRight" | "rightEyeUp" | "rightEyeDown" | "noseLeft" | "noseRight" | "mouthUp" | "mouthDown" | "leftPupil" | "rightPupil" | "upperJawlineLeft" | "midJawlineLeft" | "chinBottom" | "midJawlineRight" | "upperJawlineRight")
1201
+ attr_accessor x: ::Float
1202
+ attr_accessor y: ::Float
1203
+ SENSITIVE: []
1204
+ end
1205
+
1206
+ class LimitExceededException < Aws::EmptyStructure
1207
+ end
1208
+
1209
+ class ListCollectionsRequest
1210
+ attr_accessor next_token: ::String
1211
+ attr_accessor max_results: ::Integer
1212
+ SENSITIVE: []
1213
+ end
1214
+
1215
+ class ListCollectionsResponse
1216
+ attr_accessor collection_ids: ::Array[::String]
1217
+ attr_accessor next_token: ::String
1218
+ attr_accessor face_model_versions: ::Array[::String]
1219
+ SENSITIVE: []
1220
+ end
1221
+
1222
+ class ListDatasetEntriesRequest
1223
+ attr_accessor dataset_arn: ::String
1224
+ attr_accessor contains_labels: ::Array[::String]
1225
+ attr_accessor labeled: bool
1226
+ attr_accessor source_ref_contains: ::String
1227
+ attr_accessor has_errors: bool
1228
+ attr_accessor next_token: ::String
1229
+ attr_accessor max_results: ::Integer
1230
+ SENSITIVE: []
1231
+ end
1232
+
1233
+ class ListDatasetEntriesResponse
1234
+ attr_accessor dataset_entries: ::Array[::String]
1235
+ attr_accessor next_token: ::String
1236
+ SENSITIVE: []
1237
+ end
1238
+
1239
+ class ListDatasetLabelsRequest
1240
+ attr_accessor dataset_arn: ::String
1241
+ attr_accessor next_token: ::String
1242
+ attr_accessor max_results: ::Integer
1243
+ SENSITIVE: []
1244
+ end
1245
+
1246
+ class ListDatasetLabelsResponse
1247
+ attr_accessor dataset_label_descriptions: ::Array[Types::DatasetLabelDescription]
1248
+ attr_accessor next_token: ::String
1249
+ SENSITIVE: []
1250
+ end
1251
+
1252
+ class ListFacesRequest
1253
+ attr_accessor collection_id: ::String
1254
+ attr_accessor next_token: ::String
1255
+ attr_accessor max_results: ::Integer
1256
+ attr_accessor user_id: ::String
1257
+ attr_accessor face_ids: ::Array[::String]
1258
+ SENSITIVE: []
1259
+ end
1260
+
1261
+ class ListFacesResponse
1262
+ attr_accessor faces: ::Array[Types::Face]
1263
+ attr_accessor next_token: ::String
1264
+ attr_accessor face_model_version: ::String
1265
+ SENSITIVE: []
1266
+ end
1267
+
1268
+ class ListMediaAnalysisJobsRequest
1269
+ attr_accessor next_token: ::String
1270
+ attr_accessor max_results: ::Integer
1271
+ SENSITIVE: []
1272
+ end
1273
+
1274
+ class ListMediaAnalysisJobsResponse
1275
+ attr_accessor next_token: ::String
1276
+ attr_accessor media_analysis_jobs: ::Array[Types::MediaAnalysisJobDescription]
1277
+ SENSITIVE: []
1278
+ end
1279
+
1280
+ class ListProjectPoliciesRequest
1281
+ attr_accessor project_arn: ::String
1282
+ attr_accessor next_token: ::String
1283
+ attr_accessor max_results: ::Integer
1284
+ SENSITIVE: []
1285
+ end
1286
+
1287
+ class ListProjectPoliciesResponse
1288
+ attr_accessor project_policies: ::Array[Types::ProjectPolicy]
1289
+ attr_accessor next_token: ::String
1290
+ SENSITIVE: []
1291
+ end
1292
+
1293
+ class ListStreamProcessorsRequest
1294
+ attr_accessor next_token: ::String
1295
+ attr_accessor max_results: ::Integer
1296
+ SENSITIVE: []
1297
+ end
1298
+
1299
+ class ListStreamProcessorsResponse
1300
+ attr_accessor next_token: ::String
1301
+ attr_accessor stream_processors: ::Array[Types::StreamProcessor]
1302
+ SENSITIVE: []
1303
+ end
1304
+
1305
+ class ListTagsForResourceRequest
1306
+ attr_accessor resource_arn: ::String
1307
+ SENSITIVE: []
1308
+ end
1309
+
1310
+ class ListTagsForResourceResponse
1311
+ attr_accessor tags: ::Hash[::String, ::String]
1312
+ SENSITIVE: []
1313
+ end
1314
+
1315
+ class ListUsersRequest
1316
+ attr_accessor collection_id: ::String
1317
+ attr_accessor max_results: ::Integer
1318
+ attr_accessor next_token: ::String
1319
+ SENSITIVE: []
1320
+ end
1321
+
1322
+ class ListUsersResponse
1323
+ attr_accessor users: ::Array[Types::User]
1324
+ attr_accessor next_token: ::String
1325
+ SENSITIVE: []
1326
+ end
1327
+
1328
+ class LivenessOutputConfig
1329
+ attr_accessor s3_bucket: ::String
1330
+ attr_accessor s3_key_prefix: ::String
1331
+ SENSITIVE: []
1332
+ end
1333
+
1334
+ class MalformedPolicyDocumentException < Aws::EmptyStructure
1335
+ end
1336
+
1337
+ class MatchedUser
1338
+ attr_accessor user_id: ::String
1339
+ attr_accessor user_status: ("ACTIVE" | "UPDATING" | "CREATING" | "CREATED")
1340
+ SENSITIVE: []
1341
+ end
1342
+
1343
+ class MediaAnalysisDetectModerationLabelsConfig
1344
+ attr_accessor min_confidence: ::Float
1345
+ attr_accessor project_version: ::String
1346
+ SENSITIVE: []
1347
+ end
1348
+
1349
+ class MediaAnalysisInput
1350
+ attr_accessor s3_object: Types::S3Object
1351
+ SENSITIVE: []
1352
+ end
1353
+
1354
+ class MediaAnalysisJobDescription
1355
+ attr_accessor job_id: ::String
1356
+ attr_accessor job_name: ::String
1357
+ attr_accessor operations_config: Types::MediaAnalysisOperationsConfig
1358
+ attr_accessor status: ("CREATED" | "QUEUED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED")
1359
+ attr_accessor failure_details: Types::MediaAnalysisJobFailureDetails
1360
+ attr_accessor creation_timestamp: ::Time
1361
+ attr_accessor completion_timestamp: ::Time
1362
+ attr_accessor input: Types::MediaAnalysisInput
1363
+ attr_accessor output_config: Types::MediaAnalysisOutputConfig
1364
+ attr_accessor kms_key_id: ::String
1365
+ attr_accessor results: Types::MediaAnalysisResults
1366
+ attr_accessor manifest_summary: Types::MediaAnalysisManifestSummary
1367
+ SENSITIVE: []
1368
+ end
1369
+
1370
+ class MediaAnalysisJobFailureDetails
1371
+ attr_accessor code: ("INTERNAL_ERROR" | "INVALID_S3_OBJECT" | "INVALID_MANIFEST" | "INVALID_OUTPUT_CONFIG" | "INVALID_KMS_KEY" | "ACCESS_DENIED" | "RESOURCE_NOT_FOUND" | "RESOURCE_NOT_READY" | "THROTTLED")
1372
+ attr_accessor message: ::String
1373
+ SENSITIVE: []
1374
+ end
1375
+
1376
+ class MediaAnalysisManifestSummary
1377
+ attr_accessor s3_object: Types::S3Object
1378
+ SENSITIVE: []
1379
+ end
1380
+
1381
+ class MediaAnalysisModelVersions
1382
+ attr_accessor moderation: ::String
1383
+ SENSITIVE: []
1384
+ end
1385
+
1386
+ class MediaAnalysisOperationsConfig
1387
+ attr_accessor detect_moderation_labels: Types::MediaAnalysisDetectModerationLabelsConfig
1388
+ SENSITIVE: []
1389
+ end
1390
+
1391
+ class MediaAnalysisOutputConfig
1392
+ attr_accessor s3_bucket: ::String
1393
+ attr_accessor s3_key_prefix: ::String
1394
+ SENSITIVE: []
1395
+ end
1396
+
1397
+ class MediaAnalysisResults
1398
+ attr_accessor s3_object: Types::S3Object
1399
+ attr_accessor model_versions: Types::MediaAnalysisModelVersions
1400
+ SENSITIVE: []
1401
+ end
1402
+
1403
+ class ModerationLabel
1404
+ attr_accessor confidence: ::Float
1405
+ attr_accessor name: ::String
1406
+ attr_accessor parent_name: ::String
1407
+ attr_accessor taxonomy_level: ::Integer
1408
+ SENSITIVE: []
1409
+ end
1410
+
1411
+ class MouthOpen
1412
+ attr_accessor value: bool
1413
+ attr_accessor confidence: ::Float
1414
+ SENSITIVE: []
1415
+ end
1416
+
1417
+ class Mustache
1418
+ attr_accessor value: bool
1419
+ attr_accessor confidence: ::Float
1420
+ SENSITIVE: []
1421
+ end
1422
+
1423
+ class NotificationChannel
1424
+ attr_accessor sns_topic_arn: ::String
1425
+ attr_accessor role_arn: ::String
1426
+ SENSITIVE: []
1427
+ end
1428
+
1429
+ class OutputConfig
1430
+ attr_accessor s3_bucket: ::String
1431
+ attr_accessor s3_key_prefix: ::String
1432
+ SENSITIVE: []
1433
+ end
1434
+
1435
+ class Parent
1436
+ attr_accessor name: ::String
1437
+ SENSITIVE: []
1438
+ end
1439
+
1440
+ class PersonDetail
1441
+ attr_accessor index: ::Integer
1442
+ attr_accessor bounding_box: Types::BoundingBox
1443
+ attr_accessor face: Types::FaceDetail
1444
+ SENSITIVE: []
1445
+ end
1446
+
1447
+ class PersonDetection
1448
+ attr_accessor timestamp: ::Integer
1449
+ attr_accessor person: Types::PersonDetail
1450
+ SENSITIVE: []
1451
+ end
1452
+
1453
+ class PersonMatch
1454
+ attr_accessor timestamp: ::Integer
1455
+ attr_accessor person: Types::PersonDetail
1456
+ attr_accessor face_matches: ::Array[Types::FaceMatch]
1457
+ SENSITIVE: []
1458
+ end
1459
+
1460
+ class Point
1461
+ attr_accessor x: ::Float
1462
+ attr_accessor y: ::Float
1463
+ SENSITIVE: []
1464
+ end
1465
+
1466
+ class Pose
1467
+ attr_accessor roll: ::Float
1468
+ attr_accessor yaw: ::Float
1469
+ attr_accessor pitch: ::Float
1470
+ SENSITIVE: []
1471
+ end
1472
+
1473
+ class ProjectDescription
1474
+ attr_accessor project_arn: ::String
1475
+ attr_accessor creation_timestamp: ::Time
1476
+ attr_accessor status: ("CREATING" | "CREATED" | "DELETING")
1477
+ attr_accessor datasets: ::Array[Types::DatasetMetadata]
1478
+ attr_accessor feature: ("CONTENT_MODERATION" | "CUSTOM_LABELS")
1479
+ attr_accessor auto_update: ("ENABLED" | "DISABLED")
1480
+ SENSITIVE: []
1481
+ end
1482
+
1483
+ class ProjectPolicy
1484
+ attr_accessor project_arn: ::String
1485
+ attr_accessor policy_name: ::String
1486
+ attr_accessor policy_revision_id: ::String
1487
+ attr_accessor policy_document: ::String
1488
+ attr_accessor creation_timestamp: ::Time
1489
+ attr_accessor last_updated_timestamp: ::Time
1490
+ SENSITIVE: []
1491
+ end
1492
+
1493
+ class ProjectVersionDescription
1494
+ attr_accessor project_version_arn: ::String
1495
+ attr_accessor creation_timestamp: ::Time
1496
+ attr_accessor min_inference_units: ::Integer
1497
+ attr_accessor status: ("TRAINING_IN_PROGRESS" | "TRAINING_COMPLETED" | "TRAINING_FAILED" | "STARTING" | "RUNNING" | "FAILED" | "STOPPING" | "STOPPED" | "DELETING" | "COPYING_IN_PROGRESS" | "COPYING_COMPLETED" | "COPYING_FAILED" | "DEPRECATED" | "EXPIRED")
1498
+ attr_accessor status_message: ::String
1499
+ attr_accessor billable_training_time_in_seconds: ::Integer
1500
+ attr_accessor training_end_timestamp: ::Time
1501
+ attr_accessor output_config: Types::OutputConfig
1502
+ attr_accessor training_data_result: Types::TrainingDataResult
1503
+ attr_accessor testing_data_result: Types::TestingDataResult
1504
+ attr_accessor evaluation_result: Types::EvaluationResult
1505
+ attr_accessor manifest_summary: Types::GroundTruthManifest
1506
+ attr_accessor kms_key_id: ::String
1507
+ attr_accessor max_inference_units: ::Integer
1508
+ attr_accessor source_project_version_arn: ::String
1509
+ attr_accessor version_description: ::String
1510
+ attr_accessor feature: ("CONTENT_MODERATION" | "CUSTOM_LABELS")
1511
+ attr_accessor base_model_version: ::String
1512
+ attr_accessor feature_config: Types::CustomizationFeatureConfig
1513
+ SENSITIVE: []
1514
+ end
1515
+
1516
+ class ProtectiveEquipmentBodyPart
1517
+ attr_accessor name: ("FACE" | "HEAD" | "LEFT_HAND" | "RIGHT_HAND")
1518
+ attr_accessor confidence: ::Float
1519
+ attr_accessor equipment_detections: ::Array[Types::EquipmentDetection]
1520
+ SENSITIVE: []
1521
+ end
1522
+
1523
+ class ProtectiveEquipmentPerson
1524
+ attr_accessor body_parts: ::Array[Types::ProtectiveEquipmentBodyPart]
1525
+ attr_accessor bounding_box: Types::BoundingBox
1526
+ attr_accessor confidence: ::Float
1527
+ attr_accessor id: ::Integer
1528
+ SENSITIVE: []
1529
+ end
1530
+
1531
+ class ProtectiveEquipmentSummarizationAttributes
1532
+ attr_accessor min_confidence: ::Float
1533
+ attr_accessor required_equipment_types: ::Array[("FACE_COVER" | "HAND_COVER" | "HEAD_COVER")]
1534
+ SENSITIVE: []
1535
+ end
1536
+
1537
+ class ProtectiveEquipmentSummary
1538
+ attr_accessor persons_with_required_equipment: ::Array[::Integer]
1539
+ attr_accessor persons_without_required_equipment: ::Array[::Integer]
1540
+ attr_accessor persons_indeterminate: ::Array[::Integer]
1541
+ SENSITIVE: []
1542
+ end
1543
+
1544
+ class ProvisionedThroughputExceededException < Aws::EmptyStructure
1545
+ end
1546
+
1547
+ class PutProjectPolicyRequest
1548
+ attr_accessor project_arn: ::String
1549
+ attr_accessor policy_name: ::String
1550
+ attr_accessor policy_revision_id: ::String
1551
+ attr_accessor policy_document: ::String
1552
+ SENSITIVE: []
1553
+ end
1554
+
1555
+ class PutProjectPolicyResponse
1556
+ attr_accessor policy_revision_id: ::String
1557
+ SENSITIVE: []
1558
+ end
1559
+
1560
+ class RecognizeCelebritiesRequest
1561
+ attr_accessor image: Types::Image
1562
+ SENSITIVE: []
1563
+ end
1564
+
1565
+ class RecognizeCelebritiesResponse
1566
+ attr_accessor celebrity_faces: ::Array[Types::Celebrity]
1567
+ attr_accessor unrecognized_faces: ::Array[Types::ComparedFace]
1568
+ attr_accessor orientation_correction: ("ROTATE_0" | "ROTATE_90" | "ROTATE_180" | "ROTATE_270")
1569
+ SENSITIVE: []
1570
+ end
1571
+
1572
+ class RegionOfInterest
1573
+ attr_accessor bounding_box: Types::BoundingBox
1574
+ attr_accessor polygon: ::Array[Types::Point]
1575
+ SENSITIVE: []
1576
+ end
1577
+
1578
+ class ResourceAlreadyExistsException < Aws::EmptyStructure
1579
+ end
1580
+
1581
+ class ResourceInUseException < Aws::EmptyStructure
1582
+ end
1583
+
1584
+ class ResourceNotFoundException < Aws::EmptyStructure
1585
+ end
1586
+
1587
+ class ResourceNotReadyException < Aws::EmptyStructure
1588
+ end
1589
+
1590
+ class S3Destination
1591
+ attr_accessor bucket: ::String
1592
+ attr_accessor key_prefix: ::String
1593
+ SENSITIVE: []
1594
+ end
1595
+
1596
+ class S3Object
1597
+ attr_accessor bucket: ::String
1598
+ attr_accessor name: ::String
1599
+ attr_accessor version: ::String
1600
+ SENSITIVE: []
1601
+ end
1602
+
1603
+ class SearchFacesByImageRequest
1604
+ attr_accessor collection_id: ::String
1605
+ attr_accessor image: Types::Image
1606
+ attr_accessor max_faces: ::Integer
1607
+ attr_accessor face_match_threshold: ::Float
1608
+ attr_accessor quality_filter: ("NONE" | "AUTO" | "LOW" | "MEDIUM" | "HIGH")
1609
+ SENSITIVE: []
1610
+ end
1611
+
1612
+ class SearchFacesByImageResponse
1613
+ attr_accessor searched_face_bounding_box: Types::BoundingBox
1614
+ attr_accessor searched_face_confidence: ::Float
1615
+ attr_accessor face_matches: ::Array[Types::FaceMatch]
1616
+ attr_accessor face_model_version: ::String
1617
+ SENSITIVE: []
1618
+ end
1619
+
1620
+ class SearchFacesRequest
1621
+ attr_accessor collection_id: ::String
1622
+ attr_accessor face_id: ::String
1623
+ attr_accessor max_faces: ::Integer
1624
+ attr_accessor face_match_threshold: ::Float
1625
+ SENSITIVE: []
1626
+ end
1627
+
1628
+ class SearchFacesResponse
1629
+ attr_accessor searched_face_id: ::String
1630
+ attr_accessor face_matches: ::Array[Types::FaceMatch]
1631
+ attr_accessor face_model_version: ::String
1632
+ SENSITIVE: []
1633
+ end
1634
+
1635
+ class SearchUsersByImageRequest
1636
+ attr_accessor collection_id: ::String
1637
+ attr_accessor image: Types::Image
1638
+ attr_accessor user_match_threshold: ::Float
1639
+ attr_accessor max_users: ::Integer
1640
+ attr_accessor quality_filter: ("NONE" | "AUTO" | "LOW" | "MEDIUM" | "HIGH")
1641
+ SENSITIVE: []
1642
+ end
1643
+
1644
+ class SearchUsersByImageResponse
1645
+ attr_accessor user_matches: ::Array[Types::UserMatch]
1646
+ attr_accessor face_model_version: ::String
1647
+ attr_accessor searched_face: Types::SearchedFaceDetails
1648
+ attr_accessor unsearched_faces: ::Array[Types::UnsearchedFace]
1649
+ SENSITIVE: []
1650
+ end
1651
+
1652
+ class SearchUsersRequest
1653
+ attr_accessor collection_id: ::String
1654
+ attr_accessor user_id: ::String
1655
+ attr_accessor face_id: ::String
1656
+ attr_accessor user_match_threshold: ::Float
1657
+ attr_accessor max_users: ::Integer
1658
+ SENSITIVE: []
1659
+ end
1660
+
1661
+ class SearchUsersResponse
1662
+ attr_accessor user_matches: ::Array[Types::UserMatch]
1663
+ attr_accessor face_model_version: ::String
1664
+ attr_accessor searched_face: Types::SearchedFace
1665
+ attr_accessor searched_user: Types::SearchedUser
1666
+ SENSITIVE: []
1667
+ end
1668
+
1669
+ class SearchedFace
1670
+ attr_accessor face_id: ::String
1671
+ SENSITIVE: []
1672
+ end
1673
+
1674
+ class SearchedFaceDetails
1675
+ attr_accessor face_detail: Types::FaceDetail
1676
+ SENSITIVE: []
1677
+ end
1678
+
1679
+ class SearchedUser
1680
+ attr_accessor user_id: ::String
1681
+ SENSITIVE: []
1682
+ end
1683
+
1684
+ class SegmentDetection
1685
+ attr_accessor type: ("TECHNICAL_CUE" | "SHOT")
1686
+ attr_accessor start_timestamp_millis: ::Integer
1687
+ attr_accessor end_timestamp_millis: ::Integer
1688
+ attr_accessor duration_millis: ::Integer
1689
+ attr_accessor start_timecode_smpte: ::String
1690
+ attr_accessor end_timecode_smpte: ::String
1691
+ attr_accessor duration_smpte: ::String
1692
+ attr_accessor technical_cue_segment: Types::TechnicalCueSegment
1693
+ attr_accessor shot_segment: Types::ShotSegment
1694
+ attr_accessor start_frame_number: ::Integer
1695
+ attr_accessor end_frame_number: ::Integer
1696
+ attr_accessor duration_frames: ::Integer
1697
+ SENSITIVE: []
1698
+ end
1699
+
1700
+ class SegmentTypeInfo
1701
+ attr_accessor type: ("TECHNICAL_CUE" | "SHOT")
1702
+ attr_accessor model_version: ::String
1703
+ SENSITIVE: []
1704
+ end
1705
+
1706
+ class ServiceQuotaExceededException < Aws::EmptyStructure
1707
+ end
1708
+
1709
+ class SessionNotFoundException < Aws::EmptyStructure
1710
+ end
1711
+
1712
+ class ShotSegment
1713
+ attr_accessor index: ::Integer
1714
+ attr_accessor confidence: ::Float
1715
+ SENSITIVE: []
1716
+ end
1717
+
1718
+ class Smile
1719
+ attr_accessor value: bool
1720
+ attr_accessor confidence: ::Float
1721
+ SENSITIVE: []
1722
+ end
1723
+
1724
+ class StartCelebrityRecognitionRequest
1725
+ attr_accessor video: Types::Video
1726
+ attr_accessor client_request_token: ::String
1727
+ attr_accessor notification_channel: Types::NotificationChannel
1728
+ attr_accessor job_tag: ::String
1729
+ SENSITIVE: []
1730
+ end
1731
+
1732
+ class StartCelebrityRecognitionResponse
1733
+ attr_accessor job_id: ::String
1734
+ SENSITIVE: []
1735
+ end
1736
+
1737
+ class StartContentModerationRequest
1738
+ attr_accessor video: Types::Video
1739
+ attr_accessor min_confidence: ::Float
1740
+ attr_accessor client_request_token: ::String
1741
+ attr_accessor notification_channel: Types::NotificationChannel
1742
+ attr_accessor job_tag: ::String
1743
+ SENSITIVE: []
1744
+ end
1745
+
1746
+ class StartContentModerationResponse
1747
+ attr_accessor job_id: ::String
1748
+ SENSITIVE: []
1749
+ end
1750
+
1751
+ class StartFaceDetectionRequest
1752
+ attr_accessor video: Types::Video
1753
+ attr_accessor client_request_token: ::String
1754
+ attr_accessor notification_channel: Types::NotificationChannel
1755
+ attr_accessor face_attributes: ("DEFAULT" | "ALL")
1756
+ attr_accessor job_tag: ::String
1757
+ SENSITIVE: []
1758
+ end
1759
+
1760
+ class StartFaceDetectionResponse
1761
+ attr_accessor job_id: ::String
1762
+ SENSITIVE: []
1763
+ end
1764
+
1765
+ class StartFaceSearchRequest
1766
+ attr_accessor video: Types::Video
1767
+ attr_accessor client_request_token: ::String
1768
+ attr_accessor face_match_threshold: ::Float
1769
+ attr_accessor collection_id: ::String
1770
+ attr_accessor notification_channel: Types::NotificationChannel
1771
+ attr_accessor job_tag: ::String
1772
+ SENSITIVE: []
1773
+ end
1774
+
1775
+ class StartFaceSearchResponse
1776
+ attr_accessor job_id: ::String
1777
+ SENSITIVE: []
1778
+ end
1779
+
1780
+ class StartLabelDetectionRequest
1781
+ attr_accessor video: Types::Video
1782
+ attr_accessor client_request_token: ::String
1783
+ attr_accessor min_confidence: ::Float
1784
+ attr_accessor notification_channel: Types::NotificationChannel
1785
+ attr_accessor job_tag: ::String
1786
+ attr_accessor features: ::Array[("GENERAL_LABELS")]
1787
+ attr_accessor settings: Types::LabelDetectionSettings
1788
+ SENSITIVE: []
1789
+ end
1790
+
1791
+ class StartLabelDetectionResponse
1792
+ attr_accessor job_id: ::String
1793
+ SENSITIVE: []
1794
+ end
1795
+
1796
+ class StartMediaAnalysisJobRequest
1797
+ attr_accessor client_request_token: ::String
1798
+ attr_accessor job_name: ::String
1799
+ attr_accessor operations_config: Types::MediaAnalysisOperationsConfig
1800
+ attr_accessor input: Types::MediaAnalysisInput
1801
+ attr_accessor output_config: Types::MediaAnalysisOutputConfig
1802
+ attr_accessor kms_key_id: ::String
1803
+ SENSITIVE: []
1804
+ end
1805
+
1806
+ class StartMediaAnalysisJobResponse
1807
+ attr_accessor job_id: ::String
1808
+ SENSITIVE: []
1809
+ end
1810
+
1811
+ class StartPersonTrackingRequest
1812
+ attr_accessor video: Types::Video
1813
+ attr_accessor client_request_token: ::String
1814
+ attr_accessor notification_channel: Types::NotificationChannel
1815
+ attr_accessor job_tag: ::String
1816
+ SENSITIVE: []
1817
+ end
1818
+
1819
+ class StartPersonTrackingResponse
1820
+ attr_accessor job_id: ::String
1821
+ SENSITIVE: []
1822
+ end
1823
+
1824
+ class StartProjectVersionRequest
1825
+ attr_accessor project_version_arn: ::String
1826
+ attr_accessor min_inference_units: ::Integer
1827
+ attr_accessor max_inference_units: ::Integer
1828
+ SENSITIVE: []
1829
+ end
1830
+
1831
+ class StartProjectVersionResponse
1832
+ attr_accessor status: ("TRAINING_IN_PROGRESS" | "TRAINING_COMPLETED" | "TRAINING_FAILED" | "STARTING" | "RUNNING" | "FAILED" | "STOPPING" | "STOPPED" | "DELETING" | "COPYING_IN_PROGRESS" | "COPYING_COMPLETED" | "COPYING_FAILED" | "DEPRECATED" | "EXPIRED")
1833
+ SENSITIVE: []
1834
+ end
1835
+
1836
+ class StartSegmentDetectionFilters
1837
+ attr_accessor technical_cue_filter: Types::StartTechnicalCueDetectionFilter
1838
+ attr_accessor shot_filter: Types::StartShotDetectionFilter
1839
+ SENSITIVE: []
1840
+ end
1841
+
1842
+ class StartSegmentDetectionRequest
1843
+ attr_accessor video: Types::Video
1844
+ attr_accessor client_request_token: ::String
1845
+ attr_accessor notification_channel: Types::NotificationChannel
1846
+ attr_accessor job_tag: ::String
1847
+ attr_accessor filters: Types::StartSegmentDetectionFilters
1848
+ attr_accessor segment_types: ::Array[("TECHNICAL_CUE" | "SHOT")]
1849
+ SENSITIVE: []
1850
+ end
1851
+
1852
+ class StartSegmentDetectionResponse
1853
+ attr_accessor job_id: ::String
1854
+ SENSITIVE: []
1855
+ end
1856
+
1857
+ class StartShotDetectionFilter
1858
+ attr_accessor min_segment_confidence: ::Float
1859
+ SENSITIVE: []
1860
+ end
1861
+
1862
+ class StartStreamProcessorRequest
1863
+ attr_accessor name: ::String
1864
+ attr_accessor start_selector: Types::StreamProcessingStartSelector
1865
+ attr_accessor stop_selector: Types::StreamProcessingStopSelector
1866
+ SENSITIVE: []
1867
+ end
1868
+
1869
+ class StartStreamProcessorResponse
1870
+ attr_accessor session_id: ::String
1871
+ SENSITIVE: []
1872
+ end
1873
+
1874
+ class StartTechnicalCueDetectionFilter
1875
+ attr_accessor min_segment_confidence: ::Float
1876
+ attr_accessor black_frame: Types::BlackFrame
1877
+ SENSITIVE: []
1878
+ end
1879
+
1880
+ class StartTextDetectionFilters
1881
+ attr_accessor word_filter: Types::DetectionFilter
1882
+ attr_accessor regions_of_interest: ::Array[Types::RegionOfInterest]
1883
+ SENSITIVE: []
1884
+ end
1885
+
1886
+ class StartTextDetectionRequest
1887
+ attr_accessor video: Types::Video
1888
+ attr_accessor client_request_token: ::String
1889
+ attr_accessor notification_channel: Types::NotificationChannel
1890
+ attr_accessor job_tag: ::String
1891
+ attr_accessor filters: Types::StartTextDetectionFilters
1892
+ SENSITIVE: []
1893
+ end
1894
+
1895
+ class StartTextDetectionResponse
1896
+ attr_accessor job_id: ::String
1897
+ SENSITIVE: []
1898
+ end
1899
+
1900
+ class StopProjectVersionRequest
1901
+ attr_accessor project_version_arn: ::String
1902
+ SENSITIVE: []
1903
+ end
1904
+
1905
+ class StopProjectVersionResponse
1906
+ attr_accessor status: ("TRAINING_IN_PROGRESS" | "TRAINING_COMPLETED" | "TRAINING_FAILED" | "STARTING" | "RUNNING" | "FAILED" | "STOPPING" | "STOPPED" | "DELETING" | "COPYING_IN_PROGRESS" | "COPYING_COMPLETED" | "COPYING_FAILED" | "DEPRECATED" | "EXPIRED")
1907
+ SENSITIVE: []
1908
+ end
1909
+
1910
+ class StopStreamProcessorRequest
1911
+ attr_accessor name: ::String
1912
+ SENSITIVE: []
1913
+ end
1914
+
1915
+ class StopStreamProcessorResponse < Aws::EmptyStructure
1916
+ end
1917
+
1918
+ class StreamProcessingStartSelector
1919
+ attr_accessor kvs_stream_start_selector: Types::KinesisVideoStreamStartSelector
1920
+ SENSITIVE: []
1921
+ end
1922
+
1923
+ class StreamProcessingStopSelector
1924
+ attr_accessor max_duration_in_seconds: ::Integer
1925
+ SENSITIVE: []
1926
+ end
1927
+
1928
+ class StreamProcessor
1929
+ attr_accessor name: ::String
1930
+ attr_accessor status: ("STOPPED" | "STARTING" | "RUNNING" | "FAILED" | "STOPPING" | "UPDATING")
1931
+ SENSITIVE: []
1932
+ end
1933
+
1934
+ class StreamProcessorDataSharingPreference
1935
+ attr_accessor opt_in: bool
1936
+ SENSITIVE: []
1937
+ end
1938
+
1939
+ class StreamProcessorInput
1940
+ attr_accessor kinesis_video_stream: Types::KinesisVideoStream
1941
+ SENSITIVE: []
1942
+ end
1943
+
1944
+ class StreamProcessorNotificationChannel
1945
+ attr_accessor sns_topic_arn: ::String
1946
+ SENSITIVE: []
1947
+ end
1948
+
1949
+ class StreamProcessorOutput
1950
+ attr_accessor kinesis_data_stream: Types::KinesisDataStream
1951
+ attr_accessor s3_destination: Types::S3Destination
1952
+ SENSITIVE: []
1953
+ end
1954
+
1955
+ class StreamProcessorSettings
1956
+ attr_accessor face_search: Types::FaceSearchSettings
1957
+ attr_accessor connected_home: Types::ConnectedHomeSettings
1958
+ SENSITIVE: []
1959
+ end
1960
+
1961
+ class StreamProcessorSettingsForUpdate
1962
+ attr_accessor connected_home_for_update: Types::ConnectedHomeSettingsForUpdate
1963
+ SENSITIVE: []
1964
+ end
1965
+
1966
+ class Summary
1967
+ attr_accessor s3_object: Types::S3Object
1968
+ SENSITIVE: []
1969
+ end
1970
+
1971
+ class Sunglasses
1972
+ attr_accessor value: bool
1973
+ attr_accessor confidence: ::Float
1974
+ SENSITIVE: []
1975
+ end
1976
+
1977
+ class TagResourceRequest
1978
+ attr_accessor resource_arn: ::String
1979
+ attr_accessor tags: ::Hash[::String, ::String]
1980
+ SENSITIVE: []
1981
+ end
1982
+
1983
+ class TagResourceResponse < Aws::EmptyStructure
1984
+ end
1985
+
1986
+ class TechnicalCueSegment
1987
+ attr_accessor type: ("ColorBars" | "EndCredits" | "BlackFrames" | "OpeningCredits" | "StudioLogo" | "Slate" | "Content")
1988
+ attr_accessor confidence: ::Float
1989
+ SENSITIVE: []
1990
+ end
1991
+
1992
+ class TestingData
1993
+ attr_accessor assets: ::Array[Types::Asset]
1994
+ attr_accessor auto_create: bool
1995
+ SENSITIVE: []
1996
+ end
1997
+
1998
+ class TestingDataResult
1999
+ attr_accessor input: Types::TestingData
2000
+ attr_accessor output: Types::TestingData
2001
+ attr_accessor validation: Types::ValidationData
2002
+ SENSITIVE: []
2003
+ end
2004
+
2005
+ class TextDetection
2006
+ attr_accessor detected_text: ::String
2007
+ attr_accessor type: ("LINE" | "WORD")
2008
+ attr_accessor id: ::Integer
2009
+ attr_accessor parent_id: ::Integer
2010
+ attr_accessor confidence: ::Float
2011
+ attr_accessor geometry: Types::Geometry
2012
+ SENSITIVE: []
2013
+ end
2014
+
2015
+ class TextDetectionResult
2016
+ attr_accessor timestamp: ::Integer
2017
+ attr_accessor text_detection: Types::TextDetection
2018
+ SENSITIVE: []
2019
+ end
2020
+
2021
+ class ThrottlingException < Aws::EmptyStructure
2022
+ end
2023
+
2024
+ class TrainingData
2025
+ attr_accessor assets: ::Array[Types::Asset]
2026
+ SENSITIVE: []
2027
+ end
2028
+
2029
+ class TrainingDataResult
2030
+ attr_accessor input: Types::TrainingData
2031
+ attr_accessor output: Types::TrainingData
2032
+ attr_accessor validation: Types::ValidationData
2033
+ SENSITIVE: []
2034
+ end
2035
+
2036
+ class UnindexedFace
2037
+ attr_accessor reasons: ::Array[("EXCEEDS_MAX_FACES" | "EXTREME_POSE" | "LOW_BRIGHTNESS" | "LOW_SHARPNESS" | "LOW_CONFIDENCE" | "SMALL_BOUNDING_BOX" | "LOW_FACE_QUALITY")]
2038
+ attr_accessor face_detail: Types::FaceDetail
2039
+ SENSITIVE: []
2040
+ end
2041
+
2042
+ class UnsearchedFace
2043
+ attr_accessor face_details: Types::FaceDetail
2044
+ attr_accessor reasons: ::Array[("FACE_NOT_LARGEST" | "EXCEEDS_MAX_FACES" | "EXTREME_POSE" | "LOW_BRIGHTNESS" | "LOW_SHARPNESS" | "LOW_CONFIDENCE" | "SMALL_BOUNDING_BOX" | "LOW_FACE_QUALITY")]
2045
+ SENSITIVE: []
2046
+ end
2047
+
2048
+ class UnsuccessfulFaceAssociation
2049
+ attr_accessor face_id: ::String
2050
+ attr_accessor user_id: ::String
2051
+ attr_accessor confidence: ::Float
2052
+ attr_accessor reasons: ::Array[("FACE_NOT_FOUND" | "ASSOCIATED_TO_A_DIFFERENT_USER" | "LOW_MATCH_CONFIDENCE")]
2053
+ SENSITIVE: []
2054
+ end
2055
+
2056
+ class UnsuccessfulFaceDeletion
2057
+ attr_accessor face_id: ::String
2058
+ attr_accessor user_id: ::String
2059
+ attr_accessor reasons: ::Array[("ASSOCIATED_TO_AN_EXISTING_USER" | "FACE_NOT_FOUND")]
2060
+ SENSITIVE: []
2061
+ end
2062
+
2063
+ class UnsuccessfulFaceDisassociation
2064
+ attr_accessor face_id: ::String
2065
+ attr_accessor user_id: ::String
2066
+ attr_accessor reasons: ::Array[("FACE_NOT_FOUND" | "ASSOCIATED_TO_A_DIFFERENT_USER")]
2067
+ SENSITIVE: []
2068
+ end
2069
+
2070
+ class UntagResourceRequest
2071
+ attr_accessor resource_arn: ::String
2072
+ attr_accessor tag_keys: ::Array[::String]
2073
+ SENSITIVE: []
2074
+ end
2075
+
2076
+ class UntagResourceResponse < Aws::EmptyStructure
2077
+ end
2078
+
2079
+ class UpdateDatasetEntriesRequest
2080
+ attr_accessor dataset_arn: ::String
2081
+ attr_accessor changes: Types::DatasetChanges
2082
+ SENSITIVE: []
2083
+ end
2084
+
2085
+ class UpdateDatasetEntriesResponse < Aws::EmptyStructure
2086
+ end
2087
+
2088
+ class UpdateStreamProcessorRequest
2089
+ attr_accessor name: ::String
2090
+ attr_accessor settings_for_update: Types::StreamProcessorSettingsForUpdate
2091
+ attr_accessor regions_of_interest_for_update: ::Array[Types::RegionOfInterest]
2092
+ attr_accessor data_sharing_preference_for_update: Types::StreamProcessorDataSharingPreference
2093
+ attr_accessor parameters_to_delete: ::Array[("ConnectedHomeMinConfidence" | "RegionsOfInterest")]
2094
+ SENSITIVE: []
2095
+ end
2096
+
2097
+ class UpdateStreamProcessorResponse < Aws::EmptyStructure
2098
+ end
2099
+
2100
+ class User
2101
+ attr_accessor user_id: ::String
2102
+ attr_accessor user_status: ("ACTIVE" | "UPDATING" | "CREATING" | "CREATED")
2103
+ SENSITIVE: []
2104
+ end
2105
+
2106
+ class UserMatch
2107
+ attr_accessor similarity: ::Float
2108
+ attr_accessor user: Types::MatchedUser
2109
+ SENSITIVE: []
2110
+ end
2111
+
2112
+ class ValidationData
2113
+ attr_accessor assets: ::Array[Types::Asset]
2114
+ SENSITIVE: []
2115
+ end
2116
+
2117
+ class Video
2118
+ attr_accessor s3_object: Types::S3Object
2119
+ SENSITIVE: []
2120
+ end
2121
+
2122
+ class VideoMetadata
2123
+ attr_accessor codec: ::String
2124
+ attr_accessor duration_millis: ::Integer
2125
+ attr_accessor format: ::String
2126
+ attr_accessor frame_rate: ::Float
2127
+ attr_accessor frame_height: ::Integer
2128
+ attr_accessor frame_width: ::Integer
2129
+ attr_accessor color_range: ("FULL" | "LIMITED")
2130
+ SENSITIVE: []
2131
+ end
2132
+
2133
+ class VideoTooLargeException < Aws::EmptyStructure
2134
+ end
2135
+ end
2136
+ end