aws-sdk-rekognition 1.58.0 → 1.59.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,6 +54,8 @@ module Aws::Rekognition
54
54
  CoversBodyPart = Shapes::StructureShape.new(name: 'CoversBodyPart')
55
55
  CreateCollectionRequest = Shapes::StructureShape.new(name: 'CreateCollectionRequest')
56
56
  CreateCollectionResponse = Shapes::StructureShape.new(name: 'CreateCollectionResponse')
57
+ CreateDatasetRequest = Shapes::StructureShape.new(name: 'CreateDatasetRequest')
58
+ CreateDatasetResponse = Shapes::StructureShape.new(name: 'CreateDatasetResponse')
57
59
  CreateProjectRequest = Shapes::StructureShape.new(name: 'CreateProjectRequest')
58
60
  CreateProjectResponse = Shapes::StructureShape.new(name: 'CreateProjectResponse')
59
61
  CreateProjectVersionRequest = Shapes::StructureShape.new(name: 'CreateProjectVersionRequest')
@@ -62,10 +64,29 @@ module Aws::Rekognition
62
64
  CreateStreamProcessorResponse = Shapes::StructureShape.new(name: 'CreateStreamProcessorResponse')
63
65
  CustomLabel = Shapes::StructureShape.new(name: 'CustomLabel')
64
66
  CustomLabels = Shapes::ListShape.new(name: 'CustomLabels')
67
+ DatasetArn = Shapes::StringShape.new(name: 'DatasetArn')
68
+ DatasetChanges = Shapes::StructureShape.new(name: 'DatasetChanges')
69
+ DatasetDescription = Shapes::StructureShape.new(name: 'DatasetDescription')
70
+ DatasetEntries = Shapes::ListShape.new(name: 'DatasetEntries')
71
+ DatasetEntry = Shapes::StringShape.new(name: 'DatasetEntry')
72
+ DatasetLabel = Shapes::StringShape.new(name: 'DatasetLabel')
73
+ DatasetLabelDescription = Shapes::StructureShape.new(name: 'DatasetLabelDescription')
74
+ DatasetLabelDescriptions = Shapes::ListShape.new(name: 'DatasetLabelDescriptions')
75
+ DatasetLabelStats = Shapes::StructureShape.new(name: 'DatasetLabelStats')
76
+ DatasetLabels = Shapes::ListShape.new(name: 'DatasetLabels')
77
+ DatasetMetadata = Shapes::StructureShape.new(name: 'DatasetMetadata')
78
+ DatasetMetadataList = Shapes::ListShape.new(name: 'DatasetMetadataList')
79
+ DatasetSource = Shapes::StructureShape.new(name: 'DatasetSource')
80
+ DatasetStats = Shapes::StructureShape.new(name: 'DatasetStats')
81
+ DatasetStatus = Shapes::StringShape.new(name: 'DatasetStatus')
82
+ DatasetStatusMessageCode = Shapes::StringShape.new(name: 'DatasetStatusMessageCode')
83
+ DatasetType = Shapes::StringShape.new(name: 'DatasetType')
65
84
  DateTime = Shapes::TimestampShape.new(name: 'DateTime')
66
85
  Degree = Shapes::FloatShape.new(name: 'Degree')
67
86
  DeleteCollectionRequest = Shapes::StructureShape.new(name: 'DeleteCollectionRequest')
68
87
  DeleteCollectionResponse = Shapes::StructureShape.new(name: 'DeleteCollectionResponse')
88
+ DeleteDatasetRequest = Shapes::StructureShape.new(name: 'DeleteDatasetRequest')
89
+ DeleteDatasetResponse = Shapes::StructureShape.new(name: 'DeleteDatasetResponse')
69
90
  DeleteFacesRequest = Shapes::StructureShape.new(name: 'DeleteFacesRequest')
70
91
  DeleteFacesResponse = Shapes::StructureShape.new(name: 'DeleteFacesResponse')
71
92
  DeleteProjectRequest = Shapes::StructureShape.new(name: 'DeleteProjectRequest')
@@ -76,6 +97,8 @@ module Aws::Rekognition
76
97
  DeleteStreamProcessorResponse = Shapes::StructureShape.new(name: 'DeleteStreamProcessorResponse')
77
98
  DescribeCollectionRequest = Shapes::StructureShape.new(name: 'DescribeCollectionRequest')
78
99
  DescribeCollectionResponse = Shapes::StructureShape.new(name: 'DescribeCollectionResponse')
100
+ DescribeDatasetRequest = Shapes::StructureShape.new(name: 'DescribeDatasetRequest')
101
+ DescribeDatasetResponse = Shapes::StructureShape.new(name: 'DescribeDatasetResponse')
79
102
  DescribeProjectVersionsRequest = Shapes::StructureShape.new(name: 'DescribeProjectVersionsRequest')
80
103
  DescribeProjectVersionsResponse = Shapes::StructureShape.new(name: 'DescribeProjectVersionsResponse')
81
104
  DescribeProjectsRequest = Shapes::StructureShape.new(name: 'DescribeProjectsRequest')
@@ -96,6 +119,10 @@ module Aws::Rekognition
96
119
  DetectTextRequest = Shapes::StructureShape.new(name: 'DetectTextRequest')
97
120
  DetectTextResponse = Shapes::StructureShape.new(name: 'DetectTextResponse')
98
121
  DetectionFilter = Shapes::StructureShape.new(name: 'DetectionFilter')
122
+ DistributeDataset = Shapes::StructureShape.new(name: 'DistributeDataset')
123
+ DistributeDatasetEntriesRequest = Shapes::StructureShape.new(name: 'DistributeDatasetEntriesRequest')
124
+ DistributeDatasetEntriesResponse = Shapes::StructureShape.new(name: 'DistributeDatasetEntriesResponse')
125
+ DistributeDatasetMetadataList = Shapes::ListShape.new(name: 'DistributeDatasetMetadataList')
99
126
  Emotion = Shapes::StructureShape.new(name: 'Emotion')
100
127
  EmotionName = Shapes::StringShape.new(name: 'EmotionName')
101
128
  Emotions = Shapes::ListShape.new(name: 'Emotions')
@@ -145,7 +172,9 @@ module Aws::Rekognition
145
172
  GetSegmentDetectionResponse = Shapes::StructureShape.new(name: 'GetSegmentDetectionResponse')
146
173
  GetTextDetectionRequest = Shapes::StructureShape.new(name: 'GetTextDetectionRequest')
147
174
  GetTextDetectionResponse = Shapes::StructureShape.new(name: 'GetTextDetectionResponse')
175
+ GroundTruthBlob = Shapes::BlobShape.new(name: 'GroundTruthBlob')
148
176
  GroundTruthManifest = Shapes::StructureShape.new(name: 'GroundTruthManifest')
177
+ HasErrors = Shapes::BooleanShape.new(name: 'HasErrors')
149
178
  HumanLoopActivationConditionsEvaluationResults = Shapes::StringShape.new(name: 'HumanLoopActivationConditionsEvaluationResults')
150
179
  HumanLoopActivationOutput = Shapes::StructureShape.new(name: 'HumanLoopActivationOutput')
151
180
  HumanLoopActivationReason = Shapes::StringShape.new(name: 'HumanLoopActivationReason')
@@ -171,6 +200,7 @@ module Aws::Rekognition
171
200
  InvalidPaginationTokenException = Shapes::StructureShape.new(name: 'InvalidPaginationTokenException')
172
201
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
173
202
  InvalidS3ObjectException = Shapes::StructureShape.new(name: 'InvalidS3ObjectException')
203
+ IsLabeled = Shapes::BooleanShape.new(name: 'IsLabeled')
174
204
  JobId = Shapes::StringShape.new(name: 'JobId')
175
205
  JobTag = Shapes::StringShape.new(name: 'JobTag')
176
206
  KinesisDataArn = Shapes::StringShape.new(name: 'KinesisDataArn')
@@ -191,6 +221,12 @@ module Aws::Rekognition
191
221
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
192
222
  ListCollectionsRequest = Shapes::StructureShape.new(name: 'ListCollectionsRequest')
193
223
  ListCollectionsResponse = Shapes::StructureShape.new(name: 'ListCollectionsResponse')
224
+ ListDatasetEntriesPageSize = Shapes::IntegerShape.new(name: 'ListDatasetEntriesPageSize')
225
+ ListDatasetEntriesRequest = Shapes::StructureShape.new(name: 'ListDatasetEntriesRequest')
226
+ ListDatasetEntriesResponse = Shapes::StructureShape.new(name: 'ListDatasetEntriesResponse')
227
+ ListDatasetLabelsPageSize = Shapes::IntegerShape.new(name: 'ListDatasetLabelsPageSize')
228
+ ListDatasetLabelsRequest = Shapes::StructureShape.new(name: 'ListDatasetLabelsRequest')
229
+ ListDatasetLabelsResponse = Shapes::StructureShape.new(name: 'ListDatasetLabelsResponse')
194
230
  ListFacesRequest = Shapes::StructureShape.new(name: 'ListFacesRequest')
195
231
  ListFacesResponse = Shapes::StructureShape.new(name: 'ListFacesResponse')
196
232
  ListStreamProcessorsRequest = Shapes::StructureShape.new(name: 'ListStreamProcessorsRequest')
@@ -228,6 +264,7 @@ module Aws::Rekognition
228
264
  ProjectDescription = Shapes::StructureShape.new(name: 'ProjectDescription')
229
265
  ProjectDescriptions = Shapes::ListShape.new(name: 'ProjectDescriptions')
230
266
  ProjectName = Shapes::StringShape.new(name: 'ProjectName')
267
+ ProjectNames = Shapes::ListShape.new(name: 'ProjectNames')
231
268
  ProjectStatus = Shapes::StringShape.new(name: 'ProjectStatus')
232
269
  ProjectVersionArn = Shapes::StringShape.new(name: 'ProjectVersionArn')
233
270
  ProjectVersionDescription = Shapes::StructureShape.new(name: 'ProjectVersionDescription')
@@ -245,6 +282,7 @@ module Aws::Rekognition
245
282
  ProtectiveEquipmentTypes = Shapes::ListShape.new(name: 'ProtectiveEquipmentTypes')
246
283
  ProvisionedThroughputExceededException = Shapes::StructureShape.new(name: 'ProvisionedThroughputExceededException')
247
284
  QualityFilter = Shapes::StringShape.new(name: 'QualityFilter')
285
+ QueryString = Shapes::StringShape.new(name: 'QueryString')
248
286
  Reason = Shapes::StringShape.new(name: 'Reason')
249
287
  Reasons = Shapes::ListShape.new(name: 'Reasons')
250
288
  RecognizeCelebritiesRequest = Shapes::StructureShape.new(name: 'RecognizeCelebritiesRequest')
@@ -344,6 +382,8 @@ module Aws::Rekognition
344
382
  UnindexedFaces = Shapes::ListShape.new(name: 'UnindexedFaces')
345
383
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
346
384
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
385
+ UpdateDatasetEntriesRequest = Shapes::StructureShape.new(name: 'UpdateDatasetEntriesRequest')
386
+ UpdateDatasetEntriesResponse = Shapes::StructureShape.new(name: 'UpdateDatasetEntriesResponse')
347
387
  Url = Shapes::StringShape.new(name: 'Url')
348
388
  Urls = Shapes::ListShape.new(name: 'Urls')
349
389
  ValidationData = Shapes::StructureShape.new(name: 'ValidationData')
@@ -477,6 +517,14 @@ module Aws::Rekognition
477
517
  CreateCollectionResponse.add_member(:face_model_version, Shapes::ShapeRef.new(shape: String, location_name: "FaceModelVersion"))
478
518
  CreateCollectionResponse.struct_class = Types::CreateCollectionResponse
479
519
 
520
+ CreateDatasetRequest.add_member(:dataset_source, Shapes::ShapeRef.new(shape: DatasetSource, location_name: "DatasetSource"))
521
+ CreateDatasetRequest.add_member(:dataset_type, Shapes::ShapeRef.new(shape: DatasetType, required: true, location_name: "DatasetType"))
522
+ CreateDatasetRequest.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, required: true, location_name: "ProjectArn"))
523
+ CreateDatasetRequest.struct_class = Types::CreateDatasetRequest
524
+
525
+ CreateDatasetResponse.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, location_name: "DatasetArn"))
526
+ CreateDatasetResponse.struct_class = Types::CreateDatasetResponse
527
+
480
528
  CreateProjectRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "ProjectName"))
481
529
  CreateProjectRequest.struct_class = Types::CreateProjectRequest
482
530
 
@@ -486,8 +534,8 @@ module Aws::Rekognition
486
534
  CreateProjectVersionRequest.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, required: true, location_name: "ProjectArn"))
487
535
  CreateProjectVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location_name: "VersionName"))
488
536
  CreateProjectVersionRequest.add_member(:output_config, Shapes::ShapeRef.new(shape: OutputConfig, required: true, location_name: "OutputConfig"))
489
- CreateProjectVersionRequest.add_member(:training_data, Shapes::ShapeRef.new(shape: TrainingData, required: true, location_name: "TrainingData"))
490
- CreateProjectVersionRequest.add_member(:testing_data, Shapes::ShapeRef.new(shape: TestingData, required: true, location_name: "TestingData"))
537
+ CreateProjectVersionRequest.add_member(:training_data, Shapes::ShapeRef.new(shape: TrainingData, location_name: "TrainingData"))
538
+ CreateProjectVersionRequest.add_member(:testing_data, Shapes::ShapeRef.new(shape: TestingData, location_name: "TestingData"))
491
539
  CreateProjectVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
492
540
  CreateProjectVersionRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
493
541
  CreateProjectVersionRequest.struct_class = Types::CreateProjectVersionRequest
@@ -513,12 +561,62 @@ module Aws::Rekognition
513
561
 
514
562
  CustomLabels.member = Shapes::ShapeRef.new(shape: CustomLabel)
515
563
 
564
+ DatasetChanges.add_member(:ground_truth, Shapes::ShapeRef.new(shape: GroundTruthBlob, required: true, location_name: "GroundTruth"))
565
+ DatasetChanges.struct_class = Types::DatasetChanges
566
+
567
+ DatasetDescription.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTimestamp"))
568
+ DatasetDescription.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastUpdatedTimestamp"))
569
+ DatasetDescription.add_member(:status, Shapes::ShapeRef.new(shape: DatasetStatus, location_name: "Status"))
570
+ DatasetDescription.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
571
+ DatasetDescription.add_member(:status_message_code, Shapes::ShapeRef.new(shape: DatasetStatusMessageCode, location_name: "StatusMessageCode"))
572
+ DatasetDescription.add_member(:dataset_stats, Shapes::ShapeRef.new(shape: DatasetStats, location_name: "DatasetStats"))
573
+ DatasetDescription.struct_class = Types::DatasetDescription
574
+
575
+ DatasetEntries.member = Shapes::ShapeRef.new(shape: DatasetEntry)
576
+
577
+ DatasetLabelDescription.add_member(:label_name, Shapes::ShapeRef.new(shape: DatasetLabel, location_name: "LabelName"))
578
+ DatasetLabelDescription.add_member(:label_stats, Shapes::ShapeRef.new(shape: DatasetLabelStats, location_name: "LabelStats"))
579
+ DatasetLabelDescription.struct_class = Types::DatasetLabelDescription
580
+
581
+ DatasetLabelDescriptions.member = Shapes::ShapeRef.new(shape: DatasetLabelDescription)
582
+
583
+ DatasetLabelStats.add_member(:entry_count, Shapes::ShapeRef.new(shape: UInteger, location_name: "EntryCount"))
584
+ DatasetLabelStats.add_member(:bounding_box_count, Shapes::ShapeRef.new(shape: UInteger, location_name: "BoundingBoxCount"))
585
+ DatasetLabelStats.struct_class = Types::DatasetLabelStats
586
+
587
+ DatasetLabels.member = Shapes::ShapeRef.new(shape: DatasetLabel)
588
+
589
+ DatasetMetadata.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTimestamp"))
590
+ DatasetMetadata.add_member(:dataset_type, Shapes::ShapeRef.new(shape: DatasetType, location_name: "DatasetType"))
591
+ DatasetMetadata.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, location_name: "DatasetArn"))
592
+ DatasetMetadata.add_member(:status, Shapes::ShapeRef.new(shape: DatasetStatus, location_name: "Status"))
593
+ DatasetMetadata.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
594
+ DatasetMetadata.add_member(:status_message_code, Shapes::ShapeRef.new(shape: DatasetStatusMessageCode, location_name: "StatusMessageCode"))
595
+ DatasetMetadata.struct_class = Types::DatasetMetadata
596
+
597
+ DatasetMetadataList.member = Shapes::ShapeRef.new(shape: DatasetMetadata)
598
+
599
+ DatasetSource.add_member(:ground_truth_manifest, Shapes::ShapeRef.new(shape: GroundTruthManifest, location_name: "GroundTruthManifest"))
600
+ DatasetSource.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, location_name: "DatasetArn"))
601
+ DatasetSource.struct_class = Types::DatasetSource
602
+
603
+ DatasetStats.add_member(:labeled_entries, Shapes::ShapeRef.new(shape: UInteger, location_name: "LabeledEntries"))
604
+ DatasetStats.add_member(:total_entries, Shapes::ShapeRef.new(shape: UInteger, location_name: "TotalEntries"))
605
+ DatasetStats.add_member(:total_labels, Shapes::ShapeRef.new(shape: UInteger, location_name: "TotalLabels"))
606
+ DatasetStats.add_member(:error_entries, Shapes::ShapeRef.new(shape: UInteger, location_name: "ErrorEntries"))
607
+ DatasetStats.struct_class = Types::DatasetStats
608
+
516
609
  DeleteCollectionRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
517
610
  DeleteCollectionRequest.struct_class = Types::DeleteCollectionRequest
518
611
 
519
612
  DeleteCollectionResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: UInteger, location_name: "StatusCode"))
520
613
  DeleteCollectionResponse.struct_class = Types::DeleteCollectionResponse
521
614
 
615
+ DeleteDatasetRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, required: true, location_name: "DatasetArn"))
616
+ DeleteDatasetRequest.struct_class = Types::DeleteDatasetRequest
617
+
618
+ DeleteDatasetResponse.struct_class = Types::DeleteDatasetResponse
619
+
522
620
  DeleteFacesRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
523
621
  DeleteFacesRequest.add_member(:face_ids, Shapes::ShapeRef.new(shape: FaceIdList, required: true, location_name: "FaceIds"))
524
622
  DeleteFacesRequest.struct_class = Types::DeleteFacesRequest
@@ -552,6 +650,12 @@ module Aws::Rekognition
552
650
  DescribeCollectionResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTimestamp"))
553
651
  DescribeCollectionResponse.struct_class = Types::DescribeCollectionResponse
554
652
 
653
+ DescribeDatasetRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, required: true, location_name: "DatasetArn"))
654
+ DescribeDatasetRequest.struct_class = Types::DescribeDatasetRequest
655
+
656
+ DescribeDatasetResponse.add_member(:dataset_description, Shapes::ShapeRef.new(shape: DatasetDescription, location_name: "DatasetDescription"))
657
+ DescribeDatasetResponse.struct_class = Types::DescribeDatasetResponse
658
+
555
659
  DescribeProjectVersionsRequest.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, required: true, location_name: "ProjectArn"))
556
660
  DescribeProjectVersionsRequest.add_member(:version_names, Shapes::ShapeRef.new(shape: VersionNames, location_name: "VersionNames"))
557
661
  DescribeProjectVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ExtendedPaginationToken, location_name: "NextToken"))
@@ -564,6 +668,7 @@ module Aws::Rekognition
564
668
 
565
669
  DescribeProjectsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ExtendedPaginationToken, location_name: "NextToken"))
566
670
  DescribeProjectsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ProjectsPageSize, location_name: "MaxResults"))
671
+ DescribeProjectsRequest.add_member(:project_names, Shapes::ShapeRef.new(shape: ProjectNames, location_name: "ProjectNames"))
567
672
  DescribeProjectsRequest.struct_class = Types::DescribeProjectsRequest
568
673
 
569
674
  DescribeProjectsResponse.add_member(:project_descriptions, Shapes::ShapeRef.new(shape: ProjectDescriptions, location_name: "ProjectDescriptions"))
@@ -648,6 +753,16 @@ module Aws::Rekognition
648
753
  DetectionFilter.add_member(:min_bounding_box_width, Shapes::ShapeRef.new(shape: BoundingBoxWidth, location_name: "MinBoundingBoxWidth"))
649
754
  DetectionFilter.struct_class = Types::DetectionFilter
650
755
 
756
+ DistributeDataset.add_member(:arn, Shapes::ShapeRef.new(shape: DatasetArn, required: true, location_name: "Arn"))
757
+ DistributeDataset.struct_class = Types::DistributeDataset
758
+
759
+ DistributeDatasetEntriesRequest.add_member(:datasets, Shapes::ShapeRef.new(shape: DistributeDatasetMetadataList, required: true, location_name: "Datasets"))
760
+ DistributeDatasetEntriesRequest.struct_class = Types::DistributeDatasetEntriesRequest
761
+
762
+ DistributeDatasetEntriesResponse.struct_class = Types::DistributeDatasetEntriesResponse
763
+
764
+ DistributeDatasetMetadataList.member = Shapes::ShapeRef.new(shape: DistributeDataset)
765
+
651
766
  Emotion.add_member(:type, Shapes::ShapeRef.new(shape: EmotionName, location_name: "Type"))
652
767
  Emotion.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
653
768
  Emotion.struct_class = Types::Emotion
@@ -956,6 +1071,28 @@ module Aws::Rekognition
956
1071
  ListCollectionsResponse.add_member(:face_model_versions, Shapes::ShapeRef.new(shape: FaceModelVersionList, location_name: "FaceModelVersions"))
957
1072
  ListCollectionsResponse.struct_class = Types::ListCollectionsResponse
958
1073
 
1074
+ ListDatasetEntriesRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, required: true, location_name: "DatasetArn"))
1075
+ ListDatasetEntriesRequest.add_member(:contains_labels, Shapes::ShapeRef.new(shape: DatasetLabels, location_name: "ContainsLabels"))
1076
+ ListDatasetEntriesRequest.add_member(:labeled, Shapes::ShapeRef.new(shape: IsLabeled, location_name: "Labeled"))
1077
+ ListDatasetEntriesRequest.add_member(:source_ref_contains, Shapes::ShapeRef.new(shape: QueryString, location_name: "SourceRefContains"))
1078
+ ListDatasetEntriesRequest.add_member(:has_errors, Shapes::ShapeRef.new(shape: HasErrors, location_name: "HasErrors"))
1079
+ ListDatasetEntriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ExtendedPaginationToken, location_name: "NextToken"))
1080
+ ListDatasetEntriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDatasetEntriesPageSize, location_name: "MaxResults"))
1081
+ ListDatasetEntriesRequest.struct_class = Types::ListDatasetEntriesRequest
1082
+
1083
+ ListDatasetEntriesResponse.add_member(:dataset_entries, Shapes::ShapeRef.new(shape: DatasetEntries, location_name: "DatasetEntries"))
1084
+ ListDatasetEntriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ExtendedPaginationToken, location_name: "NextToken"))
1085
+ ListDatasetEntriesResponse.struct_class = Types::ListDatasetEntriesResponse
1086
+
1087
+ ListDatasetLabelsRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, required: true, location_name: "DatasetArn"))
1088
+ ListDatasetLabelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ExtendedPaginationToken, location_name: "NextToken"))
1089
+ ListDatasetLabelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDatasetLabelsPageSize, location_name: "MaxResults"))
1090
+ ListDatasetLabelsRequest.struct_class = Types::ListDatasetLabelsRequest
1091
+
1092
+ ListDatasetLabelsResponse.add_member(:dataset_label_descriptions, Shapes::ShapeRef.new(shape: DatasetLabelDescriptions, location_name: "DatasetLabelDescriptions"))
1093
+ ListDatasetLabelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ExtendedPaginationToken, location_name: "NextToken"))
1094
+ ListDatasetLabelsResponse.struct_class = Types::ListDatasetLabelsResponse
1095
+
959
1096
  ListFacesRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "CollectionId"))
960
1097
  ListFacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
961
1098
  ListFacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
@@ -1040,10 +1177,13 @@ module Aws::Rekognition
1040
1177
  ProjectDescription.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, location_name: "ProjectArn"))
1041
1178
  ProjectDescription.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTimestamp"))
1042
1179
  ProjectDescription.add_member(:status, Shapes::ShapeRef.new(shape: ProjectStatus, location_name: "Status"))
1180
+ ProjectDescription.add_member(:datasets, Shapes::ShapeRef.new(shape: DatasetMetadataList, location_name: "Datasets"))
1043
1181
  ProjectDescription.struct_class = Types::ProjectDescription
1044
1182
 
1045
1183
  ProjectDescriptions.member = Shapes::ShapeRef.new(shape: ProjectDescription)
1046
1184
 
1185
+ ProjectNames.member = Shapes::ShapeRef.new(shape: ProjectName)
1186
+
1047
1187
  ProjectVersionDescription.add_member(:project_version_arn, Shapes::ShapeRef.new(shape: ProjectVersionArn, location_name: "ProjectVersionArn"))
1048
1188
  ProjectVersionDescription.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTimestamp"))
1049
1189
  ProjectVersionDescription.add_member(:min_inference_units, Shapes::ShapeRef.new(shape: InferenceUnits, location_name: "MinInferenceUnits"))
@@ -1377,6 +1517,12 @@ module Aws::Rekognition
1377
1517
 
1378
1518
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
1379
1519
 
1520
+ UpdateDatasetEntriesRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, required: true, location_name: "DatasetArn"))
1521
+ UpdateDatasetEntriesRequest.add_member(:changes, Shapes::ShapeRef.new(shape: DatasetChanges, required: true, location_name: "Changes"))
1522
+ UpdateDatasetEntriesRequest.struct_class = Types::UpdateDatasetEntriesRequest
1523
+
1524
+ UpdateDatasetEntriesResponse.struct_class = Types::UpdateDatasetEntriesResponse
1525
+
1380
1526
  Urls.member = Shapes::ShapeRef.new(shape: Url)
1381
1527
 
1382
1528
  ValidationData.add_member(:assets, Shapes::ShapeRef.new(shape: Assets, location_name: "Assets"))
@@ -1449,6 +1595,23 @@ module Aws::Rekognition
1449
1595
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1450
1596
  end)
1451
1597
 
1598
+ api.add_operation(:create_dataset, Seahorse::Model::Operation.new.tap do |o|
1599
+ o.name = "CreateDataset"
1600
+ o.http_method = "POST"
1601
+ o.http_request_uri = "/"
1602
+ o.input = Shapes::ShapeRef.new(shape: CreateDatasetRequest)
1603
+ o.output = Shapes::ShapeRef.new(shape: CreateDatasetResponse)
1604
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1605
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1606
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
1607
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1608
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1609
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1610
+ o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
1611
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1612
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1613
+ end)
1614
+
1452
1615
  api.add_operation(:create_project, Seahorse::Model::Operation.new.tap do |o|
1453
1616
  o.name = "CreateProject"
1454
1617
  o.http_method = "POST"
@@ -1511,6 +1674,22 @@ module Aws::Rekognition
1511
1674
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1512
1675
  end)
1513
1676
 
1677
+ api.add_operation(:delete_dataset, Seahorse::Model::Operation.new.tap do |o|
1678
+ o.name = "DeleteDataset"
1679
+ o.http_method = "POST"
1680
+ o.http_request_uri = "/"
1681
+ o.input = Shapes::ShapeRef.new(shape: DeleteDatasetRequest)
1682
+ o.output = Shapes::ShapeRef.new(shape: DeleteDatasetResponse)
1683
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1684
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1685
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
1686
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1687
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1688
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1689
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1690
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1691
+ end)
1692
+
1514
1693
  api.add_operation(:delete_faces, Seahorse::Model::Operation.new.tap do |o|
1515
1694
  o.name = "DeleteFaces"
1516
1695
  o.http_method = "POST"
@@ -1584,6 +1763,20 @@ module Aws::Rekognition
1584
1763
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1585
1764
  end)
1586
1765
 
1766
+ api.add_operation(:describe_dataset, Seahorse::Model::Operation.new.tap do |o|
1767
+ o.name = "DescribeDataset"
1768
+ o.http_method = "POST"
1769
+ o.http_request_uri = "/"
1770
+ o.input = Shapes::ShapeRef.new(shape: DescribeDatasetRequest)
1771
+ o.output = Shapes::ShapeRef.new(shape: DescribeDatasetResponse)
1772
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1773
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1774
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
1775
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1776
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1777
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1778
+ end)
1779
+
1587
1780
  api.add_operation(:describe_project_versions, Seahorse::Model::Operation.new.tap do |o|
1588
1781
  o.name = "DescribeProjectVersions"
1589
1782
  o.http_method = "POST"
@@ -1739,6 +1932,21 @@ module Aws::Rekognition
1739
1932
  o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
1740
1933
  end)
1741
1934
 
1935
+ api.add_operation(:distribute_dataset_entries, Seahorse::Model::Operation.new.tap do |o|
1936
+ o.name = "DistributeDatasetEntries"
1937
+ o.http_method = "POST"
1938
+ o.http_request_uri = "/"
1939
+ o.input = Shapes::ShapeRef.new(shape: DistributeDatasetEntriesRequest)
1940
+ o.output = Shapes::ShapeRef.new(shape: DistributeDatasetEntriesResponse)
1941
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1942
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1943
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1944
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1945
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1946
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
1947
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
1948
+ end)
1949
+
1742
1950
  api.add_operation(:get_celebrity_info, Seahorse::Model::Operation.new.tap do |o|
1743
1951
  o.name = "GetCelebrityInfo"
1744
1952
  o.http_method = "POST"
@@ -1960,6 +2168,52 @@ module Aws::Rekognition
1960
2168
  )
1961
2169
  end)
1962
2170
 
2171
+ api.add_operation(:list_dataset_entries, Seahorse::Model::Operation.new.tap do |o|
2172
+ o.name = "ListDatasetEntries"
2173
+ o.http_method = "POST"
2174
+ o.http_request_uri = "/"
2175
+ o.input = Shapes::ShapeRef.new(shape: ListDatasetEntriesRequest)
2176
+ o.output = Shapes::ShapeRef.new(shape: ListDatasetEntriesResponse)
2177
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2178
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2179
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
2180
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2181
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2182
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2183
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2184
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
2185
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
2186
+ o[:pager] = Aws::Pager.new(
2187
+ limit_key: "max_results",
2188
+ tokens: {
2189
+ "next_token" => "next_token"
2190
+ }
2191
+ )
2192
+ end)
2193
+
2194
+ api.add_operation(:list_dataset_labels, Seahorse::Model::Operation.new.tap do |o|
2195
+ o.name = "ListDatasetLabels"
2196
+ o.http_method = "POST"
2197
+ o.http_request_uri = "/"
2198
+ o.input = Shapes::ShapeRef.new(shape: ListDatasetLabelsRequest)
2199
+ o.output = Shapes::ShapeRef.new(shape: ListDatasetLabelsResponse)
2200
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2201
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2202
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
2203
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2204
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2205
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2206
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
2207
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2208
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
2209
+ o[:pager] = Aws::Pager.new(
2210
+ limit_key: "max_results",
2211
+ tokens: {
2212
+ "next_token" => "next_token"
2213
+ }
2214
+ )
2215
+ end)
2216
+
1963
2217
  api.add_operation(:list_faces, Seahorse::Model::Operation.new.tap do |o|
1964
2218
  o.name = "ListFaces"
1965
2219
  o.http_method = "POST"
@@ -2289,6 +2543,22 @@ module Aws::Rekognition
2289
2543
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2290
2544
  o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
2291
2545
  end)
2546
+
2547
+ api.add_operation(:update_dataset_entries, Seahorse::Model::Operation.new.tap do |o|
2548
+ o.name = "UpdateDatasetEntries"
2549
+ o.http_method = "POST"
2550
+ o.http_request_uri = "/"
2551
+ o.input = Shapes::ShapeRef.new(shape: UpdateDatasetEntriesRequest)
2552
+ o.output = Shapes::ShapeRef.new(shape: UpdateDatasetEntriesResponse)
2553
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2554
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2555
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
2556
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2557
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2558
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2559
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2560
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2561
+ end)
2292
2562
  end
2293
2563
 
2294
2564
  end