aws-sdk-rekognition 1.80.0 → 1.82.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,10 @@ module Aws::Rekognition
17
17
  AgeRange = Shapes::StructureShape.new(name: 'AgeRange')
18
18
  Asset = Shapes::StructureShape.new(name: 'Asset')
19
19
  Assets = Shapes::ListShape.new(name: 'Assets')
20
+ AssociateFacesRequest = Shapes::StructureShape.new(name: 'AssociateFacesRequest')
21
+ AssociateFacesResponse = Shapes::StructureShape.new(name: 'AssociateFacesResponse')
22
+ AssociatedFace = Shapes::StructureShape.new(name: 'AssociatedFace')
23
+ AssociatedFacesList = Shapes::ListShape.new(name: 'AssociatedFacesList')
20
24
  Attribute = Shapes::StringShape.new(name: 'Attribute')
21
25
  Attributes = Shapes::ListShape.new(name: 'Attributes')
22
26
  AudioMetadata = Shapes::StructureShape.new(name: 'AudioMetadata')
@@ -49,6 +53,7 @@ module Aws::Rekognition
49
53
  ComparedFace = Shapes::StructureShape.new(name: 'ComparedFace')
50
54
  ComparedFaceList = Shapes::ListShape.new(name: 'ComparedFaceList')
51
55
  ComparedSourceImageFace = Shapes::StructureShape.new(name: 'ComparedSourceImageFace')
56
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
52
57
  ConnectedHomeLabel = Shapes::StringShape.new(name: 'ConnectedHomeLabel')
53
58
  ConnectedHomeLabels = Shapes::ListShape.new(name: 'ConnectedHomeLabels')
54
59
  ConnectedHomeSettings = Shapes::StructureShape.new(name: 'ConnectedHomeSettings')
@@ -75,6 +80,8 @@ module Aws::Rekognition
75
80
  CreateProjectVersionResponse = Shapes::StructureShape.new(name: 'CreateProjectVersionResponse')
76
81
  CreateStreamProcessorRequest = Shapes::StructureShape.new(name: 'CreateStreamProcessorRequest')
77
82
  CreateStreamProcessorResponse = Shapes::StructureShape.new(name: 'CreateStreamProcessorResponse')
83
+ CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
84
+ CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
78
85
  CustomLabel = Shapes::StructureShape.new(name: 'CustomLabel')
79
86
  CustomLabels = Shapes::ListShape.new(name: 'CustomLabels')
80
87
  DatasetArn = Shapes::StringShape.new(name: 'DatasetArn')
@@ -110,6 +117,8 @@ module Aws::Rekognition
110
117
  DeleteProjectVersionResponse = Shapes::StructureShape.new(name: 'DeleteProjectVersionResponse')
111
118
  DeleteStreamProcessorRequest = Shapes::StructureShape.new(name: 'DeleteStreamProcessorRequest')
112
119
  DeleteStreamProcessorResponse = Shapes::StructureShape.new(name: 'DeleteStreamProcessorResponse')
120
+ DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
121
+ DeleteUserResponse = Shapes::StructureShape.new(name: 'DeleteUserResponse')
113
122
  DescribeCollectionRequest = Shapes::StructureShape.new(name: 'DescribeCollectionRequest')
114
123
  DescribeCollectionResponse = Shapes::StructureShape.new(name: 'DescribeCollectionResponse')
115
124
  DescribeDatasetRequest = Shapes::StructureShape.new(name: 'DescribeDatasetRequest')
@@ -143,6 +152,10 @@ module Aws::Rekognition
143
152
  DetectTextRequest = Shapes::StructureShape.new(name: 'DetectTextRequest')
144
153
  DetectTextResponse = Shapes::StructureShape.new(name: 'DetectTextResponse')
145
154
  DetectionFilter = Shapes::StructureShape.new(name: 'DetectionFilter')
155
+ DisassociateFacesRequest = Shapes::StructureShape.new(name: 'DisassociateFacesRequest')
156
+ DisassociateFacesResponse = Shapes::StructureShape.new(name: 'DisassociateFacesResponse')
157
+ DisassociatedFace = Shapes::StructureShape.new(name: 'DisassociatedFace')
158
+ DisassociatedFacesList = Shapes::ListShape.new(name: 'DisassociatedFacesList')
146
159
  DistributeDataset = Shapes::StructureShape.new(name: 'DistributeDataset')
147
160
  DistributeDatasetEntriesRequest = Shapes::StructureShape.new(name: 'DistributeDatasetEntriesRequest')
148
161
  DistributeDatasetEntriesResponse = Shapes::StructureShape.new(name: 'DistributeDatasetEntriesResponse')
@@ -283,17 +296,21 @@ module Aws::Rekognition
283
296
  ListStreamProcessorsResponse = Shapes::StructureShape.new(name: 'ListStreamProcessorsResponse')
284
297
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
285
298
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
299
+ ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
300
+ ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
286
301
  LivenessImageBlob = Shapes::BlobShape.new(name: 'LivenessImageBlob')
287
302
  LivenessOutputConfig = Shapes::StructureShape.new(name: 'LivenessOutputConfig')
288
303
  LivenessS3KeyPrefix = Shapes::StringShape.new(name: 'LivenessS3KeyPrefix')
289
304
  LivenessSessionId = Shapes::StringShape.new(name: 'LivenessSessionId')
290
305
  LivenessSessionStatus = Shapes::StringShape.new(name: 'LivenessSessionStatus')
291
306
  MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException')
307
+ MatchedUser = Shapes::StructureShape.new(name: 'MatchedUser')
292
308
  MaxDurationInSecondsULong = Shapes::IntegerShape.new(name: 'MaxDurationInSecondsULong')
293
309
  MaxFaces = Shapes::IntegerShape.new(name: 'MaxFaces')
294
310
  MaxFacesToIndex = Shapes::IntegerShape.new(name: 'MaxFacesToIndex')
295
311
  MaxPixelThreshold = Shapes::FloatShape.new(name: 'MaxPixelThreshold')
296
312
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
313
+ MaxUserResults = Shapes::IntegerShape.new(name: 'MaxUserResults')
297
314
  MinCoveragePercentage = Shapes::FloatShape.new(name: 'MinCoveragePercentage')
298
315
  ModerationLabel = Shapes::StructureShape.new(name: 'ModerationLabel')
299
316
  ModerationLabels = Shapes::ListShape.new(name: 'ModerationLabels')
@@ -371,6 +388,13 @@ module Aws::Rekognition
371
388
  SearchFacesByImageResponse = Shapes::StructureShape.new(name: 'SearchFacesByImageResponse')
372
389
  SearchFacesRequest = Shapes::StructureShape.new(name: 'SearchFacesRequest')
373
390
  SearchFacesResponse = Shapes::StructureShape.new(name: 'SearchFacesResponse')
391
+ SearchUsersByImageRequest = Shapes::StructureShape.new(name: 'SearchUsersByImageRequest')
392
+ SearchUsersByImageResponse = Shapes::StructureShape.new(name: 'SearchUsersByImageResponse')
393
+ SearchUsersRequest = Shapes::StructureShape.new(name: 'SearchUsersRequest')
394
+ SearchUsersResponse = Shapes::StructureShape.new(name: 'SearchUsersResponse')
395
+ SearchedFace = Shapes::StructureShape.new(name: 'SearchedFace')
396
+ SearchedFaceDetails = Shapes::StructureShape.new(name: 'SearchedFaceDetails')
397
+ SearchedUser = Shapes::StructureShape.new(name: 'SearchedUser')
374
398
  SegmentConfidence = Shapes::FloatShape.new(name: 'SegmentConfidence')
375
399
  SegmentDetection = Shapes::StructureShape.new(name: 'SegmentDetection')
376
400
  SegmentDetections = Shapes::ListShape.new(name: 'SegmentDetections')
@@ -454,6 +478,22 @@ module Aws::Rekognition
454
478
  ULong = Shapes::IntegerShape.new(name: 'ULong')
455
479
  UnindexedFace = Shapes::StructureShape.new(name: 'UnindexedFace')
456
480
  UnindexedFaces = Shapes::ListShape.new(name: 'UnindexedFaces')
481
+ UnsearchedFace = Shapes::StructureShape.new(name: 'UnsearchedFace')
482
+ UnsearchedFaceReason = Shapes::StringShape.new(name: 'UnsearchedFaceReason')
483
+ UnsearchedFaceReasons = Shapes::ListShape.new(name: 'UnsearchedFaceReasons')
484
+ UnsearchedFacesList = Shapes::ListShape.new(name: 'UnsearchedFacesList')
485
+ UnsuccessfulFaceAssociation = Shapes::StructureShape.new(name: 'UnsuccessfulFaceAssociation')
486
+ UnsuccessfulFaceAssociationList = Shapes::ListShape.new(name: 'UnsuccessfulFaceAssociationList')
487
+ UnsuccessfulFaceAssociationReason = Shapes::StringShape.new(name: 'UnsuccessfulFaceAssociationReason')
488
+ UnsuccessfulFaceAssociationReasons = Shapes::ListShape.new(name: 'UnsuccessfulFaceAssociationReasons')
489
+ UnsuccessfulFaceDeletion = Shapes::StructureShape.new(name: 'UnsuccessfulFaceDeletion')
490
+ UnsuccessfulFaceDeletionReason = Shapes::StringShape.new(name: 'UnsuccessfulFaceDeletionReason')
491
+ UnsuccessfulFaceDeletionReasons = Shapes::ListShape.new(name: 'UnsuccessfulFaceDeletionReasons')
492
+ UnsuccessfulFaceDeletionsList = Shapes::ListShape.new(name: 'UnsuccessfulFaceDeletionsList')
493
+ UnsuccessfulFaceDisassociation = Shapes::StructureShape.new(name: 'UnsuccessfulFaceDisassociation')
494
+ UnsuccessfulFaceDisassociationList = Shapes::ListShape.new(name: 'UnsuccessfulFaceDisassociationList')
495
+ UnsuccessfulFaceDisassociationReason = Shapes::StringShape.new(name: 'UnsuccessfulFaceDisassociationReason')
496
+ UnsuccessfulFaceDisassociationReasons = Shapes::ListShape.new(name: 'UnsuccessfulFaceDisassociationReasons')
457
497
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
458
498
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
459
499
  UpdateDatasetEntriesRequest = Shapes::StructureShape.new(name: 'UpdateDatasetEntriesRequest')
@@ -462,6 +502,13 @@ module Aws::Rekognition
462
502
  UpdateStreamProcessorResponse = Shapes::StructureShape.new(name: 'UpdateStreamProcessorResponse')
463
503
  Url = Shapes::StringShape.new(name: 'Url')
464
504
  Urls = Shapes::ListShape.new(name: 'Urls')
505
+ User = Shapes::StructureShape.new(name: 'User')
506
+ UserFaceIdList = Shapes::ListShape.new(name: 'UserFaceIdList')
507
+ UserId = Shapes::StringShape.new(name: 'UserId')
508
+ UserList = Shapes::ListShape.new(name: 'UserList')
509
+ UserMatch = Shapes::StructureShape.new(name: 'UserMatch')
510
+ UserMatchList = Shapes::ListShape.new(name: 'UserMatchList')
511
+ UserStatus = Shapes::StringShape.new(name: 'UserStatus')
465
512
  ValidationData = Shapes::StructureShape.new(name: 'ValidationData')
466
513
  VersionName = Shapes::StringShape.new(name: 'VersionName')
467
514
  VersionNames = Shapes::ListShape.new(name: 'VersionNames')
@@ -483,6 +530,23 @@ module Aws::Rekognition
483
530
 
484
531
  Assets.member = Shapes::ShapeRef.new(shape: Asset)
485
532
 
533
+ AssociateFacesRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
534
+ AssociateFacesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location_name: "UserId"))
535
+ AssociateFacesRequest.add_member(:face_ids, Shapes::ShapeRef.new(shape: UserFaceIdList, required: true, location_name: "FaceIds"))
536
+ AssociateFacesRequest.add_member(:user_match_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "UserMatchThreshold"))
537
+ AssociateFacesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
538
+ AssociateFacesRequest.struct_class = Types::AssociateFacesRequest
539
+
540
+ AssociateFacesResponse.add_member(:associated_faces, Shapes::ShapeRef.new(shape: AssociatedFacesList, location_name: "AssociatedFaces"))
541
+ AssociateFacesResponse.add_member(:unsuccessful_face_associations, Shapes::ShapeRef.new(shape: UnsuccessfulFaceAssociationList, location_name: "UnsuccessfulFaceAssociations"))
542
+ AssociateFacesResponse.add_member(:user_status, Shapes::ShapeRef.new(shape: UserStatus, location_name: "UserStatus"))
543
+ AssociateFacesResponse.struct_class = Types::AssociateFacesResponse
544
+
545
+ AssociatedFace.add_member(:face_id, Shapes::ShapeRef.new(shape: FaceId, location_name: "FaceId"))
546
+ AssociatedFace.struct_class = Types::AssociatedFace
547
+
548
+ AssociatedFacesList.member = Shapes::ShapeRef.new(shape: AssociatedFace)
549
+
486
550
  Attributes.member = Shapes::ShapeRef.new(shape: Attribute)
487
551
 
488
552
  AudioMetadata.add_member(:codec, Shapes::ShapeRef.new(shape: String, location_name: "Codec"))
@@ -579,6 +643,8 @@ module Aws::Rekognition
579
643
  ComparedSourceImageFace.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
580
644
  ComparedSourceImageFace.struct_class = Types::ComparedSourceImageFace
581
645
 
646
+ ConflictException.struct_class = Types::ConflictException
647
+
582
648
  ConnectedHomeLabels.member = Shapes::ShapeRef.new(shape: ConnectedHomeLabel)
583
649
 
584
650
  ConnectedHomeSettings.add_member(:labels, Shapes::ShapeRef.new(shape: ConnectedHomeLabels, required: true, location_name: "Labels"))
@@ -678,6 +744,13 @@ module Aws::Rekognition
678
744
  CreateStreamProcessorResponse.add_member(:stream_processor_arn, Shapes::ShapeRef.new(shape: StreamProcessorArn, location_name: "StreamProcessorArn"))
679
745
  CreateStreamProcessorResponse.struct_class = Types::CreateStreamProcessorResponse
680
746
 
747
+ CreateUserRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
748
+ CreateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location_name: "UserId"))
749
+ CreateUserRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
750
+ CreateUserRequest.struct_class = Types::CreateUserRequest
751
+
752
+ CreateUserResponse.struct_class = Types::CreateUserResponse
753
+
681
754
  CustomLabel.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
682
755
  CustomLabel.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
683
756
  CustomLabel.add_member(:geometry, Shapes::ShapeRef.new(shape: Geometry, location_name: "Geometry"))
@@ -746,6 +819,7 @@ module Aws::Rekognition
746
819
  DeleteFacesRequest.struct_class = Types::DeleteFacesRequest
747
820
 
748
821
  DeleteFacesResponse.add_member(:deleted_faces, Shapes::ShapeRef.new(shape: FaceIdList, location_name: "DeletedFaces"))
822
+ DeleteFacesResponse.add_member(:unsuccessful_face_deletions, Shapes::ShapeRef.new(shape: UnsuccessfulFaceDeletionsList, location_name: "UnsuccessfulFaceDeletions"))
749
823
  DeleteFacesResponse.struct_class = Types::DeleteFacesResponse
750
824
 
751
825
  DeleteProjectPolicyRequest.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, required: true, location_name: "ProjectArn"))
@@ -772,6 +846,13 @@ module Aws::Rekognition
772
846
 
773
847
  DeleteStreamProcessorResponse.struct_class = Types::DeleteStreamProcessorResponse
774
848
 
849
+ DeleteUserRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
850
+ DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location_name: "UserId"))
851
+ DeleteUserRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
852
+ DeleteUserRequest.struct_class = Types::DeleteUserRequest
853
+
854
+ DeleteUserResponse.struct_class = Types::DeleteUserResponse
855
+
775
856
  DescribeCollectionRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
776
857
  DescribeCollectionRequest.struct_class = Types::DescribeCollectionRequest
777
858
 
@@ -779,6 +860,7 @@ module Aws::Rekognition
779
860
  DescribeCollectionResponse.add_member(:face_model_version, Shapes::ShapeRef.new(shape: String, location_name: "FaceModelVersion"))
780
861
  DescribeCollectionResponse.add_member(:collection_arn, Shapes::ShapeRef.new(shape: String, location_name: "CollectionARN"))
781
862
  DescribeCollectionResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTimestamp"))
863
+ DescribeCollectionResponse.add_member(:user_count, Shapes::ShapeRef.new(shape: ULong, location_name: "UserCount"))
782
864
  DescribeCollectionResponse.struct_class = Types::DescribeCollectionResponse
783
865
 
784
866
  DescribeDatasetRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, required: true, location_name: "DatasetArn"))
@@ -919,6 +1001,22 @@ module Aws::Rekognition
919
1001
  DetectionFilter.add_member(:min_bounding_box_width, Shapes::ShapeRef.new(shape: BoundingBoxWidth, location_name: "MinBoundingBoxWidth"))
920
1002
  DetectionFilter.struct_class = Types::DetectionFilter
921
1003
 
1004
+ DisassociateFacesRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
1005
+ DisassociateFacesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location_name: "UserId"))
1006
+ DisassociateFacesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
1007
+ DisassociateFacesRequest.add_member(:face_ids, Shapes::ShapeRef.new(shape: UserFaceIdList, required: true, location_name: "FaceIds"))
1008
+ DisassociateFacesRequest.struct_class = Types::DisassociateFacesRequest
1009
+
1010
+ DisassociateFacesResponse.add_member(:disassociated_faces, Shapes::ShapeRef.new(shape: DisassociatedFacesList, location_name: "DisassociatedFaces"))
1011
+ DisassociateFacesResponse.add_member(:unsuccessful_face_disassociations, Shapes::ShapeRef.new(shape: UnsuccessfulFaceDisassociationList, location_name: "UnsuccessfulFaceDisassociations"))
1012
+ DisassociateFacesResponse.add_member(:user_status, Shapes::ShapeRef.new(shape: UserStatus, location_name: "UserStatus"))
1013
+ DisassociateFacesResponse.struct_class = Types::DisassociateFacesResponse
1014
+
1015
+ DisassociatedFace.add_member(:face_id, Shapes::ShapeRef.new(shape: FaceId, location_name: "FaceId"))
1016
+ DisassociatedFace.struct_class = Types::DisassociatedFace
1017
+
1018
+ DisassociatedFacesList.member = Shapes::ShapeRef.new(shape: DisassociatedFace)
1019
+
922
1020
  DistributeDataset.add_member(:arn, Shapes::ShapeRef.new(shape: DatasetArn, required: true, location_name: "Arn"))
923
1021
  DistributeDataset.struct_class = Types::DistributeDataset
924
1022
 
@@ -977,6 +1075,7 @@ module Aws::Rekognition
977
1075
  Face.add_member(:external_image_id, Shapes::ShapeRef.new(shape: ExternalImageId, location_name: "ExternalImageId"))
978
1076
  Face.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
979
1077
  Face.add_member(:index_faces_model_version, Shapes::ShapeRef.new(shape: IndexFacesModelVersion, location_name: "IndexFacesModelVersion"))
1078
+ Face.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
980
1079
  Face.struct_class = Types::Face
981
1080
 
982
1081
  FaceDetail.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
@@ -1366,6 +1465,8 @@ module Aws::Rekognition
1366
1465
  ListFacesRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
1367
1466
  ListFacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
1368
1467
  ListFacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
1468
+ ListFacesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
1469
+ ListFacesRequest.add_member(:face_ids, Shapes::ShapeRef.new(shape: FaceIdList, location_name: "FaceIds"))
1369
1470
  ListFacesRequest.struct_class = Types::ListFacesRequest
1370
1471
 
1371
1472
  ListFacesResponse.add_member(:faces, Shapes::ShapeRef.new(shape: FaceList, location_name: "Faces"))
@@ -1396,12 +1497,25 @@ module Aws::Rekognition
1396
1497
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1397
1498
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
1398
1499
 
1500
+ ListUsersRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
1501
+ ListUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxUserResults, location_name: "MaxResults"))
1502
+ ListUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
1503
+ ListUsersRequest.struct_class = Types::ListUsersRequest
1504
+
1505
+ ListUsersResponse.add_member(:users, Shapes::ShapeRef.new(shape: UserList, location_name: "Users"))
1506
+ ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
1507
+ ListUsersResponse.struct_class = Types::ListUsersResponse
1508
+
1399
1509
  LivenessOutputConfig.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, required: true, location_name: "S3Bucket"))
1400
1510
  LivenessOutputConfig.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: LivenessS3KeyPrefix, location_name: "S3KeyPrefix"))
1401
1511
  LivenessOutputConfig.struct_class = Types::LivenessOutputConfig
1402
1512
 
1403
1513
  MalformedPolicyDocumentException.struct_class = Types::MalformedPolicyDocumentException
1404
1514
 
1515
+ MatchedUser.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
1516
+ MatchedUser.add_member(:user_status, Shapes::ShapeRef.new(shape: UserStatus, location_name: "UserStatus"))
1517
+ MatchedUser.struct_class = Types::MatchedUser
1518
+
1405
1519
  ModerationLabel.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
1406
1520
  ModerationLabel.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
1407
1521
  ModerationLabel.add_member(:parent_name, Shapes::ShapeRef.new(shape: String, location_name: "ParentName"))
@@ -1592,6 +1706,41 @@ module Aws::Rekognition
1592
1706
  SearchFacesResponse.add_member(:face_model_version, Shapes::ShapeRef.new(shape: String, location_name: "FaceModelVersion"))
1593
1707
  SearchFacesResponse.struct_class = Types::SearchFacesResponse
1594
1708
 
1709
+ SearchUsersByImageRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
1710
+ SearchUsersByImageRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
1711
+ SearchUsersByImageRequest.add_member(:user_match_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "UserMatchThreshold"))
1712
+ SearchUsersByImageRequest.add_member(:max_users, Shapes::ShapeRef.new(shape: MaxUserResults, location_name: "MaxUsers"))
1713
+ SearchUsersByImageRequest.add_member(:quality_filter, Shapes::ShapeRef.new(shape: QualityFilter, location_name: "QualityFilter"))
1714
+ SearchUsersByImageRequest.struct_class = Types::SearchUsersByImageRequest
1715
+
1716
+ SearchUsersByImageResponse.add_member(:user_matches, Shapes::ShapeRef.new(shape: UserMatchList, location_name: "UserMatches"))
1717
+ SearchUsersByImageResponse.add_member(:face_model_version, Shapes::ShapeRef.new(shape: String, location_name: "FaceModelVersion"))
1718
+ SearchUsersByImageResponse.add_member(:searched_face, Shapes::ShapeRef.new(shape: SearchedFaceDetails, location_name: "SearchedFace"))
1719
+ SearchUsersByImageResponse.add_member(:unsearched_faces, Shapes::ShapeRef.new(shape: UnsearchedFacesList, location_name: "UnsearchedFaces"))
1720
+ SearchUsersByImageResponse.struct_class = Types::SearchUsersByImageResponse
1721
+
1722
+ SearchUsersRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
1723
+ SearchUsersRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
1724
+ SearchUsersRequest.add_member(:face_id, Shapes::ShapeRef.new(shape: FaceId, location_name: "FaceId"))
1725
+ SearchUsersRequest.add_member(:user_match_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "UserMatchThreshold"))
1726
+ SearchUsersRequest.add_member(:max_users, Shapes::ShapeRef.new(shape: MaxUserResults, location_name: "MaxUsers"))
1727
+ SearchUsersRequest.struct_class = Types::SearchUsersRequest
1728
+
1729
+ SearchUsersResponse.add_member(:user_matches, Shapes::ShapeRef.new(shape: UserMatchList, location_name: "UserMatches"))
1730
+ SearchUsersResponse.add_member(:face_model_version, Shapes::ShapeRef.new(shape: String, location_name: "FaceModelVersion"))
1731
+ SearchUsersResponse.add_member(:searched_face, Shapes::ShapeRef.new(shape: SearchedFace, location_name: "SearchedFace"))
1732
+ SearchUsersResponse.add_member(:searched_user, Shapes::ShapeRef.new(shape: SearchedUser, location_name: "SearchedUser"))
1733
+ SearchUsersResponse.struct_class = Types::SearchUsersResponse
1734
+
1735
+ SearchedFace.add_member(:face_id, Shapes::ShapeRef.new(shape: FaceId, location_name: "FaceId"))
1736
+ SearchedFace.struct_class = Types::SearchedFace
1737
+
1738
+ SearchedFaceDetails.add_member(:face_detail, Shapes::ShapeRef.new(shape: FaceDetail, location_name: "FaceDetail"))
1739
+ SearchedFaceDetails.struct_class = Types::SearchedFaceDetails
1740
+
1741
+ SearchedUser.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
1742
+ SearchedUser.struct_class = Types::SearchedUser
1743
+
1595
1744
  SegmentDetection.add_member(:type, Shapes::ShapeRef.new(shape: SegmentType, location_name: "Type"))
1596
1745
  SegmentDetection.add_member(:start_timestamp_millis, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTimestampMillis"))
1597
1746
  SegmentDetection.add_member(:end_timestamp_millis, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTimestampMillis"))
@@ -1849,6 +1998,42 @@ module Aws::Rekognition
1849
1998
 
1850
1999
  UnindexedFaces.member = Shapes::ShapeRef.new(shape: UnindexedFace)
1851
2000
 
2001
+ UnsearchedFace.add_member(:face_details, Shapes::ShapeRef.new(shape: FaceDetail, location_name: "FaceDetails"))
2002
+ UnsearchedFace.add_member(:reasons, Shapes::ShapeRef.new(shape: UnsearchedFaceReasons, location_name: "Reasons"))
2003
+ UnsearchedFace.struct_class = Types::UnsearchedFace
2004
+
2005
+ UnsearchedFaceReasons.member = Shapes::ShapeRef.new(shape: UnsearchedFaceReason)
2006
+
2007
+ UnsearchedFacesList.member = Shapes::ShapeRef.new(shape: UnsearchedFace)
2008
+
2009
+ UnsuccessfulFaceAssociation.add_member(:face_id, Shapes::ShapeRef.new(shape: FaceId, location_name: "FaceId"))
2010
+ UnsuccessfulFaceAssociation.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
2011
+ UnsuccessfulFaceAssociation.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
2012
+ UnsuccessfulFaceAssociation.add_member(:reasons, Shapes::ShapeRef.new(shape: UnsuccessfulFaceAssociationReasons, location_name: "Reasons"))
2013
+ UnsuccessfulFaceAssociation.struct_class = Types::UnsuccessfulFaceAssociation
2014
+
2015
+ UnsuccessfulFaceAssociationList.member = Shapes::ShapeRef.new(shape: UnsuccessfulFaceAssociation)
2016
+
2017
+ UnsuccessfulFaceAssociationReasons.member = Shapes::ShapeRef.new(shape: UnsuccessfulFaceAssociationReason)
2018
+
2019
+ UnsuccessfulFaceDeletion.add_member(:face_id, Shapes::ShapeRef.new(shape: FaceId, location_name: "FaceId"))
2020
+ UnsuccessfulFaceDeletion.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
2021
+ UnsuccessfulFaceDeletion.add_member(:reasons, Shapes::ShapeRef.new(shape: UnsuccessfulFaceDeletionReasons, location_name: "Reasons"))
2022
+ UnsuccessfulFaceDeletion.struct_class = Types::UnsuccessfulFaceDeletion
2023
+
2024
+ UnsuccessfulFaceDeletionReasons.member = Shapes::ShapeRef.new(shape: UnsuccessfulFaceDeletionReason)
2025
+
2026
+ UnsuccessfulFaceDeletionsList.member = Shapes::ShapeRef.new(shape: UnsuccessfulFaceDeletion)
2027
+
2028
+ UnsuccessfulFaceDisassociation.add_member(:face_id, Shapes::ShapeRef.new(shape: FaceId, location_name: "FaceId"))
2029
+ UnsuccessfulFaceDisassociation.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
2030
+ UnsuccessfulFaceDisassociation.add_member(:reasons, Shapes::ShapeRef.new(shape: UnsuccessfulFaceDisassociationReasons, location_name: "Reasons"))
2031
+ UnsuccessfulFaceDisassociation.struct_class = Types::UnsuccessfulFaceDisassociation
2032
+
2033
+ UnsuccessfulFaceDisassociationList.member = Shapes::ShapeRef.new(shape: UnsuccessfulFaceDisassociation)
2034
+
2035
+ UnsuccessfulFaceDisassociationReasons.member = Shapes::ShapeRef.new(shape: UnsuccessfulFaceDisassociationReason)
2036
+
1852
2037
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
1853
2038
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
1854
2039
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -1872,6 +2057,20 @@ module Aws::Rekognition
1872
2057
 
1873
2058
  Urls.member = Shapes::ShapeRef.new(shape: Url)
1874
2059
 
2060
+ User.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
2061
+ User.add_member(:user_status, Shapes::ShapeRef.new(shape: UserStatus, location_name: "UserStatus"))
2062
+ User.struct_class = Types::User
2063
+
2064
+ UserFaceIdList.member = Shapes::ShapeRef.new(shape: FaceId)
2065
+
2066
+ UserList.member = Shapes::ShapeRef.new(shape: User)
2067
+
2068
+ UserMatch.add_member(:similarity, Shapes::ShapeRef.new(shape: Percent, location_name: "Similarity"))
2069
+ UserMatch.add_member(:user, Shapes::ShapeRef.new(shape: MatchedUser, location_name: "User"))
2070
+ UserMatch.struct_class = Types::UserMatch
2071
+
2072
+ UserMatchList.member = Shapes::ShapeRef.new(shape: UserMatch)
2073
+
1875
2074
  ValidationData.add_member(:assets, Shapes::ShapeRef.new(shape: Assets, location_name: "Assets"))
1876
2075
  ValidationData.struct_class = Types::ValidationData
1877
2076
 
@@ -1911,6 +2110,23 @@ module Aws::Rekognition
1911
2110
  "uid" => "rekognition-2016-06-27",
1912
2111
  }
1913
2112
 
2113
+ api.add_operation(:associate_faces, Seahorse::Model::Operation.new.tap do |o|
2114
+ o.name = "AssociateFaces"
2115
+ o.http_method = "POST"
2116
+ o.http_request_uri = "/"
2117
+ o.input = Shapes::ShapeRef.new(shape: AssociateFacesRequest)
2118
+ o.output = Shapes::ShapeRef.new(shape: AssociateFacesResponse)
2119
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2120
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2121
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2122
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2123
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
2124
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
2125
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2126
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2127
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2128
+ end)
2129
+
1914
2130
  api.add_operation(:compare_faces, Seahorse::Model::Operation.new.tap do |o|
1915
2131
  o.name = "CompareFaces"
1916
2132
  o.http_method = "POST"
@@ -2037,6 +2253,23 @@ module Aws::Rekognition
2037
2253
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2038
2254
  end)
2039
2255
 
2256
+ api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
2257
+ o.name = "CreateUser"
2258
+ o.http_method = "POST"
2259
+ o.http_request_uri = "/"
2260
+ o.input = Shapes::ShapeRef.new(shape: CreateUserRequest)
2261
+ o.output = Shapes::ShapeRef.new(shape: CreateUserResponse)
2262
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2263
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2264
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2265
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2266
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
2267
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
2268
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2269
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2270
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2271
+ end)
2272
+
2040
2273
  api.add_operation(:delete_collection, Seahorse::Model::Operation.new.tap do |o|
2041
2274
  o.name = "DeleteCollection"
2042
2275
  o.http_method = "POST"
@@ -2141,6 +2374,22 @@ module Aws::Rekognition
2141
2374
  o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
2142
2375
  end)
2143
2376
 
2377
+ api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
2378
+ o.name = "DeleteUser"
2379
+ o.http_method = "POST"
2380
+ o.http_request_uri = "/"
2381
+ o.input = Shapes::ShapeRef.new(shape: DeleteUserRequest)
2382
+ o.output = Shapes::ShapeRef.new(shape: DeleteUserResponse)
2383
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2384
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2385
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2386
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
2387
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
2388
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2389
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2390
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2391
+ end)
2392
+
2144
2393
  api.add_operation(:describe_collection, Seahorse::Model::Operation.new.tap do |o|
2145
2394
  o.name = "DescribeCollection"
2146
2395
  o.http_method = "POST"
@@ -2324,6 +2573,22 @@ module Aws::Rekognition
2324
2573
  o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
2325
2574
  end)
2326
2575
 
2576
+ api.add_operation(:disassociate_faces, Seahorse::Model::Operation.new.tap do |o|
2577
+ o.name = "DisassociateFaces"
2578
+ o.http_method = "POST"
2579
+ o.http_request_uri = "/"
2580
+ o.input = Shapes::ShapeRef.new(shape: DisassociateFacesRequest)
2581
+ o.output = Shapes::ShapeRef.new(shape: DisassociateFacesResponse)
2582
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2583
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2584
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2585
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2586
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
2587
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
2588
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2589
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2590
+ end)
2591
+
2327
2592
  api.add_operation(:distribute_dataset_entries, Seahorse::Model::Operation.new.tap do |o|
2328
2593
  o.name = "DistributeDatasetEntries"
2329
2594
  o.http_method = "POST"
@@ -2696,6 +2961,27 @@ module Aws::Rekognition
2696
2961
  o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
2697
2962
  end)
2698
2963
 
2964
+ api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
2965
+ o.name = "ListUsers"
2966
+ o.http_method = "POST"
2967
+ o.http_request_uri = "/"
2968
+ o.input = Shapes::ShapeRef.new(shape: ListUsersRequest)
2969
+ o.output = Shapes::ShapeRef.new(shape: ListUsersResponse)
2970
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2971
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2972
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
2973
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
2974
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2975
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2976
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2977
+ o[:pager] = Aws::Pager.new(
2978
+ limit_key: "max_results",
2979
+ tokens: {
2980
+ "next_token" => "next_token"
2981
+ }
2982
+ )
2983
+ end)
2984
+
2699
2985
  api.add_operation(:put_project_policy, Seahorse::Model::Operation.new.tap do |o|
2700
2986
  o.name = "PutProjectPolicy"
2701
2987
  o.http_method = "POST"
@@ -2763,6 +3049,37 @@ module Aws::Rekognition
2763
3049
  o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
2764
3050
  end)
2765
3051
 
3052
+ api.add_operation(:search_users, Seahorse::Model::Operation.new.tap do |o|
3053
+ o.name = "SearchUsers"
3054
+ o.http_method = "POST"
3055
+ o.http_request_uri = "/"
3056
+ o.input = Shapes::ShapeRef.new(shape: SearchUsersRequest)
3057
+ o.output = Shapes::ShapeRef.new(shape: SearchUsersResponse)
3058
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3059
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3060
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
3061
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3062
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
3063
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3064
+ end)
3065
+
3066
+ api.add_operation(:search_users_by_image, Seahorse::Model::Operation.new.tap do |o|
3067
+ o.name = "SearchUsersByImage"
3068
+ o.http_method = "POST"
3069
+ o.http_request_uri = "/"
3070
+ o.input = Shapes::ShapeRef.new(shape: SearchUsersByImageRequest)
3071
+ o.output = Shapes::ShapeRef.new(shape: SearchUsersByImageResponse)
3072
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3073
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3074
+ o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
3075
+ o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
3076
+ o.errors << Shapes::ShapeRef.new(shape: ImageTooLargeException)
3077
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
3078
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3079
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
3080
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3081
+ end)
3082
+
2766
3083
  api.add_operation(:start_celebrity_recognition, Seahorse::Model::Operation.new.tap do |o|
2767
3084
  o.name = "StartCelebrityRecognition"
2768
3085
  o.http_method = "POST"