aws-sdk-rekognition 1.87.0 → 1.89.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.
@@ -84,6 +84,10 @@ module Aws::Rekognition
84
84
  CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
85
85
  CustomLabel = Shapes::StructureShape.new(name: 'CustomLabel')
86
86
  CustomLabels = Shapes::ListShape.new(name: 'CustomLabels')
87
+ CustomizationFeature = Shapes::StringShape.new(name: 'CustomizationFeature')
88
+ CustomizationFeatureConfig = Shapes::StructureShape.new(name: 'CustomizationFeatureConfig')
89
+ CustomizationFeatureContentModerationConfig = Shapes::StructureShape.new(name: 'CustomizationFeatureContentModerationConfig')
90
+ CustomizationFeatures = Shapes::ListShape.new(name: 'CustomizationFeatures')
87
91
  DatasetArn = Shapes::StringShape.new(name: 'DatasetArn')
88
92
  DatasetChanges = Shapes::StructureShape.new(name: 'DatasetChanges')
89
93
  DatasetDescription = Shapes::StructureShape.new(name: 'DatasetDescription')
@@ -214,6 +218,8 @@ module Aws::Rekognition
214
218
  GetLabelDetectionRequest = Shapes::StructureShape.new(name: 'GetLabelDetectionRequest')
215
219
  GetLabelDetectionRequestMetadata = Shapes::StructureShape.new(name: 'GetLabelDetectionRequestMetadata')
216
220
  GetLabelDetectionResponse = Shapes::StructureShape.new(name: 'GetLabelDetectionResponse')
221
+ GetMediaAnalysisJobRequest = Shapes::StructureShape.new(name: 'GetMediaAnalysisJobRequest')
222
+ GetMediaAnalysisJobResponse = Shapes::StructureShape.new(name: 'GetMediaAnalysisJobResponse')
217
223
  GetPersonTrackingRequest = Shapes::StructureShape.new(name: 'GetPersonTrackingRequest')
218
224
  GetPersonTrackingResponse = Shapes::StructureShape.new(name: 'GetPersonTrackingResponse')
219
225
  GetSegmentDetectionRequest = Shapes::StructureShape.new(name: 'GetSegmentDetectionRequest')
@@ -246,6 +252,7 @@ module Aws::Rekognition
246
252
  Instances = Shapes::ListShape.new(name: 'Instances')
247
253
  InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
248
254
  InvalidImageFormatException = Shapes::StructureShape.new(name: 'InvalidImageFormatException')
255
+ InvalidManifestException = Shapes::StructureShape.new(name: 'InvalidManifestException')
249
256
  InvalidPaginationTokenException = Shapes::StructureShape.new(name: 'InvalidPaginationTokenException')
250
257
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
251
258
  InvalidPolicyRevisionIdException = Shapes::StructureShape.new(name: 'InvalidPolicyRevisionIdException')
@@ -289,6 +296,9 @@ module Aws::Rekognition
289
296
  ListDatasetLabelsResponse = Shapes::StructureShape.new(name: 'ListDatasetLabelsResponse')
290
297
  ListFacesRequest = Shapes::StructureShape.new(name: 'ListFacesRequest')
291
298
  ListFacesResponse = Shapes::StructureShape.new(name: 'ListFacesResponse')
299
+ ListMediaAnalysisJobsPageSize = Shapes::IntegerShape.new(name: 'ListMediaAnalysisJobsPageSize')
300
+ ListMediaAnalysisJobsRequest = Shapes::StructureShape.new(name: 'ListMediaAnalysisJobsRequest')
301
+ ListMediaAnalysisJobsResponse = Shapes::StructureShape.new(name: 'ListMediaAnalysisJobsResponse')
292
302
  ListProjectPoliciesPageSize = Shapes::IntegerShape.new(name: 'ListProjectPoliciesPageSize')
293
303
  ListProjectPoliciesRequest = Shapes::StructureShape.new(name: 'ListProjectPoliciesRequest')
294
304
  ListProjectPoliciesResponse = Shapes::StructureShape.new(name: 'ListProjectPoliciesResponse')
@@ -311,6 +321,20 @@ module Aws::Rekognition
311
321
  MaxPixelThreshold = Shapes::FloatShape.new(name: 'MaxPixelThreshold')
312
322
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
313
323
  MaxUserResults = Shapes::IntegerShape.new(name: 'MaxUserResults')
324
+ MediaAnalysisDetectModerationLabelsConfig = Shapes::StructureShape.new(name: 'MediaAnalysisDetectModerationLabelsConfig')
325
+ MediaAnalysisInput = Shapes::StructureShape.new(name: 'MediaAnalysisInput')
326
+ MediaAnalysisJobDescription = Shapes::StructureShape.new(name: 'MediaAnalysisJobDescription')
327
+ MediaAnalysisJobDescriptions = Shapes::ListShape.new(name: 'MediaAnalysisJobDescriptions')
328
+ MediaAnalysisJobFailureCode = Shapes::StringShape.new(name: 'MediaAnalysisJobFailureCode')
329
+ MediaAnalysisJobFailureDetails = Shapes::StructureShape.new(name: 'MediaAnalysisJobFailureDetails')
330
+ MediaAnalysisJobId = Shapes::StringShape.new(name: 'MediaAnalysisJobId')
331
+ MediaAnalysisJobName = Shapes::StringShape.new(name: 'MediaAnalysisJobName')
332
+ MediaAnalysisJobStatus = Shapes::StringShape.new(name: 'MediaAnalysisJobStatus')
333
+ MediaAnalysisManifestSummary = Shapes::StructureShape.new(name: 'MediaAnalysisManifestSummary')
334
+ MediaAnalysisOperationsConfig = Shapes::StructureShape.new(name: 'MediaAnalysisOperationsConfig')
335
+ MediaAnalysisOutputConfig = Shapes::StructureShape.new(name: 'MediaAnalysisOutputConfig')
336
+ MediaAnalysisResults = Shapes::StructureShape.new(name: 'MediaAnalysisResults')
337
+ MediaAnalysisS3KeyPrefix = Shapes::StringShape.new(name: 'MediaAnalysisS3KeyPrefix')
314
338
  MinCoveragePercentage = Shapes::FloatShape.new(name: 'MinCoveragePercentage')
315
339
  ModerationLabel = Shapes::StructureShape.new(name: 'ModerationLabel')
316
340
  ModerationLabels = Shapes::ListShape.new(name: 'ModerationLabels')
@@ -335,6 +359,7 @@ module Aws::Rekognition
335
359
  Polygon = Shapes::ListShape.new(name: 'Polygon')
336
360
  Pose = Shapes::StructureShape.new(name: 'Pose')
337
361
  ProjectArn = Shapes::StringShape.new(name: 'ProjectArn')
362
+ ProjectAutoUpdate = Shapes::StringShape.new(name: 'ProjectAutoUpdate')
338
363
  ProjectDescription = Shapes::StructureShape.new(name: 'ProjectDescription')
339
364
  ProjectDescriptions = Shapes::ListShape.new(name: 'ProjectDescriptions')
340
365
  ProjectName = Shapes::StringShape.new(name: 'ProjectName')
@@ -348,6 +373,7 @@ module Aws::Rekognition
348
373
  ProjectVersionArn = Shapes::StringShape.new(name: 'ProjectVersionArn')
349
374
  ProjectVersionDescription = Shapes::StructureShape.new(name: 'ProjectVersionDescription')
350
375
  ProjectVersionDescriptions = Shapes::ListShape.new(name: 'ProjectVersionDescriptions')
376
+ ProjectVersionId = Shapes::StringShape.new(name: 'ProjectVersionId')
351
377
  ProjectVersionStatus = Shapes::StringShape.new(name: 'ProjectVersionStatus')
352
378
  ProjectVersionsPageSize = Shapes::IntegerShape.new(name: 'ProjectVersionsPageSize')
353
379
  ProjectsPageSize = Shapes::IntegerShape.new(name: 'ProjectsPageSize')
@@ -416,6 +442,8 @@ module Aws::Rekognition
416
442
  StartFaceSearchResponse = Shapes::StructureShape.new(name: 'StartFaceSearchResponse')
417
443
  StartLabelDetectionRequest = Shapes::StructureShape.new(name: 'StartLabelDetectionRequest')
418
444
  StartLabelDetectionResponse = Shapes::StructureShape.new(name: 'StartLabelDetectionResponse')
445
+ StartMediaAnalysisJobRequest = Shapes::StructureShape.new(name: 'StartMediaAnalysisJobRequest')
446
+ StartMediaAnalysisJobResponse = Shapes::StructureShape.new(name: 'StartMediaAnalysisJobResponse')
419
447
  StartPersonTrackingRequest = Shapes::StructureShape.new(name: 'StartPersonTrackingRequest')
420
448
  StartPersonTrackingResponse = Shapes::StructureShape.new(name: 'StartPersonTrackingResponse')
421
449
  StartProjectVersionRequest = Shapes::StructureShape.new(name: 'StartProjectVersionRequest')
@@ -510,6 +538,7 @@ module Aws::Rekognition
510
538
  UserMatchList = Shapes::ListShape.new(name: 'UserMatchList')
511
539
  UserStatus = Shapes::StringShape.new(name: 'UserStatus')
512
540
  ValidationData = Shapes::StructureShape.new(name: 'ValidationData')
541
+ VersionDescription = Shapes::StringShape.new(name: 'VersionDescription')
513
542
  VersionName = Shapes::StringShape.new(name: 'VersionName')
514
543
  VersionNames = Shapes::ListShape.new(name: 'VersionNames')
515
544
  Video = Shapes::StructureShape.new(name: 'Video')
@@ -712,6 +741,8 @@ module Aws::Rekognition
712
741
  CreateFaceLivenessSessionResponse.struct_class = Types::CreateFaceLivenessSessionResponse
713
742
 
714
743
  CreateProjectRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "ProjectName"))
744
+ CreateProjectRequest.add_member(:feature, Shapes::ShapeRef.new(shape: CustomizationFeature, location_name: "Feature"))
745
+ CreateProjectRequest.add_member(:auto_update, Shapes::ShapeRef.new(shape: ProjectAutoUpdate, location_name: "AutoUpdate"))
715
746
  CreateProjectRequest.struct_class = Types::CreateProjectRequest
716
747
 
717
748
  CreateProjectResponse.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, location_name: "ProjectArn"))
@@ -724,6 +755,8 @@ module Aws::Rekognition
724
755
  CreateProjectVersionRequest.add_member(:testing_data, Shapes::ShapeRef.new(shape: TestingData, location_name: "TestingData"))
725
756
  CreateProjectVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
726
757
  CreateProjectVersionRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
758
+ CreateProjectVersionRequest.add_member(:version_description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "VersionDescription"))
759
+ CreateProjectVersionRequest.add_member(:feature_config, Shapes::ShapeRef.new(shape: CustomizationFeatureConfig, location_name: "FeatureConfig"))
727
760
  CreateProjectVersionRequest.struct_class = Types::CreateProjectVersionRequest
728
761
 
729
762
  CreateProjectVersionResponse.add_member(:project_version_arn, Shapes::ShapeRef.new(shape: ProjectVersionArn, location_name: "ProjectVersionArn"))
@@ -758,6 +791,14 @@ module Aws::Rekognition
758
791
 
759
792
  CustomLabels.member = Shapes::ShapeRef.new(shape: CustomLabel)
760
793
 
794
+ CustomizationFeatureConfig.add_member(:content_moderation, Shapes::ShapeRef.new(shape: CustomizationFeatureContentModerationConfig, location_name: "ContentModeration"))
795
+ CustomizationFeatureConfig.struct_class = Types::CustomizationFeatureConfig
796
+
797
+ CustomizationFeatureContentModerationConfig.add_member(:confidence_threshold, Shapes::ShapeRef.new(shape: Percent, location_name: "ConfidenceThreshold"))
798
+ CustomizationFeatureContentModerationConfig.struct_class = Types::CustomizationFeatureContentModerationConfig
799
+
800
+ CustomizationFeatures.member = Shapes::ShapeRef.new(shape: CustomizationFeature)
801
+
761
802
  DatasetChanges.add_member(:ground_truth, Shapes::ShapeRef.new(shape: GroundTruthBlob, required: true, location_name: "GroundTruth"))
762
803
  DatasetChanges.struct_class = Types::DatasetChanges
763
804
 
@@ -882,6 +923,7 @@ module Aws::Rekognition
882
923
  DescribeProjectsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ExtendedPaginationToken, location_name: "NextToken"))
883
924
  DescribeProjectsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ProjectsPageSize, location_name: "MaxResults"))
884
925
  DescribeProjectsRequest.add_member(:project_names, Shapes::ShapeRef.new(shape: ProjectNames, location_name: "ProjectNames"))
926
+ DescribeProjectsRequest.add_member(:features, Shapes::ShapeRef.new(shape: CustomizationFeatures, location_name: "Features"))
885
927
  DescribeProjectsRequest.struct_class = Types::DescribeProjectsRequest
886
928
 
887
929
  DescribeProjectsResponse.add_member(:project_descriptions, Shapes::ShapeRef.new(shape: ProjectDescriptions, location_name: "ProjectDescriptions"))
@@ -968,11 +1010,13 @@ module Aws::Rekognition
968
1010
  DetectModerationLabelsRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
969
1011
  DetectModerationLabelsRequest.add_member(:min_confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "MinConfidence"))
970
1012
  DetectModerationLabelsRequest.add_member(:human_loop_config, Shapes::ShapeRef.new(shape: HumanLoopConfig, location_name: "HumanLoopConfig"))
1013
+ DetectModerationLabelsRequest.add_member(:project_version, Shapes::ShapeRef.new(shape: ProjectVersionId, location_name: "ProjectVersion"))
971
1014
  DetectModerationLabelsRequest.struct_class = Types::DetectModerationLabelsRequest
972
1015
 
973
1016
  DetectModerationLabelsResponse.add_member(:moderation_labels, Shapes::ShapeRef.new(shape: ModerationLabels, location_name: "ModerationLabels"))
974
1017
  DetectModerationLabelsResponse.add_member(:moderation_model_version, Shapes::ShapeRef.new(shape: String, location_name: "ModerationModelVersion"))
975
1018
  DetectModerationLabelsResponse.add_member(:human_loop_activation_output, Shapes::ShapeRef.new(shape: HumanLoopActivationOutput, location_name: "HumanLoopActivationOutput"))
1019
+ DetectModerationLabelsResponse.add_member(:project_version, Shapes::ShapeRef.new(shape: ProjectVersionId, location_name: "ProjectVersion"))
976
1020
  DetectModerationLabelsResponse.struct_class = Types::DetectModerationLabelsResponse
977
1021
 
978
1022
  DetectProtectiveEquipmentRequest.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
@@ -1258,6 +1302,23 @@ module Aws::Rekognition
1258
1302
  GetLabelDetectionResponse.add_member(:get_request_metadata, Shapes::ShapeRef.new(shape: GetLabelDetectionRequestMetadata, location_name: "GetRequestMetadata"))
1259
1303
  GetLabelDetectionResponse.struct_class = Types::GetLabelDetectionResponse
1260
1304
 
1305
+ GetMediaAnalysisJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: MediaAnalysisJobId, required: true, location_name: "JobId"))
1306
+ GetMediaAnalysisJobRequest.struct_class = Types::GetMediaAnalysisJobRequest
1307
+
1308
+ GetMediaAnalysisJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: MediaAnalysisJobId, required: true, location_name: "JobId"))
1309
+ GetMediaAnalysisJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: MediaAnalysisJobName, location_name: "JobName"))
1310
+ GetMediaAnalysisJobResponse.add_member(:operations_config, Shapes::ShapeRef.new(shape: MediaAnalysisOperationsConfig, required: true, location_name: "OperationsConfig"))
1311
+ GetMediaAnalysisJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: MediaAnalysisJobStatus, required: true, location_name: "Status"))
1312
+ GetMediaAnalysisJobResponse.add_member(:failure_details, Shapes::ShapeRef.new(shape: MediaAnalysisJobFailureDetails, location_name: "FailureDetails"))
1313
+ GetMediaAnalysisJobResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "CreationTimestamp"))
1314
+ GetMediaAnalysisJobResponse.add_member(:completion_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CompletionTimestamp"))
1315
+ GetMediaAnalysisJobResponse.add_member(:input, Shapes::ShapeRef.new(shape: MediaAnalysisInput, required: true, location_name: "Input"))
1316
+ GetMediaAnalysisJobResponse.add_member(:output_config, Shapes::ShapeRef.new(shape: MediaAnalysisOutputConfig, required: true, location_name: "OutputConfig"))
1317
+ GetMediaAnalysisJobResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
1318
+ GetMediaAnalysisJobResponse.add_member(:results, Shapes::ShapeRef.new(shape: MediaAnalysisResults, location_name: "Results"))
1319
+ GetMediaAnalysisJobResponse.add_member(:manifest_summary, Shapes::ShapeRef.new(shape: MediaAnalysisManifestSummary, location_name: "ManifestSummary"))
1320
+ GetMediaAnalysisJobResponse.struct_class = Types::GetMediaAnalysisJobResponse
1321
+
1261
1322
  GetPersonTrackingRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
1262
1323
  GetPersonTrackingRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
1263
1324
  GetPersonTrackingRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
@@ -1367,6 +1428,8 @@ module Aws::Rekognition
1367
1428
 
1368
1429
  InvalidImageFormatException.struct_class = Types::InvalidImageFormatException
1369
1430
 
1431
+ InvalidManifestException.struct_class = Types::InvalidManifestException
1432
+
1370
1433
  InvalidPaginationTokenException.struct_class = Types::InvalidPaginationTokenException
1371
1434
 
1372
1435
  InvalidParameterException.struct_class = Types::InvalidParameterException
@@ -1474,6 +1537,14 @@ module Aws::Rekognition
1474
1537
  ListFacesResponse.add_member(:face_model_version, Shapes::ShapeRef.new(shape: String, location_name: "FaceModelVersion"))
1475
1538
  ListFacesResponse.struct_class = Types::ListFacesResponse
1476
1539
 
1540
+ ListMediaAnalysisJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ExtendedPaginationToken, location_name: "NextToken"))
1541
+ ListMediaAnalysisJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMediaAnalysisJobsPageSize, location_name: "MaxResults"))
1542
+ ListMediaAnalysisJobsRequest.struct_class = Types::ListMediaAnalysisJobsRequest
1543
+
1544
+ ListMediaAnalysisJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ExtendedPaginationToken, location_name: "NextToken"))
1545
+ ListMediaAnalysisJobsResponse.add_member(:media_analysis_jobs, Shapes::ShapeRef.new(shape: MediaAnalysisJobDescriptions, required: true, location_name: "MediaAnalysisJobs"))
1546
+ ListMediaAnalysisJobsResponse.struct_class = Types::ListMediaAnalysisJobsResponse
1547
+
1477
1548
  ListProjectPoliciesRequest.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, required: true, location_name: "ProjectArn"))
1478
1549
  ListProjectPoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ExtendedPaginationToken, location_name: "NextToken"))
1479
1550
  ListProjectPoliciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListProjectPoliciesPageSize, location_name: "MaxResults"))
@@ -1516,6 +1587,46 @@ module Aws::Rekognition
1516
1587
  MatchedUser.add_member(:user_status, Shapes::ShapeRef.new(shape: UserStatus, location_name: "UserStatus"))
1517
1588
  MatchedUser.struct_class = Types::MatchedUser
1518
1589
 
1590
+ MediaAnalysisDetectModerationLabelsConfig.add_member(:min_confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "MinConfidence"))
1591
+ MediaAnalysisDetectModerationLabelsConfig.add_member(:project_version, Shapes::ShapeRef.new(shape: ProjectVersionId, location_name: "ProjectVersion"))
1592
+ MediaAnalysisDetectModerationLabelsConfig.struct_class = Types::MediaAnalysisDetectModerationLabelsConfig
1593
+
1594
+ MediaAnalysisInput.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, required: true, location_name: "S3Object"))
1595
+ MediaAnalysisInput.struct_class = Types::MediaAnalysisInput
1596
+
1597
+ MediaAnalysisJobDescription.add_member(:job_id, Shapes::ShapeRef.new(shape: MediaAnalysisJobId, required: true, location_name: "JobId"))
1598
+ MediaAnalysisJobDescription.add_member(:job_name, Shapes::ShapeRef.new(shape: MediaAnalysisJobName, location_name: "JobName"))
1599
+ MediaAnalysisJobDescription.add_member(:operations_config, Shapes::ShapeRef.new(shape: MediaAnalysisOperationsConfig, required: true, location_name: "OperationsConfig"))
1600
+ MediaAnalysisJobDescription.add_member(:status, Shapes::ShapeRef.new(shape: MediaAnalysisJobStatus, required: true, location_name: "Status"))
1601
+ MediaAnalysisJobDescription.add_member(:failure_details, Shapes::ShapeRef.new(shape: MediaAnalysisJobFailureDetails, location_name: "FailureDetails"))
1602
+ MediaAnalysisJobDescription.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "CreationTimestamp"))
1603
+ MediaAnalysisJobDescription.add_member(:completion_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CompletionTimestamp"))
1604
+ MediaAnalysisJobDescription.add_member(:input, Shapes::ShapeRef.new(shape: MediaAnalysisInput, required: true, location_name: "Input"))
1605
+ MediaAnalysisJobDescription.add_member(:output_config, Shapes::ShapeRef.new(shape: MediaAnalysisOutputConfig, required: true, location_name: "OutputConfig"))
1606
+ MediaAnalysisJobDescription.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
1607
+ MediaAnalysisJobDescription.add_member(:results, Shapes::ShapeRef.new(shape: MediaAnalysisResults, location_name: "Results"))
1608
+ MediaAnalysisJobDescription.add_member(:manifest_summary, Shapes::ShapeRef.new(shape: MediaAnalysisManifestSummary, location_name: "ManifestSummary"))
1609
+ MediaAnalysisJobDescription.struct_class = Types::MediaAnalysisJobDescription
1610
+
1611
+ MediaAnalysisJobDescriptions.member = Shapes::ShapeRef.new(shape: MediaAnalysisJobDescription)
1612
+
1613
+ MediaAnalysisJobFailureDetails.add_member(:code, Shapes::ShapeRef.new(shape: MediaAnalysisJobFailureCode, location_name: "Code"))
1614
+ MediaAnalysisJobFailureDetails.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1615
+ MediaAnalysisJobFailureDetails.struct_class = Types::MediaAnalysisJobFailureDetails
1616
+
1617
+ MediaAnalysisManifestSummary.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "S3Object"))
1618
+ MediaAnalysisManifestSummary.struct_class = Types::MediaAnalysisManifestSummary
1619
+
1620
+ MediaAnalysisOperationsConfig.add_member(:detect_moderation_labels, Shapes::ShapeRef.new(shape: MediaAnalysisDetectModerationLabelsConfig, location_name: "DetectModerationLabels"))
1621
+ MediaAnalysisOperationsConfig.struct_class = Types::MediaAnalysisOperationsConfig
1622
+
1623
+ MediaAnalysisOutputConfig.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, required: true, location_name: "S3Bucket"))
1624
+ MediaAnalysisOutputConfig.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: MediaAnalysisS3KeyPrefix, location_name: "S3KeyPrefix"))
1625
+ MediaAnalysisOutputConfig.struct_class = Types::MediaAnalysisOutputConfig
1626
+
1627
+ MediaAnalysisResults.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "S3Object"))
1628
+ MediaAnalysisResults.struct_class = Types::MediaAnalysisResults
1629
+
1519
1630
  ModerationLabel.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
1520
1631
  ModerationLabel.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
1521
1632
  ModerationLabel.add_member(:parent_name, Shapes::ShapeRef.new(shape: String, location_name: "ParentName"))
@@ -1577,6 +1688,8 @@ module Aws::Rekognition
1577
1688
  ProjectDescription.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTimestamp"))
1578
1689
  ProjectDescription.add_member(:status, Shapes::ShapeRef.new(shape: ProjectStatus, location_name: "Status"))
1579
1690
  ProjectDescription.add_member(:datasets, Shapes::ShapeRef.new(shape: DatasetMetadataList, location_name: "Datasets"))
1691
+ ProjectDescription.add_member(:feature, Shapes::ShapeRef.new(shape: CustomizationFeature, location_name: "Feature"))
1692
+ ProjectDescription.add_member(:auto_update, Shapes::ShapeRef.new(shape: ProjectAutoUpdate, location_name: "AutoUpdate"))
1580
1693
  ProjectDescription.struct_class = Types::ProjectDescription
1581
1694
 
1582
1695
  ProjectDescriptions.member = Shapes::ShapeRef.new(shape: ProjectDescription)
@@ -1608,6 +1721,10 @@ module Aws::Rekognition
1608
1721
  ProjectVersionDescription.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
1609
1722
  ProjectVersionDescription.add_member(:max_inference_units, Shapes::ShapeRef.new(shape: InferenceUnits, location_name: "MaxInferenceUnits"))
1610
1723
  ProjectVersionDescription.add_member(:source_project_version_arn, Shapes::ShapeRef.new(shape: ProjectVersionArn, location_name: "SourceProjectVersionArn"))
1724
+ ProjectVersionDescription.add_member(:version_description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "VersionDescription"))
1725
+ ProjectVersionDescription.add_member(:feature, Shapes::ShapeRef.new(shape: CustomizationFeature, location_name: "Feature"))
1726
+ ProjectVersionDescription.add_member(:base_model_version, Shapes::ShapeRef.new(shape: String, location_name: "BaseModelVersion"))
1727
+ ProjectVersionDescription.add_member(:feature_config, Shapes::ShapeRef.new(shape: CustomizationFeatureConfig, location_name: "FeatureConfig"))
1611
1728
  ProjectVersionDescription.struct_class = Types::ProjectVersionDescription
1612
1729
 
1613
1730
  ProjectVersionDescriptions.member = Shapes::ShapeRef.new(shape: ProjectVersionDescription)
@@ -1829,6 +1946,17 @@ module Aws::Rekognition
1829
1946
  StartLabelDetectionResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
1830
1947
  StartLabelDetectionResponse.struct_class = Types::StartLabelDetectionResponse
1831
1948
 
1949
+ StartMediaAnalysisJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
1950
+ StartMediaAnalysisJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: MediaAnalysisJobName, location_name: "JobName"))
1951
+ StartMediaAnalysisJobRequest.add_member(:operations_config, Shapes::ShapeRef.new(shape: MediaAnalysisOperationsConfig, required: true, location_name: "OperationsConfig"))
1952
+ StartMediaAnalysisJobRequest.add_member(:input, Shapes::ShapeRef.new(shape: MediaAnalysisInput, required: true, location_name: "Input"))
1953
+ StartMediaAnalysisJobRequest.add_member(:output_config, Shapes::ShapeRef.new(shape: MediaAnalysisOutputConfig, required: true, location_name: "OutputConfig"))
1954
+ StartMediaAnalysisJobRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
1955
+ StartMediaAnalysisJobRequest.struct_class = Types::StartMediaAnalysisJobRequest
1956
+
1957
+ StartMediaAnalysisJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: MediaAnalysisJobId, required: true, location_name: "JobId"))
1958
+ StartMediaAnalysisJobResponse.struct_class = Types::StartMediaAnalysisJobResponse
1959
+
1832
1960
  StartPersonTrackingRequest.add_member(:video, Shapes::ShapeRef.new(shape: Video, required: true, location_name: "Video"))
1833
1961
  StartPersonTrackingRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
1834
1962
  StartPersonTrackingRequest.add_member(:notification_channel, Shapes::ShapeRef.new(shape: NotificationChannel, location_name: "NotificationChannel"))
@@ -2539,6 +2667,8 @@ module Aws::Rekognition
2539
2667
  o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
2540
2668
  o.errors << Shapes::ShapeRef.new(shape: InvalidImageFormatException)
2541
2669
  o.errors << Shapes::ShapeRef.new(shape: HumanLoopQuotaExceededException)
2670
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2671
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
2542
2672
  end)
2543
2673
 
2544
2674
  api.add_operation(:detect_protective_equipment, Seahorse::Model::Operation.new.tap do |o|
@@ -2737,6 +2867,20 @@ module Aws::Rekognition
2737
2867
  )
2738
2868
  end)
2739
2869
 
2870
+ api.add_operation(:get_media_analysis_job, Seahorse::Model::Operation.new.tap do |o|
2871
+ o.name = "GetMediaAnalysisJob"
2872
+ o.http_method = "POST"
2873
+ o.http_request_uri = "/"
2874
+ o.input = Shapes::ShapeRef.new(shape: GetMediaAnalysisJobRequest)
2875
+ o.output = Shapes::ShapeRef.new(shape: GetMediaAnalysisJobResponse)
2876
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2877
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2878
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2879
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2880
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
2881
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2882
+ end)
2883
+
2740
2884
  api.add_operation(:get_person_tracking, Seahorse::Model::Operation.new.tap do |o|
2741
2885
  o.name = "GetPersonTracking"
2742
2886
  o.http_method = "POST"
@@ -2906,6 +3050,26 @@ module Aws::Rekognition
2906
3050
  )
2907
3051
  end)
2908
3052
 
3053
+ api.add_operation(:list_media_analysis_jobs, Seahorse::Model::Operation.new.tap do |o|
3054
+ o.name = "ListMediaAnalysisJobs"
3055
+ o.http_method = "POST"
3056
+ o.http_request_uri = "/"
3057
+ o.input = Shapes::ShapeRef.new(shape: ListMediaAnalysisJobsRequest)
3058
+ o.output = Shapes::ShapeRef.new(shape: ListMediaAnalysisJobsResponse)
3059
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3060
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
3061
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3062
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
3063
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
3064
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3065
+ o[:pager] = Aws::Pager.new(
3066
+ limit_key: "max_results",
3067
+ tokens: {
3068
+ "next_token" => "next_token"
3069
+ }
3070
+ )
3071
+ end)
3072
+
2909
3073
  api.add_operation(:list_project_policies, Seahorse::Model::Operation.new.tap do |o|
2910
3074
  o.name = "ListProjectPolicies"
2911
3075
  o.http_method = "POST"
@@ -3166,6 +3330,25 @@ module Aws::Rekognition
3166
3330
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3167
3331
  end)
3168
3332
 
3333
+ api.add_operation(:start_media_analysis_job, Seahorse::Model::Operation.new.tap do |o|
3334
+ o.name = "StartMediaAnalysisJob"
3335
+ o.http_method = "POST"
3336
+ o.http_request_uri = "/"
3337
+ o.input = Shapes::ShapeRef.new(shape: StartMediaAnalysisJobRequest)
3338
+ o.output = Shapes::ShapeRef.new(shape: StartMediaAnalysisJobResponse)
3339
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
3340
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3341
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3342
+ o.errors << Shapes::ShapeRef.new(shape: InvalidManifestException)
3343
+ o.errors << Shapes::ShapeRef.new(shape: InvalidS3ObjectException)
3344
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3345
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
3346
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
3347
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3348
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3349
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
3350
+ end)
3351
+
3169
3352
  api.add_operation(:start_person_tracking, Seahorse::Model::Operation.new.tap do |o|
3170
3353
  o.name = "StartPersonTracking"
3171
3354
  o.http_method = "POST"
@@ -32,7 +32,7 @@ module Aws::Rekognition
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://rekognition-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -544,6 +544,20 @@ module Aws::Rekognition
544
544
  end
545
545
  end
546
546
 
547
+ class GetMediaAnalysisJob
548
+ def self.build(context)
549
+ unless context.config.regional_endpoint
550
+ endpoint = context.config.endpoint.to_s
551
+ end
552
+ Aws::Rekognition::EndpointParameters.new(
553
+ region: context.config.region,
554
+ use_dual_stack: context.config.use_dualstack_endpoint,
555
+ use_fips: context.config.use_fips_endpoint,
556
+ endpoint: endpoint,
557
+ )
558
+ end
559
+ end
560
+
547
561
  class GetPersonTracking
548
562
  def self.build(context)
549
563
  unless context.config.regional_endpoint
@@ -656,6 +670,20 @@ module Aws::Rekognition
656
670
  end
657
671
  end
658
672
 
673
+ class ListMediaAnalysisJobs
674
+ def self.build(context)
675
+ unless context.config.regional_endpoint
676
+ endpoint = context.config.endpoint.to_s
677
+ end
678
+ Aws::Rekognition::EndpointParameters.new(
679
+ region: context.config.region,
680
+ use_dual_stack: context.config.use_dualstack_endpoint,
681
+ use_fips: context.config.use_fips_endpoint,
682
+ endpoint: endpoint,
683
+ )
684
+ end
685
+ end
686
+
659
687
  class ListProjectPolicies
660
688
  def self.build(context)
661
689
  unless context.config.regional_endpoint
@@ -866,6 +894,20 @@ module Aws::Rekognition
866
894
  end
867
895
  end
868
896
 
897
+ class StartMediaAnalysisJob
898
+ def self.build(context)
899
+ unless context.config.regional_endpoint
900
+ endpoint = context.config.endpoint.to_s
901
+ end
902
+ Aws::Rekognition::EndpointParameters.new(
903
+ region: context.config.region,
904
+ use_dual_stack: context.config.use_dualstack_endpoint,
905
+ use_fips: context.config.use_fips_endpoint,
906
+ endpoint: endpoint,
907
+ )
908
+ end
909
+ end
910
+
869
911
  class StartPersonTracking
870
912
  def self.build(context)
871
913
  unless context.config.regional_endpoint
@@ -34,6 +34,7 @@ module Aws::Rekognition
34
34
  # * {ImageTooLargeException}
35
35
  # * {InternalServerError}
36
36
  # * {InvalidImageFormatException}
37
+ # * {InvalidManifestException}
37
38
  # * {InvalidPaginationTokenException}
38
39
  # * {InvalidParameterException}
39
40
  # * {InvalidPolicyRevisionIdException}
@@ -141,6 +142,16 @@ module Aws::Rekognition
141
142
  end
142
143
  end
143
144
 
145
+ class InvalidManifestException < ServiceError
146
+
147
+ # @param [Seahorse::Client::RequestContext] context
148
+ # @param [String] message
149
+ # @param [Aws::Rekognition::Types::InvalidManifestException] data
150
+ def initialize(context, message, data = Aws::EmptyStructure.new)
151
+ super(context, message, data)
152
+ end
153
+ end
154
+
144
155
  class InvalidPaginationTokenException < ServiceError
145
156
 
146
157
  # @param [Seahorse::Client::RequestContext] context
@@ -132,6 +132,8 @@ module Aws::Rekognition
132
132
  Aws::Rekognition::Endpoints::GetFaceSearch.build(context)
133
133
  when :get_label_detection
134
134
  Aws::Rekognition::Endpoints::GetLabelDetection.build(context)
135
+ when :get_media_analysis_job
136
+ Aws::Rekognition::Endpoints::GetMediaAnalysisJob.build(context)
135
137
  when :get_person_tracking
136
138
  Aws::Rekognition::Endpoints::GetPersonTracking.build(context)
137
139
  when :get_segment_detection
@@ -148,6 +150,8 @@ module Aws::Rekognition
148
150
  Aws::Rekognition::Endpoints::ListDatasetLabels.build(context)
149
151
  when :list_faces
150
152
  Aws::Rekognition::Endpoints::ListFaces.build(context)
153
+ when :list_media_analysis_jobs
154
+ Aws::Rekognition::Endpoints::ListMediaAnalysisJobs.build(context)
151
155
  when :list_project_policies
152
156
  Aws::Rekognition::Endpoints::ListProjectPolicies.build(context)
153
157
  when :list_stream_processors
@@ -178,6 +182,8 @@ module Aws::Rekognition
178
182
  Aws::Rekognition::Endpoints::StartFaceSearch.build(context)
179
183
  when :start_label_detection
180
184
  Aws::Rekognition::Endpoints::StartLabelDetection.build(context)
185
+ when :start_media_analysis_job
186
+ Aws::Rekognition::Endpoints::StartMediaAnalysisJob.build(context)
181
187
  when :start_person_tracking
182
188
  Aws::Rekognition::Endpoints::StartPersonTracking.build(context)
183
189
  when :start_project_version