From 00129b908079f9a9743bd8a1f065905355656bdf Mon Sep 17 00:00:00 2001 From: awsmobilesdk Date: Wed, 3 Jul 2024 18:13:43 +0000 Subject: [PATCH] feat(aws-android-sdk-rekognition): update models to latest --- .../rekognition/AmazonRekognition.java | 305 ++++-- .../rekognition/AmazonRekognitionClient.java | 387 ++++++-- .../model/AccessDeniedException.java | 2 +- .../services/rekognition/model/AgeRange.java | 2 +- .../services/rekognition/model/Asset.java | 2 +- .../model/AssociateFacesRequest.java | 2 +- .../model/AssociateFacesResult.java | 56 +- .../rekognition/model/AssociatedFace.java | 2 +- .../services/rekognition/model/Attribute.java | 2 +- .../rekognition/model/AudioMetadata.java | 2 +- .../rekognition/model/AuditImage.java | 2 +- .../services/rekognition/model/Beard.java | 2 +- .../rekognition/model/BlackFrame.java | 2 +- .../services/rekognition/model/BodyPart.java | 2 +- .../rekognition/model/BoundingBox.java | 2 +- .../services/rekognition/model/Celebrity.java | 2 +- .../rekognition/model/CelebrityDetail.java | 2 +- .../model/CelebrityRecognition.java | 2 +- .../model/CelebrityRecognitionSortBy.java | 2 +- .../rekognition/model/CompareFacesMatch.java | 2 +- .../model/CompareFacesRequest.java | 2 +- .../rekognition/model/CompareFacesResult.java | 2 +- .../rekognition/model/ComparedFace.java | 2 +- .../model/ComparedSourceImageFace.java | 2 +- .../rekognition/model/ConflictException.java | 2 +- .../model/ConnectedHomeSettings.java | 2 +- .../model/ConnectedHomeSettingsForUpdate.java | 2 +- .../rekognition/model/ContentClassifier.java | 2 +- .../model/ContentModerationAggregateBy.java | 2 +- .../model/ContentModerationDetection.java | 113 ++- .../model/ContentModerationSortBy.java | 2 +- .../rekognition/model/ContentType.java | 194 ++++ .../model/CopyProjectVersionRequest.java | 10 +- .../model/CopyProjectVersionResult.java | 2 +- .../rekognition/model/CoversBodyPart.java | 2 +- .../model/CreateCollectionRequest.java | 2 +- .../model/CreateCollectionResult.java | 2 +- .../model/CreateDatasetRequest.java | 106 +- .../model/CreateDatasetResult.java | 2 +- .../CreateFaceLivenessSessionRequest.java | 2 +- ...ateFaceLivenessSessionRequestSettings.java | 2 +- .../CreateFaceLivenessSessionResult.java | 53 +- .../model/CreateProjectRequest.java | 382 +++++++- .../model/CreateProjectResult.java | 2 +- .../model/CreateProjectVersionRequest.java | 460 ++++++--- .../model/CreateProjectVersionResult.java | 24 +- .../model/CreateStreamProcessorRequest.java | 2 +- .../model/CreateStreamProcessorResult.java | 2 +- .../rekognition/model/CreateUserRequest.java | 2 +- .../rekognition/model/CreateUserResult.java | 2 +- .../rekognition/model/CustomLabel.java | 2 +- .../model/CustomizationFeature.java | 62 ++ .../model/CustomizationFeatureConfig.java | 127 +++ ...izationFeatureContentModerationConfig.java | 143 +++ .../rekognition/model/DatasetChanges.java | 2 +- .../rekognition/model/DatasetDescription.java | 2 +- .../model/DatasetLabelDescription.java | 2 +- .../rekognition/model/DatasetLabelStats.java | 2 +- .../rekognition/model/DatasetMetadata.java | 2 +- .../rekognition/model/DatasetSource.java | 2 +- .../rekognition/model/DatasetStats.java | 2 +- .../rekognition/model/DatasetStatus.java | 2 +- .../model/DatasetStatusMessageCode.java | 2 +- .../rekognition/model/DatasetType.java | 2 +- .../model/DeleteCollectionRequest.java | 2 +- .../model/DeleteCollectionResult.java | 2 +- .../model/DeleteDatasetRequest.java | 7 +- .../model/DeleteDatasetResult.java | 2 +- .../rekognition/model/DeleteFacesRequest.java | 2 +- .../rekognition/model/DeleteFacesResult.java | 2 +- .../model/DeleteProjectPolicyRequest.java | 7 +- .../model/DeleteProjectPolicyResult.java | 2 +- .../model/DeleteProjectRequest.java | 8 +- .../model/DeleteProjectResult.java | 2 +- .../model/DeleteProjectVersionRequest.java | 30 +- .../model/DeleteProjectVersionResult.java | 20 +- .../model/DeleteStreamProcessorRequest.java | 2 +- .../model/DeleteStreamProcessorResult.java | 2 +- .../rekognition/model/DeleteUserRequest.java | 2 +- .../rekognition/model/DeleteUserResult.java | 2 +- .../model/DescribeCollectionRequest.java | 2 +- .../model/DescribeCollectionResult.java | 2 +- .../model/DescribeDatasetRequest.java | 7 +- .../model/DescribeDatasetResult.java | 2 +- .../model/DescribeProjectVersionsRequest.java | 158 +-- .../model/DescribeProjectVersionsResult.java | 77 +- .../model/DescribeProjectsRequest.java | 198 ++-- .../model/DescribeProjectsResult.java | 40 +- .../model/DescribeStreamProcessorRequest.java | 2 +- .../model/DescribeStreamProcessorResult.java | 2 +- .../model/DetectCustomLabelsRequest.java | 49 +- .../model/DetectCustomLabelsResult.java | 2 +- .../rekognition/model/DetectFacesRequest.java | 2 +- .../rekognition/model/DetectFacesResult.java | 2 +- .../model/DetectLabelsFeatureName.java | 2 +- .../model/DetectLabelsImageBackground.java | 2 +- .../model/DetectLabelsImageForeground.java | 2 +- .../model/DetectLabelsImageProperties.java | 2 +- .../DetectLabelsImagePropertiesSettings.java | 2 +- .../model/DetectLabelsImageQuality.java | 2 +- .../model/DetectLabelsRequest.java | 2 +- .../rekognition/model/DetectLabelsResult.java | 2 +- .../model/DetectLabelsSettings.java | 2 +- .../model/DetectModerationLabelsRequest.java | 108 ++- .../model/DetectModerationLabelsResult.java | 292 +++++- .../DetectProtectiveEquipmentRequest.java | 2 +- .../DetectProtectiveEquipmentResult.java | 2 +- .../rekognition/model/DetectTextFilters.java | 2 +- .../rekognition/model/DetectTextRequest.java | 2 +- .../rekognition/model/DetectTextResult.java | 2 +- .../rekognition/model/DetectionFilter.java | 2 +- .../model/DisassociateFacesRequest.java | 2 +- .../model/DisassociateFacesResult.java | 2 +- .../rekognition/model/DisassociatedFace.java | 2 +- .../rekognition/model/DistributeDataset.java | 2 +- .../DistributeDatasetEntriesRequest.java | 7 +- .../model/DistributeDatasetEntriesResult.java | 2 +- .../rekognition/model/DominantColor.java | 2 +- .../services/rekognition/model/Emotion.java | 2 +- .../rekognition/model/EmotionName.java | 2 +- .../rekognition/model/EquipmentDetection.java | 2 +- .../rekognition/model/EvaluationResult.java | 2 +- .../rekognition/model/EyeDirection.java | 2 +- .../services/rekognition/model/EyeOpen.java | 2 +- .../rekognition/model/Eyeglasses.java | 2 +- .../services/rekognition/model/Face.java | 2 +- .../rekognition/model/FaceAttributes.java | 2 +- .../rekognition/model/FaceDetail.java | 2 +- .../rekognition/model/FaceDetection.java | 2 +- .../services/rekognition/model/FaceMatch.java | 2 +- .../rekognition/model/FaceOccluded.java | 2 +- .../rekognition/model/FaceRecord.java | 2 +- .../rekognition/model/FaceSearchSettings.java | 2 +- .../rekognition/model/FaceSearchSortBy.java | 2 +- .../services/rekognition/model/Gender.java | 2 +- .../rekognition/model/GenderType.java | 2 +- .../model/GeneralLabelsSettings.java | 2 +- .../services/rekognition/model/Geometry.java | 2 +- .../model/GetCelebrityInfoRequest.java | 2 +- .../model/GetCelebrityInfoResult.java | 2 +- .../model/GetCelebrityRecognitionRequest.java | 2 +- .../model/GetCelebrityRecognitionResult.java | 2 +- .../model/GetContentModerationRequest.java | 2 +- .../GetContentModerationRequestMetadata.java | 2 +- .../model/GetContentModerationResult.java | 2 +- .../model/GetFaceDetectionRequest.java | 2 +- .../model/GetFaceDetectionResult.java | 2 +- .../GetFaceLivenessSessionResultsRequest.java | 2 +- .../GetFaceLivenessSessionResultsResult.java | 2 +- .../model/GetFaceSearchRequest.java | 2 +- .../model/GetFaceSearchResult.java | 2 +- .../model/GetLabelDetectionRequest.java | 7 +- .../GetLabelDetectionRequestMetadata.java | 2 +- .../model/GetLabelDetectionResult.java | 2 +- .../model/GetMediaAnalysisJobRequest.java | 147 +++ .../model/GetMediaAnalysisJobResult.java | 901 +++++++++++++++++ .../model/GetPersonTrackingRequest.java | 2 +- .../model/GetPersonTrackingResult.java | 2 +- .../model/GetSegmentDetectionRequest.java | 2 +- .../model/GetSegmentDetectionResult.java | 2 +- .../model/GetTextDetectionRequest.java | 2 +- .../model/GetTextDetectionResult.java | 2 +- .../model/GroundTruthManifest.java | 2 +- .../model/HumanLoopActivationOutput.java | 2 +- .../rekognition/model/HumanLoopConfig.java | 2 +- .../model/HumanLoopDataAttributes.java | 2 +- .../HumanLoopQuotaExceededException.java | 2 +- .../IdempotentParameterMismatchException.java | 2 +- .../services/rekognition/model/Image.java | 2 +- .../rekognition/model/ImageQuality.java | 2 +- .../model/ImageTooLargeException.java | 2 +- .../rekognition/model/IndexFacesRequest.java | 2 +- .../rekognition/model/IndexFacesResult.java | 2 +- .../services/rekognition/model/Instance.java | 2 +- .../model/InternalServerErrorException.java | 2 +- .../model/InvalidImageFormatException.java | 2 +- .../model/InvalidManifestException.java | 38 + .../InvalidPaginationTokenException.java | 2 +- .../model/InvalidParameterException.java | 2 +- .../InvalidPolicyRevisionIdException.java | 2 +- .../model/InvalidS3ObjectException.java | 2 +- .../rekognition/model/KinesisDataStream.java | 2 +- .../rekognition/model/KinesisVideoStream.java | 2 +- .../KinesisVideoStreamStartSelector.java | 2 +- .../rekognition/model/KnownGender.java | 2 +- .../rekognition/model/KnownGenderType.java | 2 +- .../services/rekognition/model/Label.java | 2 +- .../rekognition/model/LabelAlias.java | 2 +- .../rekognition/model/LabelCategory.java | 2 +- .../rekognition/model/LabelDetection.java | 2 +- .../model/LabelDetectionAggregateBy.java | 2 +- .../model/LabelDetectionFeatureName.java | 2 +- .../model/LabelDetectionSettings.java | 2 +- .../model/LabelDetectionSortBy.java | 2 +- .../services/rekognition/model/Landmark.java | 2 +- .../rekognition/model/LandmarkType.java | 2 +- .../model/LimitExceededException.java | 6 +- .../model/ListCollectionsRequest.java | 2 +- .../model/ListCollectionsResult.java | 2 +- .../model/ListDatasetEntriesRequest.java | 7 +- .../model/ListDatasetEntriesResult.java | 2 +- .../model/ListDatasetLabelsRequest.java | 7 +- .../model/ListDatasetLabelsResult.java | 2 +- .../rekognition/model/ListFacesRequest.java | 2 +- .../rekognition/model/ListFacesResult.java | 2 +- .../model/ListMediaAnalysisJobsRequest.java | 232 +++++ .../model/ListMediaAnalysisJobsResult.java | 224 +++++ .../model/ListProjectPoliciesRequest.java | 7 +- .../model/ListProjectPoliciesResult.java | 2 +- .../model/ListStreamProcessorsRequest.java | 2 +- .../model/ListStreamProcessorsResult.java | 2 +- .../model/ListTagsForResourceRequest.java | 2 +- .../model/ListTagsForResourceResult.java | 2 +- .../rekognition/model/ListUsersRequest.java | 2 +- .../rekognition/model/ListUsersResult.java | 2 +- .../model/LivenessOutputConfig.java | 2 +- .../model/LivenessSessionStatus.java | 2 +- .../MalformedPolicyDocumentException.java | 2 +- .../rekognition/model/MatchedUser.java | 2 +- ...aAnalysisDetectModerationLabelsConfig.java | 243 +++++ .../rekognition/model/MediaAnalysisInput.java | 187 ++++ .../model/MediaAnalysisJobDescription.java | 906 ++++++++++++++++++ .../model/MediaAnalysisJobFailureCode.java | 76 ++ .../model/MediaAnalysisJobFailureDetails.java | 247 +++++ .../model/MediaAnalysisJobStatus.java | 68 ++ .../model/MediaAnalysisManifestSummary.java | 188 ++++ .../model/MediaAnalysisModelVersions.java | 123 +++ .../model/MediaAnalysisOperationsConfig.java | 130 +++ .../model/MediaAnalysisOutputConfig.java | 228 +++++ .../model/MediaAnalysisResults.java | 256 +++++ .../rekognition/model/ModerationLabel.java | 84 +- .../services/rekognition/model/MouthOpen.java | 2 +- .../services/rekognition/model/Mustache.java | 2 +- .../model/NotificationChannel.java | 2 +- .../model/OrientationCorrection.java | 2 +- .../rekognition/model/OutputConfig.java | 2 +- .../services/rekognition/model/Parent.java | 2 +- .../rekognition/model/PersonDetail.java | 2 +- .../rekognition/model/PersonDetection.java | 2 +- .../rekognition/model/PersonMatch.java | 2 +- .../model/PersonTrackingSortBy.java | 2 +- .../services/rekognition/model/Point.java | 2 +- .../services/rekognition/model/Pose.java | 2 +- .../rekognition/model/ProjectAutoUpdate.java | 62 ++ .../rekognition/model/ProjectDescription.java | 244 ++++- .../rekognition/model/ProjectPolicy.java | 2 +- .../rekognition/model/ProjectStatus.java | 2 +- .../model/ProjectVersionDescription.java | 435 ++++++++- .../model/ProjectVersionStatus.java | 8 +- .../model/ProtectiveEquipmentBodyPart.java | 2 +- .../model/ProtectiveEquipmentPerson.java | 2 +- ...ctiveEquipmentSummarizationAttributes.java | 2 +- .../model/ProtectiveEquipmentSummary.java | 2 +- .../model/ProtectiveEquipmentType.java | 2 +- ...rovisionedThroughputExceededException.java | 2 +- .../model/PutProjectPolicyRequest.java | 9 +- .../model/PutProjectPolicyResult.java | 2 +- .../rekognition/model/QualityFilter.java | 2 +- .../services/rekognition/model/Reason.java | 2 +- .../model/RecognizeCelebritiesRequest.java | 2 +- .../model/RecognizeCelebritiesResult.java | 2 +- .../rekognition/model/RegionOfInterest.java | 2 +- .../model/ResourceAlreadyExistsException.java | 2 +- .../model/ResourceInUseException.java | 2 +- .../model/ResourceNotFoundException.java | 2 +- .../model/ResourceNotReadyException.java | 2 +- .../rekognition/model/S3Destination.java | 2 +- .../services/rekognition/model/S3Object.java | 2 +- .../model/SearchFacesByImageRequest.java | 2 +- .../model/SearchFacesByImageResult.java | 2 +- .../rekognition/model/SearchFacesRequest.java | 2 +- .../rekognition/model/SearchFacesResult.java | 2 +- .../model/SearchUsersByImageRequest.java | 2 +- .../model/SearchUsersByImageResult.java | 2 +- .../rekognition/model/SearchUsersRequest.java | 2 +- .../rekognition/model/SearchUsersResult.java | 2 +- .../rekognition/model/SearchedFace.java | 2 +- .../model/SearchedFaceDetails.java | 2 +- .../rekognition/model/SearchedUser.java | 2 +- .../rekognition/model/SegmentDetection.java | 2 +- .../rekognition/model/SegmentType.java | 2 +- .../rekognition/model/SegmentTypeInfo.java | 2 +- .../model/ServiceQuotaExceededException.java | 2 +- .../model/SessionNotFoundException.java | 2 +- .../rekognition/model/ShotSegment.java | 2 +- .../services/rekognition/model/Smile.java | 2 +- .../StartCelebrityRecognitionRequest.java | 2 +- .../StartCelebrityRecognitionResult.java | 2 +- .../model/StartContentModerationRequest.java | 2 +- .../model/StartContentModerationResult.java | 2 +- .../model/StartFaceDetectionRequest.java | 2 +- .../model/StartFaceDetectionResult.java | 2 +- .../model/StartFaceSearchRequest.java | 2 +- .../model/StartFaceSearchResult.java | 2 +- .../model/StartLabelDetectionRequest.java | 2 +- .../model/StartLabelDetectionResult.java | 2 +- .../model/StartMediaAnalysisJobRequest.java | 526 ++++++++++ .../model/StartMediaAnalysisJobResult.java | 132 +++ .../model/StartPersonTrackingRequest.java | 2 +- .../model/StartPersonTrackingResult.java | 2 +- .../model/StartProjectVersionRequest.java | 49 +- .../model/StartProjectVersionResult.java | 20 +- .../model/StartSegmentDetectionFilters.java | 2 +- .../model/StartSegmentDetectionRequest.java | 2 +- .../model/StartSegmentDetectionResult.java | 2 +- .../model/StartShotDetectionFilter.java | 2 +- .../model/StartStreamProcessorRequest.java | 2 +- .../model/StartStreamProcessorResult.java | 2 +- .../StartTechnicalCueDetectionFilter.java | 2 +- .../model/StartTextDetectionFilters.java | 2 +- .../model/StartTextDetectionRequest.java | 2 +- .../model/StartTextDetectionResult.java | 2 +- .../model/StopProjectVersionRequest.java | 24 +- .../model/StopProjectVersionResult.java | 20 +- .../model/StopStreamProcessorRequest.java | 2 +- .../model/StopStreamProcessorResult.java | 2 +- .../model/StreamProcessingStartSelector.java | 2 +- .../model/StreamProcessingStopSelector.java | 2 +- .../rekognition/model/StreamProcessor.java | 2 +- .../StreamProcessorDataSharingPreference.java | 2 +- .../model/StreamProcessorInput.java | 2 +- .../StreamProcessorNotificationChannel.java | 2 +- .../model/StreamProcessorOutput.java | 2 +- .../StreamProcessorParameterToDelete.java | 2 +- .../model/StreamProcessorSettings.java | 2 +- .../StreamProcessorSettingsForUpdate.java | 2 +- .../model/StreamProcessorStatus.java | 2 +- .../services/rekognition/model/Summary.java | 2 +- .../rekognition/model/Sunglasses.java | 2 +- .../rekognition/model/TagResourceRequest.java | 2 +- .../rekognition/model/TagResourceResult.java | 2 +- .../model/TechnicalCueSegment.java | 2 +- .../rekognition/model/TechnicalCueType.java | 2 +- .../rekognition/model/TestingData.java | 62 +- .../rekognition/model/TestingDataResult.java | 2 +- .../rekognition/model/TextDetection.java | 2 +- .../model/TextDetectionResult.java | 2 +- .../services/rekognition/model/TextTypes.java | 2 +- .../model/ThrottlingException.java | 2 +- .../rekognition/model/TrainingData.java | 38 +- .../rekognition/model/TrainingDataResult.java | 79 +- .../rekognition/model/UnindexedFace.java | 2 +- .../rekognition/model/UnsearchedFace.java | 2 +- .../model/UnsearchedFaceReason.java | 2 +- .../model/UnsuccessfulFaceAssociation.java | 2 +- .../UnsuccessfulFaceAssociationReason.java | 2 +- .../model/UnsuccessfulFaceDeletion.java | 2 +- .../model/UnsuccessfulFaceDeletionReason.java | 2 +- .../model/UnsuccessfulFaceDisassociation.java | 2 +- .../UnsuccessfulFaceDisassociationReason.java | 2 +- .../model/UntagResourceRequest.java | 2 +- .../model/UntagResourceResult.java | 2 +- .../model/UpdateDatasetEntriesRequest.java | 7 +- .../model/UpdateDatasetEntriesResult.java | 2 +- .../model/UpdateStreamProcessorRequest.java | 2 +- .../model/UpdateStreamProcessorResult.java | 2 +- .../services/rekognition/model/User.java | 2 +- .../services/rekognition/model/UserMatch.java | 2 +- .../rekognition/model/UserStatus.java | 2 +- .../rekognition/model/ValidationData.java | 2 +- .../services/rekognition/model/Video.java | 2 +- .../rekognition/model/VideoColorRange.java | 2 +- .../rekognition/model/VideoJobStatus.java | 2 +- .../rekognition/model/VideoMetadata.java | 2 +- .../model/VideoTooLargeException.java | 2 +- .../AccessDeniedExceptionUnmarshaller.java | 2 +- .../transform/AgeRangeJsonMarshaller.java | 2 +- .../transform/AgeRangeJsonUnmarshaller.java | 2 +- .../model/transform/AssetJsonMarshaller.java | 2 +- .../transform/AssetJsonUnmarshaller.java | 2 +- .../AssociateFacesRequestMarshaller.java | 2 +- .../AssociateFacesResultJsonUnmarshaller.java | 2 +- .../AssociatedFaceJsonMarshaller.java | 2 +- .../AssociatedFaceJsonUnmarshaller.java | 2 +- .../AudioMetadataJsonMarshaller.java | 2 +- .../AudioMetadataJsonUnmarshaller.java | 2 +- .../transform/AuditImageJsonMarshaller.java | 2 +- .../transform/AuditImageJsonUnmarshaller.java | 2 +- .../model/transform/BeardJsonMarshaller.java | 2 +- .../transform/BeardJsonUnmarshaller.java | 2 +- .../transform/BlackFrameJsonMarshaller.java | 2 +- .../transform/BlackFrameJsonUnmarshaller.java | 2 +- .../transform/BoundingBoxJsonMarshaller.java | 2 +- .../BoundingBoxJsonUnmarshaller.java | 2 +- .../CelebrityDetailJsonMarshaller.java | 2 +- .../CelebrityDetailJsonUnmarshaller.java | 2 +- .../transform/CelebrityJsonMarshaller.java | 2 +- .../transform/CelebrityJsonUnmarshaller.java | 2 +- .../CelebrityRecognitionJsonMarshaller.java | 2 +- .../CelebrityRecognitionJsonUnmarshaller.java | 2 +- .../CompareFacesMatchJsonMarshaller.java | 2 +- .../CompareFacesMatchJsonUnmarshaller.java | 2 +- .../CompareFacesRequestMarshaller.java | 2 +- .../CompareFacesResultJsonUnmarshaller.java | 2 +- .../transform/ComparedFaceJsonMarshaller.java | 2 +- .../ComparedFaceJsonUnmarshaller.java | 2 +- ...ComparedSourceImageFaceJsonMarshaller.java | 2 +- ...mparedSourceImageFaceJsonUnmarshaller.java | 2 +- .../ConflictExceptionUnmarshaller.java | 2 +- ...edHomeSettingsForUpdateJsonMarshaller.java | 2 +- ...HomeSettingsForUpdateJsonUnmarshaller.java | 2 +- .../ConnectedHomeSettingsJsonMarshaller.java | 2 +- ...ConnectedHomeSettingsJsonUnmarshaller.java | 2 +- ...tentModerationDetectionJsonMarshaller.java | 13 +- ...ntModerationDetectionJsonUnmarshaller.java | 7 +- .../transform/ContentTypeJsonMarshaller.java | 49 + .../ContentTypeJsonUnmarshaller.java | 59 ++ .../CopyProjectVersionRequestMarshaller.java | 2 +- ...yProjectVersionResultJsonUnmarshaller.java | 2 +- .../CoversBodyPartJsonMarshaller.java | 2 +- .../CoversBodyPartJsonUnmarshaller.java | 2 +- .../CreateCollectionRequestMarshaller.java | 2 +- ...reateCollectionResultJsonUnmarshaller.java | 2 +- .../CreateDatasetRequestMarshaller.java | 15 +- .../CreateDatasetResultJsonUnmarshaller.java | 2 +- ...eFaceLivenessSessionRequestMarshaller.java | 2 +- ...sSessionRequestSettingsJsonMarshaller.java | 2 +- ...essionRequestSettingsJsonUnmarshaller.java | 2 +- ...LivenessSessionResultJsonUnmarshaller.java | 2 +- .../CreateProjectRequestMarshaller.java | 25 +- .../CreateProjectResultJsonUnmarshaller.java | 2 +- ...CreateProjectVersionRequestMarshaller.java | 14 +- ...eProjectVersionResultJsonUnmarshaller.java | 2 +- ...reateStreamProcessorRequestMarshaller.java | 2 +- ...StreamProcessorResultJsonUnmarshaller.java | 2 +- .../CreateUserRequestMarshaller.java | 2 +- .../CreateUserResultJsonUnmarshaller.java | 2 +- .../transform/CustomLabelJsonMarshaller.java | 2 +- .../CustomLabelJsonUnmarshaller.java | 2 +- ...tomizationFeatureConfigJsonMarshaller.java | 47 + ...mizationFeatureConfigJsonUnmarshaller.java | 59 ++ ...ContentModerationConfigJsonMarshaller.java | 47 + ...ntentModerationConfigJsonUnmarshaller.java | 59 ++ .../DatasetChangesJsonMarshaller.java | 2 +- .../DatasetChangesJsonUnmarshaller.java | 2 +- .../DatasetDescriptionJsonMarshaller.java | 2 +- .../DatasetDescriptionJsonUnmarshaller.java | 2 +- ...DatasetLabelDescriptionJsonMarshaller.java | 2 +- ...tasetLabelDescriptionJsonUnmarshaller.java | 2 +- .../DatasetLabelStatsJsonMarshaller.java | 2 +- .../DatasetLabelStatsJsonUnmarshaller.java | 2 +- .../DatasetMetadataJsonMarshaller.java | 2 +- .../DatasetMetadataJsonUnmarshaller.java | 2 +- .../DatasetSourceJsonMarshaller.java | 2 +- .../DatasetSourceJsonUnmarshaller.java | 2 +- .../transform/DatasetStatsJsonMarshaller.java | 2 +- .../DatasetStatsJsonUnmarshaller.java | 2 +- .../DeleteCollectionRequestMarshaller.java | 2 +- ...eleteCollectionResultJsonUnmarshaller.java | 2 +- .../DeleteDatasetRequestMarshaller.java | 2 +- .../DeleteDatasetResultJsonUnmarshaller.java | 2 +- .../DeleteFacesRequestMarshaller.java | 2 +- .../DeleteFacesResultJsonUnmarshaller.java | 2 +- .../DeleteProjectPolicyRequestMarshaller.java | 2 +- ...teProjectPolicyResultJsonUnmarshaller.java | 2 +- .../DeleteProjectRequestMarshaller.java | 2 +- .../DeleteProjectResultJsonUnmarshaller.java | 2 +- ...DeleteProjectVersionRequestMarshaller.java | 2 +- ...eProjectVersionResultJsonUnmarshaller.java | 2 +- ...eleteStreamProcessorRequestMarshaller.java | 2 +- ...StreamProcessorResultJsonUnmarshaller.java | 2 +- .../DeleteUserRequestMarshaller.java | 2 +- .../DeleteUserResultJsonUnmarshaller.java | 2 +- .../DescribeCollectionRequestMarshaller.java | 2 +- ...cribeCollectionResultJsonUnmarshaller.java | 2 +- .../DescribeDatasetRequestMarshaller.java | 2 +- ...DescribeDatasetResultJsonUnmarshaller.java | 2 +- ...cribeProjectVersionsRequestMarshaller.java | 2 +- ...ProjectVersionsResultJsonUnmarshaller.java | 2 +- .../DescribeProjectsRequestMarshaller.java | 13 +- ...escribeProjectsResultJsonUnmarshaller.java | 2 +- ...cribeStreamProcessorRequestMarshaller.java | 2 +- ...StreamProcessorResultJsonUnmarshaller.java | 2 +- .../DetectCustomLabelsRequestMarshaller.java | 2 +- ...ectCustomLabelsResultJsonUnmarshaller.java | 2 +- .../DetectFacesRequestMarshaller.java | 2 +- .../DetectFacesResultJsonUnmarshaller.java | 2 +- ...ctLabelsImageBackgroundJsonMarshaller.java | 2 +- ...LabelsImageBackgroundJsonUnmarshaller.java | 2 +- ...ctLabelsImageForegroundJsonMarshaller.java | 2 +- ...LabelsImageForegroundJsonUnmarshaller.java | 2 +- ...ctLabelsImagePropertiesJsonMarshaller.java | 2 +- ...LabelsImagePropertiesJsonUnmarshaller.java | 2 +- ...ImagePropertiesSettingsJsonMarshaller.java | 2 +- ...agePropertiesSettingsJsonUnmarshaller.java | 2 +- ...etectLabelsImageQualityJsonMarshaller.java | 2 +- ...ectLabelsImageQualityJsonUnmarshaller.java | 2 +- .../DetectLabelsRequestMarshaller.java | 2 +- .../DetectLabelsResultJsonUnmarshaller.java | 2 +- .../DetectLabelsSettingsJsonMarshaller.java | 2 +- .../DetectLabelsSettingsJsonUnmarshaller.java | 2 +- ...tectModerationLabelsRequestMarshaller.java | 7 +- ...oderationLabelsResultJsonUnmarshaller.java | 10 +- ...tProtectiveEquipmentRequestMarshaller.java | 2 +- ...ectiveEquipmentResultJsonUnmarshaller.java | 2 +- .../DetectTextFiltersJsonMarshaller.java | 2 +- .../DetectTextFiltersJsonUnmarshaller.java | 2 +- .../DetectTextRequestMarshaller.java | 2 +- .../DetectTextResultJsonUnmarshaller.java | 2 +- .../DetectionFilterJsonMarshaller.java | 2 +- .../DetectionFilterJsonUnmarshaller.java | 2 +- .../DisassociateFacesRequestMarshaller.java | 2 +- ...sassociateFacesResultJsonUnmarshaller.java | 2 +- .../DisassociatedFaceJsonMarshaller.java | 2 +- .../DisassociatedFaceJsonUnmarshaller.java | 2 +- ...ributeDatasetEntriesRequestMarshaller.java | 2 +- ...eDatasetEntriesResultJsonUnmarshaller.java | 2 +- .../DistributeDatasetJsonMarshaller.java | 2 +- .../DistributeDatasetJsonUnmarshaller.java | 2 +- .../DominantColorJsonMarshaller.java | 2 +- .../DominantColorJsonUnmarshaller.java | 2 +- .../transform/EmotionJsonMarshaller.java | 2 +- .../transform/EmotionJsonUnmarshaller.java | 2 +- .../EquipmentDetectionJsonMarshaller.java | 2 +- .../EquipmentDetectionJsonUnmarshaller.java | 2 +- .../EvaluationResultJsonMarshaller.java | 2 +- .../EvaluationResultJsonUnmarshaller.java | 2 +- .../transform/EyeDirectionJsonMarshaller.java | 2 +- .../EyeDirectionJsonUnmarshaller.java | 2 +- .../transform/EyeOpenJsonMarshaller.java | 2 +- .../transform/EyeOpenJsonUnmarshaller.java | 2 +- .../transform/EyeglassesJsonMarshaller.java | 2 +- .../transform/EyeglassesJsonUnmarshaller.java | 2 +- .../transform/FaceDetailJsonMarshaller.java | 2 +- .../transform/FaceDetailJsonUnmarshaller.java | 2 +- .../FaceDetectionJsonMarshaller.java | 2 +- .../FaceDetectionJsonUnmarshaller.java | 2 +- .../model/transform/FaceJsonMarshaller.java | 2 +- .../model/transform/FaceJsonUnmarshaller.java | 2 +- .../transform/FaceMatchJsonMarshaller.java | 2 +- .../transform/FaceMatchJsonUnmarshaller.java | 2 +- .../transform/FaceOccludedJsonMarshaller.java | 2 +- .../FaceOccludedJsonUnmarshaller.java | 2 +- .../transform/FaceRecordJsonMarshaller.java | 2 +- .../transform/FaceRecordJsonUnmarshaller.java | 2 +- .../FaceSearchSettingsJsonMarshaller.java | 2 +- .../FaceSearchSettingsJsonUnmarshaller.java | 2 +- .../model/transform/GenderJsonMarshaller.java | 2 +- .../transform/GenderJsonUnmarshaller.java | 2 +- .../GeneralLabelsSettingsJsonMarshaller.java | 2 +- ...GeneralLabelsSettingsJsonUnmarshaller.java | 2 +- .../transform/GeometryJsonMarshaller.java | 2 +- .../transform/GeometryJsonUnmarshaller.java | 2 +- .../GetCelebrityInfoRequestMarshaller.java | 2 +- ...etCelebrityInfoResultJsonUnmarshaller.java | 2 +- ...CelebrityRecognitionRequestMarshaller.java | 2 +- ...rityRecognitionResultJsonUnmarshaller.java | 2 +- ...GetContentModerationRequestMarshaller.java | 2 +- ...derationRequestMetadataJsonMarshaller.java | 2 +- ...rationRequestMetadataJsonUnmarshaller.java | 2 +- ...ntentModerationResultJsonUnmarshaller.java | 2 +- .../GetFaceDetectionRequestMarshaller.java | 2 +- ...etFaceDetectionResultJsonUnmarshaller.java | 2 +- ...venessSessionResultsRequestMarshaller.java | 2 +- ...sSessionResultsResultJsonUnmarshaller.java | 2 +- .../GetFaceSearchRequestMarshaller.java | 2 +- .../GetFaceSearchResultJsonUnmarshaller.java | 2 +- .../GetLabelDetectionRequestMarshaller.java | 2 +- ...etectionRequestMetadataJsonMarshaller.java | 2 +- ...ectionRequestMetadataJsonUnmarshaller.java | 2 +- ...tLabelDetectionResultJsonUnmarshaller.java | 2 +- .../GetMediaAnalysisJobRequestMarshaller.java | 88 ++ ...ediaAnalysisJobResultJsonUnmarshaller.java | 96 ++ .../GetPersonTrackingRequestMarshaller.java | 2 +- ...tPersonTrackingResultJsonUnmarshaller.java | 2 +- .../GetSegmentDetectionRequestMarshaller.java | 2 +- ...egmentDetectionResultJsonUnmarshaller.java | 2 +- .../GetTextDetectionRequestMarshaller.java | 2 +- ...etTextDetectionResultJsonUnmarshaller.java | 2 +- .../GroundTruthManifestJsonMarshaller.java | 2 +- .../GroundTruthManifestJsonUnmarshaller.java | 2 +- ...manLoopActivationOutputJsonMarshaller.java | 2 +- ...nLoopActivationOutputJsonUnmarshaller.java | 2 +- .../HumanLoopConfigJsonMarshaller.java | 2 +- .../HumanLoopConfigJsonUnmarshaller.java | 2 +- ...HumanLoopDataAttributesJsonMarshaller.java | 2 +- ...manLoopDataAttributesJsonUnmarshaller.java | 2 +- ...oopQuotaExceededExceptionUnmarshaller.java | 2 +- ...arameterMismatchExceptionUnmarshaller.java | 2 +- .../model/transform/ImageJsonMarshaller.java | 2 +- .../transform/ImageJsonUnmarshaller.java | 2 +- .../transform/ImageQualityJsonMarshaller.java | 2 +- .../ImageQualityJsonUnmarshaller.java | 2 +- .../ImageTooLargeExceptionUnmarshaller.java | 2 +- .../IndexFacesRequestMarshaller.java | 2 +- .../IndexFacesResultJsonUnmarshaller.java | 2 +- .../transform/InstanceJsonMarshaller.java | 2 +- .../transform/InstanceJsonUnmarshaller.java | 2 +- ...ernalServerErrorExceptionUnmarshaller.java | 2 +- ...validImageFormatExceptionUnmarshaller.java | 2 +- .../InvalidManifestExceptionUnmarshaller.java | 42 + ...dPaginationTokenExceptionUnmarshaller.java | 2 +- ...InvalidParameterExceptionUnmarshaller.java | 2 +- ...PolicyRevisionIdExceptionUnmarshaller.java | 2 +- .../InvalidS3ObjectExceptionUnmarshaller.java | 2 +- .../KinesisDataStreamJsonMarshaller.java | 2 +- .../KinesisDataStreamJsonUnmarshaller.java | 2 +- .../KinesisVideoStreamJsonMarshaller.java | 2 +- .../KinesisVideoStreamJsonUnmarshaller.java | 2 +- ...ideoStreamStartSelectorJsonMarshaller.java | 2 +- ...eoStreamStartSelectorJsonUnmarshaller.java | 2 +- .../transform/KnownGenderJsonMarshaller.java | 2 +- .../KnownGenderJsonUnmarshaller.java | 2 +- .../transform/LabelAliasJsonMarshaller.java | 2 +- .../transform/LabelAliasJsonUnmarshaller.java | 2 +- .../LabelCategoryJsonMarshaller.java | 2 +- .../LabelCategoryJsonUnmarshaller.java | 2 +- .../LabelDetectionJsonMarshaller.java | 2 +- .../LabelDetectionJsonUnmarshaller.java | 2 +- .../LabelDetectionSettingsJsonMarshaller.java | 2 +- ...abelDetectionSettingsJsonUnmarshaller.java | 2 +- .../model/transform/LabelJsonMarshaller.java | 2 +- .../transform/LabelJsonUnmarshaller.java | 2 +- .../transform/LandmarkJsonMarshaller.java | 2 +- .../transform/LandmarkJsonUnmarshaller.java | 2 +- .../LimitExceededExceptionUnmarshaller.java | 2 +- .../ListCollectionsRequestMarshaller.java | 2 +- ...ListCollectionsResultJsonUnmarshaller.java | 2 +- .../ListDatasetEntriesRequestMarshaller.java | 2 +- ...tDatasetEntriesResultJsonUnmarshaller.java | 2 +- .../ListDatasetLabelsRequestMarshaller.java | 2 +- ...stDatasetLabelsResultJsonUnmarshaller.java | 2 +- .../transform/ListFacesRequestMarshaller.java | 2 +- .../ListFacesResultJsonUnmarshaller.java | 2 +- ...istMediaAnalysisJobsRequestMarshaller.java | 93 ++ ...diaAnalysisJobsResultJsonUnmarshaller.java | 61 ++ .../ListProjectPoliciesRequestMarshaller.java | 2 +- ...ProjectPoliciesResultJsonUnmarshaller.java | 2 +- ...ListStreamProcessorsRequestMarshaller.java | 2 +- ...treamProcessorsResultJsonUnmarshaller.java | 2 +- .../ListTagsForResourceRequestMarshaller.java | 2 +- ...TagsForResourceResultJsonUnmarshaller.java | 2 +- .../transform/ListUsersRequestMarshaller.java | 2 +- .../ListUsersResultJsonUnmarshaller.java | 2 +- .../LivenessOutputConfigJsonMarshaller.java | 2 +- .../LivenessOutputConfigJsonUnmarshaller.java | 2 +- ...edPolicyDocumentExceptionUnmarshaller.java | 2 +- .../transform/MatchedUserJsonMarshaller.java | 2 +- .../MatchedUserJsonUnmarshaller.java | 2 +- ...tModerationLabelsConfigJsonMarshaller.java | 51 + ...oderationLabelsConfigJsonUnmarshaller.java | 63 ++ .../MediaAnalysisInputJsonMarshaller.java | 45 + .../MediaAnalysisInputJsonUnmarshaller.java | 57 ++ ...aAnalysisJobDescriptionJsonMarshaller.java | 108 +++ ...nalysisJobDescriptionJsonUnmarshaller.java | 100 ++ ...alysisJobFailureDetailsJsonMarshaller.java | 50 + ...ysisJobFailureDetailsJsonUnmarshaller.java | 61 ++ ...AnalysisManifestSummaryJsonMarshaller.java | 45 + ...alysisManifestSummaryJsonUnmarshaller.java | 58 ++ ...iaAnalysisModelVersionsJsonMarshaller.java | 45 + ...AnalysisModelVersionsJsonUnmarshaller.java | 57 ++ ...nalysisOperationsConfigJsonMarshaller.java | 47 + ...lysisOperationsConfigJsonUnmarshaller.java | 60 ++ ...diaAnalysisOutputConfigJsonMarshaller.java | 50 + ...aAnalysisOutputConfigJsonUnmarshaller.java | 60 ++ .../MediaAnalysisResultsJsonMarshaller.java | 51 + .../MediaAnalysisResultsJsonUnmarshaller.java | 61 ++ .../ModerationLabelJsonMarshaller.java | 7 +- .../ModerationLabelJsonUnmarshaller.java | 5 +- .../transform/MouthOpenJsonMarshaller.java | 2 +- .../transform/MouthOpenJsonUnmarshaller.java | 2 +- .../transform/MustacheJsonMarshaller.java | 2 +- .../transform/MustacheJsonUnmarshaller.java | 2 +- .../NotificationChannelJsonMarshaller.java | 2 +- .../NotificationChannelJsonUnmarshaller.java | 2 +- .../transform/OutputConfigJsonMarshaller.java | 2 +- .../OutputConfigJsonUnmarshaller.java | 2 +- .../model/transform/ParentJsonMarshaller.java | 2 +- .../transform/ParentJsonUnmarshaller.java | 2 +- .../transform/PersonDetailJsonMarshaller.java | 2 +- .../PersonDetailJsonUnmarshaller.java | 2 +- .../PersonDetectionJsonMarshaller.java | 2 +- .../PersonDetectionJsonUnmarshaller.java | 2 +- .../transform/PersonMatchJsonMarshaller.java | 2 +- .../PersonMatchJsonUnmarshaller.java | 2 +- .../model/transform/PointJsonMarshaller.java | 2 +- .../transform/PointJsonUnmarshaller.java | 2 +- .../model/transform/PoseJsonMarshaller.java | 2 +- .../model/transform/PoseJsonUnmarshaller.java | 2 +- .../ProjectDescriptionJsonMarshaller.java | 12 +- .../ProjectDescriptionJsonUnmarshaller.java | 8 +- .../ProjectPolicyJsonMarshaller.java | 2 +- .../ProjectPolicyJsonUnmarshaller.java | 2 +- ...ojectVersionDescriptionJsonMarshaller.java | 23 +- ...ectVersionDescriptionJsonUnmarshaller.java | 16 +- ...ectiveEquipmentBodyPartJsonMarshaller.java | 2 +- ...tiveEquipmentBodyPartJsonUnmarshaller.java | 2 +- ...otectiveEquipmentPersonJsonMarshaller.java | 2 +- ...ectiveEquipmentPersonJsonUnmarshaller.java | 2 +- ...SummarizationAttributesJsonMarshaller.java | 2 +- ...mmarizationAttributesJsonUnmarshaller.java | 2 +- ...tectiveEquipmentSummaryJsonMarshaller.java | 2 +- ...ctiveEquipmentSummaryJsonUnmarshaller.java | 2 +- ...roughputExceededExceptionUnmarshaller.java | 2 +- .../PutProjectPolicyRequestMarshaller.java | 2 +- ...utProjectPolicyResultJsonUnmarshaller.java | 2 +- ...RecognizeCelebritiesRequestMarshaller.java | 2 +- ...nizeCelebritiesResultJsonUnmarshaller.java | 2 +- .../RegionOfInterestJsonMarshaller.java | 2 +- .../RegionOfInterestJsonUnmarshaller.java | 2 +- ...rceAlreadyExistsExceptionUnmarshaller.java | 2 +- .../ResourceInUseExceptionUnmarshaller.java | 2 +- ...ResourceNotFoundExceptionUnmarshaller.java | 2 +- ...ResourceNotReadyExceptionUnmarshaller.java | 2 +- .../S3DestinationJsonMarshaller.java | 2 +- .../S3DestinationJsonUnmarshaller.java | 2 +- .../transform/S3ObjectJsonMarshaller.java | 2 +- .../transform/S3ObjectJsonUnmarshaller.java | 2 +- .../SearchFacesByImageRequestMarshaller.java | 2 +- ...rchFacesByImageResultJsonUnmarshaller.java | 2 +- .../SearchFacesRequestMarshaller.java | 2 +- .../SearchFacesResultJsonUnmarshaller.java | 2 +- .../SearchUsersByImageRequestMarshaller.java | 2 +- ...rchUsersByImageResultJsonUnmarshaller.java | 2 +- .../SearchUsersRequestMarshaller.java | 2 +- .../SearchUsersResultJsonUnmarshaller.java | 2 +- .../SearchedFaceDetailsJsonMarshaller.java | 2 +- .../SearchedFaceDetailsJsonUnmarshaller.java | 2 +- .../transform/SearchedFaceJsonMarshaller.java | 2 +- .../SearchedFaceJsonUnmarshaller.java | 2 +- .../transform/SearchedUserJsonMarshaller.java | 2 +- .../SearchedUserJsonUnmarshaller.java | 2 +- .../SegmentDetectionJsonMarshaller.java | 2 +- .../SegmentDetectionJsonUnmarshaller.java | 2 +- .../SegmentTypeInfoJsonMarshaller.java | 2 +- .../SegmentTypeInfoJsonUnmarshaller.java | 2 +- ...iceQuotaExceededExceptionUnmarshaller.java | 2 +- .../SessionNotFoundExceptionUnmarshaller.java | 2 +- .../transform/ShotSegmentJsonMarshaller.java | 2 +- .../ShotSegmentJsonUnmarshaller.java | 2 +- .../model/transform/SmileJsonMarshaller.java | 2 +- .../transform/SmileJsonUnmarshaller.java | 2 +- ...CelebrityRecognitionRequestMarshaller.java | 2 +- ...rityRecognitionResultJsonUnmarshaller.java | 2 +- ...artContentModerationRequestMarshaller.java | 2 +- ...ntentModerationResultJsonUnmarshaller.java | 2 +- .../StartFaceDetectionRequestMarshaller.java | 2 +- ...rtFaceDetectionResultJsonUnmarshaller.java | 2 +- .../StartFaceSearchRequestMarshaller.java | 2 +- ...StartFaceSearchResultJsonUnmarshaller.java | 2 +- .../StartLabelDetectionRequestMarshaller.java | 2 +- ...tLabelDetectionResultJsonUnmarshaller.java | 2 +- ...tartMediaAnalysisJobRequestMarshaller.java | 117 +++ ...ediaAnalysisJobResultJsonUnmarshaller.java | 55 ++ .../StartPersonTrackingRequestMarshaller.java | 2 +- ...tPersonTrackingResultJsonUnmarshaller.java | 2 +- .../StartProjectVersionRequestMarshaller.java | 2 +- ...tProjectVersionResultJsonUnmarshaller.java | 2 +- ...SegmentDetectionFiltersJsonMarshaller.java | 2 +- ...gmentDetectionFiltersJsonUnmarshaller.java | 2 +- ...tartSegmentDetectionRequestMarshaller.java | 2 +- ...egmentDetectionResultJsonUnmarshaller.java | 2 +- ...tartShotDetectionFilterJsonMarshaller.java | 2 +- ...rtShotDetectionFilterJsonUnmarshaller.java | 2 +- ...StartStreamProcessorRequestMarshaller.java | 2 +- ...StreamProcessorResultJsonUnmarshaller.java | 2 +- ...nicalCueDetectionFilterJsonMarshaller.java | 2 +- ...calCueDetectionFilterJsonUnmarshaller.java | 2 +- ...artTextDetectionFiltersJsonMarshaller.java | 2 +- ...tTextDetectionFiltersJsonUnmarshaller.java | 2 +- .../StartTextDetectionRequestMarshaller.java | 2 +- ...rtTextDetectionResultJsonUnmarshaller.java | 2 +- .../StopProjectVersionRequestMarshaller.java | 2 +- ...pProjectVersionResultJsonUnmarshaller.java | 2 +- .../StopStreamProcessorRequestMarshaller.java | 2 +- ...StreamProcessorResultJsonUnmarshaller.java | 2 +- ...ProcessingStartSelectorJsonMarshaller.java | 2 +- ...ocessingStartSelectorJsonUnmarshaller.java | 2 +- ...mProcessingStopSelectorJsonMarshaller.java | 2 +- ...rocessingStopSelectorJsonUnmarshaller.java | 2 +- ...orDataSharingPreferenceJsonMarshaller.java | 2 +- ...DataSharingPreferenceJsonUnmarshaller.java | 2 +- .../StreamProcessorInputJsonMarshaller.java | 2 +- .../StreamProcessorInputJsonUnmarshaller.java | 2 +- .../StreamProcessorJsonMarshaller.java | 2 +- .../StreamProcessorJsonUnmarshaller.java | 2 +- ...ssorNotificationChannelJsonMarshaller.java | 2 +- ...orNotificationChannelJsonUnmarshaller.java | 2 +- .../StreamProcessorOutputJsonMarshaller.java | 2 +- ...StreamProcessorOutputJsonUnmarshaller.java | 2 +- ...cessorSettingsForUpdateJsonMarshaller.java | 2 +- ...ssorSettingsForUpdateJsonUnmarshaller.java | 2 +- ...StreamProcessorSettingsJsonMarshaller.java | 2 +- ...reamProcessorSettingsJsonUnmarshaller.java | 2 +- .../transform/SummaryJsonMarshaller.java | 2 +- .../transform/SummaryJsonUnmarshaller.java | 2 +- .../transform/SunglassesJsonMarshaller.java | 2 +- .../transform/SunglassesJsonUnmarshaller.java | 2 +- .../TagResourceRequestMarshaller.java | 2 +- .../TagResourceResultJsonUnmarshaller.java | 2 +- .../TechnicalCueSegmentJsonMarshaller.java | 2 +- .../TechnicalCueSegmentJsonUnmarshaller.java | 2 +- .../transform/TestingDataJsonMarshaller.java | 2 +- .../TestingDataJsonUnmarshaller.java | 2 +- .../TestingDataResultJsonMarshaller.java | 2 +- .../TestingDataResultJsonUnmarshaller.java | 2 +- .../TextDetectionJsonMarshaller.java | 2 +- .../TextDetectionJsonUnmarshaller.java | 2 +- .../TextDetectionResultJsonMarshaller.java | 2 +- .../TextDetectionResultJsonUnmarshaller.java | 2 +- .../ThrottlingExceptionUnmarshaller.java | 2 +- .../transform/TrainingDataJsonMarshaller.java | 2 +- .../TrainingDataJsonUnmarshaller.java | 2 +- .../TrainingDataResultJsonMarshaller.java | 2 +- .../TrainingDataResultJsonUnmarshaller.java | 2 +- .../UnindexedFaceJsonMarshaller.java | 2 +- .../UnindexedFaceJsonUnmarshaller.java | 2 +- .../UnsearchedFaceJsonMarshaller.java | 2 +- .../UnsearchedFaceJsonUnmarshaller.java | 2 +- ...ccessfulFaceAssociationJsonMarshaller.java | 2 +- ...essfulFaceAssociationJsonUnmarshaller.java | 2 +- ...nsuccessfulFaceDeletionJsonMarshaller.java | 2 +- ...uccessfulFaceDeletionJsonUnmarshaller.java | 2 +- ...ssfulFaceDisassociationJsonMarshaller.java | 2 +- ...fulFaceDisassociationJsonUnmarshaller.java | 2 +- .../UntagResourceRequestMarshaller.java | 2 +- .../UntagResourceResultJsonUnmarshaller.java | 2 +- ...UpdateDatasetEntriesRequestMarshaller.java | 2 +- ...eDatasetEntriesResultJsonUnmarshaller.java | 2 +- ...pdateStreamProcessorRequestMarshaller.java | 2 +- ...StreamProcessorResultJsonUnmarshaller.java | 2 +- .../model/transform/UserJsonMarshaller.java | 2 +- .../model/transform/UserJsonUnmarshaller.java | 2 +- .../transform/UserMatchJsonMarshaller.java | 2 +- .../transform/UserMatchJsonUnmarshaller.java | 2 +- .../ValidationDataJsonMarshaller.java | 2 +- .../ValidationDataJsonUnmarshaller.java | 2 +- .../model/transform/VideoJsonMarshaller.java | 2 +- .../transform/VideoJsonUnmarshaller.java | 2 +- .../VideoMetadataJsonMarshaller.java | 2 +- .../VideoMetadataJsonUnmarshaller.java | 2 +- .../VideoTooLargeExceptionUnmarshaller.java | 2 +- .../services/rekognition/package-info.java | 2 +- 833 files changed, 11446 insertions(+), 1573 deletions(-) create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentType.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomizationFeature.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomizationFeatureConfig.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomizationFeatureContentModerationConfig.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetMediaAnalysisJobRequest.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetMediaAnalysisJobResult.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidManifestException.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListMediaAnalysisJobsRequest.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListMediaAnalysisJobsResult.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisDetectModerationLabelsConfig.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisInput.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobDescription.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobFailureCode.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobFailureDetails.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobStatus.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisManifestSummary.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisModelVersions.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisOperationsConfig.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisOutputConfig.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisResults.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectAutoUpdate.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartMediaAnalysisJobRequest.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartMediaAnalysisJobResult.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentTypeJsonMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentTypeJsonUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureConfigJsonMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureConfigJsonUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureContentModerationConfigJsonMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureContentModerationConfigJsonUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetMediaAnalysisJobRequestMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetMediaAnalysisJobResultJsonUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidManifestExceptionUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListMediaAnalysisJobsRequestMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListMediaAnalysisJobsResultJsonUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisDetectModerationLabelsConfigJsonMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisDetectModerationLabelsConfigJsonUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisInputJsonMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisInputJsonUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobDescriptionJsonMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobDescriptionJsonUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobFailureDetailsJsonMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobFailureDetailsJsonUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisManifestSummaryJsonMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisManifestSummaryJsonUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisModelVersionsJsonMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisModelVersionsJsonUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOperationsConfigJsonMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOperationsConfigJsonUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOutputConfigJsonMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOutputConfigJsonUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisResultsJsonMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisResultsJsonUnmarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartMediaAnalysisJobRequestMarshaller.java create mode 100644 aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartMediaAnalysisJobResultJsonUnmarshaller.java diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/AmazonRekognition.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/AmazonRekognition.java index 9631f61e9e..c98858dbf9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/AmazonRekognition.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/AmazonRekognition.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -145,6 +145,13 @@ *
  • *

    * GetMediaAnalysisJob + *

    + *
  • + *
  • + *

    + * IndexFaces *

    @@ -159,6 +166,13 @@ *
  • *

    * ListMediaAnalysisJob + *

    + *
  • + *
  • + *

    + * ListFaces *

    @@ -205,6 +219,13 @@ * >SearchUsersByImage *

    *
  • + *
  • + *

    + * StartMediaAnalysisJob + *

    + *
  • * *

    * Amazon Rekognition Custom Labels @@ -764,6 +785,11 @@ CompareFacesResult compareFaces(CompareFacesRequest compareFacesRequest) throws AmazonClientException, AmazonServiceException; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Copies a version of an Amazon Rekognition Custom Labels model from a * source project to a destination project. The source and destination @@ -788,6 +814,9 @@ CompareFacesResult compareFaces(CompareFacesRequest compareFacesRequest) *

    * *

    + * Copying project versions is supported only for Custom Labels models. + *

    + *

    * To copy a model, the destination project, source project, and source * model version must already exist. *

    @@ -877,6 +906,11 @@ CreateCollectionResult createCollection(CreateCollectionRequest createCollection throws AmazonClientException, AmazonServiceException; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Creates a new Amazon Rekognition Custom Labels dataset. You can create a * dataset by using an Amazon Sagemaker format manifest file or by copying @@ -981,12 +1015,13 @@ CreateFaceLivenessSessionResult createFaceLivenessSession( /** *

    - * Creates a new Amazon Rekognition Custom Labels project. A project is a - * group of resources (datasets, model versions) that you use to create and - * manage Amazon Rekognition Custom Labels models. - *

    - *

    - * This operation requires permissions to perform the + * Creates a new Amazon Rekognition project. A project is a group of + * resources (datasets, model versions) that you use to create and manage a + * Amazon Rekognition Custom Labels Model or custom adapter. You can specify + * a feature to create the project with, if no feature is specified then + * Custom Labels is used by default. For adapters, you can also choose + * whether or not to have the project auto update by using the AutoUpdate + * argument. This operation requires permissions to perform the * rekognition:CreateProject action. *

    * @@ -1013,18 +1048,33 @@ CreateProjectResult createProject(CreateProjectRequest createProjectRequest) /** *

    - * Creates a new version of a model and begins training. Models are managed - * as part of an Amazon Rekognition Custom Labels project. The response from + * Creates a new version of Amazon Rekognition project (like a Custom Labels + * model or a custom adapter) and begins training. Models and adapters are + * managed as part of a Rekognition project. The response from * CreateProjectVersion is an Amazon Resource Name (ARN) for - * the version of the model. + * the project version. *

    *

    - * Training uses the training and test datasets associated with the project. - * For more information, see Creating training and test dataset in the - * Amazon Rekognition Custom Labels Developer Guide. + * The FeatureConfig operation argument allows you to configure specific + * model or adapter settings. You can provide a description to the project + * version by using the VersionDescription argment. Training can take a + * while to complete. You can get the current status by calling + * DescribeProjectVersions. Training completed successfully if the + * value of the Status field is TRAINING_COMPLETED + * . Once training has successfully completed, call + * DescribeProjectVersions to get the training results and evaluate + * the model. + *

    + *

    + * This operation requires permissions to perform the + * rekognition:CreateProjectVersion action. *

    * *

    + * The following applies only to projects with Amazon Rekognition Custom + * Labels as the chosen feature: + *

    + *

    * You can train a model in a project that doesn't have associated datasets * by specifying manifest files in the TrainingData and * TestingData fields. @@ -1041,31 +1091,7 @@ CreateProjectResult createProject(CreateProjectRequest createProjectRequest) * datasets for the project. *

    *
    - *

    - * Training takes a while to complete. You can get the current status by - * calling DescribeProjectVersions. Training completed successfully - * if the value of the Status field is - * TRAINING_COMPLETED. - *

    - *

    - * If training fails, see Debugging a failed model training in the Amazon - * Rekognition Custom Labels developer guide. - *

    - *

    - * Once training has successfully completed, call - * DescribeProjectVersions to get the training results and evaluate - * the model. For more information, see Improving a trained Amazon - * Rekognition Custom Labels model in the Amazon Rekognition Custom - * Labels developers guide. - *

    - *

    - * After evaluating the model, you start the model by calling - * StartProjectVersion. - *

    - *

    - * This operation requires permissions to perform the - * rekognition:CreateProjectVersion action. - *

    + *

    * * @param createProjectVersionRequest * @return createProjectVersionResult The response from the @@ -1241,6 +1267,11 @@ DeleteCollectionResult deleteCollection(DeleteCollectionRequest deleteCollection throws AmazonClientException, AmazonServiceException; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Deletes an existing Amazon Rekognition Custom Labels dataset. Deleting a * dataset might take while. Use DescribeDataset to check the current @@ -1313,9 +1344,9 @@ DeleteFacesResult deleteFaces(DeleteFacesRequest deleteFacesRequest) /** *

    - * Deletes an Amazon Rekognition Custom Labels project. To delete a project - * you must first delete all models associated with the project. To delete a - * model, see DeleteProjectVersion. + * Deletes a Amazon Rekognition project. To delete a project you must first + * delete all models or adapters associated with the project. To delete a + * model or adapter, see DeleteProjectVersion. *

    *

    * DeleteProject is an asynchronous operation. To check if the @@ -1351,6 +1382,11 @@ DeleteProjectResult deleteProject(DeleteProjectRequest deleteProjectRequest) throws AmazonClientException, AmazonServiceException; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Deletes an existing project policy. *

    @@ -1389,14 +1425,15 @@ DeleteProjectPolicyResult deleteProjectPolicy( /** *

    - * Deletes an Amazon Rekognition Custom Labels model. + * Deletes a Rekognition project model or project version, like a Amazon + * Rekognition Custom Labels model or a custom adapter. *

    *

    - * You can't delete a model if it is running or if it is training. To check - * the status of a model, use the Status field returned from - * DescribeProjectVersions. To stop a running model call - * StopProjectVersion. If the model is training, wait until it - * finishes. + * You can't delete a project version if it is running or if it is training. + * To check the status of a project version, use the Status field returned + * from DescribeProjectVersions. To stop a project version call + * StopProjectVersion. If the project version is training, wait until + * it finishes. *

    *

    * This operation requires permissions to perform the @@ -1523,6 +1560,11 @@ DescribeCollectionResult describeCollection(DescribeCollectionRequest describeCo throws AmazonClientException, AmazonServiceException; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Describes an Amazon Rekognition Custom Labels dataset. You can get * information such as the current status of a dataset and statistics about @@ -1555,10 +1597,10 @@ DescribeDatasetResult describeDataset(DescribeDatasetRequest describeDatasetRequ /** *

    - * Lists and describes the versions of a model in an Amazon Rekognition - * Custom Labels project. You can specify up to 10 model versions in + * Lists and describes the versions of an Amazon Rekognition project. You + * can specify up to 10 model or adapter versions in * ProjectVersionArns. If you don't specify a value, - * descriptions for all model versions in the project are returned. + * descriptions for all model/adapter versions in the project are returned. *

    *

    * This operation requires permissions to perform the @@ -1590,7 +1632,7 @@ DescribeProjectVersionsResult describeProjectVersions( /** *

    - * Gets information about your Amazon Rekognition Custom Labels projects. + * Gets information about your Rekognition projects. *

    *

    * This operation requires permissions to perform the @@ -1648,6 +1690,11 @@ DescribeStreamProcessorResult describeStreamProcessor( throws AmazonClientException, AmazonServiceException; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Detects custom labels in a supplied image by using an Amazon Rekognition * Custom Labels model. @@ -1669,7 +1716,9 @@ DescribeStreamProcessorResult describeStreamProcessor( * the label name (Name), the level of confidence that the * image contains the object (Confidence), and object location * information, if it exists, for the label on the image ( - * Geometry). + * Geometry). Note that for the + * DetectCustomLabelsLabels operation, Polygons + * are not returned in the Geometry section of the response. *

    *

    * To filter labels that are returned, specify a value for @@ -2004,6 +2053,11 @@ DetectLabelsResult detectLabels(DetectLabelsRequest detectLabelsRequest) * call Amazon Rekognition operations, passing image bytes is not supported. * The image must be either a PNG or JPEG formatted file. *

    + *

    + * You can specify an adapter to use when retrieving label predictions by + * providing a ProjectVersionArn to the + * ProjectVersion argument. + *

    * * @param detectModerationLabelsRequest * @return detectModerationLabelsResult The response from the @@ -2018,6 +2072,8 @@ DetectLabelsResult detectLabels(DetectLabelsRequest detectLabelsRequest) * @throws ProvisionedThroughputExceededException * @throws InvalidImageFormatException * @throws HumanLoopQuotaExceededException + * @throws ResourceNotFoundException + * @throws ResourceNotReadyException * @throws AmazonClientException If any internal errors are encountered * inside the client while attempting to make the request or * handle the response. For example if a network connection is @@ -2231,6 +2287,11 @@ DisassociateFacesResult disassociateFaces(DisassociateFacesRequest disassociateF throws AmazonClientException, AmazonServiceException; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Distributes the entries (images) in a training dataset across the * training dataset and the test dataset for a project. @@ -2768,6 +2829,11 @@ GetFaceSearchResult getFaceSearch(GetFaceSearchRequest getFaceSearchRequest) * request parameter with the token value returned from the previous call to * GetLabelDetection. *

    + *

    + * If you are retrieving results while using the Amazon Simple Notification + * Service, note that you will receive an "ERROR" notification if the job + * encounters an issue. + *

    * * @param getLabelDetectionRequest * @return getLabelDetectionResult The response from the GetLabelDetection @@ -2790,6 +2856,34 @@ GetFaceSearchResult getFaceSearch(GetFaceSearchRequest getFaceSearchRequest) GetLabelDetectionResult getLabelDetection(GetLabelDetectionRequest getLabelDetectionRequest) throws AmazonClientException, AmazonServiceException; + /** + *

    + * Retrieves the results for a given media analysis job. Takes a + * JobId returned by StartMediaAnalysisJob. + *

    + * + * @param getMediaAnalysisJobRequest + * @return getMediaAnalysisJobResult The response from the + * GetMediaAnalysisJob service method, as returned by Amazon + * Rekognition. + * @throws AccessDeniedException + * @throws ResourceNotFoundException + * @throws InternalServerErrorException + * @throws InvalidParameterException + * @throws ProvisionedThroughputExceededException + * @throws ThrottlingException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Rekognition indicating either a problem with the data in the + * request, or a server side issue. + */ + GetMediaAnalysisJobResult getMediaAnalysisJob( + GetMediaAnalysisJobRequest getMediaAnalysisJobRequest) throws AmazonClientException, + AmazonServiceException; + /** *

    * Gets the path tracking results of a Amazon Rekognition Video analysis @@ -3222,6 +3316,11 @@ ListCollectionsResult listCollections(ListCollectionsRequest listCollectionsRequ throws AmazonClientException, AmazonServiceException; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Lists the entries (images) within a dataset. An entry is a JSON Line that * contains the information for a single image, including the image @@ -3270,6 +3369,11 @@ ListDatasetEntriesResult listDatasetEntries(ListDatasetEntriesRequest listDatase throws AmazonClientException, AmazonServiceException; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Lists the labels in a dataset. Amazon Rekognition Custom Labels uses * labels to describe images. For more information, see + * Returns a list of media analysis jobs. Results are sorted by + * CreationTimestamp in descending order. + *

    + * + * @param listMediaAnalysisJobsRequest + * @return listMediaAnalysisJobsResult The response from the + * ListMediaAnalysisJobs service method, as returned by Amazon + * Rekognition. + * @throws AccessDeniedException + * @throws InternalServerErrorException + * @throws InvalidParameterException + * @throws InvalidPaginationTokenException + * @throws ProvisionedThroughputExceededException + * @throws ThrottlingException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Rekognition indicating either a problem with the data in the + * request, or a server side issue. + */ + ListMediaAnalysisJobsResult listMediaAnalysisJobs( + ListMediaAnalysisJobsRequest listMediaAnalysisJobsRequest) + throws AmazonClientException, AmazonServiceException; + + /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Gets a list of the project policies attached to a project. *

    @@ -3466,12 +3603,18 @@ ListUsersResult listUsers(ListUsersRequest listUsersRequest) throws AmazonClient AmazonServiceException; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Attaches a project policy to a Amazon Rekognition Custom Labels project * in a trusting AWS account. A project policy specifies that a trusted AWS * account can copy a model version from a trusting AWS account to a project * in the trusted AWS account. To copy a model version you use the - * CopyProjectVersion operation. + * CopyProjectVersion operation. Only applies to Custom Labels + * projects. *

    *

    * For more information about the format of a project policy document, see @@ -4067,6 +4210,40 @@ StartLabelDetectionResult startLabelDetection( StartLabelDetectionRequest startLabelDetectionRequest) throws AmazonClientException, AmazonServiceException; + /** + *

    + * Initiates a new media analysis job. Accepts a manifest file in an Amazon + * S3 bucket. The output is a manifest file and a summary of the manifest + * stored in the Amazon S3 bucket. + *

    + * + * @param startMediaAnalysisJobRequest + * @return startMediaAnalysisJobResult The response from the + * StartMediaAnalysisJob service method, as returned by Amazon + * Rekognition. + * @throws InternalServerErrorException + * @throws AccessDeniedException + * @throws InvalidParameterException + * @throws InvalidManifestException + * @throws InvalidS3ObjectException + * @throws ResourceNotFoundException + * @throws ResourceNotReadyException + * @throws ProvisionedThroughputExceededException + * @throws LimitExceededException + * @throws ThrottlingException + * @throws IdempotentParameterMismatchException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Rekognition indicating either a problem with the data in the + * request, or a server side issue. + */ + StartMediaAnalysisJobResult startMediaAnalysisJob( + StartMediaAnalysisJobRequest startMediaAnalysisJobRequest) + throws AmazonClientException, AmazonServiceException; + /** *

    * Starts the asynchronous tracking of a person's path in a stored video. @@ -4114,6 +4291,11 @@ StartPersonTrackingResult startPersonTracking( AmazonServiceException; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Starts the running of the version of a model. Starting a model takes a * while to complete. To check the current state of the model, use @@ -4130,10 +4312,6 @@ StartPersonTrackingResult startPersonTracking( *

    * *

    - * For more information, see Running a trained Amazon Rekognition Custom - * Labels model in the Amazon Rekognition Custom Labels Guide. - *

    - *

    * This operation requires permissions to perform the * rekognition:StartProjectVersion action. *

    @@ -4304,9 +4482,15 @@ StartTextDetectionResult startTextDetection(StartTextDetectionRequest startTextD throws AmazonClientException, AmazonServiceException; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Stops a running model. The operation might take a while to complete. To - * check the current status, call DescribeProjectVersions. + * check the current status, call DescribeProjectVersions. Only + * applies to Custom Labels projects. *

    *

    * This operation requires permissions to perform the @@ -4427,6 +4611,11 @@ UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest) throws AmazonClientException, AmazonServiceException; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Adds or updates one or more entries (images) in a dataset. An entry is a * JSON Line which contains the information for a single image, including diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/AmazonRekognitionClient.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/AmazonRekognitionClient.java index 3b2d55a02a..1716b0c3cf 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/AmazonRekognitionClient.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/AmazonRekognitionClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -158,6 +158,13 @@ *

  • *

    * GetMediaAnalysisJob + *

    + *
  • + *
  • + *

    + * IndexFaces *

    @@ -172,6 +179,13 @@ *
  • *

    * ListMediaAnalysisJob + *

    + *
  • + *
  • + *

    + * ListFaces *

    @@ -218,6 +232,13 @@ * >SearchUsersByImage *

    *
  • + *
  • + *

    + * StartMediaAnalysisJob + *

    + *
  • * *

    * Amazon Rekognition Custom Labels @@ -829,6 +850,7 @@ private void init() { jsonErrorUnmarshallers.add(new ImageTooLargeExceptionUnmarshaller()); jsonErrorUnmarshallers.add(new InternalServerErrorExceptionUnmarshaller()); jsonErrorUnmarshallers.add(new InvalidImageFormatExceptionUnmarshaller()); + jsonErrorUnmarshallers.add(new InvalidManifestExceptionUnmarshaller()); jsonErrorUnmarshallers.add(new InvalidPaginationTokenExceptionUnmarshaller()); jsonErrorUnmarshallers.add(new InvalidParameterExceptionUnmarshaller()); jsonErrorUnmarshallers.add(new InvalidPolicyRevisionIdExceptionUnmarshaller()); @@ -1096,6 +1118,11 @@ public CompareFacesResult compareFaces(CompareFacesRequest compareFacesRequest) } /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Copies a version of an Amazon Rekognition Custom Labels model from a * source project to a destination project. The source and destination @@ -1120,6 +1147,9 @@ public CompareFacesResult compareFaces(CompareFacesRequest compareFacesRequest) *

    * *

    + * Copying project versions is supported only for Custom Labels models. + *

    + *

    * To copy a model, the destination project, source project, and source * model version must already exist. *

    @@ -1263,6 +1293,11 @@ public CreateCollectionResult createCollection(CreateCollectionRequest createCol } /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Creates a new Amazon Rekognition Custom Labels dataset. You can create a * dataset by using an Amazon Sagemaker format manifest file or by copying @@ -1420,12 +1455,13 @@ public CreateFaceLivenessSessionResult createFaceLivenessSession( /** *

    - * Creates a new Amazon Rekognition Custom Labels project. A project is a - * group of resources (datasets, model versions) that you use to create and - * manage Amazon Rekognition Custom Labels models. - *

    - *

    - * This operation requires permissions to perform the + * Creates a new Amazon Rekognition project. A project is a group of + * resources (datasets, model versions) that you use to create and manage a + * Amazon Rekognition Custom Labels Model or custom adapter. You can specify + * a feature to create the project with, if no feature is specified then + * Custom Labels is used by default. For adapters, you can also choose + * whether or not to have the project auto update by using the AutoUpdate + * argument. This operation requires permissions to perform the * rekognition:CreateProject action. *

    * @@ -1478,18 +1514,33 @@ public CreateProjectResult createProject(CreateProjectRequest createProjectReque /** *

    - * Creates a new version of a model and begins training. Models are managed - * as part of an Amazon Rekognition Custom Labels project. The response from + * Creates a new version of Amazon Rekognition project (like a Custom Labels + * model or a custom adapter) and begins training. Models and adapters are + * managed as part of a Rekognition project. The response from * CreateProjectVersion is an Amazon Resource Name (ARN) for - * the version of the model. + * the project version. + *

    + *

    + * The FeatureConfig operation argument allows you to configure specific + * model or adapter settings. You can provide a description to the project + * version by using the VersionDescription argment. Training can take a + * while to complete. You can get the current status by calling + * DescribeProjectVersions. Training completed successfully if the + * value of the Status field is TRAINING_COMPLETED + * . Once training has successfully completed, call + * DescribeProjectVersions to get the training results and evaluate + * the model. *

    *

    - * Training uses the training and test datasets associated with the project. - * For more information, see Creating training and test dataset in the - * Amazon Rekognition Custom Labels Developer Guide. + * This operation requires permissions to perform the + * rekognition:CreateProjectVersion action. *

    * *

    + * The following applies only to projects with Amazon Rekognition Custom + * Labels as the chosen feature: + *

    + *

    * You can train a model in a project that doesn't have associated datasets * by specifying manifest files in the TrainingData and * TestingData fields. @@ -1506,31 +1557,7 @@ public CreateProjectResult createProject(CreateProjectRequest createProjectReque * datasets for the project. *

    *
    - *

    - * Training takes a while to complete. You can get the current status by - * calling DescribeProjectVersions. Training completed successfully - * if the value of the Status field is - * TRAINING_COMPLETED. - *

    - *

    - * If training fails, see Debugging a failed model training in the Amazon - * Rekognition Custom Labels developer guide. - *

    - *

    - * Once training has successfully completed, call - * DescribeProjectVersions to get the training results and evaluate - * the model. For more information, see Improving a trained Amazon - * Rekognition Custom Labels model in the Amazon Rekognition Custom - * Labels developers guide. - *

    - *

    - * After evaluating the model, you start the model by calling - * StartProjectVersion. - *

    - *

    - * This operation requires permissions to perform the - * rekognition:CreateProjectVersion action. - *

    + *

    * * @param createProjectVersionRequest * @return createProjectVersionResult The response from the @@ -1812,6 +1839,11 @@ public DeleteCollectionResult deleteCollection(DeleteCollectionRequest deleteCol } /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Deletes an existing Amazon Rekognition Custom Labels dataset. Deleting a * dataset might take while. Use DescribeDataset to check the current @@ -1936,9 +1968,9 @@ public DeleteFacesResult deleteFaces(DeleteFacesRequest deleteFacesRequest) /** *

    - * Deletes an Amazon Rekognition Custom Labels project. To delete a project - * you must first delete all models associated with the project. To delete a - * model, see DeleteProjectVersion. + * Deletes a Amazon Rekognition project. To delete a project you must first + * delete all models or adapters associated with the project. To delete a + * model or adapter, see DeleteProjectVersion. *

    *

    * DeleteProject is an asynchronous operation. To check if the @@ -2000,6 +2032,11 @@ public DeleteProjectResult deleteProject(DeleteProjectRequest deleteProjectReque } /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Deletes an existing project policy. *

    @@ -2065,14 +2102,15 @@ public DeleteProjectPolicyResult deleteProjectPolicy( /** *

    - * Deletes an Amazon Rekognition Custom Labels model. + * Deletes a Rekognition project model or project version, like a Amazon + * Rekognition Custom Labels model or a custom adapter. *

    *

    - * You can't delete a model if it is running or if it is training. To check - * the status of a model, use the Status field returned from - * DescribeProjectVersions. To stop a running model call - * StopProjectVersion. If the model is training, wait until it - * finishes. + * You can't delete a project version if it is running or if it is training. + * To check the status of a project version, use the Status field returned + * from DescribeProjectVersions. To stop a project version call + * StopProjectVersion. If the project version is training, wait until + * it finishes. *

    *

    * This operation requires permissions to perform the @@ -2307,6 +2345,11 @@ public DescribeCollectionResult describeCollection( } /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Describes an Amazon Rekognition Custom Labels dataset. You can get * information such as the current status of a dataset and statistics about @@ -2365,10 +2408,10 @@ public DescribeDatasetResult describeDataset(DescribeDatasetRequest describeData /** *

    - * Lists and describes the versions of a model in an Amazon Rekognition - * Custom Labels project. You can specify up to 10 model versions in + * Lists and describes the versions of an Amazon Rekognition project. You + * can specify up to 10 model or adapter versions in * ProjectVersionArns. If you don't specify a value, - * descriptions for all model versions in the project are returned. + * descriptions for all model/adapter versions in the project are returned. *

    *

    * This operation requires permissions to perform the @@ -2427,7 +2470,7 @@ public DescribeProjectVersionsResult describeProjectVersions( /** *

    - * Gets information about your Amazon Rekognition Custom Labels projects. + * Gets information about your Rekognition projects. *

    *

    * This operation requires permissions to perform the @@ -2538,6 +2581,11 @@ public DescribeStreamProcessorResult describeStreamProcessor( } /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Detects custom labels in a supplied image by using an Amazon Rekognition * Custom Labels model. @@ -2559,7 +2607,9 @@ public DescribeStreamProcessorResult describeStreamProcessor( * the label name (Name), the level of confidence that the * image contains the object (Confidence), and object location * information, if it exists, for the label on the image ( - * Geometry). + * Geometry). Note that for the + * DetectCustomLabelsLabels operation, Polygons + * are not returned in the Geometry section of the response. *

    *

    * To filter labels that are returned, specify a value for @@ -2974,6 +3024,11 @@ public DetectLabelsResult detectLabels(DetectLabelsRequest detectLabelsRequest) * call Amazon Rekognition operations, passing image bytes is not supported. * The image must be either a PNG or JPEG formatted file. *

    + *

    + * You can specify an adapter to use when retrieving label predictions by + * providing a ProjectVersionArn to the + * ProjectVersion argument. + *

    * * @param detectModerationLabelsRequest * @return detectModerationLabelsResult The response from the @@ -2988,6 +3043,8 @@ public DetectLabelsResult detectLabels(DetectLabelsRequest detectLabelsRequest) * @throws ProvisionedThroughputExceededException * @throws InvalidImageFormatException * @throws HumanLoopQuotaExceededException + * @throws ResourceNotFoundException + * @throws ResourceNotReadyException * @throws AmazonClientException If any internal errors are encountered * inside the client while attempting to make the request or * handle the response. For example if a network connection is @@ -3309,6 +3366,11 @@ public DisassociateFacesResult disassociateFaces( } /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Distributes the entries (images) in a training dataset across the * training dataset and the test dataset for a project. @@ -4032,6 +4094,11 @@ public GetFaceSearchResult getFaceSearch(GetFaceSearchRequest getFaceSearchReque * request parameter with the token value returned from the previous call to * GetLabelDetection. *

    + *

    + * If you are retrieving results while using the Amazon Simple Notification + * Service, note that you will receive an "ERROR" notification if the job + * encounters an issue. + *

    * * @param getLabelDetectionRequest * @return getLabelDetectionResult The response from the GetLabelDetection @@ -4082,6 +4149,61 @@ public GetLabelDetectionResult getLabelDetection( } } + /** + *

    + * Retrieves the results for a given media analysis job. Takes a + * JobId returned by StartMediaAnalysisJob. + *

    + * + * @param getMediaAnalysisJobRequest + * @return getMediaAnalysisJobResult The response from the + * GetMediaAnalysisJob service method, as returned by Amazon + * Rekognition. + * @throws AccessDeniedException + * @throws ResourceNotFoundException + * @throws InternalServerErrorException + * @throws InvalidParameterException + * @throws ProvisionedThroughputExceededException + * @throws ThrottlingException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Rekognition indicating either a problem with the data in the + * request, or a server side issue. + */ + public GetMediaAnalysisJobResult getMediaAnalysisJob( + GetMediaAnalysisJobRequest getMediaAnalysisJobRequest) + throws AmazonServiceException, AmazonClientException { + ExecutionContext executionContext = createExecutionContext(getMediaAnalysisJobRequest); + AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); + awsRequestMetrics.startEvent(Field.ClientExecuteTime); + Request request = null; + Response response = null; + try { + awsRequestMetrics.startEvent(Field.RequestMarshallTime); + try { + request = new GetMediaAnalysisJobRequestMarshaller() + .marshall(getMediaAnalysisJobRequest); + // Binds the request metrics to the current request. + request.setAWSRequestMetrics(awsRequestMetrics); + } finally { + awsRequestMetrics.endEvent(Field.RequestMarshallTime); + } + Unmarshaller unmarshaller = new GetMediaAnalysisJobResultJsonUnmarshaller(); + JsonResponseHandler responseHandler = new JsonResponseHandler( + unmarshaller); + + response = invoke(request, responseHandler, executionContext); + + return response.getAwsResponse(); + } finally { + awsRequestMetrics.endEvent(Field.ClientExecuteTime); + endClientExecution(awsRequestMetrics, request, response, LOGGING_AWS_REQUEST_METRIC); + } + } + /** *

    * Gets the path tracking results of a Amazon Rekognition Video analysis @@ -4647,6 +4769,11 @@ public ListCollectionsResult listCollections(ListCollectionsRequest listCollecti } /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Lists the entries (images) within a dataset. An entry is a JSON Line that * contains the information for a single image, including the image @@ -4723,6 +4850,11 @@ public ListDatasetEntriesResult listDatasetEntries( } /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Lists the labels in a dataset. Amazon Rekognition Custom Labels uses * labels to describe images. For more information, see + * Returns a list of media analysis jobs. Results are sorted by + * CreationTimestamp in descending order. + *

    + * + * @param listMediaAnalysisJobsRequest + * @return listMediaAnalysisJobsResult The response from the + * ListMediaAnalysisJobs service method, as returned by Amazon + * Rekognition. + * @throws AccessDeniedException + * @throws InternalServerErrorException + * @throws InvalidParameterException + * @throws InvalidPaginationTokenException + * @throws ProvisionedThroughputExceededException + * @throws ThrottlingException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Rekognition indicating either a problem with the data in the + * request, or a server side issue. + */ + public ListMediaAnalysisJobsResult listMediaAnalysisJobs( + ListMediaAnalysisJobsRequest listMediaAnalysisJobsRequest) + throws AmazonServiceException, AmazonClientException { + ExecutionContext executionContext = createExecutionContext(listMediaAnalysisJobsRequest); + AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); + awsRequestMetrics.startEvent(Field.ClientExecuteTime); + Request request = null; + Response response = null; + try { + awsRequestMetrics.startEvent(Field.RequestMarshallTime); + try { + request = new ListMediaAnalysisJobsRequestMarshaller() + .marshall(listMediaAnalysisJobsRequest); + // Binds the request metrics to the current request. + request.setAWSRequestMetrics(awsRequestMetrics); + } finally { + awsRequestMetrics.endEvent(Field.RequestMarshallTime); + } + Unmarshaller unmarshaller = new ListMediaAnalysisJobsResultJsonUnmarshaller(); + JsonResponseHandler responseHandler = new JsonResponseHandler( + unmarshaller); + + response = invoke(request, responseHandler, executionContext); + + return response.getAwsResponse(); + } finally { + awsRequestMetrics.endEvent(Field.ClientExecuteTime); + endClientExecution(awsRequestMetrics, request, response, LOGGING_AWS_REQUEST_METRIC); + } + } + + /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Gets a list of the project policies attached to a project. *

    @@ -5080,12 +5272,18 @@ public ListUsersResult listUsers(ListUsersRequest listUsersRequest) } /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Attaches a project policy to a Amazon Rekognition Custom Labels project * in a trusting AWS account. A project policy specifies that a trusted AWS * account can copy a model version from a trusting AWS account to a project * in the trusted AWS account. To copy a model version you use the - * CopyProjectVersion operation. + * CopyProjectVersion operation. Only applies to Custom Labels + * projects. *

    *

    * For more information about the format of a project policy document, see @@ -5977,6 +6175,67 @@ public StartLabelDetectionResult startLabelDetection( } } + /** + *

    + * Initiates a new media analysis job. Accepts a manifest file in an Amazon + * S3 bucket. The output is a manifest file and a summary of the manifest + * stored in the Amazon S3 bucket. + *

    + * + * @param startMediaAnalysisJobRequest + * @return startMediaAnalysisJobResult The response from the + * StartMediaAnalysisJob service method, as returned by Amazon + * Rekognition. + * @throws InternalServerErrorException + * @throws AccessDeniedException + * @throws InvalidParameterException + * @throws InvalidManifestException + * @throws InvalidS3ObjectException + * @throws ResourceNotFoundException + * @throws ResourceNotReadyException + * @throws ProvisionedThroughputExceededException + * @throws LimitExceededException + * @throws ThrottlingException + * @throws IdempotentParameterMismatchException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Rekognition indicating either a problem with the data in the + * request, or a server side issue. + */ + public StartMediaAnalysisJobResult startMediaAnalysisJob( + StartMediaAnalysisJobRequest startMediaAnalysisJobRequest) + throws AmazonServiceException, AmazonClientException { + ExecutionContext executionContext = createExecutionContext(startMediaAnalysisJobRequest); + AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); + awsRequestMetrics.startEvent(Field.ClientExecuteTime); + Request request = null; + Response response = null; + try { + awsRequestMetrics.startEvent(Field.RequestMarshallTime); + try { + request = new StartMediaAnalysisJobRequestMarshaller() + .marshall(startMediaAnalysisJobRequest); + // Binds the request metrics to the current request. + request.setAWSRequestMetrics(awsRequestMetrics); + } finally { + awsRequestMetrics.endEvent(Field.RequestMarshallTime); + } + Unmarshaller unmarshaller = new StartMediaAnalysisJobResultJsonUnmarshaller(); + JsonResponseHandler responseHandler = new JsonResponseHandler( + unmarshaller); + + response = invoke(request, responseHandler, executionContext); + + return response.getAwsResponse(); + } finally { + awsRequestMetrics.endEvent(Field.ClientExecuteTime); + endClientExecution(awsRequestMetrics, request, response, LOGGING_AWS_REQUEST_METRIC); + } + } + /** *

    * Starts the asynchronous tracking of a person's path in a stored video. @@ -6051,6 +6310,11 @@ public StartPersonTrackingResult startPersonTracking( } /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Starts the running of the version of a model. Starting a model takes a * while to complete. To check the current state of the model, use @@ -6067,10 +6331,6 @@ public StartPersonTrackingResult startPersonTracking( *

    * *

    - * For more information, see Running a trained Amazon Rekognition Custom - * Labels model in the Amazon Rekognition Custom Labels Guide. - *

    - *

    * This operation requires permissions to perform the * rekognition:StartProjectVersion action. *

    @@ -6350,9 +6610,15 @@ public StartTextDetectionResult startTextDetection( } /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Stops a running model. The operation might take a while to complete. To - * check the current status, call DescribeProjectVersions. + * check the current status, call DescribeProjectVersions. Only + * applies to Custom Labels projects. *

    *

    * This operation requires permissions to perform the @@ -6580,6 +6846,11 @@ public UntagResourceResult untagResource(UntagResourceRequest untagResourceReque } /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Adds or updates one or more entries (images) in a dataset. An entry is a * JSON Line which contains the information for a single image, including diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AccessDeniedException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AccessDeniedException.java index c7ade69457..5495b0d33b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AccessDeniedException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AccessDeniedException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AgeRange.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AgeRange.java index bbc0a33789..48da9d3565 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AgeRange.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AgeRange.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Asset.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Asset.java index 05de3a2036..f05dac8460 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Asset.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Asset.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AssociateFacesRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AssociateFacesRequest.java index ed8cf344d1..e59ef3501d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AssociateFacesRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AssociateFacesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AssociateFacesResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AssociateFacesResult.java index f57f5802a8..05911cb10b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AssociateFacesResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AssociateFacesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,9 +20,9 @@ public class AssociateFacesResult implements Serializable { /** *

    - * An array of AssociatedFace objects containing FaceIDs that are - * successfully associated with the UserID is returned. Returned if the - * AssociateFaces action is successful. + * An array of AssociatedFace objects containing FaceIDs that have been + * successfully associated with the UserID. Returned if the AssociateFaces + * action is successful. *

    */ private java.util.List associatedFaces; @@ -49,15 +49,15 @@ public class AssociateFacesResult implements Serializable { /** *

    - * An array of AssociatedFace objects containing FaceIDs that are - * successfully associated with the UserID is returned. Returned if the - * AssociateFaces action is successful. + * An array of AssociatedFace objects containing FaceIDs that have been + * successfully associated with the UserID. Returned if the AssociateFaces + * action is successful. *

    * * @return

    - * An array of AssociatedFace objects containing FaceIDs that are - * successfully associated with the UserID is returned. Returned if - * the AssociateFaces action is successful. + * An array of AssociatedFace objects containing FaceIDs that have + * been successfully associated with the UserID. Returned if the + * AssociateFaces action is successful. *

    */ public java.util.List getAssociatedFaces() { @@ -66,15 +66,15 @@ public java.util.List getAssociatedFaces() { /** *

    - * An array of AssociatedFace objects containing FaceIDs that are - * successfully associated with the UserID is returned. Returned if the - * AssociateFaces action is successful. + * An array of AssociatedFace objects containing FaceIDs that have been + * successfully associated with the UserID. Returned if the AssociateFaces + * action is successful. *

    * * @param associatedFaces

    - * An array of AssociatedFace objects containing FaceIDs that are - * successfully associated with the UserID is returned. Returned - * if the AssociateFaces action is successful. + * An array of AssociatedFace objects containing FaceIDs that + * have been successfully associated with the UserID. Returned if + * the AssociateFaces action is successful. *

    */ public void setAssociatedFaces(java.util.Collection associatedFaces) { @@ -88,18 +88,18 @@ public void setAssociatedFaces(java.util.Collection associatedFa /** *

    - * An array of AssociatedFace objects containing FaceIDs that are - * successfully associated with the UserID is returned. Returned if the - * AssociateFaces action is successful. + * An array of AssociatedFace objects containing FaceIDs that have been + * successfully associated with the UserID. Returned if the AssociateFaces + * action is successful. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param associatedFaces

    - * An array of AssociatedFace objects containing FaceIDs that are - * successfully associated with the UserID is returned. Returned - * if the AssociateFaces action is successful. + * An array of AssociatedFace objects containing FaceIDs that + * have been successfully associated with the UserID. Returned if + * the AssociateFaces action is successful. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -116,18 +116,18 @@ public AssociateFacesResult withAssociatedFaces(AssociatedFace... associatedFace /** *

    - * An array of AssociatedFace objects containing FaceIDs that are - * successfully associated with the UserID is returned. Returned if the - * AssociateFaces action is successful. + * An array of AssociatedFace objects containing FaceIDs that have been + * successfully associated with the UserID. Returned if the AssociateFaces + * action is successful. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param associatedFaces

    - * An array of AssociatedFace objects containing FaceIDs that are - * successfully associated with the UserID is returned. Returned - * if the AssociateFaces action is successful. + * An array of AssociatedFace objects containing FaceIDs that + * have been successfully associated with the UserID. Returned if + * the AssociateFaces action is successful. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AssociatedFace.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AssociatedFace.java index b9bd9c5478..c8d82be3ee 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AssociatedFace.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AssociatedFace.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Attribute.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Attribute.java index 4973b894f0..e88a5dfaa3 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Attribute.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Attribute.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AudioMetadata.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AudioMetadata.java index 9023abcc76..07001c54d8 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AudioMetadata.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AudioMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AuditImage.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AuditImage.java index 03ba790a0b..774b289f6e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AuditImage.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/AuditImage.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Beard.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Beard.java index 1d05c1c5dc..4405d4975c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Beard.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Beard.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/BlackFrame.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/BlackFrame.java index c26fa1138a..cf66afd50f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/BlackFrame.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/BlackFrame.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/BodyPart.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/BodyPart.java index 34e1948d9f..35f4511fcb 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/BodyPart.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/BodyPart.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/BoundingBox.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/BoundingBox.java index 17ceb6f864..619fcce411 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/BoundingBox.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/BoundingBox.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Celebrity.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Celebrity.java index a6912a7350..26e6b2649f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Celebrity.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Celebrity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CelebrityDetail.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CelebrityDetail.java index 8e33b80e5e..83c804724c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CelebrityDetail.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CelebrityDetail.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CelebrityRecognition.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CelebrityRecognition.java index e92252fc77..cf50ab62d4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CelebrityRecognition.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CelebrityRecognition.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CelebrityRecognitionSortBy.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CelebrityRecognitionSortBy.java index 2364e1189a..159de4f046 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CelebrityRecognitionSortBy.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CelebrityRecognitionSortBy.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CompareFacesMatch.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CompareFacesMatch.java index 2b835c3dbc..3f7972ec1a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CompareFacesMatch.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CompareFacesMatch.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CompareFacesRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CompareFacesRequest.java index be7597bb7e..bbd39635c6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CompareFacesRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CompareFacesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CompareFacesResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CompareFacesResult.java index 9b4d22ff46..da79dcea73 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CompareFacesResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CompareFacesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ComparedFace.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ComparedFace.java index a38199c747..35b83f132f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ComparedFace.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ComparedFace.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ComparedSourceImageFace.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ComparedSourceImageFace.java index 94db2b2c61..620e873604 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ComparedSourceImageFace.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ComparedSourceImageFace.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ConflictException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ConflictException.java index 959c1cdc30..c75352d00a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ConflictException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ConflictException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ConnectedHomeSettings.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ConnectedHomeSettings.java index 3bceeb2cfe..0a2057ae41 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ConnectedHomeSettings.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ConnectedHomeSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ConnectedHomeSettingsForUpdate.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ConnectedHomeSettingsForUpdate.java index 595b4219ba..bb440802ad 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ConnectedHomeSettingsForUpdate.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ConnectedHomeSettingsForUpdate.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentClassifier.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentClassifier.java index 5288588f17..5286618cb8 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentClassifier.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentClassifier.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentModerationAggregateBy.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentModerationAggregateBy.java index a5e71b6b64..87cbc74b39 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentModerationAggregateBy.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentModerationAggregateBy.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentModerationDetection.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentModerationDetection.java index adb9699e79..3bfc1a31cd 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentModerationDetection.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentModerationDetection.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -74,6 +74,15 @@ public class ContentModerationDetection implements Serializable { */ private Long durationMillis; + /** + *

    + * A list of predicted results for the type of content an image contains. + * For example, the image content might be from animation, sports, or a + * video game. + *

    + */ + private java.util.List contentTypes; + /** *

    * Time, in milliseconds from the beginning of the video, that the content @@ -362,6 +371,97 @@ public ContentModerationDetection withDurationMillis(Long durationMillis) { return this; } + /** + *

    + * A list of predicted results for the type of content an image contains. + * For example, the image content might be from animation, sports, or a + * video game. + *

    + * + * @return

    + * A list of predicted results for the type of content an image + * contains. For example, the image content might be from animation, + * sports, or a video game. + *

    + */ + public java.util.List getContentTypes() { + return contentTypes; + } + + /** + *

    + * A list of predicted results for the type of content an image contains. + * For example, the image content might be from animation, sports, or a + * video game. + *

    + * + * @param contentTypes

    + * A list of predicted results for the type of content an image + * contains. For example, the image content might be from + * animation, sports, or a video game. + *

    + */ + public void setContentTypes(java.util.Collection contentTypes) { + if (contentTypes == null) { + this.contentTypes = null; + return; + } + + this.contentTypes = new java.util.ArrayList(contentTypes); + } + + /** + *

    + * A list of predicted results for the type of content an image contains. + * For example, the image content might be from animation, sports, or a + * video game. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param contentTypes

    + * A list of predicted results for the type of content an image + * contains. For example, the image content might be from + * animation, sports, or a video game. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ContentModerationDetection withContentTypes(ContentType... contentTypes) { + if (getContentTypes() == null) { + this.contentTypes = new java.util.ArrayList(contentTypes.length); + } + for (ContentType value : contentTypes) { + this.contentTypes.add(value); + } + return this; + } + + /** + *

    + * A list of predicted results for the type of content an image contains. + * For example, the image content might be from animation, sports, or a + * video game. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param contentTypes

    + * A list of predicted results for the type of content an image + * contains. For example, the image content might be from + * animation, sports, or a video game. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ContentModerationDetection withContentTypes( + java.util.Collection contentTypes) { + setContentTypes(contentTypes); + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -382,7 +482,9 @@ public String toString() { if (getEndTimestampMillis() != null) sb.append("EndTimestampMillis: " + getEndTimestampMillis() + ","); if (getDurationMillis() != null) - sb.append("DurationMillis: " + getDurationMillis()); + sb.append("DurationMillis: " + getDurationMillis() + ","); + if (getContentTypes() != null) + sb.append("ContentTypes: " + getContentTypes()); sb.append("}"); return sb.toString(); } @@ -401,6 +503,8 @@ public int hashCode() { + ((getEndTimestampMillis() == null) ? 0 : getEndTimestampMillis().hashCode()); hashCode = prime * hashCode + ((getDurationMillis() == null) ? 0 : getDurationMillis().hashCode()); + hashCode = prime * hashCode + + ((getContentTypes() == null) ? 0 : getContentTypes().hashCode()); return hashCode; } @@ -440,6 +544,11 @@ public boolean equals(Object obj) { if (other.getDurationMillis() != null && other.getDurationMillis().equals(this.getDurationMillis()) == false) return false; + if (other.getContentTypes() == null ^ this.getContentTypes() == null) + return false; + if (other.getContentTypes() != null + && other.getContentTypes().equals(this.getContentTypes()) == false) + return false; return true; } } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentModerationSortBy.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentModerationSortBy.java index b2401a5fc5..32fbf4875f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentModerationSortBy.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentModerationSortBy.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentType.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentType.java new file mode 100644 index 0000000000..71ff492ae6 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ContentType.java @@ -0,0 +1,194 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +/** + *

    + * Contains information regarding the confidence and name of a detected content + * type. + *

    + */ +public class ContentType implements Serializable { + /** + *

    + * The confidence level of the label given + *

    + *

    + * Constraints:
    + * Length: 0.0 - 100.0
    + */ + private Float confidence; + + /** + *

    + * The name of the label + *

    + */ + private String name; + + /** + *

    + * The confidence level of the label given + *

    + *

    + * Constraints:
    + * Length: 0.0 - 100.0
    + * + * @return

    + * The confidence level of the label given + *

    + */ + public Float getConfidence() { + return confidence; + } + + /** + *

    + * The confidence level of the label given + *

    + *

    + * Constraints:
    + * Length: 0.0 - 100.0
    + * + * @param confidence

    + * The confidence level of the label given + *

    + */ + public void setConfidence(Float confidence) { + this.confidence = confidence; + } + + /** + *

    + * The confidence level of the label given + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 0.0 - 100.0
    + * + * @param confidence

    + * The confidence level of the label given + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ContentType withConfidence(Float confidence) { + this.confidence = confidence; + return this; + } + + /** + *

    + * The name of the label + *

    + * + * @return

    + * The name of the label + *

    + */ + public String getName() { + return name; + } + + /** + *

    + * The name of the label + *

    + * + * @param name

    + * The name of the label + *

    + */ + public void setName(String name) { + this.name = name; + } + + /** + *

    + * The name of the label + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param name

    + * The name of the label + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ContentType withName(String name) { + this.name = name; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getConfidence() != null) + sb.append("Confidence: " + getConfidence() + ","); + if (getName() != null) + sb.append("Name: " + getName()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getConfidence() == null) ? 0 : getConfidence().hashCode()); + hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof ContentType == false) + return false; + ContentType other = (ContentType) obj; + + if (other.getConfidence() == null ^ this.getConfidence() == null) + return false; + if (other.getConfidence() != null + && other.getConfidence().equals(this.getConfidence()) == false) + return false; + if (other.getName() == null ^ this.getName() == null) + return false; + if (other.getName() != null && other.getName().equals(this.getName()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CopyProjectVersionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CopyProjectVersionRequest.java index ca975ab136..d3ff30bb44 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CopyProjectVersionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CopyProjectVersionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,6 +20,11 @@ import com.amazonaws.AmazonWebServiceRequest; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Copies a version of an Amazon Rekognition Custom Labels model from a source * project to a destination project. The source and destination projects can be @@ -44,6 +49,9 @@ *

    * *

    + * Copying project versions is supported only for Custom Labels models. + *

    + *

    * To copy a model, the destination project, source project, and source model * version must already exist. *

    diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CopyProjectVersionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CopyProjectVersionResult.java index 3f53dffade..e3dbfd909f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CopyProjectVersionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CopyProjectVersionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CoversBodyPart.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CoversBodyPart.java index 39eae26118..2e81b6f640 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CoversBodyPart.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CoversBodyPart.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateCollectionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateCollectionRequest.java index 37ba4078a3..0a63d8063c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateCollectionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateCollectionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateCollectionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateCollectionResult.java index 2f9a6126d5..7260b80113 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateCollectionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateCollectionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateDatasetRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateDatasetRequest.java index 24a316961d..7e8814d027 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateDatasetRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateDatasetRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,6 +20,11 @@ import com.amazonaws.AmazonWebServiceRequest; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Creates a new Amazon Rekognition Custom Labels dataset. You can create a * dataset by using an Amazon Sagemaker format manifest file or by copying an @@ -94,6 +99,13 @@ public class CreateDatasetRequest extends AmazonWebServiceRequest implements Ser */ private String projectArn; + /** + *

    + * A set of tags (key-value pairs) that you want to attach to the dataset. + *

    + */ + private java.util.Map tags; + /** *

    * The source files for the dataset. You can specify the ARN of an existing @@ -347,6 +359,89 @@ public CreateDatasetRequest withProjectArn(String projectArn) { return this; } + /** + *

    + * A set of tags (key-value pairs) that you want to attach to the dataset. + *

    + * + * @return

    + * A set of tags (key-value pairs) that you want to attach to the + * dataset. + *

    + */ + public java.util.Map getTags() { + return tags; + } + + /** + *

    + * A set of tags (key-value pairs) that you want to attach to the dataset. + *

    + * + * @param tags

    + * A set of tags (key-value pairs) that you want to attach to the + * dataset. + *

    + */ + public void setTags(java.util.Map tags) { + this.tags = tags; + } + + /** + *

    + * A set of tags (key-value pairs) that you want to attach to the dataset. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param tags

    + * A set of tags (key-value pairs) that you want to attach to the + * dataset. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CreateDatasetRequest withTags(java.util.Map tags) { + this.tags = tags; + return this; + } + + /** + *

    + * A set of tags (key-value pairs) that you want to attach to the dataset. + *

    + *

    + * The method adds a new key-value pair into Tags parameter, and returns a + * reference to this object so that method calls can be chained together. + * + * @param key The key of the entry to be added into Tags. + * @param value The corresponding value of the entry to be added into Tags. + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CreateDatasetRequest addTagsEntry(String key, String value) { + if (null == this.tags) { + this.tags = new java.util.HashMap(); + } + if (this.tags.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + + ") are provided."); + this.tags.put(key, value); + return this; + } + + /** + * Removes all the entries added into Tags. + *

    + * Returns a reference to this object so that method calls can be chained + * together. + */ + public CreateDatasetRequest clearTagsEntries() { + this.tags = null; + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -363,7 +458,9 @@ public String toString() { if (getDatasetType() != null) sb.append("DatasetType: " + getDatasetType() + ","); if (getProjectArn() != null) - sb.append("ProjectArn: " + getProjectArn()); + sb.append("ProjectArn: " + getProjectArn() + ","); + if (getTags() != null) + sb.append("Tags: " + getTags()); sb.append("}"); return sb.toString(); } @@ -378,6 +475,7 @@ public int hashCode() { hashCode = prime * hashCode + ((getDatasetType() == null) ? 0 : getDatasetType().hashCode()); hashCode = prime * hashCode + ((getProjectArn() == null) ? 0 : getProjectArn().hashCode()); + hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); return hashCode; } @@ -407,6 +505,10 @@ public boolean equals(Object obj) { if (other.getProjectArn() != null && other.getProjectArn().equals(this.getProjectArn()) == false) return false; + if (other.getTags() == null ^ this.getTags() == null) + return false; + if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) + return false; return true; } } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateDatasetResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateDatasetResult.java index aa16b11548..330cdea45f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateDatasetResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateDatasetResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateFaceLivenessSessionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateFaceLivenessSessionRequest.java index 8c8a1cd938..95207d4808 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateFaceLivenessSessionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateFaceLivenessSessionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateFaceLivenessSessionRequestSettings.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateFaceLivenessSessionRequestSettings.java index 7d8467fee5..f1cfe56b0b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateFaceLivenessSessionRequestSettings.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateFaceLivenessSessionRequestSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateFaceLivenessSessionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateFaceLivenessSessionResult.java index 2ab24af71e..c378a48b79 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateFaceLivenessSessionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateFaceLivenessSessionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,7 +20,12 @@ public class CreateFaceLivenessSessionResult implements Serializable { /** *

    - * A unique 128-bit UUID identifying a Face Liveness session. + * A unique 128-bit UUID identifying a Face Liveness session. A new + * sessionID must be used for every Face Liveness check. If a given + * sessionID is used for subsequent Face Liveness checks, the checks will + * fail. Additionally, a SessionId expires 3 minutes after it's sent, making + * all Liveness data associated with the session (e.g., sessionID, reference + * image, audit images, etc.) unavailable. *

    *

    * Constraints:
    @@ -32,7 +37,12 @@ public class CreateFaceLivenessSessionResult implements Serializable { /** *

    - * A unique 128-bit UUID identifying a Face Liveness session. + * A unique 128-bit UUID identifying a Face Liveness session. A new + * sessionID must be used for every Face Liveness check. If a given + * sessionID is used for subsequent Face Liveness checks, the checks will + * fail. Additionally, a SessionId expires 3 minutes after it's sent, making + * all Liveness data associated with the session (e.g., sessionID, reference + * image, audit images, etc.) unavailable. *

    *

    * Constraints:
    @@ -41,7 +51,12 @@ public class CreateFaceLivenessSessionResult implements Serializable { * [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
    * * @return

    - * A unique 128-bit UUID identifying a Face Liveness session. + * A unique 128-bit UUID identifying a Face Liveness session. A new + * sessionID must be used for every Face Liveness check. If a given + * sessionID is used for subsequent Face Liveness checks, the checks + * will fail. Additionally, a SessionId expires 3 minutes after it's + * sent, making all Liveness data associated with the session (e.g., + * sessionID, reference image, audit images, etc.) unavailable. *

    */ public String getSessionId() { @@ -50,7 +65,12 @@ public String getSessionId() { /** *

    - * A unique 128-bit UUID identifying a Face Liveness session. + * A unique 128-bit UUID identifying a Face Liveness session. A new + * sessionID must be used for every Face Liveness check. If a given + * sessionID is used for subsequent Face Liveness checks, the checks will + * fail. Additionally, a SessionId expires 3 minutes after it's sent, making + * all Liveness data associated with the session (e.g., sessionID, reference + * image, audit images, etc.) unavailable. *

    *

    * Constraints:
    @@ -59,7 +79,13 @@ public String getSessionId() { * [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
    * * @param sessionId

    - * A unique 128-bit UUID identifying a Face Liveness session. + * A unique 128-bit UUID identifying a Face Liveness session. A + * new sessionID must be used for every Face Liveness check. If a + * given sessionID is used for subsequent Face Liveness checks, + * the checks will fail. Additionally, a SessionId expires 3 + * minutes after it's sent, making all Liveness data associated + * with the session (e.g., sessionID, reference image, audit + * images, etc.) unavailable. *

    */ public void setSessionId(String sessionId) { @@ -68,7 +94,12 @@ public void setSessionId(String sessionId) { /** *

    - * A unique 128-bit UUID identifying a Face Liveness session. + * A unique 128-bit UUID identifying a Face Liveness session. A new + * sessionID must be used for every Face Liveness check. If a given + * sessionID is used for subsequent Face Liveness checks, the checks will + * fail. Additionally, a SessionId expires 3 minutes after it's sent, making + * all Liveness data associated with the session (e.g., sessionID, reference + * image, audit images, etc.) unavailable. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -80,7 +111,13 @@ public void setSessionId(String sessionId) { * [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
    * * @param sessionId

    - * A unique 128-bit UUID identifying a Face Liveness session. + * A unique 128-bit UUID identifying a Face Liveness session. A + * new sessionID must be used for every Face Liveness check. If a + * given sessionID is used for subsequent Face Liveness checks, + * the checks will fail. Additionally, a SessionId expires 3 + * minutes after it's sent, making all Liveness data associated + * with the session (e.g., sessionID, reference image, audit + * images, etc.) unavailable. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectRequest.java index 56c557b244..3406599a9c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -21,13 +21,13 @@ /** *

    - * Creates a new Amazon Rekognition Custom Labels project. A project is a group - * of resources (datasets, model versions) that you use to create and manage - * Amazon Rekognition Custom Labels models. - *

    - *

    - * This operation requires permissions to perform the - * rekognition:CreateProject action. + * Creates a new Amazon Rekognition project. A project is a group of resources + * (datasets, model versions) that you use to create and manage a Amazon + * Rekognition Custom Labels Model or custom adapter. You can specify a feature + * to create the project with, if no feature is specified then Custom Labels is + * used by default. For adapters, you can also choose whether or not to have the + * project auto update by using the AutoUpdate argument. This operation requires + * permissions to perform the rekognition:CreateProject action. *

    */ public class CreateProjectRequest extends AmazonWebServiceRequest implements Serializable { @@ -42,6 +42,36 @@ public class CreateProjectRequest extends AmazonWebServiceRequest implements Ser */ private String projectName; + /** + *

    + * Specifies feature that is being customized. If no value is provided + * CUSTOM_LABELS is used as a default. + *

    + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + */ + private String feature; + + /** + *

    + * Specifies whether automatic retraining should be attempted for the + * versions of the project. Automatic retraining is done as a best effort. + * Required argument for Content Moderation. Applicable only to adapters. + *

    + *

    + * Constraints:
    + * Allowed Values: ENABLED, DISABLED + */ + private String autoUpdate; + + /** + *

    + * A set of tags (key-value pairs) that you want to attach to the project. + *

    + */ + private java.util.Map tags; + /** *

    * The name of the project to create. @@ -99,6 +129,318 @@ public CreateProjectRequest withProjectName(String projectName) { return this; } + /** + *

    + * Specifies feature that is being customized. If no value is provided + * CUSTOM_LABELS is used as a default. + *

    + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @return

    + * Specifies feature that is being customized. If no value is + * provided CUSTOM_LABELS is used as a default. + *

    + * @see CustomizationFeature + */ + public String getFeature() { + return feature; + } + + /** + *

    + * Specifies feature that is being customized. If no value is provided + * CUSTOM_LABELS is used as a default. + *

    + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @param feature

    + * Specifies feature that is being customized. If no value is + * provided CUSTOM_LABELS is used as a default. + *

    + * @see CustomizationFeature + */ + public void setFeature(String feature) { + this.feature = feature; + } + + /** + *

    + * Specifies feature that is being customized. If no value is provided + * CUSTOM_LABELS is used as a default. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @param feature

    + * Specifies feature that is being customized. If no value is + * provided CUSTOM_LABELS is used as a default. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see CustomizationFeature + */ + public CreateProjectRequest withFeature(String feature) { + this.feature = feature; + return this; + } + + /** + *

    + * Specifies feature that is being customized. If no value is provided + * CUSTOM_LABELS is used as a default. + *

    + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @param feature

    + * Specifies feature that is being customized. If no value is + * provided CUSTOM_LABELS is used as a default. + *

    + * @see CustomizationFeature + */ + public void setFeature(CustomizationFeature feature) { + this.feature = feature.toString(); + } + + /** + *

    + * Specifies feature that is being customized. If no value is provided + * CUSTOM_LABELS is used as a default. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @param feature

    + * Specifies feature that is being customized. If no value is + * provided CUSTOM_LABELS is used as a default. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see CustomizationFeature + */ + public CreateProjectRequest withFeature(CustomizationFeature feature) { + this.feature = feature.toString(); + return this; + } + + /** + *

    + * Specifies whether automatic retraining should be attempted for the + * versions of the project. Automatic retraining is done as a best effort. + * Required argument for Content Moderation. Applicable only to adapters. + *

    + *

    + * Constraints:
    + * Allowed Values: ENABLED, DISABLED + * + * @return

    + * Specifies whether automatic retraining should be attempted for + * the versions of the project. Automatic retraining is done as a + * best effort. Required argument for Content Moderation. Applicable + * only to adapters. + *

    + * @see ProjectAutoUpdate + */ + public String getAutoUpdate() { + return autoUpdate; + } + + /** + *

    + * Specifies whether automatic retraining should be attempted for the + * versions of the project. Automatic retraining is done as a best effort. + * Required argument for Content Moderation. Applicable only to adapters. + *

    + *

    + * Constraints:
    + * Allowed Values: ENABLED, DISABLED + * + * @param autoUpdate

    + * Specifies whether automatic retraining should be attempted for + * the versions of the project. Automatic retraining is done as a + * best effort. Required argument for Content Moderation. + * Applicable only to adapters. + *

    + * @see ProjectAutoUpdate + */ + public void setAutoUpdate(String autoUpdate) { + this.autoUpdate = autoUpdate; + } + + /** + *

    + * Specifies whether automatic retraining should be attempted for the + * versions of the project. Automatic retraining is done as a best effort. + * Required argument for Content Moderation. Applicable only to adapters. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: ENABLED, DISABLED + * + * @param autoUpdate

    + * Specifies whether automatic retraining should be attempted for + * the versions of the project. Automatic retraining is done as a + * best effort. Required argument for Content Moderation. + * Applicable only to adapters. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see ProjectAutoUpdate + */ + public CreateProjectRequest withAutoUpdate(String autoUpdate) { + this.autoUpdate = autoUpdate; + return this; + } + + /** + *

    + * Specifies whether automatic retraining should be attempted for the + * versions of the project. Automatic retraining is done as a best effort. + * Required argument for Content Moderation. Applicable only to adapters. + *

    + *

    + * Constraints:
    + * Allowed Values: ENABLED, DISABLED + * + * @param autoUpdate

    + * Specifies whether automatic retraining should be attempted for + * the versions of the project. Automatic retraining is done as a + * best effort. Required argument for Content Moderation. + * Applicable only to adapters. + *

    + * @see ProjectAutoUpdate + */ + public void setAutoUpdate(ProjectAutoUpdate autoUpdate) { + this.autoUpdate = autoUpdate.toString(); + } + + /** + *

    + * Specifies whether automatic retraining should be attempted for the + * versions of the project. Automatic retraining is done as a best effort. + * Required argument for Content Moderation. Applicable only to adapters. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: ENABLED, DISABLED + * + * @param autoUpdate

    + * Specifies whether automatic retraining should be attempted for + * the versions of the project. Automatic retraining is done as a + * best effort. Required argument for Content Moderation. + * Applicable only to adapters. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see ProjectAutoUpdate + */ + public CreateProjectRequest withAutoUpdate(ProjectAutoUpdate autoUpdate) { + this.autoUpdate = autoUpdate.toString(); + return this; + } + + /** + *

    + * A set of tags (key-value pairs) that you want to attach to the project. + *

    + * + * @return

    + * A set of tags (key-value pairs) that you want to attach to the + * project. + *

    + */ + public java.util.Map getTags() { + return tags; + } + + /** + *

    + * A set of tags (key-value pairs) that you want to attach to the project. + *

    + * + * @param tags

    + * A set of tags (key-value pairs) that you want to attach to the + * project. + *

    + */ + public void setTags(java.util.Map tags) { + this.tags = tags; + } + + /** + *

    + * A set of tags (key-value pairs) that you want to attach to the project. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param tags

    + * A set of tags (key-value pairs) that you want to attach to the + * project. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CreateProjectRequest withTags(java.util.Map tags) { + this.tags = tags; + return this; + } + + /** + *

    + * A set of tags (key-value pairs) that you want to attach to the project. + *

    + *

    + * The method adds a new key-value pair into Tags parameter, and returns a + * reference to this object so that method calls can be chained together. + * + * @param key The key of the entry to be added into Tags. + * @param value The corresponding value of the entry to be added into Tags. + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CreateProjectRequest addTagsEntry(String key, String value) { + if (null == this.tags) { + this.tags = new java.util.HashMap(); + } + if (this.tags.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + + ") are provided."); + this.tags.put(key, value); + return this; + } + + /** + * Removes all the entries added into Tags. + *

    + * Returns a reference to this object so that method calls can be chained + * together. + */ + public CreateProjectRequest clearTagsEntries() { + this.tags = null; + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -111,7 +453,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getProjectName() != null) - sb.append("ProjectName: " + getProjectName()); + sb.append("ProjectName: " + getProjectName() + ","); + if (getFeature() != null) + sb.append("Feature: " + getFeature() + ","); + if (getAutoUpdate() != null) + sb.append("AutoUpdate: " + getAutoUpdate() + ","); + if (getTags() != null) + sb.append("Tags: " + getTags()); sb.append("}"); return sb.toString(); } @@ -123,6 +471,9 @@ public int hashCode() { hashCode = prime * hashCode + ((getProjectName() == null) ? 0 : getProjectName().hashCode()); + hashCode = prime * hashCode + ((getFeature() == null) ? 0 : getFeature().hashCode()); + hashCode = prime * hashCode + ((getAutoUpdate() == null) ? 0 : getAutoUpdate().hashCode()); + hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); return hashCode; } @@ -142,6 +493,19 @@ public boolean equals(Object obj) { if (other.getProjectName() != null && other.getProjectName().equals(this.getProjectName()) == false) return false; + if (other.getFeature() == null ^ this.getFeature() == null) + return false; + if (other.getFeature() != null && other.getFeature().equals(this.getFeature()) == false) + return false; + if (other.getAutoUpdate() == null ^ this.getAutoUpdate() == null) + return false; + if (other.getAutoUpdate() != null + && other.getAutoUpdate().equals(this.getAutoUpdate()) == false) + return false; + if (other.getTags() == null ^ this.getTags() == null) + return false; + if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) + return false; return true; } } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectResult.java index b63566be45..52ae9cf2a1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectVersionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectVersionRequest.java index e164bf9db5..126a023131 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectVersionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectVersionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -21,18 +21,32 @@ /** *

    - * Creates a new version of a model and begins training. Models are managed as - * part of an Amazon Rekognition Custom Labels project. The response from + * Creates a new version of Amazon Rekognition project (like a Custom Labels + * model or a custom adapter) and begins training. Models and adapters are + * managed as part of a Rekognition project. The response from * CreateProjectVersion is an Amazon Resource Name (ARN) for the - * version of the model. + * project version. *

    *

    - * Training uses the training and test datasets associated with the project. For - * more information, see Creating training and test dataset in the Amazon - * Rekognition Custom Labels Developer Guide. + * The FeatureConfig operation argument allows you to configure specific model + * or adapter settings. You can provide a description to the project version by + * using the VersionDescription argment. Training can take a while to complete. + * You can get the current status by calling DescribeProjectVersions. + * Training completed successfully if the value of the Status field + * is TRAINING_COMPLETED. Once training has successfully completed, + * call DescribeProjectVersions to get the training results and evaluate + * the model. + *

    + *

    + * This operation requires permissions to perform the + * rekognition:CreateProjectVersion action. *

    * *

    + * The following applies only to projects with Amazon Rekognition Custom + * Labels as the chosen feature: + *

    + *

    * You can train a model in a project that doesn't have associated datasets by * specifying manifest files in the TrainingData and * TestingData fields. @@ -49,35 +63,13 @@ * project. *

    *
    - *

    - * Training takes a while to complete. You can get the current status by calling - * DescribeProjectVersions. Training completed successfully if the value - * of the Status field is TRAINING_COMPLETED. - *

    - *

    - * If training fails, see Debugging a failed model training in the Amazon - * Rekognition Custom Labels developer guide. - *

    - *

    - * Once training has successfully completed, call DescribeProjectVersions - * to get the training results and evaluate the model. For more information, see - * Improving a trained Amazon Rekognition Custom Labels model in the Amazon - * Rekognition Custom Labels developers guide. - *

    - *

    - * After evaluating the model, you start the model by calling - * StartProjectVersion. - *

    - *

    - * This operation requires permissions to perform the - * rekognition:CreateProjectVersion action. - *

    + *

    */ public class CreateProjectVersionRequest extends AmazonWebServiceRequest implements Serializable { /** *

    - * The ARN of the Amazon Rekognition Custom Labels project that manages the - * model that you want to train. + * The ARN of the Amazon Rekognition project that will manage the project + * version you want to train. *

    *

    * Constraints:
    @@ -90,7 +82,7 @@ public class CreateProjectVersionRequest extends AmazonWebServiceRequest impleme /** *

    - * A name for the version of the model. This value must be unique. + * A name for the version of the project version. This value must be unique. *

    *

    * Constraints:
    @@ -101,27 +93,27 @@ public class CreateProjectVersionRequest extends AmazonWebServiceRequest impleme /** *

    - * The Amazon S3 bucket location to store the results of training. The S3 - * bucket can be in any AWS account as long as the caller has - * s3:PutObject permissions on the S3 bucket. + * The Amazon S3 bucket location to store the results of training. The + * bucket can be any S3 bucket in your AWS account. You need + * s3:PutObject permission on the bucket. *

    */ private OutputConfig outputConfig; /** *

    - * Specifies an external manifest that the services uses to train the model. - * If you specify TrainingData you must also specify - * TestingData. The project must not have any associated - * datasets. + * Specifies an external manifest that the services uses to train the + * project version. If you specify TrainingData you must also + * specify TestingData. The project must not have any + * associated datasets. *

    */ private TrainingData trainingData; /** *

    - * Specifies an external manifest that the service uses to test the model. - * If you specify TestingData you must also specify + * Specifies an external manifest that the service uses to test the project + * version. If you specify TestingData you must also specify * TrainingData. The project must not have any associated * datasets. *

    @@ -130,7 +122,8 @@ public class CreateProjectVersionRequest extends AmazonWebServiceRequest impleme /** *

    - * A set of tags (key-value pairs) that you want to attach to the model. + * A set of tags (key-value pairs) that you want to attach to the project + * version. *

    */ private java.util.Map tags; @@ -140,10 +133,10 @@ public class CreateProjectVersionRequest extends AmazonWebServiceRequest impleme * The identifier for your AWS Key Management Service key (AWS KMS key). You * can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your * KMS key, an alias for your KMS key, or an alias ARN. The key is used to - * encrypt training and test images copied into the service for model - * training. Your source images are unaffected. The key is also used to - * encrypt training results and manifest files written to the output Amazon - * S3 bucket (OutputConfig). + * encrypt training images, test images, and manifest files copied into the + * service for the project version. Your source images are unaffected. The + * key is also used to encrypt training results and manifest files written + * to the output Amazon S3 bucket (OutputConfig). *

    *

    * If you choose to use your own KMS key, you need the following permissions @@ -184,8 +177,28 @@ public class CreateProjectVersionRequest extends AmazonWebServiceRequest impleme /** *

    - * The ARN of the Amazon Rekognition Custom Labels project that manages the - * model that you want to train. + * A description applied to the project version being created. + *

    + *

    + * Constraints:
    + * Length: 1 - 255
    + * Pattern: [a-zA-Z0-9-_. ()':,;?]+
    + */ + private String versionDescription; + + /** + *

    + * Feature-specific configuration of the training job. If the job + * configuration does not match the feature type associated with the + * project, an InvalidParameterException is returned. + *

    + */ + private CustomizationFeatureConfig featureConfig; + + /** + *

    + * The ARN of the Amazon Rekognition project that will manage the project + * version you want to train. *

    *

    * Constraints:
    @@ -195,8 +208,8 @@ public class CreateProjectVersionRequest extends AmazonWebServiceRequest impleme * -Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @return

    - * The ARN of the Amazon Rekognition Custom Labels project that - * manages the model that you want to train. + * The ARN of the Amazon Rekognition project that will manage the + * project version you want to train. *

    */ public String getProjectArn() { @@ -205,8 +218,8 @@ public String getProjectArn() { /** *

    - * The ARN of the Amazon Rekognition Custom Labels project that manages the - * model that you want to train. + * The ARN of the Amazon Rekognition project that will manage the project + * version you want to train. *

    *

    * Constraints:
    @@ -216,8 +229,8 @@ public String getProjectArn() { * -Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @param projectArn

    - * The ARN of the Amazon Rekognition Custom Labels project that - * manages the model that you want to train. + * The ARN of the Amazon Rekognition project that will manage the + * project version you want to train. *

    */ public void setProjectArn(String projectArn) { @@ -226,8 +239,8 @@ public void setProjectArn(String projectArn) { /** *

    - * The ARN of the Amazon Rekognition Custom Labels project that manages the - * model that you want to train. + * The ARN of the Amazon Rekognition project that will manage the project + * version you want to train. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -240,8 +253,8 @@ public void setProjectArn(String projectArn) { * -Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @param projectArn

    - * The ARN of the Amazon Rekognition Custom Labels project that - * manages the model that you want to train. + * The ARN of the Amazon Rekognition project that will manage the + * project version you want to train. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -253,7 +266,7 @@ public CreateProjectVersionRequest withProjectArn(String projectArn) { /** *

    - * A name for the version of the model. This value must be unique. + * A name for the version of the project version. This value must be unique. *

    *

    * Constraints:
    @@ -261,7 +274,8 @@ public CreateProjectVersionRequest withProjectArn(String projectArn) { * Pattern: [a-zA-Z0-9_.\-]+
    * * @return

    - * A name for the version of the model. This value must be unique. + * A name for the version of the project version. This value must be + * unique. *

    */ public String getVersionName() { @@ -270,7 +284,7 @@ public String getVersionName() { /** *

    - * A name for the version of the model. This value must be unique. + * A name for the version of the project version. This value must be unique. *

    *

    * Constraints:
    @@ -278,8 +292,8 @@ public String getVersionName() { * Pattern: [a-zA-Z0-9_.\-]+
    * * @param versionName

    - * A name for the version of the model. This value must be - * unique. + * A name for the version of the project version. This value must + * be unique. *

    */ public void setVersionName(String versionName) { @@ -288,7 +302,7 @@ public void setVersionName(String versionName) { /** *

    - * A name for the version of the model. This value must be unique. + * A name for the version of the project version. This value must be unique. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -299,8 +313,8 @@ public void setVersionName(String versionName) { * Pattern: [a-zA-Z0-9_.\-]+
    * * @param versionName

    - * A name for the version of the model. This value must be - * unique. + * A name for the version of the project version. This value must + * be unique. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -312,15 +326,15 @@ public CreateProjectVersionRequest withVersionName(String versionName) { /** *

    - * The Amazon S3 bucket location to store the results of training. The S3 - * bucket can be in any AWS account as long as the caller has - * s3:PutObject permissions on the S3 bucket. + * The Amazon S3 bucket location to store the results of training. The + * bucket can be any S3 bucket in your AWS account. You need + * s3:PutObject permission on the bucket. *

    * * @return

    * The Amazon S3 bucket location to store the results of training. - * The S3 bucket can be in any AWS account as long as the caller has - * s3:PutObject permissions on the S3 bucket. + * The bucket can be any S3 bucket in your AWS account. You need + * s3:PutObject permission on the bucket. *

    */ public OutputConfig getOutputConfig() { @@ -329,16 +343,15 @@ public OutputConfig getOutputConfig() { /** *

    - * The Amazon S3 bucket location to store the results of training. The S3 - * bucket can be in any AWS account as long as the caller has - * s3:PutObject permissions on the S3 bucket. + * The Amazon S3 bucket location to store the results of training. The + * bucket can be any S3 bucket in your AWS account. You need + * s3:PutObject permission on the bucket. *

    * * @param outputConfig

    * The Amazon S3 bucket location to store the results of - * training. The S3 bucket can be in any AWS account as long as - * the caller has s3:PutObject permissions on the S3 - * bucket. + * training. The bucket can be any S3 bucket in your AWS account. + * You need s3:PutObject permission on the bucket. *

    */ public void setOutputConfig(OutputConfig outputConfig) { @@ -347,9 +360,9 @@ public void setOutputConfig(OutputConfig outputConfig) { /** *

    - * The Amazon S3 bucket location to store the results of training. The S3 - * bucket can be in any AWS account as long as the caller has - * s3:PutObject permissions on the S3 bucket. + * The Amazon S3 bucket location to store the results of training. The + * bucket can be any S3 bucket in your AWS account. You need + * s3:PutObject permission on the bucket. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -357,9 +370,8 @@ public void setOutputConfig(OutputConfig outputConfig) { * * @param outputConfig

    * The Amazon S3 bucket location to store the results of - * training. The S3 bucket can be in any AWS account as long as - * the caller has s3:PutObject permissions on the S3 - * bucket. + * training. The bucket can be any S3 bucket in your AWS account. + * You need s3:PutObject permission on the bucket. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -371,17 +383,17 @@ public CreateProjectVersionRequest withOutputConfig(OutputConfig outputConfig) { /** *

    - * Specifies an external manifest that the services uses to train the model. - * If you specify TrainingData you must also specify - * TestingData. The project must not have any associated - * datasets. + * Specifies an external manifest that the services uses to train the + * project version. If you specify TrainingData you must also + * specify TestingData. The project must not have any + * associated datasets. *

    * * @return

    * Specifies an external manifest that the services uses to train - * the model. If you specify TrainingData you must also - * specify TestingData. The project must not have any - * associated datasets. + * the project version. If you specify TrainingData you + * must also specify TestingData. The project must not + * have any associated datasets. *

    */ public TrainingData getTrainingData() { @@ -390,17 +402,17 @@ public TrainingData getTrainingData() { /** *

    - * Specifies an external manifest that the services uses to train the model. - * If you specify TrainingData you must also specify - * TestingData. The project must not have any associated - * datasets. + * Specifies an external manifest that the services uses to train the + * project version. If you specify TrainingData you must also + * specify TestingData. The project must not have any + * associated datasets. *

    * * @param trainingData

    * Specifies an external manifest that the services uses to train - * the model. If you specify TrainingData you must - * also specify TestingData. The project must not - * have any associated datasets. + * the project version. If you specify TrainingData + * you must also specify TestingData. The project + * must not have any associated datasets. *

    */ public void setTrainingData(TrainingData trainingData) { @@ -409,10 +421,10 @@ public void setTrainingData(TrainingData trainingData) { /** *

    - * Specifies an external manifest that the services uses to train the model. - * If you specify TrainingData you must also specify - * TestingData. The project must not have any associated - * datasets. + * Specifies an external manifest that the services uses to train the + * project version. If you specify TrainingData you must also + * specify TestingData. The project must not have any + * associated datasets. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -420,9 +432,9 @@ public void setTrainingData(TrainingData trainingData) { * * @param trainingData

    * Specifies an external manifest that the services uses to train - * the model. If you specify TrainingData you must - * also specify TestingData. The project must not - * have any associated datasets. + * the project version. If you specify TrainingData + * you must also specify TestingData. The project + * must not have any associated datasets. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -434,17 +446,17 @@ public CreateProjectVersionRequest withTrainingData(TrainingData trainingData) { /** *

    - * Specifies an external manifest that the service uses to test the model. - * If you specify TestingData you must also specify + * Specifies an external manifest that the service uses to test the project + * version. If you specify TestingData you must also specify * TrainingData. The project must not have any associated * datasets. *

    * * @return

    * Specifies an external manifest that the service uses to test the - * model. If you specify TestingData you must also - * specify TrainingData. The project must not have any - * associated datasets. + * project version. If you specify TestingData you must + * also specify TrainingData. The project must not have + * any associated datasets. *

    */ public TestingData getTestingData() { @@ -453,17 +465,17 @@ public TestingData getTestingData() { /** *

    - * Specifies an external manifest that the service uses to test the model. - * If you specify TestingData you must also specify + * Specifies an external manifest that the service uses to test the project + * version. If you specify TestingData you must also specify * TrainingData. The project must not have any associated * datasets. *

    * * @param testingData

    * Specifies an external manifest that the service uses to test - * the model. If you specify TestingData you must - * also specify TrainingData. The project must not - * have any associated datasets. + * the project version. If you specify TestingData + * you must also specify TrainingData. The project + * must not have any associated datasets. *

    */ public void setTestingData(TestingData testingData) { @@ -472,8 +484,8 @@ public void setTestingData(TestingData testingData) { /** *

    - * Specifies an external manifest that the service uses to test the model. - * If you specify TestingData you must also specify + * Specifies an external manifest that the service uses to test the project + * version. If you specify TestingData you must also specify * TrainingData. The project must not have any associated * datasets. *

    @@ -483,9 +495,9 @@ public void setTestingData(TestingData testingData) { * * @param testingData

    * Specifies an external manifest that the service uses to test - * the model. If you specify TestingData you must - * also specify TrainingData. The project must not - * have any associated datasets. + * the project version. If you specify TestingData + * you must also specify TrainingData. The project + * must not have any associated datasets. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -497,12 +509,13 @@ public CreateProjectVersionRequest withTestingData(TestingData testingData) { /** *

    - * A set of tags (key-value pairs) that you want to attach to the model. + * A set of tags (key-value pairs) that you want to attach to the project + * version. *

    * * @return

    * A set of tags (key-value pairs) that you want to attach to the - * model. + * project version. *

    */ public java.util.Map getTags() { @@ -511,12 +524,13 @@ public java.util.Map getTags() { /** *

    - * A set of tags (key-value pairs) that you want to attach to the model. + * A set of tags (key-value pairs) that you want to attach to the project + * version. *

    * * @param tags

    * A set of tags (key-value pairs) that you want to attach to the - * model. + * project version. *

    */ public void setTags(java.util.Map tags) { @@ -525,7 +539,8 @@ public void setTags(java.util.Map tags) { /** *

    - * A set of tags (key-value pairs) that you want to attach to the model. + * A set of tags (key-value pairs) that you want to attach to the project + * version. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -533,7 +548,7 @@ public void setTags(java.util.Map tags) { * * @param tags

    * A set of tags (key-value pairs) that you want to attach to the - * model. + * project version. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -545,7 +560,8 @@ public CreateProjectVersionRequest withTags(java.util.Map tags) /** *

    - * A set of tags (key-value pairs) that you want to attach to the model. + * A set of tags (key-value pairs) that you want to attach to the project + * version. *

    *

    * The method adds a new key-value pair into Tags parameter, and returns a @@ -583,10 +599,10 @@ public CreateProjectVersionRequest clearTagsEntries() { * The identifier for your AWS Key Management Service key (AWS KMS key). You * can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your * KMS key, an alias for your KMS key, or an alias ARN. The key is used to - * encrypt training and test images copied into the service for model - * training. Your source images are unaffected. The key is also used to - * encrypt training results and manifest files written to the output Amazon - * S3 bucket (OutputConfig). + * encrypt training images, test images, and manifest files copied into the + * service for the project version. Your source images are unaffected. The + * key is also used to encrypt training results and manifest files written + * to the output Amazon S3 bucket (OutputConfig). *

    *

    * If you choose to use your own KMS key, you need the following permissions @@ -627,11 +643,11 @@ public CreateProjectVersionRequest clearTagsEntries() { * The identifier for your AWS Key Management Service key (AWS KMS * key). You can supply the Amazon Resource Name (ARN) of your KMS * key, the ID of your KMS key, an alias for your KMS key, or an - * alias ARN. The key is used to encrypt training and test images - * copied into the service for model training. Your source images - * are unaffected. The key is also used to encrypt training results - * and manifest files written to the output Amazon S3 bucket ( - * OutputConfig). + * alias ARN. The key is used to encrypt training images, test + * images, and manifest files copied into the service for the + * project version. Your source images are unaffected. The key is + * also used to encrypt training results and manifest files written + * to the output Amazon S3 bucket (OutputConfig). *

    *

    * If you choose to use your own KMS key, you need the following @@ -674,10 +690,10 @@ public String getKmsKeyId() { * The identifier for your AWS Key Management Service key (AWS KMS key). You * can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your * KMS key, an alias for your KMS key, or an alias ARN. The key is used to - * encrypt training and test images copied into the service for model - * training. Your source images are unaffected. The key is also used to - * encrypt training results and manifest files written to the output Amazon - * S3 bucket (OutputConfig). + * encrypt training images, test images, and manifest files copied into the + * service for the project version. Your source images are unaffected. The + * key is also used to encrypt training results and manifest files written + * to the output Amazon S3 bucket (OutputConfig). *

    *

    * If you choose to use your own KMS key, you need the following permissions @@ -718,11 +734,12 @@ public String getKmsKeyId() { * The identifier for your AWS Key Management Service key (AWS * KMS key). You can supply the Amazon Resource Name (ARN) of * your KMS key, the ID of your KMS key, an alias for your KMS - * key, or an alias ARN. The key is used to encrypt training and - * test images copied into the service for model training. Your - * source images are unaffected. The key is also used to encrypt - * training results and manifest files written to the output - * Amazon S3 bucket (OutputConfig). + * key, or an alias ARN. The key is used to encrypt training + * images, test images, and manifest files copied into the + * service for the project version. Your source images are + * unaffected. The key is also used to encrypt training results + * and manifest files written to the output Amazon S3 bucket ( + * OutputConfig). *

    *

    * If you choose to use your own KMS key, you need the following @@ -765,10 +782,10 @@ public void setKmsKeyId(String kmsKeyId) { * The identifier for your AWS Key Management Service key (AWS KMS key). You * can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your * KMS key, an alias for your KMS key, or an alias ARN. The key is used to - * encrypt training and test images copied into the service for model - * training. Your source images are unaffected. The key is also used to - * encrypt training results and manifest files written to the output Amazon - * S3 bucket (OutputConfig). + * encrypt training images, test images, and manifest files copied into the + * service for the project version. Your source images are unaffected. The + * key is also used to encrypt training results and manifest files written + * to the output Amazon S3 bucket (OutputConfig). *

    *

    * If you choose to use your own KMS key, you need the following permissions @@ -812,11 +829,12 @@ public void setKmsKeyId(String kmsKeyId) { * The identifier for your AWS Key Management Service key (AWS * KMS key). You can supply the Amazon Resource Name (ARN) of * your KMS key, the ID of your KMS key, an alias for your KMS - * key, or an alias ARN. The key is used to encrypt training and - * test images copied into the service for model training. Your - * source images are unaffected. The key is also used to encrypt - * training results and manifest files written to the output - * Amazon S3 bucket (OutputConfig). + * key, or an alias ARN. The key is used to encrypt training + * images, test images, and manifest files copied into the + * service for the project version. Your source images are + * unaffected. The key is also used to encrypt training results + * and manifest files written to the output Amazon S3 bucket ( + * OutputConfig). *

    *

    * If you choose to use your own KMS key, you need the following @@ -857,6 +875,120 @@ public CreateProjectVersionRequest withKmsKeyId(String kmsKeyId) { return this; } + /** + *

    + * A description applied to the project version being created. + *

    + *

    + * Constraints:
    + * Length: 1 - 255
    + * Pattern: [a-zA-Z0-9-_. ()':,;?]+
    + * + * @return

    + * A description applied to the project version being created. + *

    + */ + public String getVersionDescription() { + return versionDescription; + } + + /** + *

    + * A description applied to the project version being created. + *

    + *

    + * Constraints:
    + * Length: 1 - 255
    + * Pattern: [a-zA-Z0-9-_. ()':,;?]+
    + * + * @param versionDescription

    + * A description applied to the project version being created. + *

    + */ + public void setVersionDescription(String versionDescription) { + this.versionDescription = versionDescription; + } + + /** + *

    + * A description applied to the project version being created. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 255
    + * Pattern: [a-zA-Z0-9-_. ()':,;?]+
    + * + * @param versionDescription

    + * A description applied to the project version being created. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CreateProjectVersionRequest withVersionDescription(String versionDescription) { + this.versionDescription = versionDescription; + return this; + } + + /** + *

    + * Feature-specific configuration of the training job. If the job + * configuration does not match the feature type associated with the + * project, an InvalidParameterException is returned. + *

    + * + * @return

    + * Feature-specific configuration of the training job. If the job + * configuration does not match the feature type associated with the + * project, an InvalidParameterException is returned. + *

    + */ + public CustomizationFeatureConfig getFeatureConfig() { + return featureConfig; + } + + /** + *

    + * Feature-specific configuration of the training job. If the job + * configuration does not match the feature type associated with the + * project, an InvalidParameterException is returned. + *

    + * + * @param featureConfig

    + * Feature-specific configuration of the training job. If the job + * configuration does not match the feature type associated with + * the project, an InvalidParameterException is returned. + *

    + */ + public void setFeatureConfig(CustomizationFeatureConfig featureConfig) { + this.featureConfig = featureConfig; + } + + /** + *

    + * Feature-specific configuration of the training job. If the job + * configuration does not match the feature type associated with the + * project, an InvalidParameterException is returned. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param featureConfig

    + * Feature-specific configuration of the training job. If the job + * configuration does not match the feature type associated with + * the project, an InvalidParameterException is returned. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CreateProjectVersionRequest withFeatureConfig(CustomizationFeatureConfig featureConfig) { + this.featureConfig = featureConfig; + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -881,7 +1013,11 @@ public String toString() { if (getTags() != null) sb.append("Tags: " + getTags() + ","); if (getKmsKeyId() != null) - sb.append("KmsKeyId: " + getKmsKeyId()); + sb.append("KmsKeyId: " + getKmsKeyId() + ","); + if (getVersionDescription() != null) + sb.append("VersionDescription: " + getVersionDescription() + ","); + if (getFeatureConfig() != null) + sb.append("FeatureConfig: " + getFeatureConfig()); sb.append("}"); return sb.toString(); } @@ -902,6 +1038,10 @@ public int hashCode() { + ((getTestingData() == null) ? 0 : getTestingData().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getKmsKeyId() == null) ? 0 : getKmsKeyId().hashCode()); + hashCode = prime * hashCode + + ((getVersionDescription() == null) ? 0 : getVersionDescription().hashCode()); + hashCode = prime * hashCode + + ((getFeatureConfig() == null) ? 0 : getFeatureConfig().hashCode()); return hashCode; } @@ -949,6 +1089,16 @@ public boolean equals(Object obj) { return false; if (other.getKmsKeyId() != null && other.getKmsKeyId().equals(this.getKmsKeyId()) == false) return false; + if (other.getVersionDescription() == null ^ this.getVersionDescription() == null) + return false; + if (other.getVersionDescription() != null + && other.getVersionDescription().equals(this.getVersionDescription()) == false) + return false; + if (other.getFeatureConfig() == null ^ this.getFeatureConfig() == null) + return false; + if (other.getFeatureConfig() != null + && other.getFeatureConfig().equals(this.getFeatureConfig()) == false) + return false; return true; } } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectVersionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectVersionResult.java index 3b443696df..6d3ae23c4d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectVersionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateProjectVersionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ public class CreateProjectVersionResult implements Serializable { /** *

    - * The ARN of the model version that was created. Use + * The ARN of the model or the project version that was created. Use * DescribeProjectVersion to get the current status of the * training operation. *

    @@ -35,7 +35,7 @@ public class CreateProjectVersionResult implements Serializable { /** *

    - * The ARN of the model version that was created. Use + * The ARN of the model or the project version that was created. Use * DescribeProjectVersion to get the current status of the * training operation. *

    @@ -47,7 +47,7 @@ public class CreateProjectVersionResult implements Serializable { * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @return

    - * The ARN of the model version that was created. Use + * The ARN of the model or the project version that was created. Use * DescribeProjectVersion to get the current status of * the training operation. *

    @@ -58,7 +58,7 @@ public String getProjectVersionArn() { /** *

    - * The ARN of the model version that was created. Use + * The ARN of the model or the project version that was created. Use * DescribeProjectVersion to get the current status of the * training operation. *

    @@ -70,9 +70,9 @@ public String getProjectVersionArn() { * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @param projectVersionArn

    - * The ARN of the model version that was created. Use - * DescribeProjectVersion to get the current status - * of the training operation. + * The ARN of the model or the project version that was created. + * Use DescribeProjectVersion to get the current + * status of the training operation. *

    */ public void setProjectVersionArn(String projectVersionArn) { @@ -81,7 +81,7 @@ public void setProjectVersionArn(String projectVersionArn) { /** *

    - * The ARN of the model version that was created. Use + * The ARN of the model or the project version that was created. Use * DescribeProjectVersion to get the current status of the * training operation. *

    @@ -96,9 +96,9 @@ public void setProjectVersionArn(String projectVersionArn) { * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @param projectVersionArn

    - * The ARN of the model version that was created. Use - * DescribeProjectVersion to get the current status - * of the training operation. + * The ARN of the model or the project version that was created. + * Use DescribeProjectVersion to get the current + * status of the training operation. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateStreamProcessorRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateStreamProcessorRequest.java index f92fce915f..59297fefce 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateStreamProcessorRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateStreamProcessorRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateStreamProcessorResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateStreamProcessorResult.java index a6ba62e3d8..aa6b59ae0a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateStreamProcessorResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateStreamProcessorResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateUserRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateUserRequest.java index 3149d9c6c5..1b9c65d9a9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateUserRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateUserRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateUserResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateUserResult.java index aa00216066..5bf8c69bef 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateUserResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CreateUserResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomLabel.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomLabel.java index 6894e95f29..76302c7d56 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomLabel.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomLabel.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomizationFeature.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomizationFeature.java new file mode 100644 index 0000000000..8c81701d17 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomizationFeature.java @@ -0,0 +1,62 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.util.HashMap; +import java.util.Map; + +/** + * Customization Feature + */ +public enum CustomizationFeature { + + CONTENT_MODERATION("CONTENT_MODERATION"), + CUSTOM_LABELS("CUSTOM_LABELS"); + + private String value; + + private CustomizationFeature(String value) { + this.value = value; + } + + @Override + public String toString() { + return value; + } + + private static final Map enumMap; + static { + enumMap = new HashMap(); + enumMap.put("CONTENT_MODERATION", CONTENT_MODERATION); + enumMap.put("CUSTOM_LABELS", CUSTOM_LABELS); + } + + /** + * Use this in place of valueOf. + * + * @param value real value + * @return CustomizationFeature corresponding to the value + */ + public static CustomizationFeature fromValue(String value) { + if (value == null || value.isEmpty()) { + throw new IllegalArgumentException("Value cannot be null or empty!"); + } else if (enumMap.containsKey(value)) { + return enumMap.get(value); + } else { + throw new IllegalArgumentException("Cannot create enum from " + value + " value!"); + } + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomizationFeatureConfig.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomizationFeatureConfig.java new file mode 100644 index 0000000000..c8c3d21e4b --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomizationFeatureConfig.java @@ -0,0 +1,127 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +/** + *

    + * Feature specific configuration for the training job. Configuration provided + * for the job must match the feature type parameter associated with project. If + * configuration and feature type do not match an InvalidParameterException is + * returned. + *

    + */ +public class CustomizationFeatureConfig implements Serializable { + /** + *

    + * Configuration options for Custom Moderation training. + *

    + */ + private CustomizationFeatureContentModerationConfig contentModeration; + + /** + *

    + * Configuration options for Custom Moderation training. + *

    + * + * @return

    + * Configuration options for Custom Moderation training. + *

    + */ + public CustomizationFeatureContentModerationConfig getContentModeration() { + return contentModeration; + } + + /** + *

    + * Configuration options for Custom Moderation training. + *

    + * + * @param contentModeration

    + * Configuration options for Custom Moderation training. + *

    + */ + public void setContentModeration(CustomizationFeatureContentModerationConfig contentModeration) { + this.contentModeration = contentModeration; + } + + /** + *

    + * Configuration options for Custom Moderation training. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param contentModeration

    + * Configuration options for Custom Moderation training. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CustomizationFeatureConfig withContentModeration( + CustomizationFeatureContentModerationConfig contentModeration) { + this.contentModeration = contentModeration; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getContentModeration() != null) + sb.append("ContentModeration: " + getContentModeration()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + + ((getContentModeration() == null) ? 0 : getContentModeration().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof CustomizationFeatureConfig == false) + return false; + CustomizationFeatureConfig other = (CustomizationFeatureConfig) obj; + + if (other.getContentModeration() == null ^ this.getContentModeration() == null) + return false; + if (other.getContentModeration() != null + && other.getContentModeration().equals(this.getContentModeration()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomizationFeatureContentModerationConfig.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomizationFeatureContentModerationConfig.java new file mode 100644 index 0000000000..0e7eda55e5 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/CustomizationFeatureContentModerationConfig.java @@ -0,0 +1,143 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +/** + *

    + * Configuration options for Content Moderation training. + *

    + */ +public class CustomizationFeatureContentModerationConfig implements Serializable { + /** + *

    + * The confidence level you plan to use to identify if unsafe content is + * present during inference. + *

    + *

    + * Constraints:
    + * Length: 0.0 - 100.0
    + */ + private Float confidenceThreshold; + + /** + *

    + * The confidence level you plan to use to identify if unsafe content is + * present during inference. + *

    + *

    + * Constraints:
    + * Length: 0.0 - 100.0
    + * + * @return

    + * The confidence level you plan to use to identify if unsafe + * content is present during inference. + *

    + */ + public Float getConfidenceThreshold() { + return confidenceThreshold; + } + + /** + *

    + * The confidence level you plan to use to identify if unsafe content is + * present during inference. + *

    + *

    + * Constraints:
    + * Length: 0.0 - 100.0
    + * + * @param confidenceThreshold

    + * The confidence level you plan to use to identify if unsafe + * content is present during inference. + *

    + */ + public void setConfidenceThreshold(Float confidenceThreshold) { + this.confidenceThreshold = confidenceThreshold; + } + + /** + *

    + * The confidence level you plan to use to identify if unsafe content is + * present during inference. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 0.0 - 100.0
    + * + * @param confidenceThreshold

    + * The confidence level you plan to use to identify if unsafe + * content is present during inference. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CustomizationFeatureContentModerationConfig withConfidenceThreshold( + Float confidenceThreshold) { + this.confidenceThreshold = confidenceThreshold; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getConfidenceThreshold() != null) + sb.append("ConfidenceThreshold: " + getConfidenceThreshold()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + + ((getConfidenceThreshold() == null) ? 0 : getConfidenceThreshold().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof CustomizationFeatureContentModerationConfig == false) + return false; + CustomizationFeatureContentModerationConfig other = (CustomizationFeatureContentModerationConfig) obj; + + if (other.getConfidenceThreshold() == null ^ this.getConfidenceThreshold() == null) + return false; + if (other.getConfidenceThreshold() != null + && other.getConfidenceThreshold().equals(this.getConfidenceThreshold()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetChanges.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetChanges.java index be1a9689b6..e72658b381 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetChanges.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetChanges.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetDescription.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetDescription.java index 7ab76e3e3c..ae65ef5838 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetDescription.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetDescription.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetLabelDescription.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetLabelDescription.java index 22fbee1475..3fcf75747c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetLabelDescription.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetLabelDescription.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetLabelStats.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetLabelStats.java index fb98cd7024..19317cba68 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetLabelStats.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetLabelStats.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetMetadata.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetMetadata.java index 25b9e892cc..a948b8ae9c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetMetadata.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetSource.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetSource.java index 2810033fb9..8409da0fc5 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetSource.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetSource.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetStats.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetStats.java index a1d3fac1f4..cae3995bcc 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetStats.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetStats.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetStatus.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetStatus.java index 07cea6754e..28374fc5e0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetStatus.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetStatusMessageCode.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetStatusMessageCode.java index 404f679c34..6f6f15af83 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetStatusMessageCode.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetStatusMessageCode.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetType.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetType.java index b683b9ab49..b13eeb9a78 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetType.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DatasetType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteCollectionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteCollectionRequest.java index 4ac1b18b95..b2695c9291 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteCollectionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteCollectionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteCollectionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteCollectionResult.java index 41af00ed13..3e32ecd3ee 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteCollectionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteCollectionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteDatasetRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteDatasetRequest.java index 3e05b6b91c..24d96edc5a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteDatasetRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteDatasetRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,6 +20,11 @@ import com.amazonaws.AmazonWebServiceRequest; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Deletes an existing Amazon Rekognition Custom Labels dataset. Deleting a * dataset might take while. Use DescribeDataset to check the current diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteDatasetResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteDatasetResult.java index 8833b9a9c4..98300822ba 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteDatasetResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteDatasetResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteFacesRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteFacesRequest.java index cdf8e1d328..130e28c24d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteFacesRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteFacesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteFacesResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteFacesResult.java index 513db054e2..dc68ffaaf1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteFacesResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteFacesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectPolicyRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectPolicyRequest.java index 34d29cd1ae..938020b690 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectPolicyRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectPolicyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,6 +20,11 @@ import com.amazonaws.AmazonWebServiceRequest; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Deletes an existing project policy. *

    diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectPolicyResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectPolicyResult.java index cec17c0fb3..724a2284af 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectPolicyResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectPolicyResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectRequest.java index 260cc41023..5a6b13b5da 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ /** *

    - * Deletes an Amazon Rekognition Custom Labels project. To delete a project you - * must first delete all models associated with the project. To delete a model, - * see DeleteProjectVersion. + * Deletes a Amazon Rekognition project. To delete a project you must first + * delete all models or adapters associated with the project. To delete a model + * or adapter, see DeleteProjectVersion. *

    *

    * DeleteProject is an asynchronous operation. To check if the diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectResult.java index 552fc35ddd..a4ff966c8b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectVersionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectVersionRequest.java index e90e26dc8e..0862315122 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectVersionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectVersionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -21,13 +21,15 @@ /** *

    - * Deletes an Amazon Rekognition Custom Labels model. + * Deletes a Rekognition project model or project version, like a Amazon + * Rekognition Custom Labels model or a custom adapter. *

    *

    - * You can't delete a model if it is running or if it is training. To check the - * status of a model, use the Status field returned from - * DescribeProjectVersions. To stop a running model call - * StopProjectVersion. If the model is training, wait until it finishes. + * You can't delete a project version if it is running or if it is training. To + * check the status of a project version, use the Status field returned from + * DescribeProjectVersions. To stop a project version call + * StopProjectVersion. If the project version is training, wait until it + * finishes. *

    *

    * This operation requires permissions to perform the @@ -37,7 +39,7 @@ public class DeleteProjectVersionRequest extends AmazonWebServiceRequest implements Serializable { /** *

    - * The Amazon Resource Name (ARN) of the model version that you want to + * The Amazon Resource Name (ARN) of the project version that you want to * delete. *

    *

    @@ -51,7 +53,7 @@ public class DeleteProjectVersionRequest extends AmazonWebServiceRequest impleme /** *

    - * The Amazon Resource Name (ARN) of the model version that you want to + * The Amazon Resource Name (ARN) of the project version that you want to * delete. *

    *

    @@ -62,8 +64,8 @@ public class DeleteProjectVersionRequest extends AmazonWebServiceRequest impleme * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @return

    - * The Amazon Resource Name (ARN) of the model version that you want - * to delete. + * The Amazon Resource Name (ARN) of the project version that you + * want to delete. *

    */ public String getProjectVersionArn() { @@ -72,7 +74,7 @@ public String getProjectVersionArn() { /** *

    - * The Amazon Resource Name (ARN) of the model version that you want to + * The Amazon Resource Name (ARN) of the project version that you want to * delete. *

    *

    @@ -83,7 +85,7 @@ public String getProjectVersionArn() { * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @param projectVersionArn

    - * The Amazon Resource Name (ARN) of the model version that you + * The Amazon Resource Name (ARN) of the project version that you * want to delete. *

    */ @@ -93,7 +95,7 @@ public void setProjectVersionArn(String projectVersionArn) { /** *

    - * The Amazon Resource Name (ARN) of the model version that you want to + * The Amazon Resource Name (ARN) of the project version that you want to * delete. *

    *

    @@ -107,7 +109,7 @@ public void setProjectVersionArn(String projectVersionArn) { * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @param projectVersionArn

    - * The Amazon Resource Name (ARN) of the model version that you + * The Amazon Resource Name (ARN) of the project version that you * want to delete. *

    * @return A reference to this updated object so that method calls can be diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectVersionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectVersionResult.java index ffbc55a9a5..2388ab03a1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectVersionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteProjectVersionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -26,7 +26,8 @@ public class DeleteProjectVersionResult implements Serializable { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED */ private String status; @@ -38,7 +39,8 @@ public class DeleteProjectVersionResult implements Serializable { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @return

    * The status of the deletion operation. @@ -57,7 +59,8 @@ public String getStatus() { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The status of the deletion operation. @@ -79,7 +82,8 @@ public void setStatus(String status) { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The status of the deletion operation. @@ -101,7 +105,8 @@ public DeleteProjectVersionResult withStatus(String status) { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The status of the deletion operation. @@ -123,7 +128,8 @@ public void setStatus(ProjectVersionStatus status) { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The status of the deletion operation. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteStreamProcessorRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteStreamProcessorRequest.java index b5bb63dcef..cf71ffe38d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteStreamProcessorRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteStreamProcessorRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteStreamProcessorResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteStreamProcessorResult.java index eabdfd0362..189359c45a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteStreamProcessorResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteStreamProcessorResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteUserRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteUserRequest.java index 6603b15855..e8380275f6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteUserRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteUserRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteUserResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteUserResult.java index 6f76308710..01b8fe69e7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteUserResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DeleteUserResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeCollectionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeCollectionRequest.java index ad84904f5f..a89d6054d1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeCollectionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeCollectionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeCollectionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeCollectionResult.java index d73ca3f9ad..d229a859ed 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeCollectionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeCollectionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeDatasetRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeDatasetRequest.java index 63d8290917..d62046fc62 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeDatasetRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeDatasetRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,6 +20,11 @@ import com.amazonaws.AmazonWebServiceRequest; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Describes an Amazon Rekognition Custom Labels dataset. You can get * information such as the current status of a dataset and statistics about the diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeDatasetResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeDatasetResult.java index 1086fb8c69..d1603bb380 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeDatasetResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeDatasetResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectVersionsRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectVersionsRequest.java index 986acbb193..282b8b545c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectVersionsRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectVersionsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ /** *

    - * Lists and describes the versions of a model in an Amazon Rekognition Custom - * Labels project. You can specify up to 10 model versions in - * ProjectVersionArns. If you don't specify a value, descriptions - * for all model versions in the project are returned. + * Lists and describes the versions of an Amazon Rekognition project. You can + * specify up to 10 model or adapter versions in ProjectVersionArns + * . If you don't specify a value, descriptions for all model/adapter versions + * in the project are returned. *

    *

    * This operation requires permissions to perform the @@ -34,8 +34,8 @@ public class DescribeProjectVersionsRequest extends AmazonWebServiceRequest implements Serializable { /** *

    - * The Amazon Resource Name (ARN) of the project that contains the models - * you want to describe. + * The Amazon Resource Name (ARN) of the project that contains the + * model/adapter you want to describe. *

    *

    * Constraints:
    @@ -48,10 +48,10 @@ public class DescribeProjectVersionsRequest extends AmazonWebServiceRequest impl /** *

    - * A list of model version names that you want to describe. You can add up - * to 10 model version names to the list. If you don't specify a value, all - * model descriptions are returned. A version name is part of a model - * (ProjectVersion) ARN. For example, + * A list of model or project version names that you want to describe. You + * can add up to 10 model or project version names to the list. If you don't + * specify a value, all project version descriptions are returned. A version + * name is part of a project version ARN. For example, * my-model.2020-01-21T09.10.15 is the version name in the * following ARN. * arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123 @@ -63,9 +63,8 @@ public class DescribeProjectVersionsRequest extends AmazonWebServiceRequest impl /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Amazon Rekognition returns a pagination token in the response. + * You can use this pagination token to retrieve the next set of results. *

    *

    * Constraints:
    @@ -87,8 +86,8 @@ public class DescribeProjectVersionsRequest extends AmazonWebServiceRequest impl /** *

    - * The Amazon Resource Name (ARN) of the project that contains the models - * you want to describe. + * The Amazon Resource Name (ARN) of the project that contains the + * model/adapter you want to describe. *

    *

    * Constraints:
    @@ -99,7 +98,7 @@ public class DescribeProjectVersionsRequest extends AmazonWebServiceRequest impl * * @return

    * The Amazon Resource Name (ARN) of the project that contains the - * models you want to describe. + * model/adapter you want to describe. *

    */ public String getProjectArn() { @@ -108,8 +107,8 @@ public String getProjectArn() { /** *

    - * The Amazon Resource Name (ARN) of the project that contains the models - * you want to describe. + * The Amazon Resource Name (ARN) of the project that contains the + * model/adapter you want to describe. *

    *

    * Constraints:
    @@ -120,7 +119,7 @@ public String getProjectArn() { * * @param projectArn

    * The Amazon Resource Name (ARN) of the project that contains - * the models you want to describe. + * the model/adapter you want to describe. *

    */ public void setProjectArn(String projectArn) { @@ -129,8 +128,8 @@ public void setProjectArn(String projectArn) { /** *

    - * The Amazon Resource Name (ARN) of the project that contains the models - * you want to describe. + * The Amazon Resource Name (ARN) of the project that contains the + * model/adapter you want to describe. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -144,7 +143,7 @@ public void setProjectArn(String projectArn) { * * @param projectArn

    * The Amazon Resource Name (ARN) of the project that contains - * the models you want to describe. + * the model/adapter you want to describe. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -156,10 +155,10 @@ public DescribeProjectVersionsRequest withProjectArn(String projectArn) { /** *

    - * A list of model version names that you want to describe. You can add up - * to 10 model version names to the list. If you don't specify a value, all - * model descriptions are returned. A version name is part of a model - * (ProjectVersion) ARN. For example, + * A list of model or project version names that you want to describe. You + * can add up to 10 model or project version names to the list. If you don't + * specify a value, all project version descriptions are returned. A version + * name is part of a project version ARN. For example, * my-model.2020-01-21T09.10.15 is the version name in the * following ARN. * arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123 @@ -167,10 +166,11 @@ public DescribeProjectVersionsRequest withProjectArn(String projectArn) { *

    * * @return

    - * A list of model version names that you want to describe. You can - * add up to 10 model version names to the list. If you don't - * specify a value, all model descriptions are returned. A version - * name is part of a model (ProjectVersion) ARN. For example, + * A list of model or project version names that you want to + * describe. You can add up to 10 model or project version names to + * the list. If you don't specify a value, all project version + * descriptions are returned. A version name is part of a project + * version ARN. For example, * my-model.2020-01-21T09.10.15 is the version name in * the following ARN. * arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123 @@ -183,10 +183,10 @@ public java.util.List getVersionNames() { /** *

    - * A list of model version names that you want to describe. You can add up - * to 10 model version names to the list. If you don't specify a value, all - * model descriptions are returned. A version name is part of a model - * (ProjectVersion) ARN. For example, + * A list of model or project version names that you want to describe. You + * can add up to 10 model or project version names to the list. If you don't + * specify a value, all project version descriptions are returned. A version + * name is part of a project version ARN. For example, * my-model.2020-01-21T09.10.15 is the version name in the * following ARN. * arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123 @@ -194,12 +194,13 @@ public java.util.List getVersionNames() { *

    * * @param versionNames

    - * A list of model version names that you want to describe. You - * can add up to 10 model version names to the list. If you don't - * specify a value, all model descriptions are returned. A - * version name is part of a model (ProjectVersion) ARN. For - * example, my-model.2020-01-21T09.10.15 is the - * version name in the following ARN. + * A list of model or project version names that you want to + * describe. You can add up to 10 model or project version names + * to the list. If you don't specify a value, all project version + * descriptions are returned. A version name is part of a project + * version ARN. For example, + * my-model.2020-01-21T09.10.15 is the version name + * in the following ARN. * arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123 * . *

    @@ -215,10 +216,10 @@ public void setVersionNames(java.util.Collection versionNames) { /** *

    - * A list of model version names that you want to describe. You can add up - * to 10 model version names to the list. If you don't specify a value, all - * model descriptions are returned. A version name is part of a model - * (ProjectVersion) ARN. For example, + * A list of model or project version names that you want to describe. You + * can add up to 10 model or project version names to the list. If you don't + * specify a value, all project version descriptions are returned. A version + * name is part of a project version ARN. For example, * my-model.2020-01-21T09.10.15 is the version name in the * following ARN. * arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123 @@ -229,12 +230,13 @@ public void setVersionNames(java.util.Collection versionNames) { * together. * * @param versionNames

    - * A list of model version names that you want to describe. You - * can add up to 10 model version names to the list. If you don't - * specify a value, all model descriptions are returned. A - * version name is part of a model (ProjectVersion) ARN. For - * example, my-model.2020-01-21T09.10.15 is the - * version name in the following ARN. + * A list of model or project version names that you want to + * describe. You can add up to 10 model or project version names + * to the list. If you don't specify a value, all project version + * descriptions are returned. A version name is part of a project + * version ARN. For example, + * my-model.2020-01-21T09.10.15 is the version name + * in the following ARN. * arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123 * . *

    @@ -253,10 +255,10 @@ public DescribeProjectVersionsRequest withVersionNames(String... versionNames) { /** *

    - * A list of model version names that you want to describe. You can add up - * to 10 model version names to the list. If you don't specify a value, all - * model descriptions are returned. A version name is part of a model - * (ProjectVersion) ARN. For example, + * A list of model or project version names that you want to describe. You + * can add up to 10 model or project version names to the list. If you don't + * specify a value, all project version descriptions are returned. A version + * name is part of a project version ARN. For example, * my-model.2020-01-21T09.10.15 is the version name in the * following ARN. * arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123 @@ -267,12 +269,13 @@ public DescribeProjectVersionsRequest withVersionNames(String... versionNames) { * together. * * @param versionNames

    - * A list of model version names that you want to describe. You - * can add up to 10 model version names to the list. If you don't - * specify a value, all model descriptions are returned. A - * version name is part of a model (ProjectVersion) ARN. For - * example, my-model.2020-01-21T09.10.15 is the - * version name in the following ARN. + * A list of model or project version names that you want to + * describe. You can add up to 10 model or project version names + * to the list. If you don't specify a value, all project version + * descriptions are returned. A version name is part of a project + * version ARN. For example, + * my-model.2020-01-21T09.10.15 is the version name + * in the following ARN. * arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123 * . *

    @@ -287,9 +290,8 @@ public DescribeProjectVersionsRequest withVersionNames(java.util.Collection * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Amazon Rekognition returns a pagination token in the response. + * You can use this pagination token to retrieve the next set of results. *

    *

    * Constraints:
    @@ -297,9 +299,9 @@ public DescribeProjectVersionsRequest withVersionNames(java.util.Collection * If the previous response was incomplete (because there is more - * results to retrieve), Amazon Rekognition Custom Labels returns a - * pagination token in the response. You can use this pagination - * token to retrieve the next set of results. + * results to retrieve), Amazon Rekognition returns a pagination + * token in the response. You can use this pagination token to + * retrieve the next set of results. *

    */ public String getNextToken() { @@ -309,9 +311,8 @@ public String getNextToken() { /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Amazon Rekognition returns a pagination token in the response. + * You can use this pagination token to retrieve the next set of results. *

    *

    * Constraints:
    @@ -319,9 +320,9 @@ public String getNextToken() { * * @param nextToken

    * If the previous response was incomplete (because there is more - * results to retrieve), Amazon Rekognition Custom Labels returns - * a pagination token in the response. You can use this - * pagination token to retrieve the next set of results. + * results to retrieve), Amazon Rekognition returns a pagination + * token in the response. You can use this pagination token to + * retrieve the next set of results. *

    */ public void setNextToken(String nextToken) { @@ -331,9 +332,8 @@ public void setNextToken(String nextToken) { /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Amazon Rekognition returns a pagination token in the response. + * You can use this pagination token to retrieve the next set of results. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -344,9 +344,9 @@ public void setNextToken(String nextToken) { * * @param nextToken

    * If the previous response was incomplete (because there is more - * results to retrieve), Amazon Rekognition Custom Labels returns - * a pagination token in the response. You can use this - * pagination token to retrieve the next set of results. + * results to retrieve), Amazon Rekognition returns a pagination + * token in the response. You can use this pagination token to + * retrieve the next set of results. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectVersionsResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectVersionsResult.java index e7ac6e1c3f..cb6f226b24 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectVersionsResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectVersionsResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,8 +20,8 @@ public class DescribeProjectVersionsResult implements Serializable { /** *

    - * A list of model descriptions. The list is sorted by the creation date and - * time of the model versions, latest to earliest. + * A list of project version descriptions. The list is sorted by the + * creation date and time of the project versions, latest to earliest. *

    */ private java.util.List projectVersionDescriptions; @@ -29,9 +29,8 @@ public class DescribeProjectVersionsResult implements Serializable { /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Amazon Rekognition returns a pagination token in the response. + * You can use this pagination token to retrieve the next set of results. *

    *

    * Constraints:
    @@ -41,13 +40,14 @@ public class DescribeProjectVersionsResult implements Serializable { /** *

    - * A list of model descriptions. The list is sorted by the creation date and - * time of the model versions, latest to earliest. + * A list of project version descriptions. The list is sorted by the + * creation date and time of the project versions, latest to earliest. *

    * * @return

    - * A list of model descriptions. The list is sorted by the creation - * date and time of the model versions, latest to earliest. + * A list of project version descriptions. The list is sorted by the + * creation date and time of the project versions, latest to + * earliest. *

    */ public java.util.List getProjectVersionDescriptions() { @@ -56,13 +56,13 @@ public java.util.List getProjectVersionDescriptions() /** *

    - * A list of model descriptions. The list is sorted by the creation date and - * time of the model versions, latest to earliest. + * A list of project version descriptions. The list is sorted by the + * creation date and time of the project versions, latest to earliest. *

    * * @param projectVersionDescriptions

    - * A list of model descriptions. The list is sorted by the - * creation date and time of the model versions, latest to + * A list of project version descriptions. The list is sorted by + * the creation date and time of the project versions, latest to * earliest. *

    */ @@ -79,16 +79,16 @@ public void setProjectVersionDescriptions( /** *

    - * A list of model descriptions. The list is sorted by the creation date and - * time of the model versions, latest to earliest. + * A list of project version descriptions. The list is sorted by the + * creation date and time of the project versions, latest to earliest. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param projectVersionDescriptions

    - * A list of model descriptions. The list is sorted by the - * creation date and time of the model versions, latest to + * A list of project version descriptions. The list is sorted by + * the creation date and time of the project versions, latest to * earliest. *

    * @return A reference to this updated object so that method calls can be @@ -108,16 +108,16 @@ public DescribeProjectVersionsResult withProjectVersionDescriptions( /** *

    - * A list of model descriptions. The list is sorted by the creation date and - * time of the model versions, latest to earliest. + * A list of project version descriptions. The list is sorted by the + * creation date and time of the project versions, latest to earliest. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param projectVersionDescriptions

    - * A list of model descriptions. The list is sorted by the - * creation date and time of the model versions, latest to + * A list of project version descriptions. The list is sorted by + * the creation date and time of the project versions, latest to * earliest. *

    * @return A reference to this updated object so that method calls can be @@ -132,9 +132,8 @@ public DescribeProjectVersionsResult withProjectVersionDescriptions( /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Amazon Rekognition returns a pagination token in the response. + * You can use this pagination token to retrieve the next set of results. *

    *

    * Constraints:
    @@ -142,9 +141,9 @@ public DescribeProjectVersionsResult withProjectVersionDescriptions( * * @return

    * If the previous response was incomplete (because there is more - * results to retrieve), Amazon Rekognition Custom Labels returns a - * pagination token in the response. You can use this pagination - * token to retrieve the next set of results. + * results to retrieve), Amazon Rekognition returns a pagination + * token in the response. You can use this pagination token to + * retrieve the next set of results. *

    */ public String getNextToken() { @@ -154,9 +153,8 @@ public String getNextToken() { /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Amazon Rekognition returns a pagination token in the response. + * You can use this pagination token to retrieve the next set of results. *

    *

    * Constraints:
    @@ -164,9 +162,9 @@ public String getNextToken() { * * @param nextToken

    * If the previous response was incomplete (because there is more - * results to retrieve), Amazon Rekognition Custom Labels returns - * a pagination token in the response. You can use this - * pagination token to retrieve the next set of results. + * results to retrieve), Amazon Rekognition returns a pagination + * token in the response. You can use this pagination token to + * retrieve the next set of results. *

    */ public void setNextToken(String nextToken) { @@ -176,9 +174,8 @@ public void setNextToken(String nextToken) { /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Amazon Rekognition returns a pagination token in the response. + * You can use this pagination token to retrieve the next set of results. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -189,9 +186,9 @@ public void setNextToken(String nextToken) { * * @param nextToken

    * If the previous response was incomplete (because there is more - * results to retrieve), Amazon Rekognition Custom Labels returns - * a pagination token in the response. You can use this - * pagination token to retrieve the next set of results. + * results to retrieve), Amazon Rekognition returns a pagination + * token in the response. You can use this pagination token to + * retrieve the next set of results. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectsRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectsRequest.java index 6749fe8bc2..feda68cf7d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectsRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ /** *

    - * Gets information about your Amazon Rekognition Custom Labels projects. + * Gets information about your Rekognition projects. *

    *

    * This operation requires permissions to perform the @@ -32,9 +32,8 @@ public class DescribeProjectsRequest extends AmazonWebServiceRequest implements /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Rekognition returns a pagination token in the response. You + * can use this pagination token to retrieve the next set of results. *

    *

    * Constraints:
    @@ -56,19 +55,26 @@ public class DescribeProjectsRequest extends AmazonWebServiceRequest implements /** *

    - * A list of the projects that you want Amazon Rekognition Custom Labels to - * describe. If you don't specify a value, the response includes - * descriptions for all the projects in your AWS account. + * A list of the projects that you want Rekognition to describe. If you + * don't specify a value, the response includes descriptions for all the + * projects in your AWS account. *

    */ private java.util.List projectNames; + /** + *

    + * Specifies the type of customization to filter projects by. If no value is + * specified, CUSTOM_LABELS is used as a default. + *

    + */ + private java.util.List features; + /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Rekognition returns a pagination token in the response. You + * can use this pagination token to retrieve the next set of results. *

    *

    * Constraints:
    @@ -76,9 +82,9 @@ public class DescribeProjectsRequest extends AmazonWebServiceRequest implements * * @return

    * If the previous response was incomplete (because there is more - * results to retrieve), Amazon Rekognition Custom Labels returns a - * pagination token in the response. You can use this pagination - * token to retrieve the next set of results. + * results to retrieve), Rekognition returns a pagination token in + * the response. You can use this pagination token to retrieve the + * next set of results. *

    */ public String getNextToken() { @@ -88,9 +94,8 @@ public String getNextToken() { /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Rekognition returns a pagination token in the response. You + * can use this pagination token to retrieve the next set of results. *

    *

    * Constraints:
    @@ -98,9 +103,9 @@ public String getNextToken() { * * @param nextToken

    * If the previous response was incomplete (because there is more - * results to retrieve), Amazon Rekognition Custom Labels returns - * a pagination token in the response. You can use this - * pagination token to retrieve the next set of results. + * results to retrieve), Rekognition returns a pagination token + * in the response. You can use this pagination token to retrieve + * the next set of results. *

    */ public void setNextToken(String nextToken) { @@ -110,9 +115,8 @@ public void setNextToken(String nextToken) { /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Rekognition returns a pagination token in the response. You + * can use this pagination token to retrieve the next set of results. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -123,9 +127,9 @@ public void setNextToken(String nextToken) { * * @param nextToken

    * If the previous response was incomplete (because there is more - * results to retrieve), Amazon Rekognition Custom Labels returns - * a pagination token in the response. You can use this - * pagination token to retrieve the next set of results. + * results to retrieve), Rekognition returns a pagination token + * in the response. You can use this pagination token to retrieve + * the next set of results. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -206,15 +210,15 @@ public DescribeProjectsRequest withMaxResults(Integer maxResults) { /** *

    - * A list of the projects that you want Amazon Rekognition Custom Labels to - * describe. If you don't specify a value, the response includes - * descriptions for all the projects in your AWS account. + * A list of the projects that you want Rekognition to describe. If you + * don't specify a value, the response includes descriptions for all the + * projects in your AWS account. *

    * * @return

    - * A list of the projects that you want Amazon Rekognition Custom - * Labels to describe. If you don't specify a value, the response - * includes descriptions for all the projects in your AWS account. + * A list of the projects that you want Rekognition to describe. If + * you don't specify a value, the response includes descriptions for + * all the projects in your AWS account. *

    */ public java.util.List getProjectNames() { @@ -223,16 +227,15 @@ public java.util.List getProjectNames() { /** *

    - * A list of the projects that you want Amazon Rekognition Custom Labels to - * describe. If you don't specify a value, the response includes - * descriptions for all the projects in your AWS account. + * A list of the projects that you want Rekognition to describe. If you + * don't specify a value, the response includes descriptions for all the + * projects in your AWS account. *

    * * @param projectNames

    - * A list of the projects that you want Amazon Rekognition Custom - * Labels to describe. If you don't specify a value, the response - * includes descriptions for all the projects in your AWS - * account. + * A list of the projects that you want Rekognition to describe. + * If you don't specify a value, the response includes + * descriptions for all the projects in your AWS account. *

    */ public void setProjectNames(java.util.Collection projectNames) { @@ -246,19 +249,18 @@ public void setProjectNames(java.util.Collection projectNames) { /** *

    - * A list of the projects that you want Amazon Rekognition Custom Labels to - * describe. If you don't specify a value, the response includes - * descriptions for all the projects in your AWS account. + * A list of the projects that you want Rekognition to describe. If you + * don't specify a value, the response includes descriptions for all the + * projects in your AWS account. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param projectNames

    - * A list of the projects that you want Amazon Rekognition Custom - * Labels to describe. If you don't specify a value, the response - * includes descriptions for all the projects in your AWS - * account. + * A list of the projects that you want Rekognition to describe. + * If you don't specify a value, the response includes + * descriptions for all the projects in your AWS account. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -275,19 +277,18 @@ public DescribeProjectsRequest withProjectNames(String... projectNames) { /** *

    - * A list of the projects that you want Amazon Rekognition Custom Labels to - * describe. If you don't specify a value, the response includes - * descriptions for all the projects in your AWS account. + * A list of the projects that you want Rekognition to describe. If you + * don't specify a value, the response includes descriptions for all the + * projects in your AWS account. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param projectNames

    - * A list of the projects that you want Amazon Rekognition Custom - * Labels to describe. If you don't specify a value, the response - * includes descriptions for all the projects in your AWS - * account. + * A list of the projects that you want Rekognition to describe. + * If you don't specify a value, the response includes + * descriptions for all the projects in your AWS account. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -297,6 +298,88 @@ public DescribeProjectsRequest withProjectNames(java.util.Collection pro return this; } + /** + *

    + * Specifies the type of customization to filter projects by. If no value is + * specified, CUSTOM_LABELS is used as a default. + *

    + * + * @return

    + * Specifies the type of customization to filter projects by. If no + * value is specified, CUSTOM_LABELS is used as a default. + *

    + */ + public java.util.List getFeatures() { + return features; + } + + /** + *

    + * Specifies the type of customization to filter projects by. If no value is + * specified, CUSTOM_LABELS is used as a default. + *

    + * + * @param features

    + * Specifies the type of customization to filter projects by. If + * no value is specified, CUSTOM_LABELS is used as a default. + *

    + */ + public void setFeatures(java.util.Collection features) { + if (features == null) { + this.features = null; + return; + } + + this.features = new java.util.ArrayList(features); + } + + /** + *

    + * Specifies the type of customization to filter projects by. If no value is + * specified, CUSTOM_LABELS is used as a default. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param features

    + * Specifies the type of customization to filter projects by. If + * no value is specified, CUSTOM_LABELS is used as a default. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public DescribeProjectsRequest withFeatures(String... features) { + if (getFeatures() == null) { + this.features = new java.util.ArrayList(features.length); + } + for (String value : features) { + this.features.add(value); + } + return this; + } + + /** + *

    + * Specifies the type of customization to filter projects by. If no value is + * specified, CUSTOM_LABELS is used as a default. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param features

    + * Specifies the type of customization to filter projects by. If + * no value is specified, CUSTOM_LABELS is used as a default. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public DescribeProjectsRequest withFeatures(java.util.Collection features) { + setFeatures(features); + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -313,7 +396,9 @@ public String toString() { if (getMaxResults() != null) sb.append("MaxResults: " + getMaxResults() + ","); if (getProjectNames() != null) - sb.append("ProjectNames: " + getProjectNames()); + sb.append("ProjectNames: " + getProjectNames() + ","); + if (getFeatures() != null) + sb.append("Features: " + getFeatures()); sb.append("}"); return sb.toString(); } @@ -327,6 +412,7 @@ public int hashCode() { hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode()); hashCode = prime * hashCode + ((getProjectNames() == null) ? 0 : getProjectNames().hashCode()); + hashCode = prime * hashCode + ((getFeatures() == null) ? 0 : getFeatures().hashCode()); return hashCode; } @@ -356,6 +442,10 @@ public boolean equals(Object obj) { if (other.getProjectNames() != null && other.getProjectNames().equals(this.getProjectNames()) == false) return false; + if (other.getFeatures() == null ^ this.getFeatures() == null) + return false; + if (other.getFeatures() != null && other.getFeatures().equals(this.getFeatures()) == false) + return false; return true; } } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectsResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectsResult.java index 752a29d03a..6a0ab92fe2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectsResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeProjectsResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -29,9 +29,8 @@ public class DescribeProjectsResult implements Serializable { /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Amazon Rekognition returns a pagination token in the response. + * You can use this pagination token to retrieve the next set of results. *

    *

    * Constraints:
    @@ -126,9 +125,8 @@ public DescribeProjectsResult withProjectDescriptions( /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Amazon Rekognition returns a pagination token in the response. + * You can use this pagination token to retrieve the next set of results. *

    *

    * Constraints:
    @@ -136,9 +134,9 @@ public DescribeProjectsResult withProjectDescriptions( * * @return

    * If the previous response was incomplete (because there is more - * results to retrieve), Amazon Rekognition Custom Labels returns a - * pagination token in the response. You can use this pagination - * token to retrieve the next set of results. + * results to retrieve), Amazon Rekognition returns a pagination + * token in the response. You can use this pagination token to + * retrieve the next set of results. *

    */ public String getNextToken() { @@ -148,9 +146,8 @@ public String getNextToken() { /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Amazon Rekognition returns a pagination token in the response. + * You can use this pagination token to retrieve the next set of results. *

    *

    * Constraints:
    @@ -158,9 +155,9 @@ public String getNextToken() { * * @param nextToken

    * If the previous response was incomplete (because there is more - * results to retrieve), Amazon Rekognition Custom Labels returns - * a pagination token in the response. You can use this - * pagination token to retrieve the next set of results. + * results to retrieve), Amazon Rekognition returns a pagination + * token in the response. You can use this pagination token to + * retrieve the next set of results. *

    */ public void setNextToken(String nextToken) { @@ -170,9 +167,8 @@ public void setNextToken(String nextToken) { /** *

    * If the previous response was incomplete (because there is more results to - * retrieve), Amazon Rekognition Custom Labels returns a pagination token in - * the response. You can use this pagination token to retrieve the next set - * of results. + * retrieve), Amazon Rekognition returns a pagination token in the response. + * You can use this pagination token to retrieve the next set of results. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -183,9 +179,9 @@ public void setNextToken(String nextToken) { * * @param nextToken

    * If the previous response was incomplete (because there is more - * results to retrieve), Amazon Rekognition Custom Labels returns - * a pagination token in the response. You can use this - * pagination token to retrieve the next set of results. + * results to retrieve), Amazon Rekognition returns a pagination + * token in the response. You can use this pagination token to + * retrieve the next set of results. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeStreamProcessorRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeStreamProcessorRequest.java index baca72f77f..9e35c51613 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeStreamProcessorRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeStreamProcessorRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeStreamProcessorResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeStreamProcessorResult.java index dbb67da2fd..d108ebd481 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeStreamProcessorResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DescribeStreamProcessorResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectCustomLabelsRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectCustomLabelsRequest.java index e5d4a35afe..ff9520efa7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectCustomLabelsRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectCustomLabelsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,6 +20,11 @@ import com.amazonaws.AmazonWebServiceRequest; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Detects custom labels in a supplied image by using an Amazon Rekognition * Custom Labels model. @@ -40,7 +45,9 @@ * Each CustomLabel object provides the label name ( * Name), the level of confidence that the image contains the * object (Confidence), and object location information, if it - * exists, for the label on the image (Geometry). + * exists, for the label on the image (Geometry). Note that for the + * DetectCustomLabelsLabels operation, Polygons are + * not returned in the Geometry section of the response. *

    *

    * To filter labels that are returned, specify a value for @@ -78,7 +85,10 @@ public class DetectCustomLabelsRequest extends AmazonWebServiceRequest implements Serializable { /** *

    - * The ARN of the model version that you want to use. + * The ARN of the model version that you want to use. Only models associated + * with Custom Labels projects accepted by the operation. If a provided ARN + * refers to a model version associated with a project for a different + * feature type, then an InvalidParameterException is returned. *

    *

    * Constraints:
    @@ -159,7 +169,10 @@ public class DetectCustomLabelsRequest extends AmazonWebServiceRequest implement /** *

    - * The ARN of the model version that you want to use. + * The ARN of the model version that you want to use. Only models associated + * with Custom Labels projects accepted by the operation. If a provided ARN + * refers to a model version associated with a project for a different + * feature type, then an InvalidParameterException is returned. *

    *

    * Constraints:
    @@ -169,7 +182,11 @@ public class DetectCustomLabelsRequest extends AmazonWebServiceRequest implement * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @return

    - * The ARN of the model version that you want to use. + * The ARN of the model version that you want to use. Only models + * associated with Custom Labels projects accepted by the operation. + * If a provided ARN refers to a model version associated with a + * project for a different feature type, then an + * InvalidParameterException is returned. *

    */ public String getProjectVersionArn() { @@ -178,7 +195,10 @@ public String getProjectVersionArn() { /** *

    - * The ARN of the model version that you want to use. + * The ARN of the model version that you want to use. Only models associated + * with Custom Labels projects accepted by the operation. If a provided ARN + * refers to a model version associated with a project for a different + * feature type, then an InvalidParameterException is returned. *

    *

    * Constraints:
    @@ -188,7 +208,11 @@ public String getProjectVersionArn() { * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @param projectVersionArn

    - * The ARN of the model version that you want to use. + * The ARN of the model version that you want to use. Only models + * associated with Custom Labels projects accepted by the + * operation. If a provided ARN refers to a model version + * associated with a project for a different feature type, then + * an InvalidParameterException is returned. *

    */ public void setProjectVersionArn(String projectVersionArn) { @@ -197,7 +221,10 @@ public void setProjectVersionArn(String projectVersionArn) { /** *

    - * The ARN of the model version that you want to use. + * The ARN of the model version that you want to use. Only models associated + * with Custom Labels projects accepted by the operation. If a provided ARN + * refers to a model version associated with a project for a different + * feature type, then an InvalidParameterException is returned. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -210,7 +237,11 @@ public void setProjectVersionArn(String projectVersionArn) { * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @param projectVersionArn

    - * The ARN of the model version that you want to use. + * The ARN of the model version that you want to use. Only models + * associated with Custom Labels projects accepted by the + * operation. If a provided ARN refers to a model version + * associated with a project for a different feature type, then + * an InvalidParameterException is returned. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectCustomLabelsResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectCustomLabelsResult.java index 1d6e83f9da..09c4cc3052 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectCustomLabelsResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectCustomLabelsResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectFacesRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectFacesRequest.java index 6ce32352fb..c2a6625a81 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectFacesRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectFacesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectFacesResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectFacesResult.java index 404ad95e7a..a7fb15b418 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectFacesResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectFacesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsFeatureName.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsFeatureName.java index 62045844eb..3969bc9ab8 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsFeatureName.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsFeatureName.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageBackground.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageBackground.java index 6f6215879d..9518946759 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageBackground.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageBackground.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageForeground.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageForeground.java index 363470dc26..a3d7166250 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageForeground.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageForeground.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageProperties.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageProperties.java index a78e19d144..4aa7632d51 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageProperties.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImagePropertiesSettings.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImagePropertiesSettings.java index 15a9dee24d..78cb7bc211 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImagePropertiesSettings.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImagePropertiesSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageQuality.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageQuality.java index 929ae23d12..6cd79e785a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageQuality.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsImageQuality.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsRequest.java index d06eb329ff..d5c289edcf 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsResult.java index d6ed3b9a6c..2d96115d3e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsSettings.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsSettings.java index 35e4567af6..d914ec9845 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsSettings.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectLabelsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectModerationLabelsRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectModerationLabelsRequest.java index 5759d73303..aba66b437b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectModerationLabelsRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectModerationLabelsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -41,6 +41,11 @@ * Amazon Rekognition operations, passing image bytes is not supported. The * image must be either a PNG or JPEG formatted file. *

    + *

    + * You can specify an adapter to use when retrieving label predictions by + * providing a ProjectVersionArn to the ProjectVersion + * argument. + *

    */ public class DetectModerationLabelsRequest extends AmazonWebServiceRequest implements Serializable { /** @@ -82,6 +87,21 @@ public class DetectModerationLabelsRequest extends AmazonWebServiceRequest imple */ private HumanLoopConfig humanLoopConfig; + /** + *

    + * Identifier for the custom adapter. Expects the ProjectVersionArn as a + * value. Use the CreateProject or CreateProjectVersion APIs to create a + * custom adapter. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * (^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA + * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    + */ + private String projectVersion; + /** * Default constructor for DetectModerationLabelsRequest object. Callers * should use the setter or fluent setter (with...) methods to initialize @@ -348,6 +368,81 @@ public DetectModerationLabelsRequest withHumanLoopConfig(HumanLoopConfig humanLo return this; } + /** + *

    + * Identifier for the custom adapter. Expects the ProjectVersionArn as a + * value. Use the CreateProject or CreateProjectVersion APIs to create a + * custom adapter. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * (^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA + * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    + * + * @return

    + * Identifier for the custom adapter. Expects the ProjectVersionArn + * as a value. Use the CreateProject or CreateProjectVersion APIs to + * create a custom adapter. + *

    + */ + public String getProjectVersion() { + return projectVersion; + } + + /** + *

    + * Identifier for the custom adapter. Expects the ProjectVersionArn as a + * value. Use the CreateProject or CreateProjectVersion APIs to create a + * custom adapter. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * (^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA + * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    + * + * @param projectVersion

    + * Identifier for the custom adapter. Expects the + * ProjectVersionArn as a value. Use the CreateProject or + * CreateProjectVersion APIs to create a custom adapter. + *

    + */ + public void setProjectVersion(String projectVersion) { + this.projectVersion = projectVersion; + } + + /** + *

    + * Identifier for the custom adapter. Expects the ProjectVersionArn as a + * value. Use the CreateProject or CreateProjectVersion APIs to create a + * custom adapter. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * (^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA + * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    + * + * @param projectVersion

    + * Identifier for the custom adapter. Expects the + * ProjectVersionArn as a value. Use the CreateProject or + * CreateProjectVersion APIs to create a custom adapter. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public DetectModerationLabelsRequest withProjectVersion(String projectVersion) { + this.projectVersion = projectVersion; + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -364,7 +459,9 @@ public String toString() { if (getMinConfidence() != null) sb.append("MinConfidence: " + getMinConfidence() + ","); if (getHumanLoopConfig() != null) - sb.append("HumanLoopConfig: " + getHumanLoopConfig()); + sb.append("HumanLoopConfig: " + getHumanLoopConfig() + ","); + if (getProjectVersion() != null) + sb.append("ProjectVersion: " + getProjectVersion()); sb.append("}"); return sb.toString(); } @@ -379,6 +476,8 @@ public int hashCode() { + ((getMinConfidence() == null) ? 0 : getMinConfidence().hashCode()); hashCode = prime * hashCode + ((getHumanLoopConfig() == null) ? 0 : getHumanLoopConfig().hashCode()); + hashCode = prime * hashCode + + ((getProjectVersion() == null) ? 0 : getProjectVersion().hashCode()); return hashCode; } @@ -407,6 +506,11 @@ public boolean equals(Object obj) { if (other.getHumanLoopConfig() != null && other.getHumanLoopConfig().equals(this.getHumanLoopConfig()) == false) return false; + if (other.getProjectVersion() == null ^ this.getProjectVersion() == null) + return false; + if (other.getProjectVersion() != null + && other.getProjectVersion().equals(this.getProjectVersion()) == false) + return false; return true; } } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectModerationLabelsResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectModerationLabelsResult.java index 7a6228e78b..4c7c375a5c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectModerationLabelsResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectModerationLabelsResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,16 +20,17 @@ public class DetectModerationLabelsResult implements Serializable { /** *

    - * Array of detected Moderation labels and the time, in milliseconds from - * the start of the video, they were detected. + * Array of detected Moderation labels. For video operations, this includes + * the time, in milliseconds from the start of the video, they were + * detected. *

    */ private java.util.List moderationLabels; /** *

    - * Version number of the moderation detection model that was used to detect - * unsafe content. + * Version number of the base moderation detection model that was used to + * detect unsafe content. *

    */ private String moderationModelVersion; @@ -43,13 +44,40 @@ public class DetectModerationLabelsResult implements Serializable { /** *

    - * Array of detected Moderation labels and the time, in milliseconds from - * the start of the video, they were detected. + * Identifier of the custom adapter that was used during inference. If + * during inference the adapter was EXPIRED, then the parameter will not be + * returned, indicating that a base moderation detection project version was + * used. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * (^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA + * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    + */ + private String projectVersion; + + /** + *

    + * A list of predicted results for the type of content an image contains. + * For example, the image content might be from animation, sports, or a + * video game. + *

    + */ + private java.util.List contentTypes; + + /** + *

    + * Array of detected Moderation labels. For video operations, this includes + * the time, in milliseconds from the start of the video, they were + * detected. *

    * * @return

    - * Array of detected Moderation labels and the time, in milliseconds - * from the start of the video, they were detected. + * Array of detected Moderation labels. For video operations, this + * includes the time, in milliseconds from the start of the video, + * they were detected. *

    */ public java.util.List getModerationLabels() { @@ -58,13 +86,15 @@ public java.util.List getModerationLabels() { /** *

    - * Array of detected Moderation labels and the time, in milliseconds from - * the start of the video, they were detected. + * Array of detected Moderation labels. For video operations, this includes + * the time, in milliseconds from the start of the video, they were + * detected. *

    * * @param moderationLabels

    - * Array of detected Moderation labels and the time, in - * milliseconds from the start of the video, they were detected. + * Array of detected Moderation labels. For video operations, + * this includes the time, in milliseconds from the start of the + * video, they were detected. *

    */ public void setModerationLabels(java.util.Collection moderationLabels) { @@ -78,16 +108,18 @@ public void setModerationLabels(java.util.Collection moderation /** *

    - * Array of detected Moderation labels and the time, in milliseconds from - * the start of the video, they were detected. + * Array of detected Moderation labels. For video operations, this includes + * the time, in milliseconds from the start of the video, they were + * detected. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param moderationLabels

    - * Array of detected Moderation labels and the time, in - * milliseconds from the start of the video, they were detected. + * Array of detected Moderation labels. For video operations, + * this includes the time, in milliseconds from the start of the + * video, they were detected. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -105,16 +137,18 @@ public DetectModerationLabelsResult withModerationLabels(ModerationLabel... mode /** *

    - * Array of detected Moderation labels and the time, in milliseconds from - * the start of the video, they were detected. + * Array of detected Moderation labels. For video operations, this includes + * the time, in milliseconds from the start of the video, they were + * detected. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param moderationLabels

    - * Array of detected Moderation labels and the time, in - * milliseconds from the start of the video, they were detected. + * Array of detected Moderation labels. For video operations, + * this includes the time, in milliseconds from the start of the + * video, they were detected. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -127,13 +161,13 @@ public DetectModerationLabelsResult withModerationLabels( /** *

    - * Version number of the moderation detection model that was used to detect - * unsafe content. + * Version number of the base moderation detection model that was used to + * detect unsafe content. *

    * * @return

    - * Version number of the moderation detection model that was used to - * detect unsafe content. + * Version number of the base moderation detection model that was + * used to detect unsafe content. *

    */ public String getModerationModelVersion() { @@ -142,13 +176,13 @@ public String getModerationModelVersion() { /** *

    - * Version number of the moderation detection model that was used to detect - * unsafe content. + * Version number of the base moderation detection model that was used to + * detect unsafe content. *

    * * @param moderationModelVersion

    - * Version number of the moderation detection model that was used - * to detect unsafe content. + * Version number of the base moderation detection model that was + * used to detect unsafe content. *

    */ public void setModerationModelVersion(String moderationModelVersion) { @@ -157,16 +191,16 @@ public void setModerationModelVersion(String moderationModelVersion) { /** *

    - * Version number of the moderation detection model that was used to detect - * unsafe content. + * Version number of the base moderation detection model that was used to + * detect unsafe content. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param moderationModelVersion

    - * Version number of the moderation detection model that was used - * to detect unsafe content. + * Version number of the base moderation detection model that was + * used to detect unsafe content. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -222,6 +256,178 @@ public DetectModerationLabelsResult withHumanLoopActivationOutput( return this; } + /** + *

    + * Identifier of the custom adapter that was used during inference. If + * during inference the adapter was EXPIRED, then the parameter will not be + * returned, indicating that a base moderation detection project version was + * used. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * (^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA + * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    + * + * @return

    + * Identifier of the custom adapter that was used during inference. + * If during inference the adapter was EXPIRED, then the parameter + * will not be returned, indicating that a base moderation detection + * project version was used. + *

    + */ + public String getProjectVersion() { + return projectVersion; + } + + /** + *

    + * Identifier of the custom adapter that was used during inference. If + * during inference the adapter was EXPIRED, then the parameter will not be + * returned, indicating that a base moderation detection project version was + * used. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * (^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA + * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    + * + * @param projectVersion

    + * Identifier of the custom adapter that was used during + * inference. If during inference the adapter was EXPIRED, then + * the parameter will not be returned, indicating that a base + * moderation detection project version was used. + *

    + */ + public void setProjectVersion(String projectVersion) { + this.projectVersion = projectVersion; + } + + /** + *

    + * Identifier of the custom adapter that was used during inference. If + * during inference the adapter was EXPIRED, then the parameter will not be + * returned, indicating that a base moderation detection project version was + * used. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * (^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA + * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    + * + * @param projectVersion

    + * Identifier of the custom adapter that was used during + * inference. If during inference the adapter was EXPIRED, then + * the parameter will not be returned, indicating that a base + * moderation detection project version was used. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public DetectModerationLabelsResult withProjectVersion(String projectVersion) { + this.projectVersion = projectVersion; + return this; + } + + /** + *

    + * A list of predicted results for the type of content an image contains. + * For example, the image content might be from animation, sports, or a + * video game. + *

    + * + * @return

    + * A list of predicted results for the type of content an image + * contains. For example, the image content might be from animation, + * sports, or a video game. + *

    + */ + public java.util.List getContentTypes() { + return contentTypes; + } + + /** + *

    + * A list of predicted results for the type of content an image contains. + * For example, the image content might be from animation, sports, or a + * video game. + *

    + * + * @param contentTypes

    + * A list of predicted results for the type of content an image + * contains. For example, the image content might be from + * animation, sports, or a video game. + *

    + */ + public void setContentTypes(java.util.Collection contentTypes) { + if (contentTypes == null) { + this.contentTypes = null; + return; + } + + this.contentTypes = new java.util.ArrayList(contentTypes); + } + + /** + *

    + * A list of predicted results for the type of content an image contains. + * For example, the image content might be from animation, sports, or a + * video game. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param contentTypes

    + * A list of predicted results for the type of content an image + * contains. For example, the image content might be from + * animation, sports, or a video game. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public DetectModerationLabelsResult withContentTypes(ContentType... contentTypes) { + if (getContentTypes() == null) { + this.contentTypes = new java.util.ArrayList(contentTypes.length); + } + for (ContentType value : contentTypes) { + this.contentTypes.add(value); + } + return this; + } + + /** + *

    + * A list of predicted results for the type of content an image contains. + * For example, the image content might be from animation, sports, or a + * video game. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param contentTypes

    + * A list of predicted results for the type of content an image + * contains. For example, the image content might be from + * animation, sports, or a video game. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public DetectModerationLabelsResult withContentTypes( + java.util.Collection contentTypes) { + setContentTypes(contentTypes); + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -238,7 +444,11 @@ public String toString() { if (getModerationModelVersion() != null) sb.append("ModerationModelVersion: " + getModerationModelVersion() + ","); if (getHumanLoopActivationOutput() != null) - sb.append("HumanLoopActivationOutput: " + getHumanLoopActivationOutput()); + sb.append("HumanLoopActivationOutput: " + getHumanLoopActivationOutput() + ","); + if (getProjectVersion() != null) + sb.append("ProjectVersion: " + getProjectVersion() + ","); + if (getContentTypes() != null) + sb.append("ContentTypes: " + getContentTypes()); sb.append("}"); return sb.toString(); } @@ -258,6 +468,10 @@ public int hashCode() { * hashCode + ((getHumanLoopActivationOutput() == null) ? 0 : getHumanLoopActivationOutput() .hashCode()); + hashCode = prime * hashCode + + ((getProjectVersion() == null) ? 0 : getProjectVersion().hashCode()); + hashCode = prime * hashCode + + ((getContentTypes() == null) ? 0 : getContentTypes().hashCode()); return hashCode; } @@ -288,6 +502,16 @@ public boolean equals(Object obj) { if (other.getHumanLoopActivationOutput() != null && other.getHumanLoopActivationOutput().equals(this.getHumanLoopActivationOutput()) == false) return false; + if (other.getProjectVersion() == null ^ this.getProjectVersion() == null) + return false; + if (other.getProjectVersion() != null + && other.getProjectVersion().equals(this.getProjectVersion()) == false) + return false; + if (other.getContentTypes() == null ^ this.getContentTypes() == null) + return false; + if (other.getContentTypes() != null + && other.getContentTypes().equals(this.getContentTypes()) == false) + return false; return true; } } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectProtectiveEquipmentRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectProtectiveEquipmentRequest.java index bd269559e1..61bb9547b0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectProtectiveEquipmentRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectProtectiveEquipmentRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectProtectiveEquipmentResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectProtectiveEquipmentResult.java index 41128714ab..4bb40a81c2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectProtectiveEquipmentResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectProtectiveEquipmentResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectTextFilters.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectTextFilters.java index 1c9df59afb..7e6c869c42 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectTextFilters.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectTextFilters.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectTextRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectTextRequest.java index 3ee03029a1..bc872ecedd 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectTextRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectTextRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectTextResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectTextResult.java index 80b387b89c..e31e83d677 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectTextResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectTextResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectionFilter.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectionFilter.java index f0fbffaddd..2415147f08 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectionFilter.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DetectionFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DisassociateFacesRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DisassociateFacesRequest.java index 820d2dde65..33d5608aa7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DisassociateFacesRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DisassociateFacesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DisassociateFacesResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DisassociateFacesResult.java index a38a3fa8bf..c7b4de3574 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DisassociateFacesResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DisassociateFacesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DisassociatedFace.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DisassociatedFace.java index a2e330d823..26b753ca17 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DisassociatedFace.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DisassociatedFace.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DistributeDataset.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DistributeDataset.java index bfbdc80a80..bc8d065e8a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DistributeDataset.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DistributeDataset.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DistributeDatasetEntriesRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DistributeDatasetEntriesRequest.java index bc5914a0ff..d41b108154 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DistributeDatasetEntriesRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DistributeDatasetEntriesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,6 +20,11 @@ import com.amazonaws.AmazonWebServiceRequest; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Distributes the entries (images) in a training dataset across the training * dataset and the test dataset for a project. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DistributeDatasetEntriesResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DistributeDatasetEntriesResult.java index fcbfb819e2..b9121114b5 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DistributeDatasetEntriesResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DistributeDatasetEntriesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DominantColor.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DominantColor.java index ab826936ff..22cc8e9f50 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DominantColor.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DominantColor.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Emotion.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Emotion.java index 3626dc6a44..0f315b8c31 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Emotion.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Emotion.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EmotionName.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EmotionName.java index d9f812f6a3..7e2ff61453 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EmotionName.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EmotionName.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EquipmentDetection.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EquipmentDetection.java index a82a7d5c43..720084812d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EquipmentDetection.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EquipmentDetection.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EvaluationResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EvaluationResult.java index 6b8b90ad4b..c8ad08e498 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EvaluationResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EvaluationResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EyeDirection.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EyeDirection.java index 027988aab7..2706f55fc1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EyeDirection.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EyeDirection.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EyeOpen.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EyeOpen.java index a852eca488..203280d5e9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EyeOpen.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/EyeOpen.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Eyeglasses.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Eyeglasses.java index ccb1ba9fd5..98302f6b83 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Eyeglasses.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Eyeglasses.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Face.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Face.java index cba4efa288..fc7b207905 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Face.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Face.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceAttributes.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceAttributes.java index 280655065c..e1f72db305 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceAttributes.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceAttributes.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceDetail.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceDetail.java index d586cef53b..5ce5774e4f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceDetail.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceDetail.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceDetection.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceDetection.java index 345ea8806c..383ddd29d4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceDetection.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceDetection.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceMatch.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceMatch.java index 32de7af5cf..ae35216f49 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceMatch.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceMatch.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceOccluded.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceOccluded.java index 2c91db3ebc..dd659e0053 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceOccluded.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceOccluded.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceRecord.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceRecord.java index ac9d5b5668..928c6730dd 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceRecord.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceRecord.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceSearchSettings.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceSearchSettings.java index 49e2466787..e76c073994 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceSearchSettings.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceSearchSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceSearchSortBy.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceSearchSortBy.java index 589690fb8c..72a5978c93 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceSearchSortBy.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceSearchSortBy.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Gender.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Gender.java index d561314675..613dd0fa02 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Gender.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Gender.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GenderType.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GenderType.java index b9787e00fc..e030f7ef42 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GenderType.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GenderType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GeneralLabelsSettings.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GeneralLabelsSettings.java index c83f2e3c71..9ad955a15f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GeneralLabelsSettings.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GeneralLabelsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Geometry.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Geometry.java index 45db90aaef..380f60445c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Geometry.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Geometry.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityInfoRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityInfoRequest.java index b8fc17e9f7..568e10470a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityInfoRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityInfoRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityInfoResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityInfoResult.java index 7141faa5dc..8e08d07e52 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityInfoResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityInfoResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityRecognitionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityRecognitionRequest.java index 428f33b95c..0198d924c0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityRecognitionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityRecognitionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityRecognitionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityRecognitionResult.java index 826a648943..3d13118fa4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityRecognitionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetCelebrityRecognitionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetContentModerationRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetContentModerationRequest.java index a6a34c7cf7..3d8c9f47ed 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetContentModerationRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetContentModerationRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetContentModerationRequestMetadata.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetContentModerationRequestMetadata.java index 0d3f859183..5de855dd16 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetContentModerationRequestMetadata.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetContentModerationRequestMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetContentModerationResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetContentModerationResult.java index 2e4ca7acc2..422d7caa1e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetContentModerationResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetContentModerationResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceDetectionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceDetectionRequest.java index 7335d632cb..ef32a0bb3d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceDetectionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceDetectionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceDetectionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceDetectionResult.java index fd19319a11..902db87295 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceDetectionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceDetectionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceLivenessSessionResultsRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceLivenessSessionResultsRequest.java index 9d1bcd807b..67a66bfed6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceLivenessSessionResultsRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceLivenessSessionResultsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceLivenessSessionResultsResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceLivenessSessionResultsResult.java index cfbf944c97..1c6692e04d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceLivenessSessionResultsResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceLivenessSessionResultsResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceSearchRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceSearchRequest.java index 5d1913ed61..7f73075b22 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceSearchRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceSearchRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceSearchResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceSearchResult.java index 7f84491593..5c5166f6ba 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceSearchResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetFaceSearchResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetLabelDetectionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetLabelDetectionRequest.java index 456e863a02..62fa1181c6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetLabelDetectionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetLabelDetectionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -128,6 +128,11 @@ * NextToken request parameter with the token value returned from * the previous call to GetLabelDetection. *

    + *

    + * If you are retrieving results while using the Amazon Simple Notification + * Service, note that you will receive an "ERROR" notification if the job + * encounters an issue. + *

    */ public class GetLabelDetectionRequest extends AmazonWebServiceRequest implements Serializable { /** diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetLabelDetectionRequestMetadata.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetLabelDetectionRequestMetadata.java index b84924fb70..d74bb4e925 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetLabelDetectionRequestMetadata.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetLabelDetectionRequestMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetLabelDetectionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetLabelDetectionResult.java index 14fc85e73d..aa01e2dfd9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetLabelDetectionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetLabelDetectionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetMediaAnalysisJobRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetMediaAnalysisJobRequest.java new file mode 100644 index 0000000000..f118a68abb --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetMediaAnalysisJobRequest.java @@ -0,0 +1,147 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +import com.amazonaws.AmazonWebServiceRequest; + +/** + *

    + * Retrieves the results for a given media analysis job. Takes a + * JobId returned by StartMediaAnalysisJob. + *

    + */ +public class GetMediaAnalysisJobRequest extends AmazonWebServiceRequest implements Serializable { + /** + *

    + * Unique identifier for the media analysis job for which you want to + * retrieve results. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + */ + private String jobId; + + /** + *

    + * Unique identifier for the media analysis job for which you want to + * retrieve results. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @return

    + * Unique identifier for the media analysis job for which you want + * to retrieve results. + *

    + */ + public String getJobId() { + return jobId; + } + + /** + *

    + * Unique identifier for the media analysis job for which you want to + * retrieve results. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @param jobId

    + * Unique identifier for the media analysis job for which you + * want to retrieve results. + *

    + */ + public void setJobId(String jobId) { + this.jobId = jobId; + } + + /** + *

    + * Unique identifier for the media analysis job for which you want to + * retrieve results. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @param jobId

    + * Unique identifier for the media analysis job for which you + * want to retrieve results. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetMediaAnalysisJobRequest withJobId(String jobId) { + this.jobId = jobId; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getJobId() != null) + sb.append("JobId: " + getJobId()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getJobId() == null) ? 0 : getJobId().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof GetMediaAnalysisJobRequest == false) + return false; + GetMediaAnalysisJobRequest other = (GetMediaAnalysisJobRequest) obj; + + if (other.getJobId() == null ^ this.getJobId() == null) + return false; + if (other.getJobId() != null && other.getJobId().equals(this.getJobId()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetMediaAnalysisJobResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetMediaAnalysisJobResult.java new file mode 100644 index 0000000000..94f909ba5f --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetMediaAnalysisJobResult.java @@ -0,0 +1,901 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +public class GetMediaAnalysisJobResult implements Serializable { + /** + *

    + * The identifier for the media analysis job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + */ + private String jobId; + + /** + *

    + * The name of the media analysis job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: [a-zA-Z0-9_.\-]+
    + */ + private String jobName; + + /** + *

    + * Operation configurations that were provided during job creation. + *

    + */ + private MediaAnalysisOperationsConfig operationsConfig; + + /** + *

    + * The current status of the media analysis job. + *

    + *

    + * Constraints:
    + * Allowed Values: CREATED, QUEUED, IN_PROGRESS, SUCCEEDED, FAILED + */ + private String status; + + /** + *

    + * Details about the error that resulted in failure of the job. + *

    + */ + private MediaAnalysisJobFailureDetails failureDetails; + + /** + *

    + * The Unix date and time when the job was started. + *

    + */ + private java.util.Date creationTimestamp; + + /** + *

    + * The Unix date and time when the job finished. + *

    + */ + private java.util.Date completionTimestamp; + + /** + *

    + * Reference to the input manifest that was provided in the job creation + * request. + *

    + */ + private MediaAnalysisInput input; + + /** + *

    + * Output configuration that was provided in the creation request. + *

    + */ + private MediaAnalysisOutputConfig outputConfig; + + /** + *

    + * KMS Key that was provided in the creation request. + *

    + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + */ + private String kmsKeyId; + + /** + *

    + * Output manifest that contains prediction results. + *

    + */ + private MediaAnalysisResults results; + + /** + *

    + * The summary manifest provides statistics on input manifest and errors + * identified in the input manifest. + *

    + */ + private MediaAnalysisManifestSummary manifestSummary; + + /** + *

    + * The identifier for the media analysis job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @return

    + * The identifier for the media analysis job. + *

    + */ + public String getJobId() { + return jobId; + } + + /** + *

    + * The identifier for the media analysis job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @param jobId

    + * The identifier for the media analysis job. + *

    + */ + public void setJobId(String jobId) { + this.jobId = jobId; + } + + /** + *

    + * The identifier for the media analysis job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @param jobId

    + * The identifier for the media analysis job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetMediaAnalysisJobResult withJobId(String jobId) { + this.jobId = jobId; + return this; + } + + /** + *

    + * The name of the media analysis job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: [a-zA-Z0-9_.\-]+
    + * + * @return

    + * The name of the media analysis job. + *

    + */ + public String getJobName() { + return jobName; + } + + /** + *

    + * The name of the media analysis job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: [a-zA-Z0-9_.\-]+
    + * + * @param jobName

    + * The name of the media analysis job. + *

    + */ + public void setJobName(String jobName) { + this.jobName = jobName; + } + + /** + *

    + * The name of the media analysis job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: [a-zA-Z0-9_.\-]+
    + * + * @param jobName

    + * The name of the media analysis job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetMediaAnalysisJobResult withJobName(String jobName) { + this.jobName = jobName; + return this; + } + + /** + *

    + * Operation configurations that were provided during job creation. + *

    + * + * @return

    + * Operation configurations that were provided during job creation. + *

    + */ + public MediaAnalysisOperationsConfig getOperationsConfig() { + return operationsConfig; + } + + /** + *

    + * Operation configurations that were provided during job creation. + *

    + * + * @param operationsConfig

    + * Operation configurations that were provided during job + * creation. + *

    + */ + public void setOperationsConfig(MediaAnalysisOperationsConfig operationsConfig) { + this.operationsConfig = operationsConfig; + } + + /** + *

    + * Operation configurations that were provided during job creation. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param operationsConfig

    + * Operation configurations that were provided during job + * creation. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetMediaAnalysisJobResult withOperationsConfig( + MediaAnalysisOperationsConfig operationsConfig) { + this.operationsConfig = operationsConfig; + return this; + } + + /** + *

    + * The current status of the media analysis job. + *

    + *

    + * Constraints:
    + * Allowed Values: CREATED, QUEUED, IN_PROGRESS, SUCCEEDED, FAILED + * + * @return

    + * The current status of the media analysis job. + *

    + * @see MediaAnalysisJobStatus + */ + public String getStatus() { + return status; + } + + /** + *

    + * The current status of the media analysis job. + *

    + *

    + * Constraints:
    + * Allowed Values: CREATED, QUEUED, IN_PROGRESS, SUCCEEDED, FAILED + * + * @param status

    + * The current status of the media analysis job. + *

    + * @see MediaAnalysisJobStatus + */ + public void setStatus(String status) { + this.status = status; + } + + /** + *

    + * The current status of the media analysis job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: CREATED, QUEUED, IN_PROGRESS, SUCCEEDED, FAILED + * + * @param status

    + * The current status of the media analysis job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MediaAnalysisJobStatus + */ + public GetMediaAnalysisJobResult withStatus(String status) { + this.status = status; + return this; + } + + /** + *

    + * The current status of the media analysis job. + *

    + *

    + * Constraints:
    + * Allowed Values: CREATED, QUEUED, IN_PROGRESS, SUCCEEDED, FAILED + * + * @param status

    + * The current status of the media analysis job. + *

    + * @see MediaAnalysisJobStatus + */ + public void setStatus(MediaAnalysisJobStatus status) { + this.status = status.toString(); + } + + /** + *

    + * The current status of the media analysis job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: CREATED, QUEUED, IN_PROGRESS, SUCCEEDED, FAILED + * + * @param status

    + * The current status of the media analysis job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MediaAnalysisJobStatus + */ + public GetMediaAnalysisJobResult withStatus(MediaAnalysisJobStatus status) { + this.status = status.toString(); + return this; + } + + /** + *

    + * Details about the error that resulted in failure of the job. + *

    + * + * @return

    + * Details about the error that resulted in failure of the job. + *

    + */ + public MediaAnalysisJobFailureDetails getFailureDetails() { + return failureDetails; + } + + /** + *

    + * Details about the error that resulted in failure of the job. + *

    + * + * @param failureDetails

    + * Details about the error that resulted in failure of the job. + *

    + */ + public void setFailureDetails(MediaAnalysisJobFailureDetails failureDetails) { + this.failureDetails = failureDetails; + } + + /** + *

    + * Details about the error that resulted in failure of the job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param failureDetails

    + * Details about the error that resulted in failure of the job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetMediaAnalysisJobResult withFailureDetails( + MediaAnalysisJobFailureDetails failureDetails) { + this.failureDetails = failureDetails; + return this; + } + + /** + *

    + * The Unix date and time when the job was started. + *

    + * + * @return

    + * The Unix date and time when the job was started. + *

    + */ + public java.util.Date getCreationTimestamp() { + return creationTimestamp; + } + + /** + *

    + * The Unix date and time when the job was started. + *

    + * + * @param creationTimestamp

    + * The Unix date and time when the job was started. + *

    + */ + public void setCreationTimestamp(java.util.Date creationTimestamp) { + this.creationTimestamp = creationTimestamp; + } + + /** + *

    + * The Unix date and time when the job was started. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param creationTimestamp

    + * The Unix date and time when the job was started. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetMediaAnalysisJobResult withCreationTimestamp(java.util.Date creationTimestamp) { + this.creationTimestamp = creationTimestamp; + return this; + } + + /** + *

    + * The Unix date and time when the job finished. + *

    + * + * @return

    + * The Unix date and time when the job finished. + *

    + */ + public java.util.Date getCompletionTimestamp() { + return completionTimestamp; + } + + /** + *

    + * The Unix date and time when the job finished. + *

    + * + * @param completionTimestamp

    + * The Unix date and time when the job finished. + *

    + */ + public void setCompletionTimestamp(java.util.Date completionTimestamp) { + this.completionTimestamp = completionTimestamp; + } + + /** + *

    + * The Unix date and time when the job finished. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param completionTimestamp

    + * The Unix date and time when the job finished. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetMediaAnalysisJobResult withCompletionTimestamp(java.util.Date completionTimestamp) { + this.completionTimestamp = completionTimestamp; + return this; + } + + /** + *

    + * Reference to the input manifest that was provided in the job creation + * request. + *

    + * + * @return

    + * Reference to the input manifest that was provided in the job + * creation request. + *

    + */ + public MediaAnalysisInput getInput() { + return input; + } + + /** + *

    + * Reference to the input manifest that was provided in the job creation + * request. + *

    + * + * @param input

    + * Reference to the input manifest that was provided in the job + * creation request. + *

    + */ + public void setInput(MediaAnalysisInput input) { + this.input = input; + } + + /** + *

    + * Reference to the input manifest that was provided in the job creation + * request. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param input

    + * Reference to the input manifest that was provided in the job + * creation request. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetMediaAnalysisJobResult withInput(MediaAnalysisInput input) { + this.input = input; + return this; + } + + /** + *

    + * Output configuration that was provided in the creation request. + *

    + * + * @return

    + * Output configuration that was provided in the creation request. + *

    + */ + public MediaAnalysisOutputConfig getOutputConfig() { + return outputConfig; + } + + /** + *

    + * Output configuration that was provided in the creation request. + *

    + * + * @param outputConfig

    + * Output configuration that was provided in the creation + * request. + *

    + */ + public void setOutputConfig(MediaAnalysisOutputConfig outputConfig) { + this.outputConfig = outputConfig; + } + + /** + *

    + * Output configuration that was provided in the creation request. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param outputConfig

    + * Output configuration that was provided in the creation + * request. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetMediaAnalysisJobResult withOutputConfig(MediaAnalysisOutputConfig outputConfig) { + this.outputConfig = outputConfig; + return this; + } + + /** + *

    + * KMS Key that was provided in the creation request. + *

    + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + * + * @return

    + * KMS Key that was provided in the creation request. + *

    + */ + public String getKmsKeyId() { + return kmsKeyId; + } + + /** + *

    + * KMS Key that was provided in the creation request. + *

    + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + * + * @param kmsKeyId

    + * KMS Key that was provided in the creation request. + *

    + */ + public void setKmsKeyId(String kmsKeyId) { + this.kmsKeyId = kmsKeyId; + } + + /** + *

    + * KMS Key that was provided in the creation request. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + * + * @param kmsKeyId

    + * KMS Key that was provided in the creation request. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetMediaAnalysisJobResult withKmsKeyId(String kmsKeyId) { + this.kmsKeyId = kmsKeyId; + return this; + } + + /** + *

    + * Output manifest that contains prediction results. + *

    + * + * @return

    + * Output manifest that contains prediction results. + *

    + */ + public MediaAnalysisResults getResults() { + return results; + } + + /** + *

    + * Output manifest that contains prediction results. + *

    + * + * @param results

    + * Output manifest that contains prediction results. + *

    + */ + public void setResults(MediaAnalysisResults results) { + this.results = results; + } + + /** + *

    + * Output manifest that contains prediction results. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param results

    + * Output manifest that contains prediction results. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetMediaAnalysisJobResult withResults(MediaAnalysisResults results) { + this.results = results; + return this; + } + + /** + *

    + * The summary manifest provides statistics on input manifest and errors + * identified in the input manifest. + *

    + * + * @return

    + * The summary manifest provides statistics on input manifest and + * errors identified in the input manifest. + *

    + */ + public MediaAnalysisManifestSummary getManifestSummary() { + return manifestSummary; + } + + /** + *

    + * The summary manifest provides statistics on input manifest and errors + * identified in the input manifest. + *

    + * + * @param manifestSummary

    + * The summary manifest provides statistics on input manifest and + * errors identified in the input manifest. + *

    + */ + public void setManifestSummary(MediaAnalysisManifestSummary manifestSummary) { + this.manifestSummary = manifestSummary; + } + + /** + *

    + * The summary manifest provides statistics on input manifest and errors + * identified in the input manifest. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param manifestSummary

    + * The summary manifest provides statistics on input manifest and + * errors identified in the input manifest. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetMediaAnalysisJobResult withManifestSummary( + MediaAnalysisManifestSummary manifestSummary) { + this.manifestSummary = manifestSummary; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getJobId() != null) + sb.append("JobId: " + getJobId() + ","); + if (getJobName() != null) + sb.append("JobName: " + getJobName() + ","); + if (getOperationsConfig() != null) + sb.append("OperationsConfig: " + getOperationsConfig() + ","); + if (getStatus() != null) + sb.append("Status: " + getStatus() + ","); + if (getFailureDetails() != null) + sb.append("FailureDetails: " + getFailureDetails() + ","); + if (getCreationTimestamp() != null) + sb.append("CreationTimestamp: " + getCreationTimestamp() + ","); + if (getCompletionTimestamp() != null) + sb.append("CompletionTimestamp: " + getCompletionTimestamp() + ","); + if (getInput() != null) + sb.append("Input: " + getInput() + ","); + if (getOutputConfig() != null) + sb.append("OutputConfig: " + getOutputConfig() + ","); + if (getKmsKeyId() != null) + sb.append("KmsKeyId: " + getKmsKeyId() + ","); + if (getResults() != null) + sb.append("Results: " + getResults() + ","); + if (getManifestSummary() != null) + sb.append("ManifestSummary: " + getManifestSummary()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getJobId() == null) ? 0 : getJobId().hashCode()); + hashCode = prime * hashCode + ((getJobName() == null) ? 0 : getJobName().hashCode()); + hashCode = prime * hashCode + + ((getOperationsConfig() == null) ? 0 : getOperationsConfig().hashCode()); + hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); + hashCode = prime * hashCode + + ((getFailureDetails() == null) ? 0 : getFailureDetails().hashCode()); + hashCode = prime * hashCode + + ((getCreationTimestamp() == null) ? 0 : getCreationTimestamp().hashCode()); + hashCode = prime * hashCode + + ((getCompletionTimestamp() == null) ? 0 : getCompletionTimestamp().hashCode()); + hashCode = prime * hashCode + ((getInput() == null) ? 0 : getInput().hashCode()); + hashCode = prime * hashCode + + ((getOutputConfig() == null) ? 0 : getOutputConfig().hashCode()); + hashCode = prime * hashCode + ((getKmsKeyId() == null) ? 0 : getKmsKeyId().hashCode()); + hashCode = prime * hashCode + ((getResults() == null) ? 0 : getResults().hashCode()); + hashCode = prime * hashCode + + ((getManifestSummary() == null) ? 0 : getManifestSummary().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof GetMediaAnalysisJobResult == false) + return false; + GetMediaAnalysisJobResult other = (GetMediaAnalysisJobResult) obj; + + if (other.getJobId() == null ^ this.getJobId() == null) + return false; + if (other.getJobId() != null && other.getJobId().equals(this.getJobId()) == false) + return false; + if (other.getJobName() == null ^ this.getJobName() == null) + return false; + if (other.getJobName() != null && other.getJobName().equals(this.getJobName()) == false) + return false; + if (other.getOperationsConfig() == null ^ this.getOperationsConfig() == null) + return false; + if (other.getOperationsConfig() != null + && other.getOperationsConfig().equals(this.getOperationsConfig()) == false) + return false; + if (other.getStatus() == null ^ this.getStatus() == null) + return false; + if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) + return false; + if (other.getFailureDetails() == null ^ this.getFailureDetails() == null) + return false; + if (other.getFailureDetails() != null + && other.getFailureDetails().equals(this.getFailureDetails()) == false) + return false; + if (other.getCreationTimestamp() == null ^ this.getCreationTimestamp() == null) + return false; + if (other.getCreationTimestamp() != null + && other.getCreationTimestamp().equals(this.getCreationTimestamp()) == false) + return false; + if (other.getCompletionTimestamp() == null ^ this.getCompletionTimestamp() == null) + return false; + if (other.getCompletionTimestamp() != null + && other.getCompletionTimestamp().equals(this.getCompletionTimestamp()) == false) + return false; + if (other.getInput() == null ^ this.getInput() == null) + return false; + if (other.getInput() != null && other.getInput().equals(this.getInput()) == false) + return false; + if (other.getOutputConfig() == null ^ this.getOutputConfig() == null) + return false; + if (other.getOutputConfig() != null + && other.getOutputConfig().equals(this.getOutputConfig()) == false) + return false; + if (other.getKmsKeyId() == null ^ this.getKmsKeyId() == null) + return false; + if (other.getKmsKeyId() != null && other.getKmsKeyId().equals(this.getKmsKeyId()) == false) + return false; + if (other.getResults() == null ^ this.getResults() == null) + return false; + if (other.getResults() != null && other.getResults().equals(this.getResults()) == false) + return false; + if (other.getManifestSummary() == null ^ this.getManifestSummary() == null) + return false; + if (other.getManifestSummary() != null + && other.getManifestSummary().equals(this.getManifestSummary()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetPersonTrackingRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetPersonTrackingRequest.java index 608f1eab1f..05c1fbd200 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetPersonTrackingRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetPersonTrackingRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetPersonTrackingResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetPersonTrackingResult.java index 26ee35e14b..16d7bbc2f4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetPersonTrackingResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetPersonTrackingResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetSegmentDetectionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetSegmentDetectionRequest.java index ebcb1f35d4..42dbb01c34 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetSegmentDetectionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetSegmentDetectionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetSegmentDetectionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetSegmentDetectionResult.java index 8db97d08ae..80bd97f1d4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetSegmentDetectionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetSegmentDetectionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetTextDetectionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetTextDetectionRequest.java index 65463f09e7..4b8a6e7e95 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetTextDetectionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetTextDetectionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetTextDetectionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetTextDetectionResult.java index 0daa172e17..707ddce40a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetTextDetectionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetTextDetectionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GroundTruthManifest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GroundTruthManifest.java index 466d4b7d1c..b3b8399572 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GroundTruthManifest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GroundTruthManifest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopActivationOutput.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopActivationOutput.java index 4b734202af..e91e913ff8 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopActivationOutput.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopActivationOutput.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopConfig.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopConfig.java index e70370a92c..bbf04333d3 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopConfig.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopDataAttributes.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopDataAttributes.java index 41c583cc34..e8f5be7845 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopDataAttributes.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopDataAttributes.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopQuotaExceededException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopQuotaExceededException.java index c1f7d04895..e3f5258f9f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopQuotaExceededException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/HumanLoopQuotaExceededException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/IdempotentParameterMismatchException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/IdempotentParameterMismatchException.java index 58454045bc..c1b7f2e72e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/IdempotentParameterMismatchException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/IdempotentParameterMismatchException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Image.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Image.java index 53b8e82b55..b0ad1594c7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Image.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Image.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ImageQuality.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ImageQuality.java index 5da029893a..aae377d7aa 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ImageQuality.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ImageQuality.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ImageTooLargeException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ImageTooLargeException.java index f68a3bc7ee..b038314cce 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ImageTooLargeException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ImageTooLargeException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/IndexFacesRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/IndexFacesRequest.java index 42f83bd4b9..bc42e999c8 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/IndexFacesRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/IndexFacesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/IndexFacesResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/IndexFacesResult.java index aeb910e008..270ab68e5e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/IndexFacesResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/IndexFacesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Instance.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Instance.java index 170d1dc51b..63e39545c2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Instance.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Instance.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InternalServerErrorException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InternalServerErrorException.java index 58a7aab1f7..2f0682b330 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InternalServerErrorException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InternalServerErrorException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidImageFormatException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidImageFormatException.java index 70537ca726..b158b0fd75 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidImageFormatException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidImageFormatException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidManifestException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidManifestException.java new file mode 100644 index 0000000000..3b0e335dd6 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidManifestException.java @@ -0,0 +1,38 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import com.amazonaws.AmazonServiceException; + +/** + *

    + * Indicates that a provided manifest file is empty or larger than the allowed + * limit. + *

    + */ +public class InvalidManifestException extends AmazonServiceException { + private static final long serialVersionUID = 1L; + + /** + * Constructs a new InvalidManifestException with the specified error + * message. + * + * @param message Describes the error encountered. + */ + public InvalidManifestException(String message) { + super(message); + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidPaginationTokenException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidPaginationTokenException.java index 8debd1e1c5..1f280f39df 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidPaginationTokenException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidPaginationTokenException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidParameterException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidParameterException.java index efe0aedc02..44b6264ef6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidParameterException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidParameterException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidPolicyRevisionIdException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidPolicyRevisionIdException.java index 8b91b40e3e..3b7ed999ab 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidPolicyRevisionIdException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidPolicyRevisionIdException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidS3ObjectException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidS3ObjectException.java index 5c17a72234..8f2d0d36ce 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidS3ObjectException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/InvalidS3ObjectException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KinesisDataStream.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KinesisDataStream.java index 4f61507741..ac7f5028ef 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KinesisDataStream.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KinesisDataStream.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KinesisVideoStream.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KinesisVideoStream.java index 50f7a8b996..1e9c7731d4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KinesisVideoStream.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KinesisVideoStream.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KinesisVideoStreamStartSelector.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KinesisVideoStreamStartSelector.java index d57b4334fa..6fa44853dd 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KinesisVideoStreamStartSelector.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KinesisVideoStreamStartSelector.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KnownGender.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KnownGender.java index c1e3644c9e..73eb4dfe0a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KnownGender.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KnownGender.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KnownGenderType.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KnownGenderType.java index 03ad031ea7..4ab460a9ea 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KnownGenderType.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KnownGenderType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Label.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Label.java index f6cb2a64a6..d529bc48aa 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Label.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Label.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelAlias.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelAlias.java index 61a3769867..0529ae3d66 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelAlias.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelAlias.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelCategory.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelCategory.java index c3d3f39a8e..b19d9fc6d9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelCategory.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelCategory.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetection.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetection.java index bfc9e82171..408e79208c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetection.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetection.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionAggregateBy.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionAggregateBy.java index 3b472696b1..1a170062f1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionAggregateBy.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionAggregateBy.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionFeatureName.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionFeatureName.java index 040d797e04..8662ed802d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionFeatureName.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionFeatureName.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionSettings.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionSettings.java index 24d49889d3..af0cf58c61 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionSettings.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionSortBy.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionSortBy.java index b1941236f1..4dfa078c3f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionSortBy.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LabelDetectionSortBy.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Landmark.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Landmark.java index 8c1fd8ddd7..7434ec4574 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Landmark.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Landmark.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LandmarkType.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LandmarkType.java index 7f8064ffc7..27a8217bba 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LandmarkType.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LandmarkType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LimitExceededException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LimitExceededException.java index 6f0511dc47..8d1a37f9b6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LimitExceededException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LimitExceededException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,8 +20,8 @@ /** *

    * An Amazon Rekognition service limit was exceeded. For example, if you start - * too many Amazon Rekognition Video jobs concurrently, calls to start - * operations (StartLabelDetection, for example) will raise a + * too many jobs concurrently, subsequent calls to start operations (ex: + * StartLabelDetection) will raise a * LimitExceededException exception (HTTP status code: 400) until * the number of concurrently running jobs is below the Amazon Rekognition * service limit. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListCollectionsRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListCollectionsRequest.java index de568d2443..e70cc9ff35 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListCollectionsRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListCollectionsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListCollectionsResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListCollectionsResult.java index 978249250a..474829327c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListCollectionsResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListCollectionsResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListDatasetEntriesRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListDatasetEntriesRequest.java index 2735f76ce0..2fe205fb9a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListDatasetEntriesRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListDatasetEntriesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,6 +20,11 @@ import com.amazonaws.AmazonWebServiceRequest; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Lists the entries (images) within a dataset. An entry is a JSON Line that * contains the information for a single image, including the image location, diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListDatasetEntriesResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListDatasetEntriesResult.java index 371e25b01f..0e9edc0b0c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListDatasetEntriesResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListDatasetEntriesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListDatasetLabelsRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListDatasetLabelsRequest.java index 4956b15ac2..3ed4bce4d9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListDatasetLabelsRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListDatasetLabelsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,6 +20,11 @@ import com.amazonaws.AmazonWebServiceRequest; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Lists the labels in a dataset. Amazon Rekognition Custom Labels uses labels * to describe images. For more information, see + * Returns a list of media analysis jobs. Results are sorted by + * CreationTimestamp in descending order. + *

    + */ +public class ListMediaAnalysisJobsRequest extends AmazonWebServiceRequest implements Serializable { + /** + *

    + * Pagination token, if the previous response was incomplete. + *

    + *

    + * Constraints:
    + * Length: - 1024
    + */ + private String nextToken; + + /** + *

    + * The maximum number of results to return per paginated call. The largest + * value user can specify is 100. If user specifies a value greater than + * 100, an InvalidParameterException error occurs. The default + * value is 100. + *

    + *

    + * Constraints:
    + * Range: 1 - 100
    + */ + private Integer maxResults; + + /** + *

    + * Pagination token, if the previous response was incomplete. + *

    + *

    + * Constraints:
    + * Length: - 1024
    + * + * @return

    + * Pagination token, if the previous response was incomplete. + *

    + */ + public String getNextToken() { + return nextToken; + } + + /** + *

    + * Pagination token, if the previous response was incomplete. + *

    + *

    + * Constraints:
    + * Length: - 1024
    + * + * @param nextToken

    + * Pagination token, if the previous response was incomplete. + *

    + */ + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + /** + *

    + * Pagination token, if the previous response was incomplete. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: - 1024
    + * + * @param nextToken

    + * Pagination token, if the previous response was incomplete. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ListMediaAnalysisJobsRequest withNextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + *

    + * The maximum number of results to return per paginated call. The largest + * value user can specify is 100. If user specifies a value greater than + * 100, an InvalidParameterException error occurs. The default + * value is 100. + *

    + *

    + * Constraints:
    + * Range: 1 - 100
    + * + * @return

    + * The maximum number of results to return per paginated call. The + * largest value user can specify is 100. If user specifies a value + * greater than 100, an InvalidParameterException error + * occurs. The default value is 100. + *

    + */ + public Integer getMaxResults() { + return maxResults; + } + + /** + *

    + * The maximum number of results to return per paginated call. The largest + * value user can specify is 100. If user specifies a value greater than + * 100, an InvalidParameterException error occurs. The default + * value is 100. + *

    + *

    + * Constraints:
    + * Range: 1 - 100
    + * + * @param maxResults

    + * The maximum number of results to return per paginated call. + * The largest value user can specify is 100. If user specifies a + * value greater than 100, an + * InvalidParameterException error occurs. The + * default value is 100. + *

    + */ + public void setMaxResults(Integer maxResults) { + this.maxResults = maxResults; + } + + /** + *

    + * The maximum number of results to return per paginated call. The largest + * value user can specify is 100. If user specifies a value greater than + * 100, an InvalidParameterException error occurs. The default + * value is 100. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Range: 1 - 100
    + * + * @param maxResults

    + * The maximum number of results to return per paginated call. + * The largest value user can specify is 100. If user specifies a + * value greater than 100, an + * InvalidParameterException error occurs. The + * default value is 100. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ListMediaAnalysisJobsRequest withMaxResults(Integer maxResults) { + this.maxResults = maxResults; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getNextToken() != null) + sb.append("NextToken: " + getNextToken() + ","); + if (getMaxResults() != null) + sb.append("MaxResults: " + getMaxResults()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode()); + hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof ListMediaAnalysisJobsRequest == false) + return false; + ListMediaAnalysisJobsRequest other = (ListMediaAnalysisJobsRequest) obj; + + if (other.getNextToken() == null ^ this.getNextToken() == null) + return false; + if (other.getNextToken() != null + && other.getNextToken().equals(this.getNextToken()) == false) + return false; + if (other.getMaxResults() == null ^ this.getMaxResults() == null) + return false; + if (other.getMaxResults() != null + && other.getMaxResults().equals(this.getMaxResults()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListMediaAnalysisJobsResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListMediaAnalysisJobsResult.java new file mode 100644 index 0000000000..eafac06cb8 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListMediaAnalysisJobsResult.java @@ -0,0 +1,224 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +public class ListMediaAnalysisJobsResult implements Serializable { + /** + *

    + * Pagination token, if the previous response was incomplete. + *

    + *

    + * Constraints:
    + * Length: - 1024
    + */ + private String nextToken; + + /** + *

    + * Contains a list of all media analysis jobs. + *

    + */ + private java.util.List mediaAnalysisJobs; + + /** + *

    + * Pagination token, if the previous response was incomplete. + *

    + *

    + * Constraints:
    + * Length: - 1024
    + * + * @return

    + * Pagination token, if the previous response was incomplete. + *

    + */ + public String getNextToken() { + return nextToken; + } + + /** + *

    + * Pagination token, if the previous response was incomplete. + *

    + *

    + * Constraints:
    + * Length: - 1024
    + * + * @param nextToken

    + * Pagination token, if the previous response was incomplete. + *

    + */ + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + /** + *

    + * Pagination token, if the previous response was incomplete. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: - 1024
    + * + * @param nextToken

    + * Pagination token, if the previous response was incomplete. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ListMediaAnalysisJobsResult withNextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + *

    + * Contains a list of all media analysis jobs. + *

    + * + * @return

    + * Contains a list of all media analysis jobs. + *

    + */ + public java.util.List getMediaAnalysisJobs() { + return mediaAnalysisJobs; + } + + /** + *

    + * Contains a list of all media analysis jobs. + *

    + * + * @param mediaAnalysisJobs

    + * Contains a list of all media analysis jobs. + *

    + */ + public void setMediaAnalysisJobs( + java.util.Collection mediaAnalysisJobs) { + if (mediaAnalysisJobs == null) { + this.mediaAnalysisJobs = null; + return; + } + + this.mediaAnalysisJobs = new java.util.ArrayList( + mediaAnalysisJobs); + } + + /** + *

    + * Contains a list of all media analysis jobs. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param mediaAnalysisJobs

    + * Contains a list of all media analysis jobs. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ListMediaAnalysisJobsResult withMediaAnalysisJobs( + MediaAnalysisJobDescription... mediaAnalysisJobs) { + if (getMediaAnalysisJobs() == null) { + this.mediaAnalysisJobs = new java.util.ArrayList( + mediaAnalysisJobs.length); + } + for (MediaAnalysisJobDescription value : mediaAnalysisJobs) { + this.mediaAnalysisJobs.add(value); + } + return this; + } + + /** + *

    + * Contains a list of all media analysis jobs. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param mediaAnalysisJobs

    + * Contains a list of all media analysis jobs. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ListMediaAnalysisJobsResult withMediaAnalysisJobs( + java.util.Collection mediaAnalysisJobs) { + setMediaAnalysisJobs(mediaAnalysisJobs); + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getNextToken() != null) + sb.append("NextToken: " + getNextToken() + ","); + if (getMediaAnalysisJobs() != null) + sb.append("MediaAnalysisJobs: " + getMediaAnalysisJobs()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode()); + hashCode = prime * hashCode + + ((getMediaAnalysisJobs() == null) ? 0 : getMediaAnalysisJobs().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof ListMediaAnalysisJobsResult == false) + return false; + ListMediaAnalysisJobsResult other = (ListMediaAnalysisJobsResult) obj; + + if (other.getNextToken() == null ^ this.getNextToken() == null) + return false; + if (other.getNextToken() != null + && other.getNextToken().equals(this.getNextToken()) == false) + return false; + if (other.getMediaAnalysisJobs() == null ^ this.getMediaAnalysisJobs() == null) + return false; + if (other.getMediaAnalysisJobs() != null + && other.getMediaAnalysisJobs().equals(this.getMediaAnalysisJobs()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListProjectPoliciesRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListProjectPoliciesRequest.java index 7900c860af..337574b7ab 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListProjectPoliciesRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListProjectPoliciesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,6 +20,11 @@ import com.amazonaws.AmazonWebServiceRequest; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Gets a list of the project policies attached to a project. *

    diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListProjectPoliciesResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListProjectPoliciesResult.java index b76de78f94..e8f6a4142c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListProjectPoliciesResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListProjectPoliciesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListStreamProcessorsRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListStreamProcessorsRequest.java index e914f24fb1..c89c1de048 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListStreamProcessorsRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListStreamProcessorsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListStreamProcessorsResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListStreamProcessorsResult.java index feb5158457..d17690c7ea 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListStreamProcessorsResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListStreamProcessorsResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListTagsForResourceRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListTagsForResourceRequest.java index f119486525..61ec9927d8 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListTagsForResourceRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListTagsForResourceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListTagsForResourceResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListTagsForResourceResult.java index dae44a47bc..ce9e4fe591 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListTagsForResourceResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListTagsForResourceResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListUsersRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListUsersRequest.java index 712240ce96..3d11234c82 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListUsersRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListUsersRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListUsersResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListUsersResult.java index 10ee573a16..7d3bcae870 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListUsersResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListUsersResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LivenessOutputConfig.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LivenessOutputConfig.java index 1bb268623a..e860b3e4ca 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LivenessOutputConfig.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LivenessOutputConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LivenessSessionStatus.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LivenessSessionStatus.java index 6ea21cd772..623d84cfeb 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LivenessSessionStatus.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/LivenessSessionStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MalformedPolicyDocumentException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MalformedPolicyDocumentException.java index 73359782c6..bcd7606a70 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MalformedPolicyDocumentException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MalformedPolicyDocumentException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MatchedUser.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MatchedUser.java index c91f727b8e..cec6d6f2bc 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MatchedUser.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MatchedUser.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisDetectModerationLabelsConfig.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisDetectModerationLabelsConfig.java new file mode 100644 index 0000000000..426772eabd --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisDetectModerationLabelsConfig.java @@ -0,0 +1,243 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +/** + *

    + * Configuration for Moderation Labels Detection. + *

    + */ +public class MediaAnalysisDetectModerationLabelsConfig implements Serializable { + /** + *

    + * Specifies the minimum confidence level for the moderation labels to + * return. Amazon Rekognition doesn't return any labels with a confidence + * level lower than this specified value. + *

    + *

    + * Constraints:
    + * Length: 0.0 - 100.0
    + */ + private Float minConfidence; + + /** + *

    + * Specifies the custom moderation model to be used during the label + * detection job. If not provided the pre-trained model is used. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * (^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA + * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    + */ + private String projectVersion; + + /** + *

    + * Specifies the minimum confidence level for the moderation labels to + * return. Amazon Rekognition doesn't return any labels with a confidence + * level lower than this specified value. + *

    + *

    + * Constraints:
    + * Length: 0.0 - 100.0
    + * + * @return

    + * Specifies the minimum confidence level for the moderation labels + * to return. Amazon Rekognition doesn't return any labels with a + * confidence level lower than this specified value. + *

    + */ + public Float getMinConfidence() { + return minConfidence; + } + + /** + *

    + * Specifies the minimum confidence level for the moderation labels to + * return. Amazon Rekognition doesn't return any labels with a confidence + * level lower than this specified value. + *

    + *

    + * Constraints:
    + * Length: 0.0 - 100.0
    + * + * @param minConfidence

    + * Specifies the minimum confidence level for the moderation + * labels to return. Amazon Rekognition doesn't return any labels + * with a confidence level lower than this specified value. + *

    + */ + public void setMinConfidence(Float minConfidence) { + this.minConfidence = minConfidence; + } + + /** + *

    + * Specifies the minimum confidence level for the moderation labels to + * return. Amazon Rekognition doesn't return any labels with a confidence + * level lower than this specified value. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 0.0 - 100.0
    + * + * @param minConfidence

    + * Specifies the minimum confidence level for the moderation + * labels to return. Amazon Rekognition doesn't return any labels + * with a confidence level lower than this specified value. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisDetectModerationLabelsConfig withMinConfidence(Float minConfidence) { + this.minConfidence = minConfidence; + return this; + } + + /** + *

    + * Specifies the custom moderation model to be used during the label + * detection job. If not provided the pre-trained model is used. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * (^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA + * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    + * + * @return

    + * Specifies the custom moderation model to be used during the label + * detection job. If not provided the pre-trained model is used. + *

    + */ + public String getProjectVersion() { + return projectVersion; + } + + /** + *

    + * Specifies the custom moderation model to be used during the label + * detection job. If not provided the pre-trained model is used. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * (^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA + * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    + * + * @param projectVersion

    + * Specifies the custom moderation model to be used during the + * label detection job. If not provided the pre-trained model is + * used. + *

    + */ + public void setProjectVersion(String projectVersion) { + this.projectVersion = projectVersion; + } + + /** + *

    + * Specifies the custom moderation model to be used during the label + * detection job. If not provided the pre-trained model is used. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * (^arn:[a-z\d-]+:rekognition:[a-z\d-]+:\d{12}:project\/[a-zA + * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    + * + * @param projectVersion

    + * Specifies the custom moderation model to be used during the + * label detection job. If not provided the pre-trained model is + * used. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisDetectModerationLabelsConfig withProjectVersion(String projectVersion) { + this.projectVersion = projectVersion; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getMinConfidence() != null) + sb.append("MinConfidence: " + getMinConfidence() + ","); + if (getProjectVersion() != null) + sb.append("ProjectVersion: " + getProjectVersion()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + + ((getMinConfidence() == null) ? 0 : getMinConfidence().hashCode()); + hashCode = prime * hashCode + + ((getProjectVersion() == null) ? 0 : getProjectVersion().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof MediaAnalysisDetectModerationLabelsConfig == false) + return false; + MediaAnalysisDetectModerationLabelsConfig other = (MediaAnalysisDetectModerationLabelsConfig) obj; + + if (other.getMinConfidence() == null ^ this.getMinConfidence() == null) + return false; + if (other.getMinConfidence() != null + && other.getMinConfidence().equals(this.getMinConfidence()) == false) + return false; + if (other.getProjectVersion() == null ^ this.getProjectVersion() == null) + return false; + if (other.getProjectVersion() != null + && other.getProjectVersion().equals(this.getProjectVersion()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisInput.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisInput.java new file mode 100644 index 0000000000..63a101ca2c --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisInput.java @@ -0,0 +1,187 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +/** + *

    + * Contains input information for a media analysis job. + *

    + */ +public class MediaAnalysisInput implements Serializable { + /** + *

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match the + * region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must have + * permission to access the S3 object. For more information, see How Amazon + * Rekognition works with IAM in the Amazon Rekognition Developer Guide. + *

    + */ + private S3Object s3Object; + + /** + *

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match the + * region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must have + * permission to access the S3 object. For more information, see How Amazon + * Rekognition works with IAM in the Amazon Rekognition Developer Guide. + *

    + * + * @return

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match + * the region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must + * have permission to access the S3 object. For more information, + * see How Amazon Rekognition works with IAM in the Amazon + * Rekognition Developer Guide. + *

    + */ + public S3Object getS3Object() { + return s3Object; + } + + /** + *

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match the + * region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must have + * permission to access the S3 object. For more information, see How Amazon + * Rekognition works with IAM in the Amazon Rekognition Developer Guide. + *

    + * + * @param s3Object

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must + * match the region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must + * have permission to access the S3 object. For more information, + * see How Amazon Rekognition works with IAM in the Amazon + * Rekognition Developer Guide. + *

    + */ + public void setS3Object(S3Object s3Object) { + this.s3Object = s3Object; + } + + /** + *

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match the + * region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must have + * permission to access the S3 object. For more information, see How Amazon + * Rekognition works with IAM in the Amazon Rekognition Developer Guide. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param s3Object

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must + * match the region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must + * have permission to access the S3 object. For more information, + * see How Amazon Rekognition works with IAM in the Amazon + * Rekognition Developer Guide. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisInput withS3Object(S3Object s3Object) { + this.s3Object = s3Object; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getS3Object() != null) + sb.append("S3Object: " + getS3Object()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getS3Object() == null) ? 0 : getS3Object().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof MediaAnalysisInput == false) + return false; + MediaAnalysisInput other = (MediaAnalysisInput) obj; + + if (other.getS3Object() == null ^ this.getS3Object() == null) + return false; + if (other.getS3Object() != null && other.getS3Object().equals(this.getS3Object()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobDescription.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobDescription.java new file mode 100644 index 0000000000..3775506f4f --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobDescription.java @@ -0,0 +1,906 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +/** + *

    + * Description for a media analysis job. + *

    + */ +public class MediaAnalysisJobDescription implements Serializable { + /** + *

    + * The identifier for a media analysis job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + */ + private String jobId; + + /** + *

    + * The name of a media analysis job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: [a-zA-Z0-9_.\-]+
    + */ + private String jobName; + + /** + *

    + * Operation configurations that were provided during job creation. + *

    + */ + private MediaAnalysisOperationsConfig operationsConfig; + + /** + *

    + * The status of the media analysis job being retrieved. + *

    + *

    + * Constraints:
    + * Allowed Values: CREATED, QUEUED, IN_PROGRESS, SUCCEEDED, FAILED + */ + private String status; + + /** + *

    + * Details about the error that resulted in failure of the job. + *

    + */ + private MediaAnalysisJobFailureDetails failureDetails; + + /** + *

    + * The Unix date and time when the job was started. + *

    + */ + private java.util.Date creationTimestamp; + + /** + *

    + * The Unix date and time when the job finished. + *

    + */ + private java.util.Date completionTimestamp; + + /** + *

    + * Reference to the input manifest that was provided in the job creation + * request. + *

    + */ + private MediaAnalysisInput input; + + /** + *

    + * Output configuration that was provided in the creation request. + *

    + */ + private MediaAnalysisOutputConfig outputConfig; + + /** + *

    + * KMS Key that was provided in the creation request. + *

    + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + */ + private String kmsKeyId; + + /** + *

    + * Output manifest that contains prediction results. + *

    + */ + private MediaAnalysisResults results; + + /** + *

    + * Provides statistics on input manifest and errors identified in the input + * manifest. + *

    + */ + private MediaAnalysisManifestSummary manifestSummary; + + /** + *

    + * The identifier for a media analysis job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @return

    + * The identifier for a media analysis job. + *

    + */ + public String getJobId() { + return jobId; + } + + /** + *

    + * The identifier for a media analysis job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @param jobId

    + * The identifier for a media analysis job. + *

    + */ + public void setJobId(String jobId) { + this.jobId = jobId; + } + + /** + *

    + * The identifier for a media analysis job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @param jobId

    + * The identifier for a media analysis job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisJobDescription withJobId(String jobId) { + this.jobId = jobId; + return this; + } + + /** + *

    + * The name of a media analysis job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: [a-zA-Z0-9_.\-]+
    + * + * @return

    + * The name of a media analysis job. + *

    + */ + public String getJobName() { + return jobName; + } + + /** + *

    + * The name of a media analysis job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: [a-zA-Z0-9_.\-]+
    + * + * @param jobName

    + * The name of a media analysis job. + *

    + */ + public void setJobName(String jobName) { + this.jobName = jobName; + } + + /** + *

    + * The name of a media analysis job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: [a-zA-Z0-9_.\-]+
    + * + * @param jobName

    + * The name of a media analysis job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisJobDescription withJobName(String jobName) { + this.jobName = jobName; + return this; + } + + /** + *

    + * Operation configurations that were provided during job creation. + *

    + * + * @return

    + * Operation configurations that were provided during job creation. + *

    + */ + public MediaAnalysisOperationsConfig getOperationsConfig() { + return operationsConfig; + } + + /** + *

    + * Operation configurations that were provided during job creation. + *

    + * + * @param operationsConfig

    + * Operation configurations that were provided during job + * creation. + *

    + */ + public void setOperationsConfig(MediaAnalysisOperationsConfig operationsConfig) { + this.operationsConfig = operationsConfig; + } + + /** + *

    + * Operation configurations that were provided during job creation. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param operationsConfig

    + * Operation configurations that were provided during job + * creation. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisJobDescription withOperationsConfig( + MediaAnalysisOperationsConfig operationsConfig) { + this.operationsConfig = operationsConfig; + return this; + } + + /** + *

    + * The status of the media analysis job being retrieved. + *

    + *

    + * Constraints:
    + * Allowed Values: CREATED, QUEUED, IN_PROGRESS, SUCCEEDED, FAILED + * + * @return

    + * The status of the media analysis job being retrieved. + *

    + * @see MediaAnalysisJobStatus + */ + public String getStatus() { + return status; + } + + /** + *

    + * The status of the media analysis job being retrieved. + *

    + *

    + * Constraints:
    + * Allowed Values: CREATED, QUEUED, IN_PROGRESS, SUCCEEDED, FAILED + * + * @param status

    + * The status of the media analysis job being retrieved. + *

    + * @see MediaAnalysisJobStatus + */ + public void setStatus(String status) { + this.status = status; + } + + /** + *

    + * The status of the media analysis job being retrieved. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: CREATED, QUEUED, IN_PROGRESS, SUCCEEDED, FAILED + * + * @param status

    + * The status of the media analysis job being retrieved. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MediaAnalysisJobStatus + */ + public MediaAnalysisJobDescription withStatus(String status) { + this.status = status; + return this; + } + + /** + *

    + * The status of the media analysis job being retrieved. + *

    + *

    + * Constraints:
    + * Allowed Values: CREATED, QUEUED, IN_PROGRESS, SUCCEEDED, FAILED + * + * @param status

    + * The status of the media analysis job being retrieved. + *

    + * @see MediaAnalysisJobStatus + */ + public void setStatus(MediaAnalysisJobStatus status) { + this.status = status.toString(); + } + + /** + *

    + * The status of the media analysis job being retrieved. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: CREATED, QUEUED, IN_PROGRESS, SUCCEEDED, FAILED + * + * @param status

    + * The status of the media analysis job being retrieved. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MediaAnalysisJobStatus + */ + public MediaAnalysisJobDescription withStatus(MediaAnalysisJobStatus status) { + this.status = status.toString(); + return this; + } + + /** + *

    + * Details about the error that resulted in failure of the job. + *

    + * + * @return

    + * Details about the error that resulted in failure of the job. + *

    + */ + public MediaAnalysisJobFailureDetails getFailureDetails() { + return failureDetails; + } + + /** + *

    + * Details about the error that resulted in failure of the job. + *

    + * + * @param failureDetails

    + * Details about the error that resulted in failure of the job. + *

    + */ + public void setFailureDetails(MediaAnalysisJobFailureDetails failureDetails) { + this.failureDetails = failureDetails; + } + + /** + *

    + * Details about the error that resulted in failure of the job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param failureDetails

    + * Details about the error that resulted in failure of the job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisJobDescription withFailureDetails( + MediaAnalysisJobFailureDetails failureDetails) { + this.failureDetails = failureDetails; + return this; + } + + /** + *

    + * The Unix date and time when the job was started. + *

    + * + * @return

    + * The Unix date and time when the job was started. + *

    + */ + public java.util.Date getCreationTimestamp() { + return creationTimestamp; + } + + /** + *

    + * The Unix date and time when the job was started. + *

    + * + * @param creationTimestamp

    + * The Unix date and time when the job was started. + *

    + */ + public void setCreationTimestamp(java.util.Date creationTimestamp) { + this.creationTimestamp = creationTimestamp; + } + + /** + *

    + * The Unix date and time when the job was started. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param creationTimestamp

    + * The Unix date and time when the job was started. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisJobDescription withCreationTimestamp(java.util.Date creationTimestamp) { + this.creationTimestamp = creationTimestamp; + return this; + } + + /** + *

    + * The Unix date and time when the job finished. + *

    + * + * @return

    + * The Unix date and time when the job finished. + *

    + */ + public java.util.Date getCompletionTimestamp() { + return completionTimestamp; + } + + /** + *

    + * The Unix date and time when the job finished. + *

    + * + * @param completionTimestamp

    + * The Unix date and time when the job finished. + *

    + */ + public void setCompletionTimestamp(java.util.Date completionTimestamp) { + this.completionTimestamp = completionTimestamp; + } + + /** + *

    + * The Unix date and time when the job finished. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param completionTimestamp

    + * The Unix date and time when the job finished. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisJobDescription withCompletionTimestamp(java.util.Date completionTimestamp) { + this.completionTimestamp = completionTimestamp; + return this; + } + + /** + *

    + * Reference to the input manifest that was provided in the job creation + * request. + *

    + * + * @return

    + * Reference to the input manifest that was provided in the job + * creation request. + *

    + */ + public MediaAnalysisInput getInput() { + return input; + } + + /** + *

    + * Reference to the input manifest that was provided in the job creation + * request. + *

    + * + * @param input

    + * Reference to the input manifest that was provided in the job + * creation request. + *

    + */ + public void setInput(MediaAnalysisInput input) { + this.input = input; + } + + /** + *

    + * Reference to the input manifest that was provided in the job creation + * request. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param input

    + * Reference to the input manifest that was provided in the job + * creation request. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisJobDescription withInput(MediaAnalysisInput input) { + this.input = input; + return this; + } + + /** + *

    + * Output configuration that was provided in the creation request. + *

    + * + * @return

    + * Output configuration that was provided in the creation request. + *

    + */ + public MediaAnalysisOutputConfig getOutputConfig() { + return outputConfig; + } + + /** + *

    + * Output configuration that was provided in the creation request. + *

    + * + * @param outputConfig

    + * Output configuration that was provided in the creation + * request. + *

    + */ + public void setOutputConfig(MediaAnalysisOutputConfig outputConfig) { + this.outputConfig = outputConfig; + } + + /** + *

    + * Output configuration that was provided in the creation request. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param outputConfig

    + * Output configuration that was provided in the creation + * request. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisJobDescription withOutputConfig(MediaAnalysisOutputConfig outputConfig) { + this.outputConfig = outputConfig; + return this; + } + + /** + *

    + * KMS Key that was provided in the creation request. + *

    + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + * + * @return

    + * KMS Key that was provided in the creation request. + *

    + */ + public String getKmsKeyId() { + return kmsKeyId; + } + + /** + *

    + * KMS Key that was provided in the creation request. + *

    + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + * + * @param kmsKeyId

    + * KMS Key that was provided in the creation request. + *

    + */ + public void setKmsKeyId(String kmsKeyId) { + this.kmsKeyId = kmsKeyId; + } + + /** + *

    + * KMS Key that was provided in the creation request. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + * + * @param kmsKeyId

    + * KMS Key that was provided in the creation request. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisJobDescription withKmsKeyId(String kmsKeyId) { + this.kmsKeyId = kmsKeyId; + return this; + } + + /** + *

    + * Output manifest that contains prediction results. + *

    + * + * @return

    + * Output manifest that contains prediction results. + *

    + */ + public MediaAnalysisResults getResults() { + return results; + } + + /** + *

    + * Output manifest that contains prediction results. + *

    + * + * @param results

    + * Output manifest that contains prediction results. + *

    + */ + public void setResults(MediaAnalysisResults results) { + this.results = results; + } + + /** + *

    + * Output manifest that contains prediction results. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param results

    + * Output manifest that contains prediction results. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisJobDescription withResults(MediaAnalysisResults results) { + this.results = results; + return this; + } + + /** + *

    + * Provides statistics on input manifest and errors identified in the input + * manifest. + *

    + * + * @return

    + * Provides statistics on input manifest and errors identified in + * the input manifest. + *

    + */ + public MediaAnalysisManifestSummary getManifestSummary() { + return manifestSummary; + } + + /** + *

    + * Provides statistics on input manifest and errors identified in the input + * manifest. + *

    + * + * @param manifestSummary

    + * Provides statistics on input manifest and errors identified in + * the input manifest. + *

    + */ + public void setManifestSummary(MediaAnalysisManifestSummary manifestSummary) { + this.manifestSummary = manifestSummary; + } + + /** + *

    + * Provides statistics on input manifest and errors identified in the input + * manifest. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param manifestSummary

    + * Provides statistics on input manifest and errors identified in + * the input manifest. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisJobDescription withManifestSummary( + MediaAnalysisManifestSummary manifestSummary) { + this.manifestSummary = manifestSummary; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getJobId() != null) + sb.append("JobId: " + getJobId() + ","); + if (getJobName() != null) + sb.append("JobName: " + getJobName() + ","); + if (getOperationsConfig() != null) + sb.append("OperationsConfig: " + getOperationsConfig() + ","); + if (getStatus() != null) + sb.append("Status: " + getStatus() + ","); + if (getFailureDetails() != null) + sb.append("FailureDetails: " + getFailureDetails() + ","); + if (getCreationTimestamp() != null) + sb.append("CreationTimestamp: " + getCreationTimestamp() + ","); + if (getCompletionTimestamp() != null) + sb.append("CompletionTimestamp: " + getCompletionTimestamp() + ","); + if (getInput() != null) + sb.append("Input: " + getInput() + ","); + if (getOutputConfig() != null) + sb.append("OutputConfig: " + getOutputConfig() + ","); + if (getKmsKeyId() != null) + sb.append("KmsKeyId: " + getKmsKeyId() + ","); + if (getResults() != null) + sb.append("Results: " + getResults() + ","); + if (getManifestSummary() != null) + sb.append("ManifestSummary: " + getManifestSummary()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getJobId() == null) ? 0 : getJobId().hashCode()); + hashCode = prime * hashCode + ((getJobName() == null) ? 0 : getJobName().hashCode()); + hashCode = prime * hashCode + + ((getOperationsConfig() == null) ? 0 : getOperationsConfig().hashCode()); + hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); + hashCode = prime * hashCode + + ((getFailureDetails() == null) ? 0 : getFailureDetails().hashCode()); + hashCode = prime * hashCode + + ((getCreationTimestamp() == null) ? 0 : getCreationTimestamp().hashCode()); + hashCode = prime * hashCode + + ((getCompletionTimestamp() == null) ? 0 : getCompletionTimestamp().hashCode()); + hashCode = prime * hashCode + ((getInput() == null) ? 0 : getInput().hashCode()); + hashCode = prime * hashCode + + ((getOutputConfig() == null) ? 0 : getOutputConfig().hashCode()); + hashCode = prime * hashCode + ((getKmsKeyId() == null) ? 0 : getKmsKeyId().hashCode()); + hashCode = prime * hashCode + ((getResults() == null) ? 0 : getResults().hashCode()); + hashCode = prime * hashCode + + ((getManifestSummary() == null) ? 0 : getManifestSummary().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof MediaAnalysisJobDescription == false) + return false; + MediaAnalysisJobDescription other = (MediaAnalysisJobDescription) obj; + + if (other.getJobId() == null ^ this.getJobId() == null) + return false; + if (other.getJobId() != null && other.getJobId().equals(this.getJobId()) == false) + return false; + if (other.getJobName() == null ^ this.getJobName() == null) + return false; + if (other.getJobName() != null && other.getJobName().equals(this.getJobName()) == false) + return false; + if (other.getOperationsConfig() == null ^ this.getOperationsConfig() == null) + return false; + if (other.getOperationsConfig() != null + && other.getOperationsConfig().equals(this.getOperationsConfig()) == false) + return false; + if (other.getStatus() == null ^ this.getStatus() == null) + return false; + if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) + return false; + if (other.getFailureDetails() == null ^ this.getFailureDetails() == null) + return false; + if (other.getFailureDetails() != null + && other.getFailureDetails().equals(this.getFailureDetails()) == false) + return false; + if (other.getCreationTimestamp() == null ^ this.getCreationTimestamp() == null) + return false; + if (other.getCreationTimestamp() != null + && other.getCreationTimestamp().equals(this.getCreationTimestamp()) == false) + return false; + if (other.getCompletionTimestamp() == null ^ this.getCompletionTimestamp() == null) + return false; + if (other.getCompletionTimestamp() != null + && other.getCompletionTimestamp().equals(this.getCompletionTimestamp()) == false) + return false; + if (other.getInput() == null ^ this.getInput() == null) + return false; + if (other.getInput() != null && other.getInput().equals(this.getInput()) == false) + return false; + if (other.getOutputConfig() == null ^ this.getOutputConfig() == null) + return false; + if (other.getOutputConfig() != null + && other.getOutputConfig().equals(this.getOutputConfig()) == false) + return false; + if (other.getKmsKeyId() == null ^ this.getKmsKeyId() == null) + return false; + if (other.getKmsKeyId() != null && other.getKmsKeyId().equals(this.getKmsKeyId()) == false) + return false; + if (other.getResults() == null ^ this.getResults() == null) + return false; + if (other.getResults() != null && other.getResults().equals(this.getResults()) == false) + return false; + if (other.getManifestSummary() == null ^ this.getManifestSummary() == null) + return false; + if (other.getManifestSummary() != null + && other.getManifestSummary().equals(this.getManifestSummary()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobFailureCode.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobFailureCode.java new file mode 100644 index 0000000000..ca6e8d2c59 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobFailureCode.java @@ -0,0 +1,76 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.util.HashMap; +import java.util.Map; + +/** + * Media Analysis Job Failure Code + */ +public enum MediaAnalysisJobFailureCode { + + INTERNAL_ERROR("INTERNAL_ERROR"), + INVALID_S3_OBJECT("INVALID_S3_OBJECT"), + INVALID_MANIFEST("INVALID_MANIFEST"), + INVALID_OUTPUT_CONFIG("INVALID_OUTPUT_CONFIG"), + INVALID_KMS_KEY("INVALID_KMS_KEY"), + ACCESS_DENIED("ACCESS_DENIED"), + RESOURCE_NOT_FOUND("RESOURCE_NOT_FOUND"), + RESOURCE_NOT_READY("RESOURCE_NOT_READY"), + THROTTLED("THROTTLED"); + + private String value; + + private MediaAnalysisJobFailureCode(String value) { + this.value = value; + } + + @Override + public String toString() { + return value; + } + + private static final Map enumMap; + static { + enumMap = new HashMap(); + enumMap.put("INTERNAL_ERROR", INTERNAL_ERROR); + enumMap.put("INVALID_S3_OBJECT", INVALID_S3_OBJECT); + enumMap.put("INVALID_MANIFEST", INVALID_MANIFEST); + enumMap.put("INVALID_OUTPUT_CONFIG", INVALID_OUTPUT_CONFIG); + enumMap.put("INVALID_KMS_KEY", INVALID_KMS_KEY); + enumMap.put("ACCESS_DENIED", ACCESS_DENIED); + enumMap.put("RESOURCE_NOT_FOUND", RESOURCE_NOT_FOUND); + enumMap.put("RESOURCE_NOT_READY", RESOURCE_NOT_READY); + enumMap.put("THROTTLED", THROTTLED); + } + + /** + * Use this in place of valueOf. + * + * @param value real value + * @return MediaAnalysisJobFailureCode corresponding to the value + */ + public static MediaAnalysisJobFailureCode fromValue(String value) { + if (value == null || value.isEmpty()) { + throw new IllegalArgumentException("Value cannot be null or empty!"); + } else if (enumMap.containsKey(value)) { + return enumMap.get(value); + } else { + throw new IllegalArgumentException("Cannot create enum from " + value + " value!"); + } + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobFailureDetails.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobFailureDetails.java new file mode 100644 index 0000000000..dc21d931c7 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobFailureDetails.java @@ -0,0 +1,247 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +/** + *

    + * Details about the error that resulted in failure of the job. + *

    + */ +public class MediaAnalysisJobFailureDetails implements Serializable { + /** + *

    + * Error code for the failed job. + *

    + *

    + * Constraints:
    + * Allowed Values: INTERNAL_ERROR, INVALID_S3_OBJECT, + * INVALID_MANIFEST, INVALID_OUTPUT_CONFIG, INVALID_KMS_KEY, ACCESS_DENIED, + * RESOURCE_NOT_FOUND, RESOURCE_NOT_READY, THROTTLED + */ + private String code; + + /** + *

    + * Human readable error message. + *

    + */ + private String message; + + /** + *

    + * Error code for the failed job. + *

    + *

    + * Constraints:
    + * Allowed Values: INTERNAL_ERROR, INVALID_S3_OBJECT, + * INVALID_MANIFEST, INVALID_OUTPUT_CONFIG, INVALID_KMS_KEY, ACCESS_DENIED, + * RESOURCE_NOT_FOUND, RESOURCE_NOT_READY, THROTTLED + * + * @return

    + * Error code for the failed job. + *

    + * @see MediaAnalysisJobFailureCode + */ + public String getCode() { + return code; + } + + /** + *

    + * Error code for the failed job. + *

    + *

    + * Constraints:
    + * Allowed Values: INTERNAL_ERROR, INVALID_S3_OBJECT, + * INVALID_MANIFEST, INVALID_OUTPUT_CONFIG, INVALID_KMS_KEY, ACCESS_DENIED, + * RESOURCE_NOT_FOUND, RESOURCE_NOT_READY, THROTTLED + * + * @param code

    + * Error code for the failed job. + *

    + * @see MediaAnalysisJobFailureCode + */ + public void setCode(String code) { + this.code = code; + } + + /** + *

    + * Error code for the failed job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: INTERNAL_ERROR, INVALID_S3_OBJECT, + * INVALID_MANIFEST, INVALID_OUTPUT_CONFIG, INVALID_KMS_KEY, ACCESS_DENIED, + * RESOURCE_NOT_FOUND, RESOURCE_NOT_READY, THROTTLED + * + * @param code

    + * Error code for the failed job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MediaAnalysisJobFailureCode + */ + public MediaAnalysisJobFailureDetails withCode(String code) { + this.code = code; + return this; + } + + /** + *

    + * Error code for the failed job. + *

    + *

    + * Constraints:
    + * Allowed Values: INTERNAL_ERROR, INVALID_S3_OBJECT, + * INVALID_MANIFEST, INVALID_OUTPUT_CONFIG, INVALID_KMS_KEY, ACCESS_DENIED, + * RESOURCE_NOT_FOUND, RESOURCE_NOT_READY, THROTTLED + * + * @param code

    + * Error code for the failed job. + *

    + * @see MediaAnalysisJobFailureCode + */ + public void setCode(MediaAnalysisJobFailureCode code) { + this.code = code.toString(); + } + + /** + *

    + * Error code for the failed job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: INTERNAL_ERROR, INVALID_S3_OBJECT, + * INVALID_MANIFEST, INVALID_OUTPUT_CONFIG, INVALID_KMS_KEY, ACCESS_DENIED, + * RESOURCE_NOT_FOUND, RESOURCE_NOT_READY, THROTTLED + * + * @param code

    + * Error code for the failed job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MediaAnalysisJobFailureCode + */ + public MediaAnalysisJobFailureDetails withCode(MediaAnalysisJobFailureCode code) { + this.code = code.toString(); + return this; + } + + /** + *

    + * Human readable error message. + *

    + * + * @return

    + * Human readable error message. + *

    + */ + public String getMessage() { + return message; + } + + /** + *

    + * Human readable error message. + *

    + * + * @param message

    + * Human readable error message. + *

    + */ + public void setMessage(String message) { + this.message = message; + } + + /** + *

    + * Human readable error message. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param message

    + * Human readable error message. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisJobFailureDetails withMessage(String message) { + this.message = message; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getCode() != null) + sb.append("Code: " + getCode() + ","); + if (getMessage() != null) + sb.append("Message: " + getMessage()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getCode() == null) ? 0 : getCode().hashCode()); + hashCode = prime * hashCode + ((getMessage() == null) ? 0 : getMessage().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof MediaAnalysisJobFailureDetails == false) + return false; + MediaAnalysisJobFailureDetails other = (MediaAnalysisJobFailureDetails) obj; + + if (other.getCode() == null ^ this.getCode() == null) + return false; + if (other.getCode() != null && other.getCode().equals(this.getCode()) == false) + return false; + if (other.getMessage() == null ^ this.getMessage() == null) + return false; + if (other.getMessage() != null && other.getMessage().equals(this.getMessage()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobStatus.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobStatus.java new file mode 100644 index 0000000000..d77194a54c --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisJobStatus.java @@ -0,0 +1,68 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.util.HashMap; +import java.util.Map; + +/** + * Media Analysis Job Status + */ +public enum MediaAnalysisJobStatus { + + CREATED("CREATED"), + QUEUED("QUEUED"), + IN_PROGRESS("IN_PROGRESS"), + SUCCEEDED("SUCCEEDED"), + FAILED("FAILED"); + + private String value; + + private MediaAnalysisJobStatus(String value) { + this.value = value; + } + + @Override + public String toString() { + return value; + } + + private static final Map enumMap; + static { + enumMap = new HashMap(); + enumMap.put("CREATED", CREATED); + enumMap.put("QUEUED", QUEUED); + enumMap.put("IN_PROGRESS", IN_PROGRESS); + enumMap.put("SUCCEEDED", SUCCEEDED); + enumMap.put("FAILED", FAILED); + } + + /** + * Use this in place of valueOf. + * + * @param value real value + * @return MediaAnalysisJobStatus corresponding to the value + */ + public static MediaAnalysisJobStatus fromValue(String value) { + if (value == null || value.isEmpty()) { + throw new IllegalArgumentException("Value cannot be null or empty!"); + } else if (enumMap.containsKey(value)) { + return enumMap.get(value); + } else { + throw new IllegalArgumentException("Cannot create enum from " + value + " value!"); + } + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisManifestSummary.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisManifestSummary.java new file mode 100644 index 0000000000..5a55654bbc --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisManifestSummary.java @@ -0,0 +1,188 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +/** + *

    + * Summary that provides statistics on input manifest and errors identified in + * the input manifest. + *

    + */ +public class MediaAnalysisManifestSummary implements Serializable { + /** + *

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match the + * region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must have + * permission to access the S3 object. For more information, see How Amazon + * Rekognition works with IAM in the Amazon Rekognition Developer Guide. + *

    + */ + private S3Object s3Object; + + /** + *

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match the + * region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must have + * permission to access the S3 object. For more information, see How Amazon + * Rekognition works with IAM in the Amazon Rekognition Developer Guide. + *

    + * + * @return

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match + * the region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must + * have permission to access the S3 object. For more information, + * see How Amazon Rekognition works with IAM in the Amazon + * Rekognition Developer Guide. + *

    + */ + public S3Object getS3Object() { + return s3Object; + } + + /** + *

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match the + * region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must have + * permission to access the S3 object. For more information, see How Amazon + * Rekognition works with IAM in the Amazon Rekognition Developer Guide. + *

    + * + * @param s3Object

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must + * match the region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must + * have permission to access the S3 object. For more information, + * see How Amazon Rekognition works with IAM in the Amazon + * Rekognition Developer Guide. + *

    + */ + public void setS3Object(S3Object s3Object) { + this.s3Object = s3Object; + } + + /** + *

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match the + * region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must have + * permission to access the S3 object. For more information, see How Amazon + * Rekognition works with IAM in the Amazon Rekognition Developer Guide. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param s3Object

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must + * match the region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must + * have permission to access the S3 object. For more information, + * see How Amazon Rekognition works with IAM in the Amazon + * Rekognition Developer Guide. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisManifestSummary withS3Object(S3Object s3Object) { + this.s3Object = s3Object; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getS3Object() != null) + sb.append("S3Object: " + getS3Object()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getS3Object() == null) ? 0 : getS3Object().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof MediaAnalysisManifestSummary == false) + return false; + MediaAnalysisManifestSummary other = (MediaAnalysisManifestSummary) obj; + + if (other.getS3Object() == null ^ this.getS3Object() == null) + return false; + if (other.getS3Object() != null && other.getS3Object().equals(this.getS3Object()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisModelVersions.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisModelVersions.java new file mode 100644 index 0000000000..060d218a40 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisModelVersions.java @@ -0,0 +1,123 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +/** + *

    + * Object containing information about the model versions of selected features + * in a given job. + *

    + */ +public class MediaAnalysisModelVersions implements Serializable { + /** + *

    + * The Moderation base model version. + *

    + */ + private String moderation; + + /** + *

    + * The Moderation base model version. + *

    + * + * @return

    + * The Moderation base model version. + *

    + */ + public String getModeration() { + return moderation; + } + + /** + *

    + * The Moderation base model version. + *

    + * + * @param moderation

    + * The Moderation base model version. + *

    + */ + public void setModeration(String moderation) { + this.moderation = moderation; + } + + /** + *

    + * The Moderation base model version. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param moderation

    + * The Moderation base model version. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisModelVersions withModeration(String moderation) { + this.moderation = moderation; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getModeration() != null) + sb.append("Moderation: " + getModeration()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getModeration() == null) ? 0 : getModeration().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof MediaAnalysisModelVersions == false) + return false; + MediaAnalysisModelVersions other = (MediaAnalysisModelVersions) obj; + + if (other.getModeration() == null ^ this.getModeration() == null) + return false; + if (other.getModeration() != null + && other.getModeration().equals(this.getModeration()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisOperationsConfig.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisOperationsConfig.java new file mode 100644 index 0000000000..0de15da105 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisOperationsConfig.java @@ -0,0 +1,130 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +/** + *

    + * Configuration options for a media analysis job. Configuration is + * operation-specific. + *

    + */ +public class MediaAnalysisOperationsConfig implements Serializable { + /** + *

    + * Contains configuration options for a DetectModerationLabels job. + *

    + */ + private MediaAnalysisDetectModerationLabelsConfig detectModerationLabels; + + /** + *

    + * Contains configuration options for a DetectModerationLabels job. + *

    + * + * @return

    + * Contains configuration options for a DetectModerationLabels job. + *

    + */ + public MediaAnalysisDetectModerationLabelsConfig getDetectModerationLabels() { + return detectModerationLabels; + } + + /** + *

    + * Contains configuration options for a DetectModerationLabels job. + *

    + * + * @param detectModerationLabels

    + * Contains configuration options for a DetectModerationLabels + * job. + *

    + */ + public void setDetectModerationLabels( + MediaAnalysisDetectModerationLabelsConfig detectModerationLabels) { + this.detectModerationLabels = detectModerationLabels; + } + + /** + *

    + * Contains configuration options for a DetectModerationLabels job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param detectModerationLabels

    + * Contains configuration options for a DetectModerationLabels + * job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisOperationsConfig withDetectModerationLabels( + MediaAnalysisDetectModerationLabelsConfig detectModerationLabels) { + this.detectModerationLabels = detectModerationLabels; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getDetectModerationLabels() != null) + sb.append("DetectModerationLabels: " + getDetectModerationLabels()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime + * hashCode + + ((getDetectModerationLabels() == null) ? 0 : getDetectModerationLabels() + .hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof MediaAnalysisOperationsConfig == false) + return false; + MediaAnalysisOperationsConfig other = (MediaAnalysisOperationsConfig) obj; + + if (other.getDetectModerationLabels() == null ^ this.getDetectModerationLabels() == null) + return false; + if (other.getDetectModerationLabels() != null + && other.getDetectModerationLabels().equals(this.getDetectModerationLabels()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisOutputConfig.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisOutputConfig.java new file mode 100644 index 0000000000..dc9b02ab72 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisOutputConfig.java @@ -0,0 +1,228 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +/** + *

    + * Output configuration provided in the job creation request. + *

    + */ +public class MediaAnalysisOutputConfig implements Serializable { + /** + *

    + * Specifies the Amazon S3 bucket to contain the output of the media + * analysis job. + *

    + *

    + * Constraints:
    + * Length: 3 - 255
    + * Pattern: [0-9A-Za-z\.\-_]*
    + */ + private String s3Bucket; + + /** + *

    + * Specifies the Amazon S3 key prefix that comes after the name of the + * bucket you have designated for storage. + *

    + *

    + * Constraints:
    + * Length: - 800
    + * Pattern: \S*
    + */ + private String s3KeyPrefix; + + /** + *

    + * Specifies the Amazon S3 bucket to contain the output of the media + * analysis job. + *

    + *

    + * Constraints:
    + * Length: 3 - 255
    + * Pattern: [0-9A-Za-z\.\-_]*
    + * + * @return

    + * Specifies the Amazon S3 bucket to contain the output of the media + * analysis job. + *

    + */ + public String getS3Bucket() { + return s3Bucket; + } + + /** + *

    + * Specifies the Amazon S3 bucket to contain the output of the media + * analysis job. + *

    + *

    + * Constraints:
    + * Length: 3 - 255
    + * Pattern: [0-9A-Za-z\.\-_]*
    + * + * @param s3Bucket

    + * Specifies the Amazon S3 bucket to contain the output of the + * media analysis job. + *

    + */ + public void setS3Bucket(String s3Bucket) { + this.s3Bucket = s3Bucket; + } + + /** + *

    + * Specifies the Amazon S3 bucket to contain the output of the media + * analysis job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 3 - 255
    + * Pattern: [0-9A-Za-z\.\-_]*
    + * + * @param s3Bucket

    + * Specifies the Amazon S3 bucket to contain the output of the + * media analysis job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisOutputConfig withS3Bucket(String s3Bucket) { + this.s3Bucket = s3Bucket; + return this; + } + + /** + *

    + * Specifies the Amazon S3 key prefix that comes after the name of the + * bucket you have designated for storage. + *

    + *

    + * Constraints:
    + * Length: - 800
    + * Pattern: \S*
    + * + * @return

    + * Specifies the Amazon S3 key prefix that comes after the name of + * the bucket you have designated for storage. + *

    + */ + public String getS3KeyPrefix() { + return s3KeyPrefix; + } + + /** + *

    + * Specifies the Amazon S3 key prefix that comes after the name of the + * bucket you have designated for storage. + *

    + *

    + * Constraints:
    + * Length: - 800
    + * Pattern: \S*
    + * + * @param s3KeyPrefix

    + * Specifies the Amazon S3 key prefix that comes after the name + * of the bucket you have designated for storage. + *

    + */ + public void setS3KeyPrefix(String s3KeyPrefix) { + this.s3KeyPrefix = s3KeyPrefix; + } + + /** + *

    + * Specifies the Amazon S3 key prefix that comes after the name of the + * bucket you have designated for storage. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: - 800
    + * Pattern: \S*
    + * + * @param s3KeyPrefix

    + * Specifies the Amazon S3 key prefix that comes after the name + * of the bucket you have designated for storage. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisOutputConfig withS3KeyPrefix(String s3KeyPrefix) { + this.s3KeyPrefix = s3KeyPrefix; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getS3Bucket() != null) + sb.append("S3Bucket: " + getS3Bucket() + ","); + if (getS3KeyPrefix() != null) + sb.append("S3KeyPrefix: " + getS3KeyPrefix()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getS3Bucket() == null) ? 0 : getS3Bucket().hashCode()); + hashCode = prime * hashCode + + ((getS3KeyPrefix() == null) ? 0 : getS3KeyPrefix().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof MediaAnalysisOutputConfig == false) + return false; + MediaAnalysisOutputConfig other = (MediaAnalysisOutputConfig) obj; + + if (other.getS3Bucket() == null ^ this.getS3Bucket() == null) + return false; + if (other.getS3Bucket() != null && other.getS3Bucket().equals(this.getS3Bucket()) == false) + return false; + if (other.getS3KeyPrefix() == null ^ this.getS3KeyPrefix() == null) + return false; + if (other.getS3KeyPrefix() != null + && other.getS3KeyPrefix().equals(this.getS3KeyPrefix()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisResults.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisResults.java new file mode 100644 index 0000000000..eb6c3d093b --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MediaAnalysisResults.java @@ -0,0 +1,256 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +/** + *

    + * Contains the results for a media analysis job created with + * StartMediaAnalysisJob. + *

    + */ +public class MediaAnalysisResults implements Serializable { + /** + *

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match the + * region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must have + * permission to access the S3 object. For more information, see How Amazon + * Rekognition works with IAM in the Amazon Rekognition Developer Guide. + *

    + */ + private S3Object s3Object; + + /** + *

    + * Information about the model versions for the features selected in a given + * job. + *

    + */ + private MediaAnalysisModelVersions modelVersions; + + /** + *

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match the + * region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must have + * permission to access the S3 object. For more information, see How Amazon + * Rekognition works with IAM in the Amazon Rekognition Developer Guide. + *

    + * + * @return

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match + * the region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must + * have permission to access the S3 object. For more information, + * see How Amazon Rekognition works with IAM in the Amazon + * Rekognition Developer Guide. + *

    + */ + public S3Object getS3Object() { + return s3Object; + } + + /** + *

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match the + * region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must have + * permission to access the S3 object. For more information, see How Amazon + * Rekognition works with IAM in the Amazon Rekognition Developer Guide. + *

    + * + * @param s3Object

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must + * match the region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must + * have permission to access the S3 object. For more information, + * see How Amazon Rekognition works with IAM in the Amazon + * Rekognition Developer Guide. + *

    + */ + public void setS3Object(S3Object s3Object) { + this.s3Object = s3Object; + } + + /** + *

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must match the + * region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must have + * permission to access the S3 object. For more information, see How Amazon + * Rekognition works with IAM in the Amazon Rekognition Developer Guide. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param s3Object

    + * Provides the S3 bucket name and object name. + *

    + *

    + * The region for the S3 bucket containing the S3 object must + * match the region you use for Amazon Rekognition operations. + *

    + *

    + * For Amazon Rekognition to process an S3 object, the user must + * have permission to access the S3 object. For more information, + * see How Amazon Rekognition works with IAM in the Amazon + * Rekognition Developer Guide. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisResults withS3Object(S3Object s3Object) { + this.s3Object = s3Object; + return this; + } + + /** + *

    + * Information about the model versions for the features selected in a given + * job. + *

    + * + * @return

    + * Information about the model versions for the features selected in + * a given job. + *

    + */ + public MediaAnalysisModelVersions getModelVersions() { + return modelVersions; + } + + /** + *

    + * Information about the model versions for the features selected in a given + * job. + *

    + * + * @param modelVersions

    + * Information about the model versions for the features selected + * in a given job. + *

    + */ + public void setModelVersions(MediaAnalysisModelVersions modelVersions) { + this.modelVersions = modelVersions; + } + + /** + *

    + * Information about the model versions for the features selected in a given + * job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param modelVersions

    + * Information about the model versions for the features selected + * in a given job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MediaAnalysisResults withModelVersions(MediaAnalysisModelVersions modelVersions) { + this.modelVersions = modelVersions; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getS3Object() != null) + sb.append("S3Object: " + getS3Object() + ","); + if (getModelVersions() != null) + sb.append("ModelVersions: " + getModelVersions()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getS3Object() == null) ? 0 : getS3Object().hashCode()); + hashCode = prime * hashCode + + ((getModelVersions() == null) ? 0 : getModelVersions().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof MediaAnalysisResults == false) + return false; + MediaAnalysisResults other = (MediaAnalysisResults) obj; + + if (other.getS3Object() == null ^ this.getS3Object() == null) + return false; + if (other.getS3Object() != null && other.getS3Object().equals(this.getS3Object()) == false) + return false; + if (other.getModelVersions() == null ^ this.getModelVersions() == null) + return false; + if (other.getModelVersions() != null + && other.getModelVersions().equals(this.getModelVersions()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ModerationLabel.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ModerationLabel.java index 0a7798c6a9..a2ee5a53fa 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ModerationLabel.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ModerationLabel.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -57,6 +57,17 @@ public class ModerationLabel implements Serializable { */ private String parentName; + /** + *

    + * The level of the moderation label with regard to its taxonomy, from 1 to + * 3. + *

    + *

    + * Constraints:
    + * Range: 0 -
    + */ + private Integer taxonomyLevel; + /** *

    * Specifies the confidence that Amazon Rekognition has that the label has @@ -249,6 +260,66 @@ public ModerationLabel withParentName(String parentName) { return this; } + /** + *

    + * The level of the moderation label with regard to its taxonomy, from 1 to + * 3. + *

    + *

    + * Constraints:
    + * Range: 0 -
    + * + * @return

    + * The level of the moderation label with regard to its taxonomy, + * from 1 to 3. + *

    + */ + public Integer getTaxonomyLevel() { + return taxonomyLevel; + } + + /** + *

    + * The level of the moderation label with regard to its taxonomy, from 1 to + * 3. + *

    + *

    + * Constraints:
    + * Range: 0 -
    + * + * @param taxonomyLevel

    + * The level of the moderation label with regard to its taxonomy, + * from 1 to 3. + *

    + */ + public void setTaxonomyLevel(Integer taxonomyLevel) { + this.taxonomyLevel = taxonomyLevel; + } + + /** + *

    + * The level of the moderation label with regard to its taxonomy, from 1 to + * 3. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Range: 0 -
    + * + * @param taxonomyLevel

    + * The level of the moderation label with regard to its taxonomy, + * from 1 to 3. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ModerationLabel withTaxonomyLevel(Integer taxonomyLevel) { + this.taxonomyLevel = taxonomyLevel; + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -265,7 +336,9 @@ public String toString() { if (getName() != null) sb.append("Name: " + getName() + ","); if (getParentName() != null) - sb.append("ParentName: " + getParentName()); + sb.append("ParentName: " + getParentName() + ","); + if (getTaxonomyLevel() != null) + sb.append("TaxonomyLevel: " + getTaxonomyLevel()); sb.append("}"); return sb.toString(); } @@ -278,6 +351,8 @@ public int hashCode() { hashCode = prime * hashCode + ((getConfidence() == null) ? 0 : getConfidence().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getParentName() == null) ? 0 : getParentName().hashCode()); + hashCode = prime * hashCode + + ((getTaxonomyLevel() == null) ? 0 : getTaxonomyLevel().hashCode()); return hashCode; } @@ -306,6 +381,11 @@ public boolean equals(Object obj) { if (other.getParentName() != null && other.getParentName().equals(this.getParentName()) == false) return false; + if (other.getTaxonomyLevel() == null ^ this.getTaxonomyLevel() == null) + return false; + if (other.getTaxonomyLevel() != null + && other.getTaxonomyLevel().equals(this.getTaxonomyLevel()) == false) + return false; return true; } } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MouthOpen.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MouthOpen.java index 5bfa1b6e33..4fa5fbd4da 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MouthOpen.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/MouthOpen.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Mustache.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Mustache.java index 6ed041e917..db6c9461eb 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Mustache.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Mustache.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/NotificationChannel.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/NotificationChannel.java index bfc83ebe12..4e1c246ec6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/NotificationChannel.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/NotificationChannel.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/OrientationCorrection.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/OrientationCorrection.java index 82f6ee58ff..9a676fbc72 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/OrientationCorrection.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/OrientationCorrection.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/OutputConfig.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/OutputConfig.java index 7d36c26ac3..675b47fc7c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/OutputConfig.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/OutputConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Parent.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Parent.java index 495e188876..7eee88a5c7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Parent.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Parent.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonDetail.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonDetail.java index 737b9ace27..d32b0baee0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonDetail.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonDetail.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonDetection.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonDetection.java index ffd7b38137..ed0b371098 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonDetection.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonDetection.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonMatch.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonMatch.java index a7ba412591..5c5f19a338 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonMatch.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonMatch.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonTrackingSortBy.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonTrackingSortBy.java index a690259630..13cb03ac8c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonTrackingSortBy.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PersonTrackingSortBy.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Point.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Point.java index ccfe867cff..ed0835991e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Point.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Point.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Pose.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Pose.java index 0408a43a1e..7a9e4b914e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Pose.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Pose.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectAutoUpdate.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectAutoUpdate.java new file mode 100644 index 0000000000..fa42494f16 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectAutoUpdate.java @@ -0,0 +1,62 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.util.HashMap; +import java.util.Map; + +/** + * Project Auto Update + */ +public enum ProjectAutoUpdate { + + ENABLED("ENABLED"), + DISABLED("DISABLED"); + + private String value; + + private ProjectAutoUpdate(String value) { + this.value = value; + } + + @Override + public String toString() { + return value; + } + + private static final Map enumMap; + static { + enumMap = new HashMap(); + enumMap.put("ENABLED", ENABLED); + enumMap.put("DISABLED", DISABLED); + } + + /** + * Use this in place of valueOf. + * + * @param value real value + * @return ProjectAutoUpdate corresponding to the value + */ + public static ProjectAutoUpdate fromValue(String value) { + if (value == null || value.isEmpty()) { + throw new IllegalArgumentException("Value cannot be null or empty!"); + } else if (enumMap.containsKey(value)) { + return enumMap.get(value); + } else { + throw new IllegalArgumentException("Cannot create enum from " + value + " value!"); + } + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectDescription.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectDescription.java index 699e93ebc2..19b66eca00 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectDescription.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectDescription.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -61,6 +61,27 @@ public class ProjectDescription implements Serializable { */ private java.util.List datasets; + /** + *

    + * Specifies the project that is being customized. + *

    + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + */ + private String feature; + + /** + *

    + * Indicates whether automatic retraining will be attempted for the versions + * of the project. Applies only to adapters. + *

    + *

    + * Constraints:
    + * Allowed Values: ENABLED, DISABLED + */ + private String autoUpdate; + /** *

    * The Amazon Resource Name (ARN) of the project. @@ -346,6 +367,210 @@ public ProjectDescription withDatasets(java.util.Collection dat return this; } + /** + *

    + * Specifies the project that is being customized. + *

    + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @return

    + * Specifies the project that is being customized. + *

    + * @see CustomizationFeature + */ + public String getFeature() { + return feature; + } + + /** + *

    + * Specifies the project that is being customized. + *

    + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @param feature

    + * Specifies the project that is being customized. + *

    + * @see CustomizationFeature + */ + public void setFeature(String feature) { + this.feature = feature; + } + + /** + *

    + * Specifies the project that is being customized. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @param feature

    + * Specifies the project that is being customized. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see CustomizationFeature + */ + public ProjectDescription withFeature(String feature) { + this.feature = feature; + return this; + } + + /** + *

    + * Specifies the project that is being customized. + *

    + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @param feature

    + * Specifies the project that is being customized. + *

    + * @see CustomizationFeature + */ + public void setFeature(CustomizationFeature feature) { + this.feature = feature.toString(); + } + + /** + *

    + * Specifies the project that is being customized. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @param feature

    + * Specifies the project that is being customized. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see CustomizationFeature + */ + public ProjectDescription withFeature(CustomizationFeature feature) { + this.feature = feature.toString(); + return this; + } + + /** + *

    + * Indicates whether automatic retraining will be attempted for the versions + * of the project. Applies only to adapters. + *

    + *

    + * Constraints:
    + * Allowed Values: ENABLED, DISABLED + * + * @return

    + * Indicates whether automatic retraining will be attempted for the + * versions of the project. Applies only to adapters. + *

    + * @see ProjectAutoUpdate + */ + public String getAutoUpdate() { + return autoUpdate; + } + + /** + *

    + * Indicates whether automatic retraining will be attempted for the versions + * of the project. Applies only to adapters. + *

    + *

    + * Constraints:
    + * Allowed Values: ENABLED, DISABLED + * + * @param autoUpdate

    + * Indicates whether automatic retraining will be attempted for + * the versions of the project. Applies only to adapters. + *

    + * @see ProjectAutoUpdate + */ + public void setAutoUpdate(String autoUpdate) { + this.autoUpdate = autoUpdate; + } + + /** + *

    + * Indicates whether automatic retraining will be attempted for the versions + * of the project. Applies only to adapters. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: ENABLED, DISABLED + * + * @param autoUpdate

    + * Indicates whether automatic retraining will be attempted for + * the versions of the project. Applies only to adapters. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see ProjectAutoUpdate + */ + public ProjectDescription withAutoUpdate(String autoUpdate) { + this.autoUpdate = autoUpdate; + return this; + } + + /** + *

    + * Indicates whether automatic retraining will be attempted for the versions + * of the project. Applies only to adapters. + *

    + *

    + * Constraints:
    + * Allowed Values: ENABLED, DISABLED + * + * @param autoUpdate

    + * Indicates whether automatic retraining will be attempted for + * the versions of the project. Applies only to adapters. + *

    + * @see ProjectAutoUpdate + */ + public void setAutoUpdate(ProjectAutoUpdate autoUpdate) { + this.autoUpdate = autoUpdate.toString(); + } + + /** + *

    + * Indicates whether automatic retraining will be attempted for the versions + * of the project. Applies only to adapters. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: ENABLED, DISABLED + * + * @param autoUpdate

    + * Indicates whether automatic retraining will be attempted for + * the versions of the project. Applies only to adapters. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see ProjectAutoUpdate + */ + public ProjectDescription withAutoUpdate(ProjectAutoUpdate autoUpdate) { + this.autoUpdate = autoUpdate.toString(); + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -364,7 +589,11 @@ public String toString() { if (getStatus() != null) sb.append("Status: " + getStatus() + ","); if (getDatasets() != null) - sb.append("Datasets: " + getDatasets()); + sb.append("Datasets: " + getDatasets() + ","); + if (getFeature() != null) + sb.append("Feature: " + getFeature() + ","); + if (getAutoUpdate() != null) + sb.append("AutoUpdate: " + getAutoUpdate()); sb.append("}"); return sb.toString(); } @@ -379,6 +608,8 @@ public int hashCode() { + ((getCreationTimestamp() == null) ? 0 : getCreationTimestamp().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getDatasets() == null) ? 0 : getDatasets().hashCode()); + hashCode = prime * hashCode + ((getFeature() == null) ? 0 : getFeature().hashCode()); + hashCode = prime * hashCode + ((getAutoUpdate() == null) ? 0 : getAutoUpdate().hashCode()); return hashCode; } @@ -411,6 +642,15 @@ public boolean equals(Object obj) { return false; if (other.getDatasets() != null && other.getDatasets().equals(this.getDatasets()) == false) return false; + if (other.getFeature() == null ^ this.getFeature() == null) + return false; + if (other.getFeature() != null && other.getFeature().equals(this.getFeature()) == false) + return false; + if (other.getAutoUpdate() == null ^ this.getAutoUpdate() == null) + return false; + if (other.getAutoUpdate() != null + && other.getAutoUpdate().equals(this.getAutoUpdate()) == false) + return false; return true; } } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectPolicy.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectPolicy.java index bf19515414..cbfee46ca8 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectPolicy.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectStatus.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectStatus.java index bfdfc30f27..c2fc657bda 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectStatus.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectVersionDescription.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectVersionDescription.java index 13b7638e40..042ebf90ea 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectVersionDescription.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectVersionDescription.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -19,13 +19,13 @@ /** *

    - * A description of a version of an Amazon Rekognition Custom Labels model. + * A description of a version of a Amazon Rekognition project version. *

    */ public class ProjectVersionDescription implements Serializable { /** *

    - * The Amazon Resource Name (ARN) of the model version. + * The Amazon Resource Name (ARN) of the project version. *

    *

    * Constraints:
    @@ -45,8 +45,9 @@ public class ProjectVersionDescription implements Serializable { /** *

    - * The minimum number of inference units used by the model. For more - * information, see StartProjectVersion. + * The minimum number of inference units used by the model. Applies only to + * Custom Labels projects. For more information, see + * StartProjectVersion. *

    *

    * Constraints:
    @@ -62,7 +63,8 @@ public class ProjectVersionDescription implements Serializable { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED */ private String status; @@ -143,9 +145,9 @@ public class ProjectVersionDescription implements Serializable { /** *

    - * The maximum number of inference units Amazon Rekognition Custom Labels - * uses to auto-scale the model. For more information, see - * StartProjectVersion. + * The maximum number of inference units Amazon Rekognition uses to + * auto-scale the model. Applies only to Custom Labels projects. For more + * information, see StartProjectVersion. *

    *

    * Constraints:
    @@ -170,7 +172,42 @@ public class ProjectVersionDescription implements Serializable { /** *

    - * The Amazon Resource Name (ARN) of the model version. + * A user-provided description of the project version. + *

    + *

    + * Constraints:
    + * Length: 1 - 255
    + * Pattern: [a-zA-Z0-9-_. ()':,;?]+
    + */ + private String versionDescription; + + /** + *

    + * The feature that was customized. + *

    + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + */ + private String feature; + + /** + *

    + * The base detection model version used to create the project version. + *

    + */ + private String baseModelVersion; + + /** + *

    + * Feature specific configuration that was applied during training. + *

    + */ + private CustomizationFeatureConfig featureConfig; + + /** + *

    + * The Amazon Resource Name (ARN) of the project version. *

    *

    * Constraints:
    @@ -180,7 +217,7 @@ public class ProjectVersionDescription implements Serializable { * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @return

    - * The Amazon Resource Name (ARN) of the model version. + * The Amazon Resource Name (ARN) of the project version. *

    */ public String getProjectVersionArn() { @@ -189,7 +226,7 @@ public String getProjectVersionArn() { /** *

    - * The Amazon Resource Name (ARN) of the model version. + * The Amazon Resource Name (ARN) of the project version. *

    *

    * Constraints:
    @@ -199,7 +236,7 @@ public String getProjectVersionArn() { * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @param projectVersionArn

    - * The Amazon Resource Name (ARN) of the model version. + * The Amazon Resource Name (ARN) of the project version. *

    */ public void setProjectVersionArn(String projectVersionArn) { @@ -208,7 +245,7 @@ public void setProjectVersionArn(String projectVersionArn) { /** *

    - * The Amazon Resource Name (ARN) of the model version. + * The Amazon Resource Name (ARN) of the project version. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -221,7 +258,7 @@ public void setProjectVersionArn(String projectVersionArn) { * -Z0-9_.\-]{1,255}\/version\/[a-zA-Z0-9_.\-]{1,255}\/[0-9]+$)
    * * @param projectVersionArn

    - * The Amazon Resource Name (ARN) of the model version. + * The Amazon Resource Name (ARN) of the project version. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -278,16 +315,18 @@ public ProjectVersionDescription withCreationTimestamp(java.util.Date creationTi /** *

    - * The minimum number of inference units used by the model. For more - * information, see StartProjectVersion. + * The minimum number of inference units used by the model. Applies only to + * Custom Labels projects. For more information, see + * StartProjectVersion. *

    *

    * Constraints:
    * Range: 1 -
    * * @return

    - * The minimum number of inference units used by the model. For more - * information, see StartProjectVersion. + * The minimum number of inference units used by the model. Applies + * only to Custom Labels projects. For more information, see + * StartProjectVersion. *

    */ public Integer getMinInferenceUnits() { @@ -296,16 +335,18 @@ public Integer getMinInferenceUnits() { /** *

    - * The minimum number of inference units used by the model. For more - * information, see StartProjectVersion. + * The minimum number of inference units used by the model. Applies only to + * Custom Labels projects. For more information, see + * StartProjectVersion. *

    *

    * Constraints:
    * Range: 1 -
    * * @param minInferenceUnits

    - * The minimum number of inference units used by the model. For - * more information, see StartProjectVersion. + * The minimum number of inference units used by the model. + * Applies only to Custom Labels projects. For more information, + * see StartProjectVersion. *

    */ public void setMinInferenceUnits(Integer minInferenceUnits) { @@ -314,8 +355,9 @@ public void setMinInferenceUnits(Integer minInferenceUnits) { /** *

    - * The minimum number of inference units used by the model. For more - * information, see StartProjectVersion. + * The minimum number of inference units used by the model. Applies only to + * Custom Labels projects. For more information, see + * StartProjectVersion. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -325,8 +367,9 @@ public void setMinInferenceUnits(Integer minInferenceUnits) { * Range: 1 -
    * * @param minInferenceUnits

    - * The minimum number of inference units used by the model. For - * more information, see StartProjectVersion. + * The minimum number of inference units used by the model. + * Applies only to Custom Labels projects. For more information, + * see StartProjectVersion. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -344,7 +387,8 @@ public ProjectVersionDescription withMinInferenceUnits(Integer minInferenceUnits * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @return

    * The current status of the model version. @@ -363,7 +407,8 @@ public String getStatus() { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The current status of the model version. @@ -385,7 +430,8 @@ public void setStatus(String status) { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The current status of the model version. @@ -407,7 +453,8 @@ public ProjectVersionDescription withStatus(String status) { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The current status of the model version. @@ -429,7 +476,8 @@ public void setStatus(ProjectVersionStatus status) { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The current status of the model version. @@ -905,18 +953,18 @@ public ProjectVersionDescription withKmsKeyId(String kmsKeyId) { /** *

    - * The maximum number of inference units Amazon Rekognition Custom Labels - * uses to auto-scale the model. For more information, see - * StartProjectVersion. + * The maximum number of inference units Amazon Rekognition uses to + * auto-scale the model. Applies only to Custom Labels projects. For more + * information, see StartProjectVersion. *

    *

    * Constraints:
    * Range: 1 -
    * * @return

    - * The maximum number of inference units Amazon Rekognition Custom - * Labels uses to auto-scale the model. For more information, see - * StartProjectVersion. + * The maximum number of inference units Amazon Rekognition uses to + * auto-scale the model. Applies only to Custom Labels projects. For + * more information, see StartProjectVersion. *

    */ public Integer getMaxInferenceUnits() { @@ -925,18 +973,19 @@ public Integer getMaxInferenceUnits() { /** *

    - * The maximum number of inference units Amazon Rekognition Custom Labels - * uses to auto-scale the model. For more information, see - * StartProjectVersion. + * The maximum number of inference units Amazon Rekognition uses to + * auto-scale the model. Applies only to Custom Labels projects. For more + * information, see StartProjectVersion. *

    *

    * Constraints:
    * Range: 1 -
    * * @param maxInferenceUnits

    - * The maximum number of inference units Amazon Rekognition - * Custom Labels uses to auto-scale the model. For more - * information, see StartProjectVersion. + * The maximum number of inference units Amazon Rekognition uses + * to auto-scale the model. Applies only to Custom Labels + * projects. For more information, see + * StartProjectVersion. *

    */ public void setMaxInferenceUnits(Integer maxInferenceUnits) { @@ -945,9 +994,9 @@ public void setMaxInferenceUnits(Integer maxInferenceUnits) { /** *

    - * The maximum number of inference units Amazon Rekognition Custom Labels - * uses to auto-scale the model. For more information, see - * StartProjectVersion. + * The maximum number of inference units Amazon Rekognition uses to + * auto-scale the model. Applies only to Custom Labels projects. For more + * information, see StartProjectVersion. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -957,9 +1006,10 @@ public void setMaxInferenceUnits(Integer maxInferenceUnits) { * Range: 1 -
    * * @param maxInferenceUnits

    - * The maximum number of inference units Amazon Rekognition - * Custom Labels uses to auto-scale the model. For more - * information, see StartProjectVersion. + * The maximum number of inference units Amazon Rekognition uses + * to auto-scale the model. Applies only to Custom Labels + * projects. For more information, see + * StartProjectVersion. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -1044,6 +1094,255 @@ public ProjectVersionDescription withSourceProjectVersionArn(String sourceProjec return this; } + /** + *

    + * A user-provided description of the project version. + *

    + *

    + * Constraints:
    + * Length: 1 - 255
    + * Pattern: [a-zA-Z0-9-_. ()':,;?]+
    + * + * @return

    + * A user-provided description of the project version. + *

    + */ + public String getVersionDescription() { + return versionDescription; + } + + /** + *

    + * A user-provided description of the project version. + *

    + *

    + * Constraints:
    + * Length: 1 - 255
    + * Pattern: [a-zA-Z0-9-_. ()':,;?]+
    + * + * @param versionDescription

    + * A user-provided description of the project version. + *

    + */ + public void setVersionDescription(String versionDescription) { + this.versionDescription = versionDescription; + } + + /** + *

    + * A user-provided description of the project version. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 255
    + * Pattern: [a-zA-Z0-9-_. ()':,;?]+
    + * + * @param versionDescription

    + * A user-provided description of the project version. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ProjectVersionDescription withVersionDescription(String versionDescription) { + this.versionDescription = versionDescription; + return this; + } + + /** + *

    + * The feature that was customized. + *

    + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @return

    + * The feature that was customized. + *

    + * @see CustomizationFeature + */ + public String getFeature() { + return feature; + } + + /** + *

    + * The feature that was customized. + *

    + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @param feature

    + * The feature that was customized. + *

    + * @see CustomizationFeature + */ + public void setFeature(String feature) { + this.feature = feature; + } + + /** + *

    + * The feature that was customized. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @param feature

    + * The feature that was customized. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see CustomizationFeature + */ + public ProjectVersionDescription withFeature(String feature) { + this.feature = feature; + return this; + } + + /** + *

    + * The feature that was customized. + *

    + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @param feature

    + * The feature that was customized. + *

    + * @see CustomizationFeature + */ + public void setFeature(CustomizationFeature feature) { + this.feature = feature.toString(); + } + + /** + *

    + * The feature that was customized. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: CONTENT_MODERATION, CUSTOM_LABELS + * + * @param feature

    + * The feature that was customized. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see CustomizationFeature + */ + public ProjectVersionDescription withFeature(CustomizationFeature feature) { + this.feature = feature.toString(); + return this; + } + + /** + *

    + * The base detection model version used to create the project version. + *

    + * + * @return

    + * The base detection model version used to create the project + * version. + *

    + */ + public String getBaseModelVersion() { + return baseModelVersion; + } + + /** + *

    + * The base detection model version used to create the project version. + *

    + * + * @param baseModelVersion

    + * The base detection model version used to create the project + * version. + *

    + */ + public void setBaseModelVersion(String baseModelVersion) { + this.baseModelVersion = baseModelVersion; + } + + /** + *

    + * The base detection model version used to create the project version. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param baseModelVersion

    + * The base detection model version used to create the project + * version. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ProjectVersionDescription withBaseModelVersion(String baseModelVersion) { + this.baseModelVersion = baseModelVersion; + return this; + } + + /** + *

    + * Feature specific configuration that was applied during training. + *

    + * + * @return

    + * Feature specific configuration that was applied during training. + *

    + */ + public CustomizationFeatureConfig getFeatureConfig() { + return featureConfig; + } + + /** + *

    + * Feature specific configuration that was applied during training. + *

    + * + * @param featureConfig

    + * Feature specific configuration that was applied during + * training. + *

    + */ + public void setFeatureConfig(CustomizationFeatureConfig featureConfig) { + this.featureConfig = featureConfig; + } + + /** + *

    + * Feature specific configuration that was applied during training. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param featureConfig

    + * Feature specific configuration that was applied during + * training. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ProjectVersionDescription withFeatureConfig(CustomizationFeatureConfig featureConfig) { + this.featureConfig = featureConfig; + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -1084,7 +1383,15 @@ public String toString() { if (getMaxInferenceUnits() != null) sb.append("MaxInferenceUnits: " + getMaxInferenceUnits() + ","); if (getSourceProjectVersionArn() != null) - sb.append("SourceProjectVersionArn: " + getSourceProjectVersionArn()); + sb.append("SourceProjectVersionArn: " + getSourceProjectVersionArn() + ","); + if (getVersionDescription() != null) + sb.append("VersionDescription: " + getVersionDescription() + ","); + if (getFeature() != null) + sb.append("Feature: " + getFeature() + ","); + if (getBaseModelVersion() != null) + sb.append("BaseModelVersion: " + getBaseModelVersion() + ","); + if (getFeatureConfig() != null) + sb.append("FeatureConfig: " + getFeatureConfig()); sb.append("}"); return sb.toString(); } @@ -1126,6 +1433,13 @@ public int hashCode() { * hashCode + ((getSourceProjectVersionArn() == null) ? 0 : getSourceProjectVersionArn() .hashCode()); + hashCode = prime * hashCode + + ((getVersionDescription() == null) ? 0 : getVersionDescription().hashCode()); + hashCode = prime * hashCode + ((getFeature() == null) ? 0 : getFeature().hashCode()); + hashCode = prime * hashCode + + ((getBaseModelVersion() == null) ? 0 : getBaseModelVersion().hashCode()); + hashCode = prime * hashCode + + ((getFeatureConfig() == null) ? 0 : getFeatureConfig().hashCode()); return hashCode; } @@ -1215,6 +1529,25 @@ public boolean equals(Object obj) { if (other.getSourceProjectVersionArn() != null && other.getSourceProjectVersionArn().equals(this.getSourceProjectVersionArn()) == false) return false; + if (other.getVersionDescription() == null ^ this.getVersionDescription() == null) + return false; + if (other.getVersionDescription() != null + && other.getVersionDescription().equals(this.getVersionDescription()) == false) + return false; + if (other.getFeature() == null ^ this.getFeature() == null) + return false; + if (other.getFeature() != null && other.getFeature().equals(this.getFeature()) == false) + return false; + if (other.getBaseModelVersion() == null ^ this.getBaseModelVersion() == null) + return false; + if (other.getBaseModelVersion() != null + && other.getBaseModelVersion().equals(this.getBaseModelVersion()) == false) + return false; + if (other.getFeatureConfig() == null ^ this.getFeatureConfig() == null) + return false; + if (other.getFeatureConfig() != null + && other.getFeatureConfig().equals(this.getFeatureConfig()) == false) + return false; return true; } } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectVersionStatus.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectVersionStatus.java index 352adfc3a0..5d516d9293 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectVersionStatus.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProjectVersionStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -34,7 +34,9 @@ public enum ProjectVersionStatus { DELETING("DELETING"), COPYING_IN_PROGRESS("COPYING_IN_PROGRESS"), COPYING_COMPLETED("COPYING_COMPLETED"), - COPYING_FAILED("COPYING_FAILED"); + COPYING_FAILED("COPYING_FAILED"), + DEPRECATED("DEPRECATED"), + EXPIRED("EXPIRED"); private String value; @@ -62,6 +64,8 @@ public String toString() { enumMap.put("COPYING_IN_PROGRESS", COPYING_IN_PROGRESS); enumMap.put("COPYING_COMPLETED", COPYING_COMPLETED); enumMap.put("COPYING_FAILED", COPYING_FAILED); + enumMap.put("DEPRECATED", DEPRECATED); + enumMap.put("EXPIRED", EXPIRED); } /** diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentBodyPart.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentBodyPart.java index 503ef88dd3..8b34715080 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentBodyPart.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentBodyPart.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentPerson.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentPerson.java index 6585588d49..c4039503b3 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentPerson.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentPerson.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentSummarizationAttributes.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentSummarizationAttributes.java index 04bc19243a..17d30436e7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentSummarizationAttributes.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentSummarizationAttributes.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentSummary.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentSummary.java index 3f62654ce1..ef84e4566d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentSummary.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentSummary.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentType.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentType.java index 54bd811c4d..cdc2dddef2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentType.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProtectiveEquipmentType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProvisionedThroughputExceededException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProvisionedThroughputExceededException.java index 502b34699d..991f3d676d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProvisionedThroughputExceededException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ProvisionedThroughputExceededException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PutProjectPolicyRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PutProjectPolicyRequest.java index 9f272a94c2..0f6513e126 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PutProjectPolicyRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PutProjectPolicyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,12 +20,17 @@ import com.amazonaws.AmazonWebServiceRequest; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Attaches a project policy to a Amazon Rekognition Custom Labels project in a * trusting AWS account. A project policy specifies that a trusted AWS account * can copy a model version from a trusting AWS account to a project in the * trusted AWS account. To copy a model version you use the - * CopyProjectVersion operation. + * CopyProjectVersion operation. Only applies to Custom Labels projects. *

    *

    * For more information about the format of a project policy document, see diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PutProjectPolicyResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PutProjectPolicyResult.java index 7f28b6c668..4ea111a318 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PutProjectPolicyResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PutProjectPolicyResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/QualityFilter.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/QualityFilter.java index 49ff75c4c5..dff256cebe 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/QualityFilter.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/QualityFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Reason.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Reason.java index 6ef6b2af30..1368078ace 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Reason.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Reason.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/RecognizeCelebritiesRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/RecognizeCelebritiesRequest.java index cdfbdd5625..5f87f610f1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/RecognizeCelebritiesRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/RecognizeCelebritiesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/RecognizeCelebritiesResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/RecognizeCelebritiesResult.java index 17204e4abe..87a56fd6d8 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/RecognizeCelebritiesResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/RecognizeCelebritiesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/RegionOfInterest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/RegionOfInterest.java index bb6d11cd77..d15b10a4af 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/RegionOfInterest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/RegionOfInterest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceAlreadyExistsException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceAlreadyExistsException.java index 3fadcc6d2a..4c4c8d24a2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceAlreadyExistsException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceAlreadyExistsException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceInUseException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceInUseException.java index 430c375a53..6d1b7991cd 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceInUseException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceInUseException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceNotFoundException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceNotFoundException.java index c38263312a..d80a97da43 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceNotFoundException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceNotFoundException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceNotReadyException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceNotReadyException.java index c06a68eee0..3f0a9e1aaa 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceNotReadyException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ResourceNotReadyException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/S3Destination.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/S3Destination.java index 1c8f186516..443dbd4fc3 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/S3Destination.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/S3Destination.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/S3Object.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/S3Object.java index 36137f192b..d7d5b907b4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/S3Object.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/S3Object.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesByImageRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesByImageRequest.java index 5be99bb67a..8ac39a5cf1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesByImageRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesByImageRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesByImageResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesByImageResult.java index 73e721b9f2..9ba17d2800 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesByImageResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesByImageResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesRequest.java index 2d463ec271..4016237cef 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesResult.java index 2ac30dee3d..1cb3b6ded3 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchFacesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersByImageRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersByImageRequest.java index 1e6e7c8709..ba9e186498 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersByImageRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersByImageRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersByImageResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersByImageResult.java index ff53a1f369..f5cacbeb86 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersByImageResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersByImageResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersRequest.java index 0b46ace937..a1746510b7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersResult.java index 1bedaba91c..aa6a1e699d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchUsersResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchedFace.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchedFace.java index 7781ed42d0..e5a83475b4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchedFace.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchedFace.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchedFaceDetails.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchedFaceDetails.java index f04b18eb61..c206bd987a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchedFaceDetails.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchedFaceDetails.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchedUser.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchedUser.java index 5bb0f0da86..549242b1c5 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchedUser.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SearchedUser.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SegmentDetection.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SegmentDetection.java index 746cda27f3..974964b708 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SegmentDetection.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SegmentDetection.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SegmentType.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SegmentType.java index 5cc4a870f6..913efed71b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SegmentType.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SegmentType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SegmentTypeInfo.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SegmentTypeInfo.java index d10243c522..8f6ba76fa0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SegmentTypeInfo.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SegmentTypeInfo.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ServiceQuotaExceededException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ServiceQuotaExceededException.java index 90043772e2..a309ec5737 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ServiceQuotaExceededException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ServiceQuotaExceededException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SessionNotFoundException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SessionNotFoundException.java index 12c5817731..be5837a6a2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SessionNotFoundException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/SessionNotFoundException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ShotSegment.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ShotSegment.java index 8587368856..80236acbca 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ShotSegment.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ShotSegment.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Smile.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Smile.java index 0b6bc56aab..8c6adf7e72 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Smile.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Smile.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartCelebrityRecognitionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartCelebrityRecognitionRequest.java index d5d03048e5..8c880b143e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartCelebrityRecognitionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartCelebrityRecognitionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartCelebrityRecognitionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartCelebrityRecognitionResult.java index 728f883fcf..3a91cb3517 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartCelebrityRecognitionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartCelebrityRecognitionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartContentModerationRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartContentModerationRequest.java index 0e87ebbe30..3d37769792 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartContentModerationRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartContentModerationRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartContentModerationResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartContentModerationResult.java index 50b0f40189..56ece877f0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartContentModerationResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartContentModerationResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceDetectionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceDetectionRequest.java index 6ccc8bcff8..c22a1130f7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceDetectionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceDetectionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceDetectionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceDetectionResult.java index 7e0b00090f..4e0d469299 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceDetectionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceDetectionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceSearchRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceSearchRequest.java index 386d571c69..97f947418c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceSearchRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceSearchRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceSearchResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceSearchResult.java index ea3d8e6b5e..2a6c9b355d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceSearchResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartFaceSearchResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartLabelDetectionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartLabelDetectionRequest.java index 5412e63797..c0c2566214 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartLabelDetectionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartLabelDetectionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartLabelDetectionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartLabelDetectionResult.java index edcc6644f3..c58d4b3751 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartLabelDetectionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartLabelDetectionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartMediaAnalysisJobRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartMediaAnalysisJobRequest.java new file mode 100644 index 0000000000..fa80a4d410 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartMediaAnalysisJobRequest.java @@ -0,0 +1,526 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +import com.amazonaws.AmazonWebServiceRequest; + +/** + *

    + * Initiates a new media analysis job. Accepts a manifest file in an Amazon S3 + * bucket. The output is a manifest file and a summary of the manifest stored in + * the Amazon S3 bucket. + *

    + */ +public class StartMediaAnalysisJobRequest extends AmazonWebServiceRequest implements Serializable { + /** + *

    + * Idempotency token used to prevent the accidental creation of duplicate + * versions. If you use the same token with multiple + * StartMediaAnalysisJobRequest requests, the same response is + * returned. Use ClientRequestToken to prevent the same request + * from being processed more than once. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + */ + private String clientRequestToken; + + /** + *

    + * The name of the job. Does not have to be unique. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: [a-zA-Z0-9_.\-]+
    + */ + private String jobName; + + /** + *

    + * Configuration options for the media analysis job to be created. + *

    + */ + private MediaAnalysisOperationsConfig operationsConfig; + + /** + *

    + * Input data to be analyzed by the job. + *

    + */ + private MediaAnalysisInput input; + + /** + *

    + * The Amazon S3 bucket location to store the results. + *

    + */ + private MediaAnalysisOutputConfig outputConfig; + + /** + *

    + * The identifier of customer managed AWS KMS key (name or ARN). The key is + * used to encrypt images copied into the service. The key is also used to + * encrypt results and manifest files written to the output Amazon S3 + * bucket. + *

    + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + */ + private String kmsKeyId; + + /** + *

    + * Idempotency token used to prevent the accidental creation of duplicate + * versions. If you use the same token with multiple + * StartMediaAnalysisJobRequest requests, the same response is + * returned. Use ClientRequestToken to prevent the same request + * from being processed more than once. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @return

    + * Idempotency token used to prevent the accidental creation of + * duplicate versions. If you use the same token with multiple + * StartMediaAnalysisJobRequest requests, the same + * response is returned. Use ClientRequestToken to + * prevent the same request from being processed more than once. + *

    + */ + public String getClientRequestToken() { + return clientRequestToken; + } + + /** + *

    + * Idempotency token used to prevent the accidental creation of duplicate + * versions. If you use the same token with multiple + * StartMediaAnalysisJobRequest requests, the same response is + * returned. Use ClientRequestToken to prevent the same request + * from being processed more than once. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @param clientRequestToken

    + * Idempotency token used to prevent the accidental creation of + * duplicate versions. If you use the same token with multiple + * StartMediaAnalysisJobRequest requests, the same + * response is returned. Use ClientRequestToken to + * prevent the same request from being processed more than once. + *

    + */ + public void setClientRequestToken(String clientRequestToken) { + this.clientRequestToken = clientRequestToken; + } + + /** + *

    + * Idempotency token used to prevent the accidental creation of duplicate + * versions. If you use the same token with multiple + * StartMediaAnalysisJobRequest requests, the same response is + * returned. Use ClientRequestToken to prevent the same request + * from being processed more than once. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @param clientRequestToken

    + * Idempotency token used to prevent the accidental creation of + * duplicate versions. If you use the same token with multiple + * StartMediaAnalysisJobRequest requests, the same + * response is returned. Use ClientRequestToken to + * prevent the same request from being processed more than once. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMediaAnalysisJobRequest withClientRequestToken(String clientRequestToken) { + this.clientRequestToken = clientRequestToken; + return this; + } + + /** + *

    + * The name of the job. Does not have to be unique. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: [a-zA-Z0-9_.\-]+
    + * + * @return

    + * The name of the job. Does not have to be unique. + *

    + */ + public String getJobName() { + return jobName; + } + + /** + *

    + * The name of the job. Does not have to be unique. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: [a-zA-Z0-9_.\-]+
    + * + * @param jobName

    + * The name of the job. Does not have to be unique. + *

    + */ + public void setJobName(String jobName) { + this.jobName = jobName; + } + + /** + *

    + * The name of the job. Does not have to be unique. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: [a-zA-Z0-9_.\-]+
    + * + * @param jobName

    + * The name of the job. Does not have to be unique. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMediaAnalysisJobRequest withJobName(String jobName) { + this.jobName = jobName; + return this; + } + + /** + *

    + * Configuration options for the media analysis job to be created. + *

    + * + * @return

    + * Configuration options for the media analysis job to be created. + *

    + */ + public MediaAnalysisOperationsConfig getOperationsConfig() { + return operationsConfig; + } + + /** + *

    + * Configuration options for the media analysis job to be created. + *

    + * + * @param operationsConfig

    + * Configuration options for the media analysis job to be + * created. + *

    + */ + public void setOperationsConfig(MediaAnalysisOperationsConfig operationsConfig) { + this.operationsConfig = operationsConfig; + } + + /** + *

    + * Configuration options for the media analysis job to be created. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param operationsConfig

    + * Configuration options for the media analysis job to be + * created. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMediaAnalysisJobRequest withOperationsConfig( + MediaAnalysisOperationsConfig operationsConfig) { + this.operationsConfig = operationsConfig; + return this; + } + + /** + *

    + * Input data to be analyzed by the job. + *

    + * + * @return

    + * Input data to be analyzed by the job. + *

    + */ + public MediaAnalysisInput getInput() { + return input; + } + + /** + *

    + * Input data to be analyzed by the job. + *

    + * + * @param input

    + * Input data to be analyzed by the job. + *

    + */ + public void setInput(MediaAnalysisInput input) { + this.input = input; + } + + /** + *

    + * Input data to be analyzed by the job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param input

    + * Input data to be analyzed by the job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMediaAnalysisJobRequest withInput(MediaAnalysisInput input) { + this.input = input; + return this; + } + + /** + *

    + * The Amazon S3 bucket location to store the results. + *

    + * + * @return

    + * The Amazon S3 bucket location to store the results. + *

    + */ + public MediaAnalysisOutputConfig getOutputConfig() { + return outputConfig; + } + + /** + *

    + * The Amazon S3 bucket location to store the results. + *

    + * + * @param outputConfig

    + * The Amazon S3 bucket location to store the results. + *

    + */ + public void setOutputConfig(MediaAnalysisOutputConfig outputConfig) { + this.outputConfig = outputConfig; + } + + /** + *

    + * The Amazon S3 bucket location to store the results. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param outputConfig

    + * The Amazon S3 bucket location to store the results. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMediaAnalysisJobRequest withOutputConfig(MediaAnalysisOutputConfig outputConfig) { + this.outputConfig = outputConfig; + return this; + } + + /** + *

    + * The identifier of customer managed AWS KMS key (name or ARN). The key is + * used to encrypt images copied into the service. The key is also used to + * encrypt results and manifest files written to the output Amazon S3 + * bucket. + *

    + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + * + * @return

    + * The identifier of customer managed AWS KMS key (name or ARN). The + * key is used to encrypt images copied into the service. The key is + * also used to encrypt results and manifest files written to the + * output Amazon S3 bucket. + *

    + */ + public String getKmsKeyId() { + return kmsKeyId; + } + + /** + *

    + * The identifier of customer managed AWS KMS key (name or ARN). The key is + * used to encrypt images copied into the service. The key is also used to + * encrypt results and manifest files written to the output Amazon S3 + * bucket. + *

    + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + * + * @param kmsKeyId

    + * The identifier of customer managed AWS KMS key (name or ARN). + * The key is used to encrypt images copied into the service. The + * key is also used to encrypt results and manifest files written + * to the output Amazon S3 bucket. + *

    + */ + public void setKmsKeyId(String kmsKeyId) { + this.kmsKeyId = kmsKeyId; + } + + /** + *

    + * The identifier of customer managed AWS KMS key (name or ARN). The key is + * used to encrypt images copied into the service. The key is also used to + * encrypt results and manifest files written to the output Amazon S3 + * bucket. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + * + * @param kmsKeyId

    + * The identifier of customer managed AWS KMS key (name or ARN). + * The key is used to encrypt images copied into the service. The + * key is also used to encrypt results and manifest files written + * to the output Amazon S3 bucket. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMediaAnalysisJobRequest withKmsKeyId(String kmsKeyId) { + this.kmsKeyId = kmsKeyId; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getClientRequestToken() != null) + sb.append("ClientRequestToken: " + getClientRequestToken() + ","); + if (getJobName() != null) + sb.append("JobName: " + getJobName() + ","); + if (getOperationsConfig() != null) + sb.append("OperationsConfig: " + getOperationsConfig() + ","); + if (getInput() != null) + sb.append("Input: " + getInput() + ","); + if (getOutputConfig() != null) + sb.append("OutputConfig: " + getOutputConfig() + ","); + if (getKmsKeyId() != null) + sb.append("KmsKeyId: " + getKmsKeyId()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + + ((getClientRequestToken() == null) ? 0 : getClientRequestToken().hashCode()); + hashCode = prime * hashCode + ((getJobName() == null) ? 0 : getJobName().hashCode()); + hashCode = prime * hashCode + + ((getOperationsConfig() == null) ? 0 : getOperationsConfig().hashCode()); + hashCode = prime * hashCode + ((getInput() == null) ? 0 : getInput().hashCode()); + hashCode = prime * hashCode + + ((getOutputConfig() == null) ? 0 : getOutputConfig().hashCode()); + hashCode = prime * hashCode + ((getKmsKeyId() == null) ? 0 : getKmsKeyId().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof StartMediaAnalysisJobRequest == false) + return false; + StartMediaAnalysisJobRequest other = (StartMediaAnalysisJobRequest) obj; + + if (other.getClientRequestToken() == null ^ this.getClientRequestToken() == null) + return false; + if (other.getClientRequestToken() != null + && other.getClientRequestToken().equals(this.getClientRequestToken()) == false) + return false; + if (other.getJobName() == null ^ this.getJobName() == null) + return false; + if (other.getJobName() != null && other.getJobName().equals(this.getJobName()) == false) + return false; + if (other.getOperationsConfig() == null ^ this.getOperationsConfig() == null) + return false; + if (other.getOperationsConfig() != null + && other.getOperationsConfig().equals(this.getOperationsConfig()) == false) + return false; + if (other.getInput() == null ^ this.getInput() == null) + return false; + if (other.getInput() != null && other.getInput().equals(this.getInput()) == false) + return false; + if (other.getOutputConfig() == null ^ this.getOutputConfig() == null) + return false; + if (other.getOutputConfig() != null + && other.getOutputConfig().equals(this.getOutputConfig()) == false) + return false; + if (other.getKmsKeyId() == null ^ this.getKmsKeyId() == null) + return false; + if (other.getKmsKeyId() != null && other.getKmsKeyId().equals(this.getKmsKeyId()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartMediaAnalysisJobResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartMediaAnalysisJobResult.java new file mode 100644 index 0000000000..8706d6ec44 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartMediaAnalysisJobResult.java @@ -0,0 +1,132 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model; + +import java.io.Serializable; + +public class StartMediaAnalysisJobResult implements Serializable { + /** + *

    + * Identifier for the created job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + */ + private String jobId; + + /** + *

    + * Identifier for the created job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @return

    + * Identifier for the created job. + *

    + */ + public String getJobId() { + return jobId; + } + + /** + *

    + * Identifier for the created job. + *

    + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @param jobId

    + * Identifier for the created job. + *

    + */ + public void setJobId(String jobId) { + this.jobId = jobId; + } + + /** + *

    + * Identifier for the created job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 64
    + * Pattern: ^[a-zA-Z0-9-_]+$
    + * + * @param jobId

    + * Identifier for the created job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMediaAnalysisJobResult withJobId(String jobId) { + this.jobId = jobId; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getJobId() != null) + sb.append("JobId: " + getJobId()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getJobId() == null) ? 0 : getJobId().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof StartMediaAnalysisJobResult == false) + return false; + StartMediaAnalysisJobResult other = (StartMediaAnalysisJobResult) obj; + + if (other.getJobId() == null ^ this.getJobId() == null) + return false; + if (other.getJobId() != null && other.getJobId().equals(this.getJobId()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartPersonTrackingRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartPersonTrackingRequest.java index 566c17d552..7ce01967a1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartPersonTrackingRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartPersonTrackingRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartPersonTrackingResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartPersonTrackingResult.java index 5e99cac720..16b448f316 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartPersonTrackingResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartPersonTrackingResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartProjectVersionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartProjectVersionRequest.java index 57dcee298c..8dbfba5954 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartProjectVersionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartProjectVersionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,6 +20,11 @@ import com.amazonaws.AmazonWebServiceRequest; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Starts the running of the version of a model. Starting a model takes a while * to complete. To check the current state of the model, use @@ -36,10 +41,6 @@ *

    * *

    - * For more information, see Running a trained Amazon Rekognition Custom - * Labels model in the Amazon Rekognition Custom Labels Guide. - *

    - *

    * This operation requires permissions to perform the * rekognition:StartProjectVersion action. *

    @@ -65,11 +66,6 @@ public class StartProjectVersionRequest extends AmazonWebServiceRequest implemen * represents 1 hour of processing. *

    *

    - * For information about the number of transactions per second (TPS) that an - * inference unit can support, see Running a trained Amazon Rekognition - * Custom Labels model in the Amazon Rekognition Custom Labels Guide. - *

    - *

    * Use a higher number to increase the TPS throughput of your model. You are * charged for the number of inference units that you use. *

    @@ -166,11 +162,6 @@ public StartProjectVersionRequest withProjectVersionArn(String projectVersionArn * represents 1 hour of processing. *

    *

    - * For information about the number of transactions per second (TPS) that an - * inference unit can support, see Running a trained Amazon Rekognition - * Custom Labels model in the Amazon Rekognition Custom Labels Guide. - *

    - *

    * Use a higher number to increase the TPS throughput of your model. You are * charged for the number of inference units that you use. *

    @@ -183,12 +174,6 @@ public StartProjectVersionRequest withProjectVersionArn(String projectVersionArn * unit represents 1 hour of processing. *

    *

    - * For information about the number of transactions per second (TPS) - * that an inference unit can support, see Running a trained - * Amazon Rekognition Custom Labels model in the Amazon - * Rekognition Custom Labels Guide. - *

    - *

    * Use a higher number to increase the TPS throughput of your model. * You are charged for the number of inference units that you use. *

    @@ -203,11 +188,6 @@ public Integer getMinInferenceUnits() { * represents 1 hour of processing. *

    *

    - * For information about the number of transactions per second (TPS) that an - * inference unit can support, see Running a trained Amazon Rekognition - * Custom Labels model in the Amazon Rekognition Custom Labels Guide. - *

    - *

    * Use a higher number to increase the TPS throughput of your model. You are * charged for the number of inference units that you use. *

    @@ -220,12 +200,6 @@ public Integer getMinInferenceUnits() { * inference unit represents 1 hour of processing. *

    *

    - * For information about the number of transactions per second - * (TPS) that an inference unit can support, see Running a - * trained Amazon Rekognition Custom Labels model in the - * Amazon Rekognition Custom Labels Guide. - *

    - *

    * Use a higher number to increase the TPS throughput of your * model. You are charged for the number of inference units that * you use. @@ -241,11 +215,6 @@ public void setMinInferenceUnits(Integer minInferenceUnits) { * represents 1 hour of processing. *

    *

    - * For information about the number of transactions per second (TPS) that an - * inference unit can support, see Running a trained Amazon Rekognition - * Custom Labels model in the Amazon Rekognition Custom Labels Guide. - *

    - *

    * Use a higher number to increase the TPS throughput of your model. You are * charged for the number of inference units that you use. *

    @@ -261,12 +230,6 @@ public void setMinInferenceUnits(Integer minInferenceUnits) { * inference unit represents 1 hour of processing. *

    *

    - * For information about the number of transactions per second - * (TPS) that an inference unit can support, see Running a - * trained Amazon Rekognition Custom Labels model in the - * Amazon Rekognition Custom Labels Guide. - *

    - *

    * Use a higher number to increase the TPS throughput of your * model. You are charged for the number of inference units that * you use. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartProjectVersionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartProjectVersionResult.java index 52043dfe91..60187af0d6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartProjectVersionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartProjectVersionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -26,7 +26,8 @@ public class StartProjectVersionResult implements Serializable { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED */ private String status; @@ -38,7 +39,8 @@ public class StartProjectVersionResult implements Serializable { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @return

    * The current running status of the model. @@ -57,7 +59,8 @@ public String getStatus() { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The current running status of the model. @@ -79,7 +82,8 @@ public void setStatus(String status) { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The current running status of the model. @@ -101,7 +105,8 @@ public StartProjectVersionResult withStatus(String status) { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The current running status of the model. @@ -123,7 +128,8 @@ public void setStatus(ProjectVersionStatus status) { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The current running status of the model. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartSegmentDetectionFilters.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartSegmentDetectionFilters.java index 0e0dffaa43..2149f5b318 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartSegmentDetectionFilters.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartSegmentDetectionFilters.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartSegmentDetectionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartSegmentDetectionRequest.java index 5e896018dc..cfca9a0687 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartSegmentDetectionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartSegmentDetectionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartSegmentDetectionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartSegmentDetectionResult.java index dbc6dba97a..5fc1fb4165 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartSegmentDetectionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartSegmentDetectionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartShotDetectionFilter.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartShotDetectionFilter.java index 06842667e7..6e138d1f20 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartShotDetectionFilter.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartShotDetectionFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartStreamProcessorRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartStreamProcessorRequest.java index e298a95d29..480afca4c2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartStreamProcessorRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartStreamProcessorRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartStreamProcessorResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartStreamProcessorResult.java index c0f290dc27..db4af2cd44 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartStreamProcessorResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartStreamProcessorResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTechnicalCueDetectionFilter.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTechnicalCueDetectionFilter.java index 882d0f83fd..3679842022 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTechnicalCueDetectionFilter.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTechnicalCueDetectionFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTextDetectionFilters.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTextDetectionFilters.java index 1d78430470..a1f10f007d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTextDetectionFilters.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTextDetectionFilters.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTextDetectionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTextDetectionRequest.java index ec516010f0..3ad5e7c207 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTextDetectionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTextDetectionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTextDetectionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTextDetectionResult.java index 177c139e61..d029cef499 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTextDetectionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StartTextDetectionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopProjectVersionRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopProjectVersionRequest.java index 5b2c342999..6ae7c69d57 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopProjectVersionRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopProjectVersionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,9 +20,15 @@ import com.amazonaws.AmazonWebServiceRequest; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + * *

    * Stops a running model. The operation might take a while to complete. To check - * the current status, call DescribeProjectVersions. + * the current status, call DescribeProjectVersions. Only applies to + * Custom Labels projects. *

    *

    * This operation requires permissions to perform the @@ -33,7 +39,7 @@ public class StopProjectVersionRequest extends AmazonWebServiceRequest implement /** *

    * The Amazon Resource Name (ARN) of the model version that you want to - * delete. + * stop. *

    *

    * This operation requires permissions to perform the @@ -51,7 +57,7 @@ public class StopProjectVersionRequest extends AmazonWebServiceRequest implement /** *

    * The Amazon Resource Name (ARN) of the model version that you want to - * delete. + * stop. *

    *

    * This operation requires permissions to perform the @@ -66,7 +72,7 @@ public class StopProjectVersionRequest extends AmazonWebServiceRequest implement * * @return

    * The Amazon Resource Name (ARN) of the model version that you want - * to delete. + * to stop. *

    *

    * This operation requires permissions to perform the @@ -80,7 +86,7 @@ public String getProjectVersionArn() { /** *

    * The Amazon Resource Name (ARN) of the model version that you want to - * delete. + * stop. *

    *

    * This operation requires permissions to perform the @@ -95,7 +101,7 @@ public String getProjectVersionArn() { * * @param projectVersionArn

    * The Amazon Resource Name (ARN) of the model version that you - * want to delete. + * want to stop. *

    *

    * This operation requires permissions to perform the @@ -109,7 +115,7 @@ public void setProjectVersionArn(String projectVersionArn) { /** *

    * The Amazon Resource Name (ARN) of the model version that you want to - * delete. + * stop. *

    *

    * This operation requires permissions to perform the @@ -127,7 +133,7 @@ public void setProjectVersionArn(String projectVersionArn) { * * @param projectVersionArn

    * The Amazon Resource Name (ARN) of the model version that you - * want to delete. + * want to stop. *

    *

    * This operation requires permissions to perform the diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopProjectVersionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopProjectVersionResult.java index b11d8d59b4..1ca2c46d77 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopProjectVersionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopProjectVersionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -26,7 +26,8 @@ public class StopProjectVersionResult implements Serializable { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED */ private String status; @@ -38,7 +39,8 @@ public class StopProjectVersionResult implements Serializable { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @return

    * The current status of the stop operation. @@ -57,7 +59,8 @@ public String getStatus() { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The current status of the stop operation. @@ -79,7 +82,8 @@ public void setStatus(String status) { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The current status of the stop operation. @@ -101,7 +105,8 @@ public StopProjectVersionResult withStatus(String status) { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The current status of the stop operation. @@ -123,7 +128,8 @@ public void setStatus(ProjectVersionStatus status) { * Constraints:
    * Allowed Values: TRAINING_IN_PROGRESS, TRAINING_COMPLETED, * TRAINING_FAILED, STARTING, RUNNING, FAILED, STOPPING, STOPPED, DELETING, - * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED + * COPYING_IN_PROGRESS, COPYING_COMPLETED, COPYING_FAILED, DEPRECATED, + * EXPIRED * * @param status

    * The current status of the stop operation. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopStreamProcessorRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopStreamProcessorRequest.java index 4e925ee29c..8170da69d7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopStreamProcessorRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopStreamProcessorRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopStreamProcessorResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopStreamProcessorResult.java index cafa797781..3795baa63c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopStreamProcessorResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StopStreamProcessorResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessingStartSelector.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessingStartSelector.java index c2ffa60700..1211a3a8ea 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessingStartSelector.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessingStartSelector.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessingStopSelector.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessingStopSelector.java index dc867ac5eb..358b50bf71 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessingStopSelector.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessingStopSelector.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessor.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessor.java index ff926871b6..55b16e12c3 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessor.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorDataSharingPreference.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorDataSharingPreference.java index 732c9eec5b..dc85c487f4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorDataSharingPreference.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorDataSharingPreference.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorInput.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorInput.java index 22477b8929..6cc782880c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorInput.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorInput.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorNotificationChannel.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorNotificationChannel.java index 9fc2132f56..7572843a70 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorNotificationChannel.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorNotificationChannel.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorOutput.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorOutput.java index e4d33cde64..6b42bc7ffc 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorOutput.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorOutput.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorParameterToDelete.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorParameterToDelete.java index 86c5040365..67d92d08ac 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorParameterToDelete.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorParameterToDelete.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorSettings.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorSettings.java index ffd8bba7d4..170aa557cc 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorSettings.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorSettingsForUpdate.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorSettingsForUpdate.java index 3bea9ead79..6f8b1701e4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorSettingsForUpdate.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorSettingsForUpdate.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorStatus.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorStatus.java index 74a4b2debc..d956c54d9b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorStatus.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/StreamProcessorStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Summary.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Summary.java index 041c51aafb..01971d08c2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Summary.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Summary.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Sunglasses.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Sunglasses.java index 25343ebbc8..6bec6c90f4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Sunglasses.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Sunglasses.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TagResourceRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TagResourceRequest.java index cefa535ae8..529829ee81 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TagResourceRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TagResourceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TagResourceResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TagResourceResult.java index b7edc26dc0..558b9cfaf0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TagResourceResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TagResourceResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TechnicalCueSegment.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TechnicalCueSegment.java index d8c4ef7d6f..b83ac67eb9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TechnicalCueSegment.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TechnicalCueSegment.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TechnicalCueType.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TechnicalCueType.java index e8b0381e01..2ade0a8ba7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TechnicalCueType.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TechnicalCueType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TestingData.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TestingData.java index 811a07ac6f..9abce0ec94 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TestingData.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TestingData.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,8 +20,8 @@ /** *

    * The dataset used for testing. Optionally, if AutoCreate is set, - * Amazon Rekognition Custom Labels uses the training dataset to create a test - * dataset with a temporary split of the training dataset. + * Amazon Rekognition uses the training dataset to create a test dataset with a + * temporary split of the training dataset. *

    */ public class TestingData implements Serializable { @@ -34,10 +34,8 @@ public class TestingData implements Serializable { /** *

    - * If specified, Amazon Rekognition Custom Labels temporarily splits the - * training dataset (80%) to create a test dataset (20%) for the training - * job. After training completes, the test dataset is not stored and the - * training dataset reverts to its previous size. + * If specified, Rekognition splits training dataset to create a test + * dataset for the training job. *

    */ private Boolean autoCreate; @@ -118,17 +116,13 @@ public TestingData withAssets(java.util.Collection assets) { /** *

    - * If specified, Amazon Rekognition Custom Labels temporarily splits the - * training dataset (80%) to create a test dataset (20%) for the training - * job. After training completes, the test dataset is not stored and the - * training dataset reverts to its previous size. + * If specified, Rekognition splits training dataset to create a test + * dataset for the training job. *

    * * @return

    - * If specified, Amazon Rekognition Custom Labels temporarily splits - * the training dataset (80%) to create a test dataset (20%) for the - * training job. After training completes, the test dataset is not - * stored and the training dataset reverts to its previous size. + * If specified, Rekognition splits training dataset to create a + * test dataset for the training job. *

    */ public Boolean isAutoCreate() { @@ -137,17 +131,13 @@ public Boolean isAutoCreate() { /** *

    - * If specified, Amazon Rekognition Custom Labels temporarily splits the - * training dataset (80%) to create a test dataset (20%) for the training - * job. After training completes, the test dataset is not stored and the - * training dataset reverts to its previous size. + * If specified, Rekognition splits training dataset to create a test + * dataset for the training job. *

    * * @return

    - * If specified, Amazon Rekognition Custom Labels temporarily splits - * the training dataset (80%) to create a test dataset (20%) for the - * training job. After training completes, the test dataset is not - * stored and the training dataset reverts to its previous size. + * If specified, Rekognition splits training dataset to create a + * test dataset for the training job. *

    */ public Boolean getAutoCreate() { @@ -156,18 +146,13 @@ public Boolean getAutoCreate() { /** *

    - * If specified, Amazon Rekognition Custom Labels temporarily splits the - * training dataset (80%) to create a test dataset (20%) for the training - * job. After training completes, the test dataset is not stored and the - * training dataset reverts to its previous size. + * If specified, Rekognition splits training dataset to create a test + * dataset for the training job. *

    * * @param autoCreate

    - * If specified, Amazon Rekognition Custom Labels temporarily - * splits the training dataset (80%) to create a test dataset - * (20%) for the training job. After training completes, the test - * dataset is not stored and the training dataset reverts to its - * previous size. + * If specified, Rekognition splits training dataset to create a + * test dataset for the training job. *

    */ public void setAutoCreate(Boolean autoCreate) { @@ -176,21 +161,16 @@ public void setAutoCreate(Boolean autoCreate) { /** *

    - * If specified, Amazon Rekognition Custom Labels temporarily splits the - * training dataset (80%) to create a test dataset (20%) for the training - * job. After training completes, the test dataset is not stored and the - * training dataset reverts to its previous size. + * If specified, Rekognition splits training dataset to create a test + * dataset for the training job. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param autoCreate

    - * If specified, Amazon Rekognition Custom Labels temporarily - * splits the training dataset (80%) to create a test dataset - * (20%) for the training job. After training completes, the test - * dataset is not stored and the training dataset reverts to its - * previous size. + * If specified, Rekognition splits training dataset to create a + * test dataset for the training job. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TestingDataResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TestingDataResult.java index a9e5170b58..3471cf3545 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TestingDataResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TestingDataResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextDetection.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextDetection.java index f04678bf8b..40557506c2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextDetection.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextDetection.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextDetectionResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextDetectionResult.java index a9b8851b8c..9549f9fa0b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextDetectionResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextDetectionResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextTypes.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextTypes.java index 5283de48a7..17ed095bc4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextTypes.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TextTypes.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ThrottlingException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ThrottlingException.java index 5fc284eef9..5adc773b4e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ThrottlingException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ThrottlingException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TrainingData.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TrainingData.java index ad16edcb7a..ee939037b5 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TrainingData.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TrainingData.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -25,21 +25,21 @@ public class TrainingData implements Serializable { /** *

    - * A Sagemaker GroundTruth manifest file that contains the training images - * (assets). + * A manifest file that contains references to the training images and + * ground-truth annotations. *

    */ private java.util.List assets; /** *

    - * A Sagemaker GroundTruth manifest file that contains the training images - * (assets). + * A manifest file that contains references to the training images and + * ground-truth annotations. *

    * * @return

    - * A Sagemaker GroundTruth manifest file that contains the training - * images (assets). + * A manifest file that contains references to the training images + * and ground-truth annotations. *

    */ public java.util.List getAssets() { @@ -48,13 +48,13 @@ public java.util.List getAssets() { /** *

    - * A Sagemaker GroundTruth manifest file that contains the training images - * (assets). + * A manifest file that contains references to the training images and + * ground-truth annotations. *

    * * @param assets

    - * A Sagemaker GroundTruth manifest file that contains the - * training images (assets). + * A manifest file that contains references to the training + * images and ground-truth annotations. *

    */ public void setAssets(java.util.Collection assets) { @@ -68,16 +68,16 @@ public void setAssets(java.util.Collection assets) { /** *

    - * A Sagemaker GroundTruth manifest file that contains the training images - * (assets). + * A manifest file that contains references to the training images and + * ground-truth annotations. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param assets

    - * A Sagemaker GroundTruth manifest file that contains the - * training images (assets). + * A manifest file that contains references to the training + * images and ground-truth annotations. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -94,16 +94,16 @@ public TrainingData withAssets(Asset... assets) { /** *

    - * A Sagemaker GroundTruth manifest file that contains the training images - * (assets). + * A manifest file that contains references to the training images and + * ground-truth annotations. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param assets

    - * A Sagemaker GroundTruth manifest file that contains the - * training images (assets). + * A manifest file that contains references to the training + * images and ground-truth annotations. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TrainingDataResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TrainingDataResult.java index 8f7d73286c..38c1578b2f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TrainingDataResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TrainingDataResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -19,41 +19,41 @@ /** *

    - * Sagemaker Groundtruth format manifest files for the input, output and - * validation datasets that are used and created during testing. + * The data validation manifest created for the training dataset during model + * training. *

    */ public class TrainingDataResult implements Serializable { /** *

    - * The training assets that you supplied for training. + * The training data that you supplied. *

    */ private TrainingData input; /** *

    - * The images (assets) that were actually trained by Amazon Rekognition - * Custom Labels. + * Reference to images (assets) that were actually used during training with + * trained model predictions. *

    */ private TrainingData output; /** *

    - * The location of the data validation manifest. The data validation - * manifest is created for the training dataset during model training. + * A manifest that you supplied for training, with validation results for + * each line. *

    */ private ValidationData validation; /** *

    - * The training assets that you supplied for training. + * The training data that you supplied. *

    * * @return

    - * The training assets that you supplied for training. + * The training data that you supplied. *

    */ public TrainingData getInput() { @@ -62,11 +62,11 @@ public TrainingData getInput() { /** *

    - * The training assets that you supplied for training. + * The training data that you supplied. *

    * * @param input

    - * The training assets that you supplied for training. + * The training data that you supplied. *

    */ public void setInput(TrainingData input) { @@ -75,14 +75,14 @@ public void setInput(TrainingData input) { /** *

    - * The training assets that you supplied for training. + * The training data that you supplied. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param input

    - * The training assets that you supplied for training. + * The training data that you supplied. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -94,13 +94,13 @@ public TrainingDataResult withInput(TrainingData input) { /** *

    - * The images (assets) that were actually trained by Amazon Rekognition - * Custom Labels. + * Reference to images (assets) that were actually used during training with + * trained model predictions. *

    * * @return

    - * The images (assets) that were actually trained by Amazon - * Rekognition Custom Labels. + * Reference to images (assets) that were actually used during + * training with trained model predictions. *

    */ public TrainingData getOutput() { @@ -109,13 +109,13 @@ public TrainingData getOutput() { /** *

    - * The images (assets) that were actually trained by Amazon Rekognition - * Custom Labels. + * Reference to images (assets) that were actually used during training with + * trained model predictions. *

    * * @param output

    - * The images (assets) that were actually trained by Amazon - * Rekognition Custom Labels. + * Reference to images (assets) that were actually used during + * training with trained model predictions. *

    */ public void setOutput(TrainingData output) { @@ -124,16 +124,16 @@ public void setOutput(TrainingData output) { /** *

    - * The images (assets) that were actually trained by Amazon Rekognition - * Custom Labels. + * Reference to images (assets) that were actually used during training with + * trained model predictions. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param output

    - * The images (assets) that were actually trained by Amazon - * Rekognition Custom Labels. + * Reference to images (assets) that were actually used during + * training with trained model predictions. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -145,14 +145,13 @@ public TrainingDataResult withOutput(TrainingData output) { /** *

    - * The location of the data validation manifest. The data validation - * manifest is created for the training dataset during model training. + * A manifest that you supplied for training, with validation results for + * each line. *

    * * @return

    - * The location of the data validation manifest. The data validation - * manifest is created for the training dataset during model - * training. + * A manifest that you supplied for training, with validation + * results for each line. *

    */ public ValidationData getValidation() { @@ -161,14 +160,13 @@ public ValidationData getValidation() { /** *

    - * The location of the data validation manifest. The data validation - * manifest is created for the training dataset during model training. + * A manifest that you supplied for training, with validation results for + * each line. *

    * * @param validation

    - * The location of the data validation manifest. The data - * validation manifest is created for the training dataset during - * model training. + * A manifest that you supplied for training, with validation + * results for each line. *

    */ public void setValidation(ValidationData validation) { @@ -177,17 +175,16 @@ public void setValidation(ValidationData validation) { /** *

    - * The location of the data validation manifest. The data validation - * manifest is created for the training dataset during model training. + * A manifest that you supplied for training, with validation results for + * each line. *

    *

    * Returns a reference to this object so that method calls can be chained * together. * * @param validation

    - * The location of the data validation manifest. The data - * validation manifest is created for the training dataset during - * model training. + * A manifest that you supplied for training, with validation + * results for each line. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnindexedFace.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnindexedFace.java index 51f2048b72..245d80bf7a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnindexedFace.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnindexedFace.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsearchedFace.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsearchedFace.java index b396f686ad..d0e8e3473d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsearchedFace.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsearchedFace.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsearchedFaceReason.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsearchedFaceReason.java index a6ca78e7e2..c9d41d1376 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsearchedFaceReason.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsearchedFaceReason.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceAssociation.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceAssociation.java index 2e245a5350..f99615677c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceAssociation.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceAssociation.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceAssociationReason.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceAssociationReason.java index 46d76aee7c..3c4e916075 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceAssociationReason.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceAssociationReason.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDeletion.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDeletion.java index 57a2105ea8..beadd6e1f7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDeletion.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDeletion.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDeletionReason.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDeletionReason.java index 0ddac527f7..7d5f7fdd45 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDeletionReason.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDeletionReason.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDisassociation.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDisassociation.java index 6ab2d0869d..bdbdb6c8cc 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDisassociation.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDisassociation.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDisassociationReason.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDisassociationReason.java index c7d6541ea6..303df4c6be 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDisassociationReason.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UnsuccessfulFaceDisassociationReason.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UntagResourceRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UntagResourceRequest.java index 02896c0190..1a53bb0f95 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UntagResourceRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UntagResourceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UntagResourceResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UntagResourceResult.java index ac0d494320..d04f8e843e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UntagResourceResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UntagResourceResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateDatasetEntriesRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateDatasetEntriesRequest.java index 46610af338..810c1cc247 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateDatasetEntriesRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateDatasetEntriesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,6 +20,11 @@ import com.amazonaws.AmazonWebServiceRequest; /** + * + *

    + * This operation applies only to Amazon Rekognition Custom Labels. + *

    + *
    *

    * Adds or updates one or more entries (images) in a dataset. An entry is a JSON * Line which contains the information for a single image, including the image diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateDatasetEntriesResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateDatasetEntriesResult.java index aeb7078700..1a9424b25d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateDatasetEntriesResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateDatasetEntriesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateStreamProcessorRequest.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateStreamProcessorRequest.java index 25f0c23afe..c544a6e1b7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateStreamProcessorRequest.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateStreamProcessorRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateStreamProcessorResult.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateStreamProcessorResult.java index cd585d5ed6..d10654961a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateStreamProcessorResult.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateStreamProcessorResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/User.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/User.java index 18756951c0..6748c7ff85 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/User.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/User.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UserMatch.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UserMatch.java index 72cb0b3cb4..173f1a8200 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UserMatch.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UserMatch.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UserStatus.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UserStatus.java index d4405ca39b..e800d9b20a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UserStatus.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UserStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ValidationData.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ValidationData.java index 6c26a2ba3f..c70a9cffcf 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ValidationData.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ValidationData.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Video.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Video.java index 89e4f16491..109577e3f0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Video.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Video.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoColorRange.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoColorRange.java index 9243701e0d..f659baade7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoColorRange.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoColorRange.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoJobStatus.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoJobStatus.java index f8b773add5..ccd21a0971 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoJobStatus.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoJobStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoMetadata.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoMetadata.java index 6b867bd3be..7a378179d2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoMetadata.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoTooLargeException.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoTooLargeException.java index 9650ba3aa0..038d6cdf54 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoTooLargeException.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/VideoTooLargeException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AccessDeniedExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AccessDeniedExceptionUnmarshaller.java index f5b7ff5fc9..70aca0db4f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AccessDeniedExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AccessDeniedExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AgeRangeJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AgeRangeJsonMarshaller.java index c7ffe6bbc9..f37ecb37a0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AgeRangeJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AgeRangeJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AgeRangeJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AgeRangeJsonUnmarshaller.java index e2312cf420..5893869ae2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AgeRangeJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AgeRangeJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssetJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssetJsonMarshaller.java index f2d44ee301..e6c59ad9f9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssetJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssetJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssetJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssetJsonUnmarshaller.java index 6b0d02f247..e762b7b4bb 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssetJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssetJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociateFacesRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociateFacesRequestMarshaller.java index e28670f620..b06a71ed45 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociateFacesRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociateFacesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociateFacesResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociateFacesResultJsonUnmarshaller.java index e1d2216c2b..fbc84c945d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociateFacesResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociateFacesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociatedFaceJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociatedFaceJsonMarshaller.java index 2523894cc6..b94dd95940 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociatedFaceJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociatedFaceJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociatedFaceJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociatedFaceJsonUnmarshaller.java index 4e9913a6de..d282e738c2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociatedFaceJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AssociatedFaceJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AudioMetadataJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AudioMetadataJsonMarshaller.java index 5a8d55dda3..206c4f4d0b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AudioMetadataJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AudioMetadataJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AudioMetadataJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AudioMetadataJsonUnmarshaller.java index 8ceccbb8da..8c357ce308 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AudioMetadataJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AudioMetadataJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AuditImageJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AuditImageJsonMarshaller.java index 65285a26f2..0a61c46407 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AuditImageJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AuditImageJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AuditImageJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AuditImageJsonUnmarshaller.java index 8630c487a3..74eda4fb8d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AuditImageJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/AuditImageJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BeardJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BeardJsonMarshaller.java index 8c81a871be..3228708e05 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BeardJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BeardJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BeardJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BeardJsonUnmarshaller.java index 2429412b83..87b9e26c94 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BeardJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BeardJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BlackFrameJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BlackFrameJsonMarshaller.java index 09f9ccafc3..6c3385054c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BlackFrameJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BlackFrameJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BlackFrameJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BlackFrameJsonUnmarshaller.java index 054ed510ed..9940cfb51d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BlackFrameJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BlackFrameJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BoundingBoxJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BoundingBoxJsonMarshaller.java index 865186eed5..0455a2784e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BoundingBoxJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BoundingBoxJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BoundingBoxJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BoundingBoxJsonUnmarshaller.java index 6431b30919..b1753ddf7c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BoundingBoxJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/BoundingBoxJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityDetailJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityDetailJsonMarshaller.java index 2b47de3064..5757c3c4cc 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityDetailJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityDetailJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityDetailJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityDetailJsonUnmarshaller.java index 19c42dd1df..ce239ffca0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityDetailJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityDetailJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityJsonMarshaller.java index df9d08644e..ba89338c79 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityJsonUnmarshaller.java index 79b039c772..4334f5d062 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityRecognitionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityRecognitionJsonMarshaller.java index ff0efd183c..ae80043953 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityRecognitionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityRecognitionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityRecognitionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityRecognitionJsonUnmarshaller.java index 831eeb6947..7a50a5f693 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityRecognitionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CelebrityRecognitionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesMatchJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesMatchJsonMarshaller.java index 643e00c96b..f2109e5e46 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesMatchJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesMatchJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesMatchJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesMatchJsonUnmarshaller.java index 6abe4370f1..ed7f83ebb4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesMatchJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesMatchJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesRequestMarshaller.java index 9533c10d7a..e750e7aeb2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesResultJsonUnmarshaller.java index 472d4359aa..0944e11c70 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CompareFacesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedFaceJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedFaceJsonMarshaller.java index 594c91fb3f..0b6426ae6b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedFaceJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedFaceJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedFaceJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedFaceJsonUnmarshaller.java index c87d7d9834..f474bbee12 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedFaceJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedFaceJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedSourceImageFaceJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedSourceImageFaceJsonMarshaller.java index a63e363eed..71bdea948a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedSourceImageFaceJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedSourceImageFaceJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedSourceImageFaceJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedSourceImageFaceJsonUnmarshaller.java index 244ebf84f4..63bb07e8a8 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedSourceImageFaceJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ComparedSourceImageFaceJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConflictExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConflictExceptionUnmarshaller.java index 3799446e38..19cc8ca141 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConflictExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConflictExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsForUpdateJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsForUpdateJsonMarshaller.java index 3bba4d459b..31cd9c32fc 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsForUpdateJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsForUpdateJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsForUpdateJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsForUpdateJsonUnmarshaller.java index 23e990a71b..07940dea37 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsForUpdateJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsForUpdateJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsJsonMarshaller.java index d352dfe2b6..66f745db74 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsJsonUnmarshaller.java index cb4f072ddc..3021512409 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ConnectedHomeSettingsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentModerationDetectionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentModerationDetectionJsonMarshaller.java index d3e28d2e92..888bf6aa46 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentModerationDetectionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentModerationDetectionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -52,6 +52,17 @@ public void marshall(ContentModerationDetection contentModerationDetection, jsonWriter.name("DurationMillis"); jsonWriter.value(durationMillis); } + if (contentModerationDetection.getContentTypes() != null) { + java.util.List contentTypes = contentModerationDetection.getContentTypes(); + jsonWriter.name("ContentTypes"); + jsonWriter.beginArray(); + for (ContentType contentTypesItem : contentTypes) { + if (contentTypesItem != null) { + ContentTypeJsonMarshaller.getInstance().marshall(contentTypesItem, jsonWriter); + } + } + jsonWriter.endArray(); + } jsonWriter.endObject(); } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentModerationDetectionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentModerationDetectionJsonUnmarshaller.java index 26ed4a930e..4d6d5835b2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentModerationDetectionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentModerationDetectionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -53,6 +53,11 @@ public ContentModerationDetection unmarshall(JsonUnmarshallerContext context) th } else if (name.equals("DurationMillis")) { contentModerationDetection.setDurationMillis(LongJsonUnmarshaller.getInstance() .unmarshall(context)); + } else if (name.equals("ContentTypes")) { + contentModerationDetection.setContentTypes(new ListUnmarshaller( + ContentTypeJsonUnmarshaller.getInstance() + ) + .unmarshall(context)); } else { reader.skipValue(); } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentTypeJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentTypeJsonMarshaller.java new file mode 100644 index 0000000000..2d0176ce36 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentTypeJsonMarshaller.java @@ -0,0 +1,49 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO ContentType + */ +class ContentTypeJsonMarshaller { + + public void marshall(ContentType contentType, AwsJsonWriter jsonWriter) throws Exception { + jsonWriter.beginObject(); + if (contentType.getConfidence() != null) { + Float confidence = contentType.getConfidence(); + jsonWriter.name("Confidence"); + jsonWriter.value(confidence); + } + if (contentType.getName() != null) { + String name = contentType.getName(); + jsonWriter.name("Name"); + jsonWriter.value(name); + } + jsonWriter.endObject(); + } + + private static ContentTypeJsonMarshaller instance; + + public static ContentTypeJsonMarshaller getInstance() { + if (instance == null) + instance = new ContentTypeJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentTypeJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentTypeJsonUnmarshaller.java new file mode 100644 index 0000000000..581f5fd061 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ContentTypeJsonUnmarshaller.java @@ -0,0 +1,59 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO ContentType + */ +class ContentTypeJsonUnmarshaller implements Unmarshaller { + + public ContentType unmarshall(JsonUnmarshallerContext context) throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + ContentType contentType = new ContentType(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("Confidence")) { + contentType.setConfidence(FloatJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("Name")) { + contentType.setName(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return contentType; + } + + private static ContentTypeJsonUnmarshaller instance; + + public static ContentTypeJsonUnmarshaller getInstance() { + if (instance == null) + instance = new ContentTypeJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CopyProjectVersionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CopyProjectVersionRequestMarshaller.java index 31f6621c5b..11f1f9101a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CopyProjectVersionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CopyProjectVersionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CopyProjectVersionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CopyProjectVersionResultJsonUnmarshaller.java index 63af894945..fa9ef2d6bc 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CopyProjectVersionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CopyProjectVersionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CoversBodyPartJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CoversBodyPartJsonMarshaller.java index 15fc398ae1..58bc329c84 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CoversBodyPartJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CoversBodyPartJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CoversBodyPartJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CoversBodyPartJsonUnmarshaller.java index 3530e6f063..1eb042358f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CoversBodyPartJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CoversBodyPartJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateCollectionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateCollectionRequestMarshaller.java index 26f9a558b0..3bf7c6bf82 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateCollectionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateCollectionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateCollectionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateCollectionResultJsonUnmarshaller.java index bd9d33a2cb..2f4edb3f0b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateCollectionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateCollectionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateDatasetRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateDatasetRequestMarshaller.java index f4e908e38d..5204821e9d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateDatasetRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateDatasetRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -77,6 +77,19 @@ public Request marshall(CreateDatasetRequest createDataset jsonWriter.name("ProjectArn"); jsonWriter.value(projectArn); } + if (createDatasetRequest.getTags() != null) { + java.util.Map tags = createDatasetRequest.getTags(); + jsonWriter.name("Tags"); + jsonWriter.beginObject(); + for (java.util.Map.Entry tagsEntry : tags.entrySet()) { + String tagsValue = tagsEntry.getValue(); + if (tagsValue != null) { + jsonWriter.name(tagsEntry.getKey()); + jsonWriter.value(tagsValue); + } + } + jsonWriter.endObject(); + } jsonWriter.endObject(); jsonWriter.close(); diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateDatasetResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateDatasetResultJsonUnmarshaller.java index b1f24588c6..e6ec13427d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateDatasetResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateDatasetResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionRequestMarshaller.java index 86b9e0bd8d..d5b0170bd2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionRequestSettingsJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionRequestSettingsJsonMarshaller.java index be66db82ad..c1bcb79f4d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionRequestSettingsJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionRequestSettingsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionRequestSettingsJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionRequestSettingsJsonUnmarshaller.java index 41c119cfb4..1430c940c1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionRequestSettingsJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionRequestSettingsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionResultJsonUnmarshaller.java index 97e53ab4d3..9a93f302a6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateFaceLivenessSessionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectRequestMarshaller.java index a7b91f87cb..32844f964d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -67,6 +67,29 @@ public Request marshall(CreateProjectRequest createProject jsonWriter.name("ProjectName"); jsonWriter.value(projectName); } + if (createProjectRequest.getFeature() != null) { + String feature = createProjectRequest.getFeature(); + jsonWriter.name("Feature"); + jsonWriter.value(feature); + } + if (createProjectRequest.getAutoUpdate() != null) { + String autoUpdate = createProjectRequest.getAutoUpdate(); + jsonWriter.name("AutoUpdate"); + jsonWriter.value(autoUpdate); + } + if (createProjectRequest.getTags() != null) { + java.util.Map tags = createProjectRequest.getTags(); + jsonWriter.name("Tags"); + jsonWriter.beginObject(); + for (java.util.Map.Entry tagsEntry : tags.entrySet()) { + String tagsValue = tagsEntry.getValue(); + if (tagsValue != null) { + jsonWriter.name(tagsEntry.getKey()); + jsonWriter.value(tagsValue); + } + } + jsonWriter.endObject(); + } jsonWriter.endObject(); jsonWriter.close(); diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectResultJsonUnmarshaller.java index e67d06d009..a235a04caf 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectVersionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectVersionRequestMarshaller.java index 1982ffeaf5..f038da0c24 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectVersionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectVersionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -106,6 +106,18 @@ public Request marshall( jsonWriter.name("KmsKeyId"); jsonWriter.value(kmsKeyId); } + if (createProjectVersionRequest.getVersionDescription() != null) { + String versionDescription = createProjectVersionRequest.getVersionDescription(); + jsonWriter.name("VersionDescription"); + jsonWriter.value(versionDescription); + } + if (createProjectVersionRequest.getFeatureConfig() != null) { + CustomizationFeatureConfig featureConfig = createProjectVersionRequest + .getFeatureConfig(); + jsonWriter.name("FeatureConfig"); + CustomizationFeatureConfigJsonMarshaller.getInstance().marshall(featureConfig, + jsonWriter); + } jsonWriter.endObject(); jsonWriter.close(); diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectVersionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectVersionResultJsonUnmarshaller.java index 13e78a670b..d20717fc75 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectVersionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateProjectVersionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateStreamProcessorRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateStreamProcessorRequestMarshaller.java index 956739f2bb..75d9e67130 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateStreamProcessorRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateStreamProcessorRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateStreamProcessorResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateStreamProcessorResultJsonUnmarshaller.java index b4f282c6a3..0780372243 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateStreamProcessorResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateStreamProcessorResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateUserRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateUserRequestMarshaller.java index 604d52de50..7c0aee9ad2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateUserRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateUserRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateUserResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateUserResultJsonUnmarshaller.java index c978748bc7..5796047f2d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateUserResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CreateUserResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomLabelJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomLabelJsonMarshaller.java index dbdb537d79..2697fb92be 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomLabelJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomLabelJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomLabelJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomLabelJsonUnmarshaller.java index 9039053240..6cc10ff42d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomLabelJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomLabelJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureConfigJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureConfigJsonMarshaller.java new file mode 100644 index 0000000000..f20ee59e3f --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureConfigJsonMarshaller.java @@ -0,0 +1,47 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO CustomizationFeatureConfig + */ +class CustomizationFeatureConfigJsonMarshaller { + + public void marshall(CustomizationFeatureConfig customizationFeatureConfig, + AwsJsonWriter jsonWriter) throws Exception { + jsonWriter.beginObject(); + if (customizationFeatureConfig.getContentModeration() != null) { + CustomizationFeatureContentModerationConfig contentModeration = customizationFeatureConfig + .getContentModeration(); + jsonWriter.name("ContentModeration"); + CustomizationFeatureContentModerationConfigJsonMarshaller.getInstance().marshall( + contentModeration, jsonWriter); + } + jsonWriter.endObject(); + } + + private static CustomizationFeatureConfigJsonMarshaller instance; + + public static CustomizationFeatureConfigJsonMarshaller getInstance() { + if (instance == null) + instance = new CustomizationFeatureConfigJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureConfigJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureConfigJsonUnmarshaller.java new file mode 100644 index 0000000000..6884faa884 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureConfigJsonUnmarshaller.java @@ -0,0 +1,59 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO CustomizationFeatureConfig + */ +class CustomizationFeatureConfigJsonUnmarshaller implements + Unmarshaller { + + public CustomizationFeatureConfig unmarshall(JsonUnmarshallerContext context) throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + CustomizationFeatureConfig customizationFeatureConfig = new CustomizationFeatureConfig(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("ContentModeration")) { + customizationFeatureConfig + .setContentModeration(CustomizationFeatureContentModerationConfigJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return customizationFeatureConfig; + } + + private static CustomizationFeatureConfigJsonUnmarshaller instance; + + public static CustomizationFeatureConfigJsonUnmarshaller getInstance() { + if (instance == null) + instance = new CustomizationFeatureConfigJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureContentModerationConfigJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureContentModerationConfigJsonMarshaller.java new file mode 100644 index 0000000000..edce804705 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureContentModerationConfigJsonMarshaller.java @@ -0,0 +1,47 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO CustomizationFeatureContentModerationConfig + */ +class CustomizationFeatureContentModerationConfigJsonMarshaller { + + public void marshall( + CustomizationFeatureContentModerationConfig customizationFeatureContentModerationConfig, + AwsJsonWriter jsonWriter) throws Exception { + jsonWriter.beginObject(); + if (customizationFeatureContentModerationConfig.getConfidenceThreshold() != null) { + Float confidenceThreshold = customizationFeatureContentModerationConfig + .getConfidenceThreshold(); + jsonWriter.name("ConfidenceThreshold"); + jsonWriter.value(confidenceThreshold); + } + jsonWriter.endObject(); + } + + private static CustomizationFeatureContentModerationConfigJsonMarshaller instance; + + public static CustomizationFeatureContentModerationConfigJsonMarshaller getInstance() { + if (instance == null) + instance = new CustomizationFeatureContentModerationConfigJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureContentModerationConfigJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureContentModerationConfigJsonUnmarshaller.java new file mode 100644 index 0000000000..328f65f8dc --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/CustomizationFeatureContentModerationConfigJsonUnmarshaller.java @@ -0,0 +1,59 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO CustomizationFeatureContentModerationConfig + */ +class CustomizationFeatureContentModerationConfigJsonUnmarshaller implements + Unmarshaller { + + public CustomizationFeatureContentModerationConfig unmarshall(JsonUnmarshallerContext context) + throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + CustomizationFeatureContentModerationConfig customizationFeatureContentModerationConfig = new CustomizationFeatureContentModerationConfig(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("ConfidenceThreshold")) { + customizationFeatureContentModerationConfig + .setConfidenceThreshold(FloatJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return customizationFeatureContentModerationConfig; + } + + private static CustomizationFeatureContentModerationConfigJsonUnmarshaller instance; + + public static CustomizationFeatureContentModerationConfigJsonUnmarshaller getInstance() { + if (instance == null) + instance = new CustomizationFeatureContentModerationConfigJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetChangesJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetChangesJsonMarshaller.java index 054a5b16fd..169b189ec4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetChangesJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetChangesJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetChangesJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetChangesJsonUnmarshaller.java index d14807ea24..0a1f959b13 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetChangesJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetChangesJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetDescriptionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetDescriptionJsonMarshaller.java index 2c27b03c71..6601e5c5aa 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetDescriptionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetDescriptionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetDescriptionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetDescriptionJsonUnmarshaller.java index b0957356e9..61e34a0889 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetDescriptionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetDescriptionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelDescriptionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelDescriptionJsonMarshaller.java index 46cc29380b..4c84ed83cf 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelDescriptionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelDescriptionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelDescriptionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelDescriptionJsonUnmarshaller.java index e36b37872e..235e4e9fac 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelDescriptionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelDescriptionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelStatsJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelStatsJsonMarshaller.java index 6ca6244599..c0abff1601 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelStatsJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelStatsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelStatsJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelStatsJsonUnmarshaller.java index de1983bf57..a82ac1f112 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelStatsJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetLabelStatsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetMetadataJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetMetadataJsonMarshaller.java index e70b653eb4..2841e3d3fe 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetMetadataJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetMetadataJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetMetadataJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetMetadataJsonUnmarshaller.java index 0ddf82a70b..a3854bfe26 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetMetadataJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetMetadataJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetSourceJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetSourceJsonMarshaller.java index 1b306777c6..b9b1376170 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetSourceJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetSourceJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetSourceJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetSourceJsonUnmarshaller.java index 6ea87d4f14..e3a1763ec5 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetSourceJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetSourceJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetStatsJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetStatsJsonMarshaller.java index 749385ea3b..0e975421f1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetStatsJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetStatsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetStatsJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetStatsJsonUnmarshaller.java index 6d8c771695..6188dd94de 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetStatsJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DatasetStatsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteCollectionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteCollectionRequestMarshaller.java index 34001ed0c1..54ba7f65a4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteCollectionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteCollectionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteCollectionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteCollectionResultJsonUnmarshaller.java index 54c7e931b2..8bccaa482a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteCollectionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteCollectionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteDatasetRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteDatasetRequestMarshaller.java index d9980ba3a0..3831727be0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteDatasetRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteDatasetRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteDatasetResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteDatasetResultJsonUnmarshaller.java index de7d2fdfbd..5b639f6f18 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteDatasetResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteDatasetResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteFacesRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteFacesRequestMarshaller.java index cf82838089..3bb87eb5fe 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteFacesRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteFacesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteFacesResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteFacesResultJsonUnmarshaller.java index 729b395aec..06407128e3 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteFacesResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteFacesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectPolicyRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectPolicyRequestMarshaller.java index b6bf8e6a6e..b7da3001bf 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectPolicyRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectPolicyRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectPolicyResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectPolicyResultJsonUnmarshaller.java index 8fe23453b7..bd185387f2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectPolicyResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectPolicyResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectRequestMarshaller.java index 4dd9b8d0ed..67ef843a28 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectResultJsonUnmarshaller.java index 0549439e3d..59abead64c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectVersionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectVersionRequestMarshaller.java index 515337c51a..8b293c039f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectVersionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectVersionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectVersionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectVersionResultJsonUnmarshaller.java index e8fc0d6f8f..bd671288ac 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectVersionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteProjectVersionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteStreamProcessorRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteStreamProcessorRequestMarshaller.java index b314268193..af21caecf3 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteStreamProcessorRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteStreamProcessorRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteStreamProcessorResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteStreamProcessorResultJsonUnmarshaller.java index b3e1fbd10d..a69d806e82 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteStreamProcessorResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteStreamProcessorResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteUserRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteUserRequestMarshaller.java index 32c9929991..78a155314c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteUserRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteUserRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteUserResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteUserResultJsonUnmarshaller.java index 94fa4f1ada..f9986a995a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteUserResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DeleteUserResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeCollectionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeCollectionRequestMarshaller.java index 2764c7c54f..f0ea7f826f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeCollectionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeCollectionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeCollectionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeCollectionResultJsonUnmarshaller.java index b7f5fdc753..2e94d33dbe 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeCollectionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeCollectionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeDatasetRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeDatasetRequestMarshaller.java index 5444a4d072..f85cc0bdc9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeDatasetRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeDatasetRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeDatasetResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeDatasetResultJsonUnmarshaller.java index 2a37e9e04c..9fd7402126 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeDatasetResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeDatasetResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectVersionsRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectVersionsRequestMarshaller.java index ead7aa1b60..b6baa4a513 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectVersionsRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectVersionsRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectVersionsResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectVersionsResultJsonUnmarshaller.java index 97819ef4a9..475296f08f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectVersionsResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectVersionsResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectsRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectsRequestMarshaller.java index 271ef8f59f..35584364fb 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectsRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectsRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -83,6 +83,17 @@ public Request marshall(DescribeProjectsRequest describ } jsonWriter.endArray(); } + if (describeProjectsRequest.getFeatures() != null) { + java.util.List features = describeProjectsRequest.getFeatures(); + jsonWriter.name("Features"); + jsonWriter.beginArray(); + for (String featuresItem : features) { + if (featuresItem != null) { + jsonWriter.value(featuresItem); + } + } + jsonWriter.endArray(); + } jsonWriter.endObject(); jsonWriter.close(); diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectsResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectsResultJsonUnmarshaller.java index e303a1c358..3b926db782 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectsResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeProjectsResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeStreamProcessorRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeStreamProcessorRequestMarshaller.java index b35dd01956..3837ef24f5 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeStreamProcessorRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeStreamProcessorRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeStreamProcessorResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeStreamProcessorResultJsonUnmarshaller.java index cf34c22c06..f7ba181f5b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeStreamProcessorResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DescribeStreamProcessorResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectCustomLabelsRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectCustomLabelsRequestMarshaller.java index 0ab307dcdf..624426e118 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectCustomLabelsRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectCustomLabelsRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectCustomLabelsResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectCustomLabelsResultJsonUnmarshaller.java index c020458f47..92ed899549 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectCustomLabelsResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectCustomLabelsResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectFacesRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectFacesRequestMarshaller.java index 1eeb86c5eb..7df085ec7f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectFacesRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectFacesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectFacesResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectFacesResultJsonUnmarshaller.java index 5fc1251d87..cb702255b5 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectFacesResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectFacesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageBackgroundJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageBackgroundJsonMarshaller.java index 329bd8bc21..e017538cd2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageBackgroundJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageBackgroundJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageBackgroundJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageBackgroundJsonUnmarshaller.java index 78875b074a..5a61192547 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageBackgroundJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageBackgroundJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageForegroundJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageForegroundJsonMarshaller.java index b75d054486..f245b38dfa 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageForegroundJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageForegroundJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageForegroundJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageForegroundJsonUnmarshaller.java index 6845bbcc09..9f621f545c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageForegroundJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageForegroundJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesJsonMarshaller.java index 9bca9bb464..ee7371e139 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesJsonUnmarshaller.java index e770664962..3cb5ab3723 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesSettingsJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesSettingsJsonMarshaller.java index e233dbc8b5..bed98afdf5 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesSettingsJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesSettingsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesSettingsJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesSettingsJsonUnmarshaller.java index 1eda1bc437..1874140b8f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesSettingsJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImagePropertiesSettingsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageQualityJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageQualityJsonMarshaller.java index 84cb5a6dfa..d084e77906 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageQualityJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageQualityJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageQualityJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageQualityJsonUnmarshaller.java index 7ea8ed31b6..fd56dbfb80 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageQualityJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsImageQualityJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsRequestMarshaller.java index 7f08e4ffb5..2f825c65af 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsResultJsonUnmarshaller.java index 765e9553e9..ca50227cbe 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsSettingsJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsSettingsJsonMarshaller.java index d61b36687d..832bc7d92f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsSettingsJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsSettingsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsSettingsJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsSettingsJsonUnmarshaller.java index 2de57e2f46..ddbc577b30 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsSettingsJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectLabelsSettingsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectModerationLabelsRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectModerationLabelsRequestMarshaller.java index 2b0dcc5320..8940d9e6c0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectModerationLabelsRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectModerationLabelsRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -79,6 +79,11 @@ public Request marshall( jsonWriter.name("HumanLoopConfig"); HumanLoopConfigJsonMarshaller.getInstance().marshall(humanLoopConfig, jsonWriter); } + if (detectModerationLabelsRequest.getProjectVersion() != null) { + String projectVersion = detectModerationLabelsRequest.getProjectVersion(); + jsonWriter.name("ProjectVersion"); + jsonWriter.value(projectVersion); + } jsonWriter.endObject(); jsonWriter.close(); diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectModerationLabelsResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectModerationLabelsResultJsonUnmarshaller.java index 399f0b981a..a6b2a8d812 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectModerationLabelsResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectModerationLabelsResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -49,6 +49,14 @@ public DetectModerationLabelsResult unmarshall(JsonUnmarshallerContext context) .setHumanLoopActivationOutput(HumanLoopActivationOutputJsonUnmarshaller .getInstance() .unmarshall(context)); + } else if (name.equals("ProjectVersion")) { + detectModerationLabelsResult.setProjectVersion(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("ContentTypes")) { + detectModerationLabelsResult.setContentTypes(new ListUnmarshaller( + ContentTypeJsonUnmarshaller.getInstance() + ) + .unmarshall(context)); } else { reader.skipValue(); } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectProtectiveEquipmentRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectProtectiveEquipmentRequestMarshaller.java index daa944156a..9a06f1ec52 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectProtectiveEquipmentRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectProtectiveEquipmentRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectProtectiveEquipmentResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectProtectiveEquipmentResultJsonUnmarshaller.java index c509759357..32805f27be 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectProtectiveEquipmentResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectProtectiveEquipmentResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextFiltersJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextFiltersJsonMarshaller.java index 85c073974d..44cd6c7518 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextFiltersJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextFiltersJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextFiltersJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextFiltersJsonUnmarshaller.java index 30c8eaa902..a96ed137be 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextFiltersJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextFiltersJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextRequestMarshaller.java index 9e4dca82b9..dbbed1cc90 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextResultJsonUnmarshaller.java index 23ebcc68f7..0a964ae3cf 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectTextResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectionFilterJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectionFilterJsonMarshaller.java index 3b0c49293d..6b2a01e04d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectionFilterJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectionFilterJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectionFilterJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectionFilterJsonUnmarshaller.java index 0ce714aa8e..b624b8199a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectionFilterJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DetectionFilterJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociateFacesRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociateFacesRequestMarshaller.java index 177828da75..3392f8d8ee 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociateFacesRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociateFacesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociateFacesResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociateFacesResultJsonUnmarshaller.java index 236bc4a7a4..b083c3bd83 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociateFacesResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociateFacesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociatedFaceJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociatedFaceJsonMarshaller.java index 6961390e92..68e41f380b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociatedFaceJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociatedFaceJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociatedFaceJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociatedFaceJsonUnmarshaller.java index 60329fe5ce..f610aa7a10 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociatedFaceJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DisassociatedFaceJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetEntriesRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetEntriesRequestMarshaller.java index ac66b4bdd8..2125cbc99a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetEntriesRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetEntriesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetEntriesResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetEntriesResultJsonUnmarshaller.java index 4e8c628e09..785fec8330 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetEntriesResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetEntriesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetJsonMarshaller.java index eb64181f2e..3e5b79bd60 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetJsonUnmarshaller.java index be25ec938c..092996bfca 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DistributeDatasetJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DominantColorJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DominantColorJsonMarshaller.java index 84cf139c29..8a49a3e2c5 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DominantColorJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DominantColorJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DominantColorJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DominantColorJsonUnmarshaller.java index 4ba6cf633f..854c0e9c7c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DominantColorJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/DominantColorJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EmotionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EmotionJsonMarshaller.java index f03c1c9c75..425fdd1159 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EmotionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EmotionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EmotionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EmotionJsonUnmarshaller.java index 1220e1abf3..c9a377d2f7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EmotionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EmotionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EquipmentDetectionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EquipmentDetectionJsonMarshaller.java index cb32173211..bfe4be501b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EquipmentDetectionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EquipmentDetectionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EquipmentDetectionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EquipmentDetectionJsonUnmarshaller.java index bd521a43be..fdb42f0c11 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EquipmentDetectionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EquipmentDetectionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EvaluationResultJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EvaluationResultJsonMarshaller.java index f72fef9d92..a644d5718e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EvaluationResultJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EvaluationResultJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EvaluationResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EvaluationResultJsonUnmarshaller.java index 05269f6996..cd4e878867 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EvaluationResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EvaluationResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeDirectionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeDirectionJsonMarshaller.java index af29be8435..d5f3ae0506 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeDirectionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeDirectionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeDirectionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeDirectionJsonUnmarshaller.java index 8586c66b28..6df332b2a8 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeDirectionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeDirectionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeOpenJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeOpenJsonMarshaller.java index 42c2e41266..50118780e1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeOpenJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeOpenJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeOpenJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeOpenJsonUnmarshaller.java index 34c82f2789..5d03d7bf45 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeOpenJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeOpenJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeglassesJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeglassesJsonMarshaller.java index eb61bb8e49..7740b843b4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeglassesJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeglassesJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeglassesJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeglassesJsonUnmarshaller.java index f2e084ddb5..11765e1046 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeglassesJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/EyeglassesJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetailJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetailJsonMarshaller.java index 358e894ef0..64805defc0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetailJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetailJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetailJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetailJsonUnmarshaller.java index f1cf0af11b..321c0b2800 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetailJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetailJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetectionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetectionJsonMarshaller.java index b3ae0b53ad..2a03af4a60 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetectionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetectionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetectionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetectionJsonUnmarshaller.java index a6ceef9c53..e921af730c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetectionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceDetectionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceJsonMarshaller.java index e4851f0bca..a94c674723 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceJsonUnmarshaller.java index 27a26d062e..cb3b7a3b7a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceMatchJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceMatchJsonMarshaller.java index 56461ce7a5..6428a9c139 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceMatchJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceMatchJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceMatchJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceMatchJsonUnmarshaller.java index cf8a4985d5..ad69e15955 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceMatchJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceMatchJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceOccludedJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceOccludedJsonMarshaller.java index 5ed12af5ff..3ff7228b0b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceOccludedJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceOccludedJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceOccludedJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceOccludedJsonUnmarshaller.java index 6ee3631d31..6ca8ced35b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceOccludedJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceOccludedJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceRecordJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceRecordJsonMarshaller.java index f99e12e993..f268579fa1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceRecordJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceRecordJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceRecordJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceRecordJsonUnmarshaller.java index b30023e661..39c244888b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceRecordJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceRecordJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceSearchSettingsJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceSearchSettingsJsonMarshaller.java index 850c24b7d3..847d948222 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceSearchSettingsJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceSearchSettingsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceSearchSettingsJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceSearchSettingsJsonUnmarshaller.java index d9305b31fd..85b7dcff91 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceSearchSettingsJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/FaceSearchSettingsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GenderJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GenderJsonMarshaller.java index 6614e209b2..1fd655bada 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GenderJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GenderJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GenderJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GenderJsonUnmarshaller.java index 30e4991e50..6cef9f70f1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GenderJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GenderJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeneralLabelsSettingsJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeneralLabelsSettingsJsonMarshaller.java index d8989a5797..30f1e6cf7f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeneralLabelsSettingsJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeneralLabelsSettingsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeneralLabelsSettingsJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeneralLabelsSettingsJsonUnmarshaller.java index e20ced5a72..60366465d2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeneralLabelsSettingsJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeneralLabelsSettingsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeometryJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeometryJsonMarshaller.java index b6efff5346..f5aa953efd 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeometryJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeometryJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeometryJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeometryJsonUnmarshaller.java index 8e371f1b19..6133e869d7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeometryJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GeometryJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityInfoRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityInfoRequestMarshaller.java index 3b93f469e3..ad52865dfa 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityInfoRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityInfoRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityInfoResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityInfoResultJsonUnmarshaller.java index ea7d1887a1..2bbe6b637b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityInfoResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityInfoResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityRecognitionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityRecognitionRequestMarshaller.java index f5de203736..d520b9448f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityRecognitionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityRecognitionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityRecognitionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityRecognitionResultJsonUnmarshaller.java index 9d9ae3f084..03266e8c72 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityRecognitionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetCelebrityRecognitionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationRequestMarshaller.java index 4a714d8078..f49669849b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationRequestMetadataJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationRequestMetadataJsonMarshaller.java index d1adf4d5bf..a42c156fdf 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationRequestMetadataJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationRequestMetadataJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationRequestMetadataJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationRequestMetadataJsonUnmarshaller.java index 1cc86eeb21..c1ed20f3e9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationRequestMetadataJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationRequestMetadataJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationResultJsonUnmarshaller.java index 0f8b90c301..32911bb5cd 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetContentModerationResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceDetectionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceDetectionRequestMarshaller.java index 9489fe7fcf..2cef422252 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceDetectionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceDetectionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceDetectionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceDetectionResultJsonUnmarshaller.java index 5961cb04de..b7aa63f13f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceDetectionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceDetectionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceLivenessSessionResultsRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceLivenessSessionResultsRequestMarshaller.java index 257dd15c8e..5f63c17614 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceLivenessSessionResultsRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceLivenessSessionResultsRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceLivenessSessionResultsResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceLivenessSessionResultsResultJsonUnmarshaller.java index 616b41fb12..0c1d3232ba 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceLivenessSessionResultsResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceLivenessSessionResultsResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceSearchRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceSearchRequestMarshaller.java index 21ea1f6422..678338a661 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceSearchRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceSearchRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceSearchResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceSearchResultJsonUnmarshaller.java index 1984975e9e..c0a0b99dce 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceSearchResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetFaceSearchResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionRequestMarshaller.java index 028830b799..269f58ad91 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionRequestMetadataJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionRequestMetadataJsonMarshaller.java index b2d16468cf..ba5e8e78ab 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionRequestMetadataJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionRequestMetadataJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionRequestMetadataJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionRequestMetadataJsonUnmarshaller.java index 21989a44bd..e5c2bddec5 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionRequestMetadataJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionRequestMetadataJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionResultJsonUnmarshaller.java index 1ab133afc1..1d2b65e3da 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetLabelDetectionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetMediaAnalysisJobRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetMediaAnalysisJobRequestMarshaller.java new file mode 100644 index 0000000000..2c4545195a --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetMediaAnalysisJobRequestMarshaller.java @@ -0,0 +1,88 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import static com.amazonaws.util.StringUtils.UTF8; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.OutputStreamWriter; +import java.io.StringWriter; +import java.io.Writer; + +import android.text.TextUtils; + +import com.amazonaws.AmazonClientException; +import com.amazonaws.Request; +import com.amazonaws.DefaultRequest; +import com.amazonaws.http.HttpMethodName; +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.Marshaller; +import com.amazonaws.util.BinaryUtils; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.StringUtils; +import com.amazonaws.util.StringInputStream; +import com.amazonaws.util.json.AwsJsonWriter; +import com.amazonaws.util.json.JsonUtils; + +/** + * JSON request marshaller for GetMediaAnalysisJobRequest + */ +public class GetMediaAnalysisJobRequestMarshaller implements + Marshaller, GetMediaAnalysisJobRequest> { + + public Request marshall( + GetMediaAnalysisJobRequest getMediaAnalysisJobRequest) { + if (getMediaAnalysisJobRequest == null) { + throw new AmazonClientException( + "Invalid argument passed to marshall(GetMediaAnalysisJobRequest)"); + } + + Request request = new DefaultRequest( + getMediaAnalysisJobRequest, "AmazonRekognition"); + String target = "RekognitionService.GetMediaAnalysisJob"; + request.addHeader("X-Amz-Target", target); + request.setHttpMethod(HttpMethodName.POST); + + String uriResourcePath = "/"; + request.setResourcePath(uriResourcePath); + try { + StringWriter stringWriter = new StringWriter(); + AwsJsonWriter jsonWriter = JsonUtils.getJsonWriter(stringWriter); + jsonWriter.beginObject(); + + if (getMediaAnalysisJobRequest.getJobId() != null) { + String jobId = getMediaAnalysisJobRequest.getJobId(); + jsonWriter.name("JobId"); + jsonWriter.value(jobId); + } + + jsonWriter.endObject(); + jsonWriter.close(); + String snippet = stringWriter.toString(); + byte[] content = snippet.getBytes(UTF8); + request.setContent(new StringInputStream(snippet)); + request.addHeader("Content-Length", Integer.toString(content.length)); + } catch (Throwable t) { + throw new AmazonClientException( + "Unable to marshall request to JSON: " + t.getMessage(), t); + } + if (!request.getHeaders().containsKey("Content-Type")) { + request.addHeader("Content-Type", "application/x-amz-json-1.1"); + } + + return request; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetMediaAnalysisJobResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetMediaAnalysisJobResultJsonUnmarshaller.java new file mode 100644 index 0000000000..b465b7a57c --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetMediaAnalysisJobResultJsonUnmarshaller.java @@ -0,0 +1,96 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for response GetMediaAnalysisJobResult + */ +public class GetMediaAnalysisJobResultJsonUnmarshaller implements + Unmarshaller { + + public GetMediaAnalysisJobResult unmarshall(JsonUnmarshallerContext context) throws Exception { + GetMediaAnalysisJobResult getMediaAnalysisJobResult = new GetMediaAnalysisJobResult(); + + AwsJsonReader reader = context.getReader(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("JobId")) { + getMediaAnalysisJobResult.setJobId(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("JobName")) { + getMediaAnalysisJobResult.setJobName(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("OperationsConfig")) { + getMediaAnalysisJobResult + .setOperationsConfig(MediaAnalysisOperationsConfigJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("Status")) { + getMediaAnalysisJobResult.setStatus(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("FailureDetails")) { + getMediaAnalysisJobResult + .setFailureDetails(MediaAnalysisJobFailureDetailsJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("CreationTimestamp")) { + getMediaAnalysisJobResult.setCreationTimestamp(DateJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("CompletionTimestamp")) { + getMediaAnalysisJobResult.setCompletionTimestamp(DateJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("Input")) { + getMediaAnalysisJobResult.setInput(MediaAnalysisInputJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("OutputConfig")) { + getMediaAnalysisJobResult.setOutputConfig(MediaAnalysisOutputConfigJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("KmsKeyId")) { + getMediaAnalysisJobResult.setKmsKeyId(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("Results")) { + getMediaAnalysisJobResult.setResults(MediaAnalysisResultsJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("ManifestSummary")) { + getMediaAnalysisJobResult + .setManifestSummary(MediaAnalysisManifestSummaryJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + + return getMediaAnalysisJobResult; + } + + private static GetMediaAnalysisJobResultJsonUnmarshaller instance; + + public static GetMediaAnalysisJobResultJsonUnmarshaller getInstance() { + if (instance == null) + instance = new GetMediaAnalysisJobResultJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetPersonTrackingRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetPersonTrackingRequestMarshaller.java index 1f58c812d6..5e8da5ac78 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetPersonTrackingRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetPersonTrackingRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetPersonTrackingResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetPersonTrackingResultJsonUnmarshaller.java index d83f234239..65b5a6bd72 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetPersonTrackingResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetPersonTrackingResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetSegmentDetectionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetSegmentDetectionRequestMarshaller.java index d4b9f3b128..062ff0a627 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetSegmentDetectionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetSegmentDetectionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetSegmentDetectionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetSegmentDetectionResultJsonUnmarshaller.java index 72865861b0..ef1b93efc6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetSegmentDetectionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetSegmentDetectionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetTextDetectionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetTextDetectionRequestMarshaller.java index d70b9ca3b4..47e75e5451 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetTextDetectionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetTextDetectionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetTextDetectionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetTextDetectionResultJsonUnmarshaller.java index 376eb15724..7660c86f4e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetTextDetectionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GetTextDetectionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GroundTruthManifestJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GroundTruthManifestJsonMarshaller.java index 6c6fa88198..e1225108a2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GroundTruthManifestJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GroundTruthManifestJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GroundTruthManifestJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GroundTruthManifestJsonUnmarshaller.java index 2c252053b8..d5393c59ac 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GroundTruthManifestJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/GroundTruthManifestJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopActivationOutputJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopActivationOutputJsonMarshaller.java index c8334c288e..7f1311022c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopActivationOutputJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopActivationOutputJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopActivationOutputJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopActivationOutputJsonUnmarshaller.java index f3b2f218b0..09fc0e6d34 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopActivationOutputJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopActivationOutputJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopConfigJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopConfigJsonMarshaller.java index 01f586018d..30fff72596 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopConfigJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopConfigJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopConfigJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopConfigJsonUnmarshaller.java index 50e4a701f8..eeca5b7f0c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopConfigJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopConfigJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopDataAttributesJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopDataAttributesJsonMarshaller.java index 1c5c60a693..d72df7674c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopDataAttributesJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopDataAttributesJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopDataAttributesJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopDataAttributesJsonUnmarshaller.java index a0090e7820..5471d97085 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopDataAttributesJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopDataAttributesJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopQuotaExceededExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopQuotaExceededExceptionUnmarshaller.java index 78115560bd..384e1befbe 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopQuotaExceededExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/HumanLoopQuotaExceededExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/IdempotentParameterMismatchExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/IdempotentParameterMismatchExceptionUnmarshaller.java index 9f423ef75a..7252d238cb 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/IdempotentParameterMismatchExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/IdempotentParameterMismatchExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageJsonMarshaller.java index b6c6b3cdd0..9d4e60778d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageJsonUnmarshaller.java index 0c495bf23c..4223dbcdd0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageQualityJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageQualityJsonMarshaller.java index dee9ea071e..0ac7d333f1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageQualityJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageQualityJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageQualityJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageQualityJsonUnmarshaller.java index 76a63cc969..657ea5b8c2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageQualityJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageQualityJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageTooLargeExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageTooLargeExceptionUnmarshaller.java index 06266d8c9e..0b4bfef9d8 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageTooLargeExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ImageTooLargeExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/IndexFacesRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/IndexFacesRequestMarshaller.java index 30d830ce3b..c5eb1af8fc 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/IndexFacesRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/IndexFacesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/IndexFacesResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/IndexFacesResultJsonUnmarshaller.java index a50b87b16f..0fac18d67e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/IndexFacesResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/IndexFacesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InstanceJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InstanceJsonMarshaller.java index 3d958fe4c1..7a0e67ec67 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InstanceJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InstanceJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InstanceJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InstanceJsonUnmarshaller.java index f5998c20c8..be2c804d73 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InstanceJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InstanceJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InternalServerErrorExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InternalServerErrorExceptionUnmarshaller.java index 92d18d3bda..d37f7671b2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InternalServerErrorExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InternalServerErrorExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidImageFormatExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidImageFormatExceptionUnmarshaller.java index 3e0668663f..1008c7eec9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidImageFormatExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidImageFormatExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidManifestExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidManifestExceptionUnmarshaller.java new file mode 100644 index 0000000000..a8b736fa41 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidManifestExceptionUnmarshaller.java @@ -0,0 +1,42 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.AmazonServiceException; +import com.amazonaws.http.JsonErrorResponseHandler.JsonErrorResponse; +import com.amazonaws.transform.JsonErrorUnmarshaller; +import com.amazonaws.services.rekognition.model.InvalidManifestException; + +public class InvalidManifestExceptionUnmarshaller extends JsonErrorUnmarshaller { + + public InvalidManifestExceptionUnmarshaller() { + super(InvalidManifestException.class); + } + + @Override + public boolean match(JsonErrorResponse error) throws Exception { + return error.getErrorCode().equals("InvalidManifestException"); + } + + @Override + public AmazonServiceException unmarshall(JsonErrorResponse error) throws Exception { + + InvalidManifestException e = (InvalidManifestException) super.unmarshall(error); + e.setErrorCode("InvalidManifestException"); + + return e; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidPaginationTokenExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidPaginationTokenExceptionUnmarshaller.java index a6eedfdec9..33bafcbd08 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidPaginationTokenExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidPaginationTokenExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidParameterExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidParameterExceptionUnmarshaller.java index 0439d3c1cd..d52906e87f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidParameterExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidParameterExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidPolicyRevisionIdExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidPolicyRevisionIdExceptionUnmarshaller.java index 65c02b599e..ef797f03e9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidPolicyRevisionIdExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidPolicyRevisionIdExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidS3ObjectExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidS3ObjectExceptionUnmarshaller.java index c1625ceaf5..e5dd4d703b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidS3ObjectExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/InvalidS3ObjectExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisDataStreamJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisDataStreamJsonMarshaller.java index 84b4a61d03..c086774179 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisDataStreamJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisDataStreamJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisDataStreamJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisDataStreamJsonUnmarshaller.java index 16182fd30b..bbfc8ce05c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisDataStreamJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisDataStreamJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamJsonMarshaller.java index 983d38198a..f2d25ba69f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamJsonUnmarshaller.java index 30a3cec402..d33d6b61c2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamStartSelectorJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamStartSelectorJsonMarshaller.java index a95d60ef16..e4d30ba4cb 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamStartSelectorJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamStartSelectorJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamStartSelectorJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamStartSelectorJsonUnmarshaller.java index 8b20256197..3b97ac6b0e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamStartSelectorJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KinesisVideoStreamStartSelectorJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KnownGenderJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KnownGenderJsonMarshaller.java index e4ad6d39fe..d3b4b1701f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KnownGenderJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KnownGenderJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KnownGenderJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KnownGenderJsonUnmarshaller.java index fd5b3db26b..a09c688e40 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KnownGenderJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/KnownGenderJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelAliasJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelAliasJsonMarshaller.java index ceedf7c6fb..584a8b02dc 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelAliasJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelAliasJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelAliasJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelAliasJsonUnmarshaller.java index e0c990ff17..35b9907e7d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelAliasJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelAliasJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelCategoryJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelCategoryJsonMarshaller.java index c652848e76..027e265e94 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelCategoryJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelCategoryJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelCategoryJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelCategoryJsonUnmarshaller.java index ef8058b6e8..bff2cacded 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelCategoryJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelCategoryJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionJsonMarshaller.java index 08a4bc1413..6201c23709 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionJsonUnmarshaller.java index f2f0d17db1..84ef7eb2ea 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionSettingsJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionSettingsJsonMarshaller.java index 8d914d3e5f..fc8158f3ec 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionSettingsJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionSettingsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionSettingsJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionSettingsJsonUnmarshaller.java index c3e5e077a4..fe20288130 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionSettingsJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelDetectionSettingsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelJsonMarshaller.java index e78c522b0f..16baf63db0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelJsonUnmarshaller.java index 1102458030..ed0fffeebc 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LabelJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LandmarkJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LandmarkJsonMarshaller.java index 9d43ed3964..2f2fbb880d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LandmarkJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LandmarkJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LandmarkJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LandmarkJsonUnmarshaller.java index f78c45c86b..6da0f9059d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LandmarkJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LandmarkJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LimitExceededExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LimitExceededExceptionUnmarshaller.java index 0151280337..7df3496af6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LimitExceededExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LimitExceededExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListCollectionsRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListCollectionsRequestMarshaller.java index 3518fbf4e9..70c04ddf8d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListCollectionsRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListCollectionsRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListCollectionsResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListCollectionsResultJsonUnmarshaller.java index a2400eeedf..22df15f60a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListCollectionsResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListCollectionsResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetEntriesRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetEntriesRequestMarshaller.java index 7908df30b3..fc100c8b11 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetEntriesRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetEntriesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetEntriesResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetEntriesResultJsonUnmarshaller.java index 67ac1ed703..bb7574530b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetEntriesResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetEntriesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetLabelsRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetLabelsRequestMarshaller.java index c2a94aa414..f4e2093116 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetLabelsRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetLabelsRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetLabelsResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetLabelsResultJsonUnmarshaller.java index 5bb1e18feb..baac2969c3 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetLabelsResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListDatasetLabelsResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListFacesRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListFacesRequestMarshaller.java index 1ba2508ead..b2e3c3a67f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListFacesRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListFacesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListFacesResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListFacesResultJsonUnmarshaller.java index d156c3afbb..7c16a1563a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListFacesResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListFacesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListMediaAnalysisJobsRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListMediaAnalysisJobsRequestMarshaller.java new file mode 100644 index 0000000000..3667eaf4e5 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListMediaAnalysisJobsRequestMarshaller.java @@ -0,0 +1,93 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import static com.amazonaws.util.StringUtils.UTF8; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.OutputStreamWriter; +import java.io.StringWriter; +import java.io.Writer; + +import android.text.TextUtils; + +import com.amazonaws.AmazonClientException; +import com.amazonaws.Request; +import com.amazonaws.DefaultRequest; +import com.amazonaws.http.HttpMethodName; +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.Marshaller; +import com.amazonaws.util.BinaryUtils; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.StringUtils; +import com.amazonaws.util.StringInputStream; +import com.amazonaws.util.json.AwsJsonWriter; +import com.amazonaws.util.json.JsonUtils; + +/** + * JSON request marshaller for ListMediaAnalysisJobsRequest + */ +public class ListMediaAnalysisJobsRequestMarshaller implements + Marshaller, ListMediaAnalysisJobsRequest> { + + public Request marshall( + ListMediaAnalysisJobsRequest listMediaAnalysisJobsRequest) { + if (listMediaAnalysisJobsRequest == null) { + throw new AmazonClientException( + "Invalid argument passed to marshall(ListMediaAnalysisJobsRequest)"); + } + + Request request = new DefaultRequest( + listMediaAnalysisJobsRequest, "AmazonRekognition"); + String target = "RekognitionService.ListMediaAnalysisJobs"; + request.addHeader("X-Amz-Target", target); + request.setHttpMethod(HttpMethodName.POST); + + String uriResourcePath = "/"; + request.setResourcePath(uriResourcePath); + try { + StringWriter stringWriter = new StringWriter(); + AwsJsonWriter jsonWriter = JsonUtils.getJsonWriter(stringWriter); + jsonWriter.beginObject(); + + if (listMediaAnalysisJobsRequest.getNextToken() != null) { + String nextToken = listMediaAnalysisJobsRequest.getNextToken(); + jsonWriter.name("NextToken"); + jsonWriter.value(nextToken); + } + if (listMediaAnalysisJobsRequest.getMaxResults() != null) { + Integer maxResults = listMediaAnalysisJobsRequest.getMaxResults(); + jsonWriter.name("MaxResults"); + jsonWriter.value(maxResults); + } + + jsonWriter.endObject(); + jsonWriter.close(); + String snippet = stringWriter.toString(); + byte[] content = snippet.getBytes(UTF8); + request.setContent(new StringInputStream(snippet)); + request.addHeader("Content-Length", Integer.toString(content.length)); + } catch (Throwable t) { + throw new AmazonClientException( + "Unable to marshall request to JSON: " + t.getMessage(), t); + } + if (!request.getHeaders().containsKey("Content-Type")) { + request.addHeader("Content-Type", "application/x-amz-json-1.1"); + } + + return request; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListMediaAnalysisJobsResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListMediaAnalysisJobsResultJsonUnmarshaller.java new file mode 100644 index 0000000000..6563af6e02 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListMediaAnalysisJobsResultJsonUnmarshaller.java @@ -0,0 +1,61 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for response ListMediaAnalysisJobsResult + */ +public class ListMediaAnalysisJobsResultJsonUnmarshaller implements + Unmarshaller { + + public ListMediaAnalysisJobsResult unmarshall(JsonUnmarshallerContext context) throws Exception { + ListMediaAnalysisJobsResult listMediaAnalysisJobsResult = new ListMediaAnalysisJobsResult(); + + AwsJsonReader reader = context.getReader(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("NextToken")) { + listMediaAnalysisJobsResult.setNextToken(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("MediaAnalysisJobs")) { + listMediaAnalysisJobsResult + .setMediaAnalysisJobs(new ListUnmarshaller( + MediaAnalysisJobDescriptionJsonUnmarshaller.getInstance() + ) + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + + return listMediaAnalysisJobsResult; + } + + private static ListMediaAnalysisJobsResultJsonUnmarshaller instance; + + public static ListMediaAnalysisJobsResultJsonUnmarshaller getInstance() { + if (instance == null) + instance = new ListMediaAnalysisJobsResultJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListProjectPoliciesRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListProjectPoliciesRequestMarshaller.java index 10a96c79d6..c4449ec12f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListProjectPoliciesRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListProjectPoliciesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListProjectPoliciesResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListProjectPoliciesResultJsonUnmarshaller.java index 948e87e19d..3055312558 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListProjectPoliciesResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListProjectPoliciesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListStreamProcessorsRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListStreamProcessorsRequestMarshaller.java index 332f47a6ee..b7e01fe0b0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListStreamProcessorsRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListStreamProcessorsRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListStreamProcessorsResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListStreamProcessorsResultJsonUnmarshaller.java index 9effe8c9b4..7589d9fc49 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListStreamProcessorsResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListStreamProcessorsResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListTagsForResourceRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListTagsForResourceRequestMarshaller.java index 3c7c979f62..22a11936c6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListTagsForResourceRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListTagsForResourceRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListTagsForResourceResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListTagsForResourceResultJsonUnmarshaller.java index ac595a648b..fbc032b2d4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListTagsForResourceResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListTagsForResourceResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListUsersRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListUsersRequestMarshaller.java index 52d2cfd6c0..d274293954 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListUsersRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListUsersRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListUsersResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListUsersResultJsonUnmarshaller.java index 763e412027..217fd6758c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListUsersResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ListUsersResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LivenessOutputConfigJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LivenessOutputConfigJsonMarshaller.java index 763b45a8a6..aa3a8d9fdf 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LivenessOutputConfigJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LivenessOutputConfigJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LivenessOutputConfigJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LivenessOutputConfigJsonUnmarshaller.java index 100a0b3f0b..beba4a2cc7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LivenessOutputConfigJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/LivenessOutputConfigJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MalformedPolicyDocumentExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MalformedPolicyDocumentExceptionUnmarshaller.java index 2f72622c8e..72087ee3b0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MalformedPolicyDocumentExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MalformedPolicyDocumentExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MatchedUserJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MatchedUserJsonMarshaller.java index 9e03be6a69..dff0b1b24e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MatchedUserJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MatchedUserJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MatchedUserJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MatchedUserJsonUnmarshaller.java index 8c8d243556..1e34b5647f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MatchedUserJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MatchedUserJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisDetectModerationLabelsConfigJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisDetectModerationLabelsConfigJsonMarshaller.java new file mode 100644 index 0000000000..bfd6d12f1c --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisDetectModerationLabelsConfigJsonMarshaller.java @@ -0,0 +1,51 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO MediaAnalysisDetectModerationLabelsConfig + */ +class MediaAnalysisDetectModerationLabelsConfigJsonMarshaller { + + public void marshall( + MediaAnalysisDetectModerationLabelsConfig mediaAnalysisDetectModerationLabelsConfig, + AwsJsonWriter jsonWriter) throws Exception { + jsonWriter.beginObject(); + if (mediaAnalysisDetectModerationLabelsConfig.getMinConfidence() != null) { + Float minConfidence = mediaAnalysisDetectModerationLabelsConfig.getMinConfidence(); + jsonWriter.name("MinConfidence"); + jsonWriter.value(minConfidence); + } + if (mediaAnalysisDetectModerationLabelsConfig.getProjectVersion() != null) { + String projectVersion = mediaAnalysisDetectModerationLabelsConfig.getProjectVersion(); + jsonWriter.name("ProjectVersion"); + jsonWriter.value(projectVersion); + } + jsonWriter.endObject(); + } + + private static MediaAnalysisDetectModerationLabelsConfigJsonMarshaller instance; + + public static MediaAnalysisDetectModerationLabelsConfigJsonMarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisDetectModerationLabelsConfigJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisDetectModerationLabelsConfigJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisDetectModerationLabelsConfigJsonUnmarshaller.java new file mode 100644 index 0000000000..2688e9de82 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisDetectModerationLabelsConfigJsonUnmarshaller.java @@ -0,0 +1,63 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO MediaAnalysisDetectModerationLabelsConfig + */ +class MediaAnalysisDetectModerationLabelsConfigJsonUnmarshaller implements + Unmarshaller { + + public MediaAnalysisDetectModerationLabelsConfig unmarshall(JsonUnmarshallerContext context) + throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + MediaAnalysisDetectModerationLabelsConfig mediaAnalysisDetectModerationLabelsConfig = new MediaAnalysisDetectModerationLabelsConfig(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("MinConfidence")) { + mediaAnalysisDetectModerationLabelsConfig.setMinConfidence(FloatJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("ProjectVersion")) { + mediaAnalysisDetectModerationLabelsConfig.setProjectVersion(StringJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return mediaAnalysisDetectModerationLabelsConfig; + } + + private static MediaAnalysisDetectModerationLabelsConfigJsonUnmarshaller instance; + + public static MediaAnalysisDetectModerationLabelsConfigJsonUnmarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisDetectModerationLabelsConfigJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisInputJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisInputJsonMarshaller.java new file mode 100644 index 0000000000..761ee41f37 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisInputJsonMarshaller.java @@ -0,0 +1,45 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO MediaAnalysisInput + */ +class MediaAnalysisInputJsonMarshaller { + + public void marshall(MediaAnalysisInput mediaAnalysisInput, AwsJsonWriter jsonWriter) + throws Exception { + jsonWriter.beginObject(); + if (mediaAnalysisInput.getS3Object() != null) { + S3Object s3Object = mediaAnalysisInput.getS3Object(); + jsonWriter.name("S3Object"); + S3ObjectJsonMarshaller.getInstance().marshall(s3Object, jsonWriter); + } + jsonWriter.endObject(); + } + + private static MediaAnalysisInputJsonMarshaller instance; + + public static MediaAnalysisInputJsonMarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisInputJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisInputJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisInputJsonUnmarshaller.java new file mode 100644 index 0000000000..05946c7480 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisInputJsonUnmarshaller.java @@ -0,0 +1,57 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO MediaAnalysisInput + */ +class MediaAnalysisInputJsonUnmarshaller implements + Unmarshaller { + + public MediaAnalysisInput unmarshall(JsonUnmarshallerContext context) throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + MediaAnalysisInput mediaAnalysisInput = new MediaAnalysisInput(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("S3Object")) { + mediaAnalysisInput.setS3Object(S3ObjectJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return mediaAnalysisInput; + } + + private static MediaAnalysisInputJsonUnmarshaller instance; + + public static MediaAnalysisInputJsonUnmarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisInputJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobDescriptionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobDescriptionJsonMarshaller.java new file mode 100644 index 0000000000..c2817c9111 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobDescriptionJsonMarshaller.java @@ -0,0 +1,108 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO MediaAnalysisJobDescription + */ +class MediaAnalysisJobDescriptionJsonMarshaller { + + public void marshall(MediaAnalysisJobDescription mediaAnalysisJobDescription, + AwsJsonWriter jsonWriter) throws Exception { + jsonWriter.beginObject(); + if (mediaAnalysisJobDescription.getJobId() != null) { + String jobId = mediaAnalysisJobDescription.getJobId(); + jsonWriter.name("JobId"); + jsonWriter.value(jobId); + } + if (mediaAnalysisJobDescription.getJobName() != null) { + String jobName = mediaAnalysisJobDescription.getJobName(); + jsonWriter.name("JobName"); + jsonWriter.value(jobName); + } + if (mediaAnalysisJobDescription.getOperationsConfig() != null) { + MediaAnalysisOperationsConfig operationsConfig = mediaAnalysisJobDescription + .getOperationsConfig(); + jsonWriter.name("OperationsConfig"); + MediaAnalysisOperationsConfigJsonMarshaller.getInstance().marshall(operationsConfig, + jsonWriter); + } + if (mediaAnalysisJobDescription.getStatus() != null) { + String status = mediaAnalysisJobDescription.getStatus(); + jsonWriter.name("Status"); + jsonWriter.value(status); + } + if (mediaAnalysisJobDescription.getFailureDetails() != null) { + MediaAnalysisJobFailureDetails failureDetails = mediaAnalysisJobDescription + .getFailureDetails(); + jsonWriter.name("FailureDetails"); + MediaAnalysisJobFailureDetailsJsonMarshaller.getInstance().marshall(failureDetails, + jsonWriter); + } + if (mediaAnalysisJobDescription.getCreationTimestamp() != null) { + java.util.Date creationTimestamp = mediaAnalysisJobDescription.getCreationTimestamp(); + jsonWriter.name("CreationTimestamp"); + jsonWriter.value(creationTimestamp); + } + if (mediaAnalysisJobDescription.getCompletionTimestamp() != null) { + java.util.Date completionTimestamp = mediaAnalysisJobDescription + .getCompletionTimestamp(); + jsonWriter.name("CompletionTimestamp"); + jsonWriter.value(completionTimestamp); + } + if (mediaAnalysisJobDescription.getInput() != null) { + MediaAnalysisInput input = mediaAnalysisJobDescription.getInput(); + jsonWriter.name("Input"); + MediaAnalysisInputJsonMarshaller.getInstance().marshall(input, jsonWriter); + } + if (mediaAnalysisJobDescription.getOutputConfig() != null) { + MediaAnalysisOutputConfig outputConfig = mediaAnalysisJobDescription.getOutputConfig(); + jsonWriter.name("OutputConfig"); + MediaAnalysisOutputConfigJsonMarshaller.getInstance() + .marshall(outputConfig, jsonWriter); + } + if (mediaAnalysisJobDescription.getKmsKeyId() != null) { + String kmsKeyId = mediaAnalysisJobDescription.getKmsKeyId(); + jsonWriter.name("KmsKeyId"); + jsonWriter.value(kmsKeyId); + } + if (mediaAnalysisJobDescription.getResults() != null) { + MediaAnalysisResults results = mediaAnalysisJobDescription.getResults(); + jsonWriter.name("Results"); + MediaAnalysisResultsJsonMarshaller.getInstance().marshall(results, jsonWriter); + } + if (mediaAnalysisJobDescription.getManifestSummary() != null) { + MediaAnalysisManifestSummary manifestSummary = mediaAnalysisJobDescription + .getManifestSummary(); + jsonWriter.name("ManifestSummary"); + MediaAnalysisManifestSummaryJsonMarshaller.getInstance().marshall(manifestSummary, + jsonWriter); + } + jsonWriter.endObject(); + } + + private static MediaAnalysisJobDescriptionJsonMarshaller instance; + + public static MediaAnalysisJobDescriptionJsonMarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisJobDescriptionJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobDescriptionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobDescriptionJsonUnmarshaller.java new file mode 100644 index 0000000000..3a67c69bfb --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobDescriptionJsonUnmarshaller.java @@ -0,0 +1,100 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO MediaAnalysisJobDescription + */ +class MediaAnalysisJobDescriptionJsonUnmarshaller implements + Unmarshaller { + + public MediaAnalysisJobDescription unmarshall(JsonUnmarshallerContext context) throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + MediaAnalysisJobDescription mediaAnalysisJobDescription = new MediaAnalysisJobDescription(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("JobId")) { + mediaAnalysisJobDescription.setJobId(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("JobName")) { + mediaAnalysisJobDescription.setJobName(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("OperationsConfig")) { + mediaAnalysisJobDescription + .setOperationsConfig(MediaAnalysisOperationsConfigJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("Status")) { + mediaAnalysisJobDescription.setStatus(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("FailureDetails")) { + mediaAnalysisJobDescription + .setFailureDetails(MediaAnalysisJobFailureDetailsJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("CreationTimestamp")) { + mediaAnalysisJobDescription.setCreationTimestamp(DateJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("CompletionTimestamp")) { + mediaAnalysisJobDescription.setCompletionTimestamp(DateJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("Input")) { + mediaAnalysisJobDescription.setInput(MediaAnalysisInputJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("OutputConfig")) { + mediaAnalysisJobDescription + .setOutputConfig(MediaAnalysisOutputConfigJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("KmsKeyId")) { + mediaAnalysisJobDescription.setKmsKeyId(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("Results")) { + mediaAnalysisJobDescription.setResults(MediaAnalysisResultsJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("ManifestSummary")) { + mediaAnalysisJobDescription + .setManifestSummary(MediaAnalysisManifestSummaryJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return mediaAnalysisJobDescription; + } + + private static MediaAnalysisJobDescriptionJsonUnmarshaller instance; + + public static MediaAnalysisJobDescriptionJsonUnmarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisJobDescriptionJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobFailureDetailsJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobFailureDetailsJsonMarshaller.java new file mode 100644 index 0000000000..16eeec4065 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobFailureDetailsJsonMarshaller.java @@ -0,0 +1,50 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO MediaAnalysisJobFailureDetails + */ +class MediaAnalysisJobFailureDetailsJsonMarshaller { + + public void marshall(MediaAnalysisJobFailureDetails mediaAnalysisJobFailureDetails, + AwsJsonWriter jsonWriter) throws Exception { + jsonWriter.beginObject(); + if (mediaAnalysisJobFailureDetails.getCode() != null) { + String code = mediaAnalysisJobFailureDetails.getCode(); + jsonWriter.name("Code"); + jsonWriter.value(code); + } + if (mediaAnalysisJobFailureDetails.getMessage() != null) { + String message = mediaAnalysisJobFailureDetails.getMessage(); + jsonWriter.name("Message"); + jsonWriter.value(message); + } + jsonWriter.endObject(); + } + + private static MediaAnalysisJobFailureDetailsJsonMarshaller instance; + + public static MediaAnalysisJobFailureDetailsJsonMarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisJobFailureDetailsJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobFailureDetailsJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobFailureDetailsJsonUnmarshaller.java new file mode 100644 index 0000000000..b75ab72491 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisJobFailureDetailsJsonUnmarshaller.java @@ -0,0 +1,61 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO MediaAnalysisJobFailureDetails + */ +class MediaAnalysisJobFailureDetailsJsonUnmarshaller implements + Unmarshaller { + + public MediaAnalysisJobFailureDetails unmarshall(JsonUnmarshallerContext context) + throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + MediaAnalysisJobFailureDetails mediaAnalysisJobFailureDetails = new MediaAnalysisJobFailureDetails(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("Code")) { + mediaAnalysisJobFailureDetails.setCode(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("Message")) { + mediaAnalysisJobFailureDetails.setMessage(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return mediaAnalysisJobFailureDetails; + } + + private static MediaAnalysisJobFailureDetailsJsonUnmarshaller instance; + + public static MediaAnalysisJobFailureDetailsJsonUnmarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisJobFailureDetailsJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisManifestSummaryJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisManifestSummaryJsonMarshaller.java new file mode 100644 index 0000000000..db07aedc1e --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisManifestSummaryJsonMarshaller.java @@ -0,0 +1,45 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO MediaAnalysisManifestSummary + */ +class MediaAnalysisManifestSummaryJsonMarshaller { + + public void marshall(MediaAnalysisManifestSummary mediaAnalysisManifestSummary, + AwsJsonWriter jsonWriter) throws Exception { + jsonWriter.beginObject(); + if (mediaAnalysisManifestSummary.getS3Object() != null) { + S3Object s3Object = mediaAnalysisManifestSummary.getS3Object(); + jsonWriter.name("S3Object"); + S3ObjectJsonMarshaller.getInstance().marshall(s3Object, jsonWriter); + } + jsonWriter.endObject(); + } + + private static MediaAnalysisManifestSummaryJsonMarshaller instance; + + public static MediaAnalysisManifestSummaryJsonMarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisManifestSummaryJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisManifestSummaryJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisManifestSummaryJsonUnmarshaller.java new file mode 100644 index 0000000000..7d2e83b014 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisManifestSummaryJsonUnmarshaller.java @@ -0,0 +1,58 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO MediaAnalysisManifestSummary + */ +class MediaAnalysisManifestSummaryJsonUnmarshaller implements + Unmarshaller { + + public MediaAnalysisManifestSummary unmarshall(JsonUnmarshallerContext context) + throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + MediaAnalysisManifestSummary mediaAnalysisManifestSummary = new MediaAnalysisManifestSummary(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("S3Object")) { + mediaAnalysisManifestSummary.setS3Object(S3ObjectJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return mediaAnalysisManifestSummary; + } + + private static MediaAnalysisManifestSummaryJsonUnmarshaller instance; + + public static MediaAnalysisManifestSummaryJsonUnmarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisManifestSummaryJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisModelVersionsJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisModelVersionsJsonMarshaller.java new file mode 100644 index 0000000000..665305fa19 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisModelVersionsJsonMarshaller.java @@ -0,0 +1,45 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO MediaAnalysisModelVersions + */ +class MediaAnalysisModelVersionsJsonMarshaller { + + public void marshall(MediaAnalysisModelVersions mediaAnalysisModelVersions, + AwsJsonWriter jsonWriter) throws Exception { + jsonWriter.beginObject(); + if (mediaAnalysisModelVersions.getModeration() != null) { + String moderation = mediaAnalysisModelVersions.getModeration(); + jsonWriter.name("Moderation"); + jsonWriter.value(moderation); + } + jsonWriter.endObject(); + } + + private static MediaAnalysisModelVersionsJsonMarshaller instance; + + public static MediaAnalysisModelVersionsJsonMarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisModelVersionsJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisModelVersionsJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisModelVersionsJsonUnmarshaller.java new file mode 100644 index 0000000000..9b62c28944 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisModelVersionsJsonUnmarshaller.java @@ -0,0 +1,57 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO MediaAnalysisModelVersions + */ +class MediaAnalysisModelVersionsJsonUnmarshaller implements + Unmarshaller { + + public MediaAnalysisModelVersions unmarshall(JsonUnmarshallerContext context) throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + MediaAnalysisModelVersions mediaAnalysisModelVersions = new MediaAnalysisModelVersions(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("Moderation")) { + mediaAnalysisModelVersions.setModeration(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return mediaAnalysisModelVersions; + } + + private static MediaAnalysisModelVersionsJsonUnmarshaller instance; + + public static MediaAnalysisModelVersionsJsonUnmarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisModelVersionsJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOperationsConfigJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOperationsConfigJsonMarshaller.java new file mode 100644 index 0000000000..b39d3b650c --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOperationsConfigJsonMarshaller.java @@ -0,0 +1,47 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO MediaAnalysisOperationsConfig + */ +class MediaAnalysisOperationsConfigJsonMarshaller { + + public void marshall(MediaAnalysisOperationsConfig mediaAnalysisOperationsConfig, + AwsJsonWriter jsonWriter) throws Exception { + jsonWriter.beginObject(); + if (mediaAnalysisOperationsConfig.getDetectModerationLabels() != null) { + MediaAnalysisDetectModerationLabelsConfig detectModerationLabels = mediaAnalysisOperationsConfig + .getDetectModerationLabels(); + jsonWriter.name("DetectModerationLabels"); + MediaAnalysisDetectModerationLabelsConfigJsonMarshaller.getInstance().marshall( + detectModerationLabels, jsonWriter); + } + jsonWriter.endObject(); + } + + private static MediaAnalysisOperationsConfigJsonMarshaller instance; + + public static MediaAnalysisOperationsConfigJsonMarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisOperationsConfigJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOperationsConfigJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOperationsConfigJsonUnmarshaller.java new file mode 100644 index 0000000000..5e1f60e549 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOperationsConfigJsonUnmarshaller.java @@ -0,0 +1,60 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO MediaAnalysisOperationsConfig + */ +class MediaAnalysisOperationsConfigJsonUnmarshaller implements + Unmarshaller { + + public MediaAnalysisOperationsConfig unmarshall(JsonUnmarshallerContext context) + throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + MediaAnalysisOperationsConfig mediaAnalysisOperationsConfig = new MediaAnalysisOperationsConfig(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("DetectModerationLabels")) { + mediaAnalysisOperationsConfig + .setDetectModerationLabels(MediaAnalysisDetectModerationLabelsConfigJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return mediaAnalysisOperationsConfig; + } + + private static MediaAnalysisOperationsConfigJsonUnmarshaller instance; + + public static MediaAnalysisOperationsConfigJsonUnmarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisOperationsConfigJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOutputConfigJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOutputConfigJsonMarshaller.java new file mode 100644 index 0000000000..549c5fa6b4 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOutputConfigJsonMarshaller.java @@ -0,0 +1,50 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO MediaAnalysisOutputConfig + */ +class MediaAnalysisOutputConfigJsonMarshaller { + + public void marshall(MediaAnalysisOutputConfig mediaAnalysisOutputConfig, + AwsJsonWriter jsonWriter) throws Exception { + jsonWriter.beginObject(); + if (mediaAnalysisOutputConfig.getS3Bucket() != null) { + String s3Bucket = mediaAnalysisOutputConfig.getS3Bucket(); + jsonWriter.name("S3Bucket"); + jsonWriter.value(s3Bucket); + } + if (mediaAnalysisOutputConfig.getS3KeyPrefix() != null) { + String s3KeyPrefix = mediaAnalysisOutputConfig.getS3KeyPrefix(); + jsonWriter.name("S3KeyPrefix"); + jsonWriter.value(s3KeyPrefix); + } + jsonWriter.endObject(); + } + + private static MediaAnalysisOutputConfigJsonMarshaller instance; + + public static MediaAnalysisOutputConfigJsonMarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisOutputConfigJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOutputConfigJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOutputConfigJsonUnmarshaller.java new file mode 100644 index 0000000000..2b86163076 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisOutputConfigJsonUnmarshaller.java @@ -0,0 +1,60 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO MediaAnalysisOutputConfig + */ +class MediaAnalysisOutputConfigJsonUnmarshaller implements + Unmarshaller { + + public MediaAnalysisOutputConfig unmarshall(JsonUnmarshallerContext context) throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + MediaAnalysisOutputConfig mediaAnalysisOutputConfig = new MediaAnalysisOutputConfig(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("S3Bucket")) { + mediaAnalysisOutputConfig.setS3Bucket(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("S3KeyPrefix")) { + mediaAnalysisOutputConfig.setS3KeyPrefix(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return mediaAnalysisOutputConfig; + } + + private static MediaAnalysisOutputConfigJsonUnmarshaller instance; + + public static MediaAnalysisOutputConfigJsonUnmarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisOutputConfigJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisResultsJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisResultsJsonMarshaller.java new file mode 100644 index 0000000000..3a40d5c6ba --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisResultsJsonMarshaller.java @@ -0,0 +1,51 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO MediaAnalysisResults + */ +class MediaAnalysisResultsJsonMarshaller { + + public void marshall(MediaAnalysisResults mediaAnalysisResults, AwsJsonWriter jsonWriter) + throws Exception { + jsonWriter.beginObject(); + if (mediaAnalysisResults.getS3Object() != null) { + S3Object s3Object = mediaAnalysisResults.getS3Object(); + jsonWriter.name("S3Object"); + S3ObjectJsonMarshaller.getInstance().marshall(s3Object, jsonWriter); + } + if (mediaAnalysisResults.getModelVersions() != null) { + MediaAnalysisModelVersions modelVersions = mediaAnalysisResults.getModelVersions(); + jsonWriter.name("ModelVersions"); + MediaAnalysisModelVersionsJsonMarshaller.getInstance().marshall(modelVersions, + jsonWriter); + } + jsonWriter.endObject(); + } + + private static MediaAnalysisResultsJsonMarshaller instance; + + public static MediaAnalysisResultsJsonMarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisResultsJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisResultsJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisResultsJsonUnmarshaller.java new file mode 100644 index 0000000000..09b706455b --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MediaAnalysisResultsJsonUnmarshaller.java @@ -0,0 +1,61 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO MediaAnalysisResults + */ +class MediaAnalysisResultsJsonUnmarshaller implements + Unmarshaller { + + public MediaAnalysisResults unmarshall(JsonUnmarshallerContext context) throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + MediaAnalysisResults mediaAnalysisResults = new MediaAnalysisResults(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("S3Object")) { + mediaAnalysisResults.setS3Object(S3ObjectJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("ModelVersions")) { + mediaAnalysisResults.setModelVersions(MediaAnalysisModelVersionsJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return mediaAnalysisResults; + } + + private static MediaAnalysisResultsJsonUnmarshaller instance; + + public static MediaAnalysisResultsJsonUnmarshaller getInstance() { + if (instance == null) + instance = new MediaAnalysisResultsJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ModerationLabelJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ModerationLabelJsonMarshaller.java index b3db7f187e..ac1a92b35d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ModerationLabelJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ModerationLabelJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -42,6 +42,11 @@ public void marshall(ModerationLabel moderationLabel, AwsJsonWriter jsonWriter) jsonWriter.name("ParentName"); jsonWriter.value(parentName); } + if (moderationLabel.getTaxonomyLevel() != null) { + Integer taxonomyLevel = moderationLabel.getTaxonomyLevel(); + jsonWriter.name("TaxonomyLevel"); + jsonWriter.value(taxonomyLevel); + } jsonWriter.endObject(); } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ModerationLabelJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ModerationLabelJsonUnmarshaller.java index b036294934..6f490afbe8 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ModerationLabelJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ModerationLabelJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -45,6 +45,9 @@ public ModerationLabel unmarshall(JsonUnmarshallerContext context) throws Except } else if (name.equals("ParentName")) { moderationLabel.setParentName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); + } else if (name.equals("TaxonomyLevel")) { + moderationLabel.setTaxonomyLevel(IntegerJsonUnmarshaller.getInstance() + .unmarshall(context)); } else { reader.skipValue(); } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MouthOpenJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MouthOpenJsonMarshaller.java index bd06857b6b..26701e05ea 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MouthOpenJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MouthOpenJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MouthOpenJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MouthOpenJsonUnmarshaller.java index 263f4e9424..4221b67773 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MouthOpenJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MouthOpenJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MustacheJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MustacheJsonMarshaller.java index 9dcf990ad1..d764db0983 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MustacheJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MustacheJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MustacheJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MustacheJsonUnmarshaller.java index a0d084e944..0e6cfe3c9c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MustacheJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/MustacheJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/NotificationChannelJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/NotificationChannelJsonMarshaller.java index 3c2b157f55..07437b41d6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/NotificationChannelJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/NotificationChannelJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/NotificationChannelJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/NotificationChannelJsonUnmarshaller.java index 4a8aecece5..69cefc0dc0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/NotificationChannelJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/NotificationChannelJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/OutputConfigJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/OutputConfigJsonMarshaller.java index 2cddd99f9f..bbea95c647 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/OutputConfigJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/OutputConfigJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/OutputConfigJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/OutputConfigJsonUnmarshaller.java index b8e5647de1..9b459c63f5 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/OutputConfigJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/OutputConfigJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ParentJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ParentJsonMarshaller.java index 3ca04e526a..fe107f76ec 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ParentJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ParentJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ParentJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ParentJsonUnmarshaller.java index 89ba8fcfa1..2bff8f2b96 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ParentJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ParentJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetailJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetailJsonMarshaller.java index cc9b85cff0..e55f89dada 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetailJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetailJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetailJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetailJsonUnmarshaller.java index 4de43c4d23..c5cbc844bf 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetailJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetailJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetectionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetectionJsonMarshaller.java index 9baa02a1c7..861c1bd1e6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetectionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetectionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetectionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetectionJsonUnmarshaller.java index 2b9ab598db..65c66263ee 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetectionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonDetectionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonMatchJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonMatchJsonMarshaller.java index 5c272c2f21..35c40ef5d4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonMatchJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonMatchJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonMatchJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonMatchJsonUnmarshaller.java index b83c8c2399..2bb08a4fd0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonMatchJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PersonMatchJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PointJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PointJsonMarshaller.java index f7abcce8b7..e603f5e5ec 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PointJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PointJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PointJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PointJsonUnmarshaller.java index 28f3dd3c03..2f52462bb2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PointJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PointJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PoseJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PoseJsonMarshaller.java index d950f4989c..b6e350d9f2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PoseJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PoseJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PoseJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PoseJsonUnmarshaller.java index 9f66071973..f28b787457 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PoseJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PoseJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectDescriptionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectDescriptionJsonMarshaller.java index 51f7fcb215..cdb4c4f4fa 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectDescriptionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectDescriptionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -53,6 +53,16 @@ public void marshall(ProjectDescription projectDescription, AwsJsonWriter jsonWr } jsonWriter.endArray(); } + if (projectDescription.getFeature() != null) { + String feature = projectDescription.getFeature(); + jsonWriter.name("Feature"); + jsonWriter.value(feature); + } + if (projectDescription.getAutoUpdate() != null) { + String autoUpdate = projectDescription.getAutoUpdate(); + jsonWriter.name("AutoUpdate"); + jsonWriter.value(autoUpdate); + } jsonWriter.endObject(); } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectDescriptionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectDescriptionJsonUnmarshaller.java index 9ecf619c7a..01ec6f1f6f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectDescriptionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectDescriptionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -50,6 +50,12 @@ public ProjectDescription unmarshall(JsonUnmarshallerContext context) throws Exc DatasetMetadataJsonUnmarshaller.getInstance() ) .unmarshall(context)); + } else if (name.equals("Feature")) { + projectDescription.setFeature(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("AutoUpdate")) { + projectDescription.setAutoUpdate(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); } else { reader.skipValue(); } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectPolicyJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectPolicyJsonMarshaller.java index 361798244c..53d6112fda 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectPolicyJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectPolicyJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectPolicyJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectPolicyJsonUnmarshaller.java index 3eb751286d..4da6f66e3f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectPolicyJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectPolicyJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectVersionDescriptionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectVersionDescriptionJsonMarshaller.java index 4223c51e89..df53c8b4c7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectVersionDescriptionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectVersionDescriptionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -105,6 +105,27 @@ public void marshall(ProjectVersionDescription projectVersionDescription, jsonWriter.name("SourceProjectVersionArn"); jsonWriter.value(sourceProjectVersionArn); } + if (projectVersionDescription.getVersionDescription() != null) { + String versionDescription = projectVersionDescription.getVersionDescription(); + jsonWriter.name("VersionDescription"); + jsonWriter.value(versionDescription); + } + if (projectVersionDescription.getFeature() != null) { + String feature = projectVersionDescription.getFeature(); + jsonWriter.name("Feature"); + jsonWriter.value(feature); + } + if (projectVersionDescription.getBaseModelVersion() != null) { + String baseModelVersion = projectVersionDescription.getBaseModelVersion(); + jsonWriter.name("BaseModelVersion"); + jsonWriter.value(baseModelVersion); + } + if (projectVersionDescription.getFeatureConfig() != null) { + CustomizationFeatureConfig featureConfig = projectVersionDescription.getFeatureConfig(); + jsonWriter.name("FeatureConfig"); + CustomizationFeatureConfigJsonMarshaller.getInstance().marshall(featureConfig, + jsonWriter); + } jsonWriter.endObject(); } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectVersionDescriptionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectVersionDescriptionJsonUnmarshaller.java index 936c2ce525..e7437b9a4c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectVersionDescriptionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProjectVersionDescriptionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -91,6 +91,20 @@ public ProjectVersionDescription unmarshall(JsonUnmarshallerContext context) thr projectVersionDescription.setSourceProjectVersionArn(StringJsonUnmarshaller .getInstance() .unmarshall(context)); + } else if (name.equals("VersionDescription")) { + projectVersionDescription.setVersionDescription(StringJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("Feature")) { + projectVersionDescription.setFeature(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("BaseModelVersion")) { + projectVersionDescription.setBaseModelVersion(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("FeatureConfig")) { + projectVersionDescription + .setFeatureConfig(CustomizationFeatureConfigJsonUnmarshaller.getInstance() + .unmarshall(context)); } else { reader.skipValue(); } diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentBodyPartJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentBodyPartJsonMarshaller.java index ea9339ad5c..9402f8888a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentBodyPartJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentBodyPartJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentBodyPartJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentBodyPartJsonUnmarshaller.java index 09b38502fb..e058e6fdeb 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentBodyPartJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentBodyPartJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentPersonJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentPersonJsonMarshaller.java index f4af0e78a8..f94403bc40 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentPersonJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentPersonJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentPersonJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentPersonJsonUnmarshaller.java index fb026f0227..6b685e23b0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentPersonJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentPersonJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummarizationAttributesJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummarizationAttributesJsonMarshaller.java index 5ab2642a9a..4c9632db5b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummarizationAttributesJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummarizationAttributesJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummarizationAttributesJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummarizationAttributesJsonUnmarshaller.java index b964621d54..8a24305656 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummarizationAttributesJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummarizationAttributesJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummaryJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummaryJsonMarshaller.java index 939f18287c..1dbb6b625c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummaryJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummaryJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummaryJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummaryJsonUnmarshaller.java index 5ef0ca9321..94bd15d844 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummaryJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProtectiveEquipmentSummaryJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProvisionedThroughputExceededExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProvisionedThroughputExceededExceptionUnmarshaller.java index d9566912eb..b84a85ac32 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProvisionedThroughputExceededExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ProvisionedThroughputExceededExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PutProjectPolicyRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PutProjectPolicyRequestMarshaller.java index 432939a754..0e80e5c453 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PutProjectPolicyRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PutProjectPolicyRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PutProjectPolicyResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PutProjectPolicyResultJsonUnmarshaller.java index 8feed21392..1bbefc465e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PutProjectPolicyResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/PutProjectPolicyResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RecognizeCelebritiesRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RecognizeCelebritiesRequestMarshaller.java index 9677447076..7c9dde2cd7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RecognizeCelebritiesRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RecognizeCelebritiesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RecognizeCelebritiesResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RecognizeCelebritiesResultJsonUnmarshaller.java index c6ae5f299a..270d2a971a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RecognizeCelebritiesResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RecognizeCelebritiesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RegionOfInterestJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RegionOfInterestJsonMarshaller.java index 090c86ad98..894695e57c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RegionOfInterestJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RegionOfInterestJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RegionOfInterestJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RegionOfInterestJsonUnmarshaller.java index 6d8a531da9..38eb7539b4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RegionOfInterestJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/RegionOfInterestJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceAlreadyExistsExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceAlreadyExistsExceptionUnmarshaller.java index 682fa2a82f..321582b3a7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceAlreadyExistsExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceAlreadyExistsExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceInUseExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceInUseExceptionUnmarshaller.java index 12b4f245e4..abcdb3f3e7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceInUseExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceInUseExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceNotFoundExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceNotFoundExceptionUnmarshaller.java index 865ee8bb34..718076d0d6 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceNotFoundExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceNotFoundExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceNotReadyExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceNotReadyExceptionUnmarshaller.java index bcbdf4780f..e671cc62b9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceNotReadyExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ResourceNotReadyExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3DestinationJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3DestinationJsonMarshaller.java index 1b0d3f8489..b5102c652e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3DestinationJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3DestinationJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3DestinationJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3DestinationJsonUnmarshaller.java index 75ec4514cd..f6bf55bae2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3DestinationJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3DestinationJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3ObjectJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3ObjectJsonMarshaller.java index efd4b230f5..485f64b8ab 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3ObjectJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3ObjectJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3ObjectJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3ObjectJsonUnmarshaller.java index 9d76aea01b..4a7dcff761 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3ObjectJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/S3ObjectJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesByImageRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesByImageRequestMarshaller.java index c363438980..fff83ea261 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesByImageRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesByImageRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesByImageResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesByImageResultJsonUnmarshaller.java index 84323bd15d..b0994d220a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesByImageResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesByImageResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesRequestMarshaller.java index 29cdbd04c5..eab3fa98c7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesResultJsonUnmarshaller.java index 7b64fe5b77..42c200fc0e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchFacesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersByImageRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersByImageRequestMarshaller.java index 431dac961d..a0df7eea72 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersByImageRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersByImageRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersByImageResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersByImageResultJsonUnmarshaller.java index e7e9116452..fa488d87be 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersByImageResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersByImageResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersRequestMarshaller.java index 44a028b8eb..08c699ded0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersResultJsonUnmarshaller.java index a321a8c42d..524402dd9a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchUsersResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceDetailsJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceDetailsJsonMarshaller.java index 4932848fa7..5a84af8dd7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceDetailsJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceDetailsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceDetailsJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceDetailsJsonUnmarshaller.java index ad9d140942..4335bf2aae 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceDetailsJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceDetailsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceJsonMarshaller.java index 812786cfaf..600061aaa4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceJsonUnmarshaller.java index 81b92a4caa..9a78e7bd5f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedFaceJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedUserJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedUserJsonMarshaller.java index 967e41c47d..6040c98355 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedUserJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedUserJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedUserJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedUserJsonUnmarshaller.java index 5ff27ce383..31995166dd 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedUserJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SearchedUserJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentDetectionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentDetectionJsonMarshaller.java index a938b29611..06dc4923da 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentDetectionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentDetectionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentDetectionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentDetectionJsonUnmarshaller.java index a77a911a1f..ba7de6a8be 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentDetectionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentDetectionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentTypeInfoJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentTypeInfoJsonMarshaller.java index e988d42085..73be3037b4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentTypeInfoJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentTypeInfoJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentTypeInfoJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentTypeInfoJsonUnmarshaller.java index 856b76925b..bce22bc346 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentTypeInfoJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SegmentTypeInfoJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ServiceQuotaExceededExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ServiceQuotaExceededExceptionUnmarshaller.java index 030959a34e..2d3dc28f34 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ServiceQuotaExceededExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ServiceQuotaExceededExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SessionNotFoundExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SessionNotFoundExceptionUnmarshaller.java index 00577e844e..995e5b4ce9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SessionNotFoundExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SessionNotFoundExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ShotSegmentJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ShotSegmentJsonMarshaller.java index 0854c550c2..2e4d287e95 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ShotSegmentJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ShotSegmentJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ShotSegmentJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ShotSegmentJsonUnmarshaller.java index 9fd5d4036c..118f547209 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ShotSegmentJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ShotSegmentJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SmileJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SmileJsonMarshaller.java index c7e8f617df..e9e7a7d871 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SmileJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SmileJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SmileJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SmileJsonUnmarshaller.java index bcab2413fd..3fa3306a26 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SmileJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SmileJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartCelebrityRecognitionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartCelebrityRecognitionRequestMarshaller.java index a07c9aca2d..73126eae95 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartCelebrityRecognitionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartCelebrityRecognitionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartCelebrityRecognitionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartCelebrityRecognitionResultJsonUnmarshaller.java index 38248baa6e..1f99795b59 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartCelebrityRecognitionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartCelebrityRecognitionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartContentModerationRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartContentModerationRequestMarshaller.java index 2474d8d60c..f3e5f83831 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartContentModerationRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartContentModerationRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartContentModerationResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartContentModerationResultJsonUnmarshaller.java index 40306884c5..6efcd5e7af 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartContentModerationResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartContentModerationResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceDetectionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceDetectionRequestMarshaller.java index 3bfaf6215b..08e7048bc1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceDetectionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceDetectionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceDetectionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceDetectionResultJsonUnmarshaller.java index 25ea2dac48..be8eb44e09 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceDetectionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceDetectionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceSearchRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceSearchRequestMarshaller.java index d8c611d3e8..710320f85c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceSearchRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceSearchRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceSearchResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceSearchResultJsonUnmarshaller.java index 9d433b5298..fa15198c91 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceSearchResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartFaceSearchResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartLabelDetectionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartLabelDetectionRequestMarshaller.java index c599976fc0..18608b6763 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartLabelDetectionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartLabelDetectionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartLabelDetectionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartLabelDetectionResultJsonUnmarshaller.java index 9d3d1873cb..15f7068b2b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartLabelDetectionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartLabelDetectionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartMediaAnalysisJobRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartMediaAnalysisJobRequestMarshaller.java new file mode 100644 index 0000000000..01265f8248 --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartMediaAnalysisJobRequestMarshaller.java @@ -0,0 +1,117 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import static com.amazonaws.util.StringUtils.UTF8; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.OutputStreamWriter; +import java.io.StringWriter; +import java.io.Writer; + +import android.text.TextUtils; + +import com.amazonaws.AmazonClientException; +import com.amazonaws.Request; +import com.amazonaws.DefaultRequest; +import com.amazonaws.http.HttpMethodName; +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.Marshaller; +import com.amazonaws.util.BinaryUtils; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.StringUtils; +import com.amazonaws.util.StringInputStream; +import com.amazonaws.util.json.AwsJsonWriter; +import com.amazonaws.util.json.JsonUtils; + +/** + * JSON request marshaller for StartMediaAnalysisJobRequest + */ +public class StartMediaAnalysisJobRequestMarshaller implements + Marshaller, StartMediaAnalysisJobRequest> { + + public Request marshall( + StartMediaAnalysisJobRequest startMediaAnalysisJobRequest) { + if (startMediaAnalysisJobRequest == null) { + throw new AmazonClientException( + "Invalid argument passed to marshall(StartMediaAnalysisJobRequest)"); + } + + Request request = new DefaultRequest( + startMediaAnalysisJobRequest, "AmazonRekognition"); + String target = "RekognitionService.StartMediaAnalysisJob"; + request.addHeader("X-Amz-Target", target); + request.setHttpMethod(HttpMethodName.POST); + + String uriResourcePath = "/"; + request.setResourcePath(uriResourcePath); + try { + StringWriter stringWriter = new StringWriter(); + AwsJsonWriter jsonWriter = JsonUtils.getJsonWriter(stringWriter); + jsonWriter.beginObject(); + + if (startMediaAnalysisJobRequest.getClientRequestToken() != null) { + String clientRequestToken = startMediaAnalysisJobRequest.getClientRequestToken(); + jsonWriter.name("ClientRequestToken"); + jsonWriter.value(clientRequestToken); + } + if (startMediaAnalysisJobRequest.getJobName() != null) { + String jobName = startMediaAnalysisJobRequest.getJobName(); + jsonWriter.name("JobName"); + jsonWriter.value(jobName); + } + if (startMediaAnalysisJobRequest.getOperationsConfig() != null) { + MediaAnalysisOperationsConfig operationsConfig = startMediaAnalysisJobRequest + .getOperationsConfig(); + jsonWriter.name("OperationsConfig"); + MediaAnalysisOperationsConfigJsonMarshaller.getInstance().marshall( + operationsConfig, jsonWriter); + } + if (startMediaAnalysisJobRequest.getInput() != null) { + MediaAnalysisInput input = startMediaAnalysisJobRequest.getInput(); + jsonWriter.name("Input"); + MediaAnalysisInputJsonMarshaller.getInstance().marshall(input, jsonWriter); + } + if (startMediaAnalysisJobRequest.getOutputConfig() != null) { + MediaAnalysisOutputConfig outputConfig = startMediaAnalysisJobRequest + .getOutputConfig(); + jsonWriter.name("OutputConfig"); + MediaAnalysisOutputConfigJsonMarshaller.getInstance().marshall(outputConfig, + jsonWriter); + } + if (startMediaAnalysisJobRequest.getKmsKeyId() != null) { + String kmsKeyId = startMediaAnalysisJobRequest.getKmsKeyId(); + jsonWriter.name("KmsKeyId"); + jsonWriter.value(kmsKeyId); + } + + jsonWriter.endObject(); + jsonWriter.close(); + String snippet = stringWriter.toString(); + byte[] content = snippet.getBytes(UTF8); + request.setContent(new StringInputStream(snippet)); + request.addHeader("Content-Length", Integer.toString(content.length)); + } catch (Throwable t) { + throw new AmazonClientException( + "Unable to marshall request to JSON: " + t.getMessage(), t); + } + if (!request.getHeaders().containsKey("Content-Type")) { + request.addHeader("Content-Type", "application/x-amz-json-1.1"); + } + + return request; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartMediaAnalysisJobResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartMediaAnalysisJobResultJsonUnmarshaller.java new file mode 100644 index 0000000000..0b465fc54e --- /dev/null +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartMediaAnalysisJobResultJsonUnmarshaller.java @@ -0,0 +1,55 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.rekognition.model.transform; + +import com.amazonaws.services.rekognition.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for response StartMediaAnalysisJobResult + */ +public class StartMediaAnalysisJobResultJsonUnmarshaller implements + Unmarshaller { + + public StartMediaAnalysisJobResult unmarshall(JsonUnmarshallerContext context) throws Exception { + StartMediaAnalysisJobResult startMediaAnalysisJobResult = new StartMediaAnalysisJobResult(); + + AwsJsonReader reader = context.getReader(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("JobId")) { + startMediaAnalysisJobResult.setJobId(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + + return startMediaAnalysisJobResult; + } + + private static StartMediaAnalysisJobResultJsonUnmarshaller instance; + + public static StartMediaAnalysisJobResultJsonUnmarshaller getInstance() { + if (instance == null) + instance = new StartMediaAnalysisJobResultJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartPersonTrackingRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartPersonTrackingRequestMarshaller.java index 5c63b267b4..8282943874 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartPersonTrackingRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartPersonTrackingRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartPersonTrackingResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartPersonTrackingResultJsonUnmarshaller.java index 943067dff3..c0a146ce8f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartPersonTrackingResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartPersonTrackingResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartProjectVersionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartProjectVersionRequestMarshaller.java index 615b887919..31d05a2c68 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartProjectVersionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartProjectVersionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartProjectVersionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartProjectVersionResultJsonUnmarshaller.java index 4fb51a6a40..1841f2750f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartProjectVersionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartProjectVersionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionFiltersJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionFiltersJsonMarshaller.java index 1c1dd1e9f5..b56d6cadc1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionFiltersJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionFiltersJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionFiltersJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionFiltersJsonUnmarshaller.java index fa3cdd4488..71caf6f076 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionFiltersJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionFiltersJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionRequestMarshaller.java index 215dfbb866..cb031327b2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionResultJsonUnmarshaller.java index 2df8a873e4..f3f797a80a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartSegmentDetectionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartShotDetectionFilterJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartShotDetectionFilterJsonMarshaller.java index 6c5a75453f..12d356d2be 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartShotDetectionFilterJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartShotDetectionFilterJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartShotDetectionFilterJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartShotDetectionFilterJsonUnmarshaller.java index dc56305366..481f8e1634 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartShotDetectionFilterJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartShotDetectionFilterJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartStreamProcessorRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartStreamProcessorRequestMarshaller.java index 8cd143764d..a340d12e16 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartStreamProcessorRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartStreamProcessorRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartStreamProcessorResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartStreamProcessorResultJsonUnmarshaller.java index c4b2772748..84dc9e24d7 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartStreamProcessorResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartStreamProcessorResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTechnicalCueDetectionFilterJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTechnicalCueDetectionFilterJsonMarshaller.java index 7d39d37e18..8cc1a4affb 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTechnicalCueDetectionFilterJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTechnicalCueDetectionFilterJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTechnicalCueDetectionFilterJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTechnicalCueDetectionFilterJsonUnmarshaller.java index 74d41606fd..8b07da5cf3 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTechnicalCueDetectionFilterJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTechnicalCueDetectionFilterJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionFiltersJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionFiltersJsonMarshaller.java index 144161abee..cb3bc0c653 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionFiltersJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionFiltersJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionFiltersJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionFiltersJsonUnmarshaller.java index 66a3dd7211..1c8d78fcf1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionFiltersJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionFiltersJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionRequestMarshaller.java index a8d2daef39..603040bb51 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionResultJsonUnmarshaller.java index 55ae345b5b..a3c7105312 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StartTextDetectionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopProjectVersionRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopProjectVersionRequestMarshaller.java index 9992dece72..9efacad1de 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopProjectVersionRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopProjectVersionRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopProjectVersionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopProjectVersionResultJsonUnmarshaller.java index c576bd6a89..94edcedbc5 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopProjectVersionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopProjectVersionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopStreamProcessorRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopStreamProcessorRequestMarshaller.java index b7d251fe8e..144ad82d57 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopStreamProcessorRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopStreamProcessorRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopStreamProcessorResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopStreamProcessorResultJsonUnmarshaller.java index 676ba140bc..7daa9d2464 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopStreamProcessorResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StopStreamProcessorResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStartSelectorJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStartSelectorJsonMarshaller.java index d667333780..c05a0c03a9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStartSelectorJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStartSelectorJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStartSelectorJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStartSelectorJsonUnmarshaller.java index 40b4874593..c761ad3d7a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStartSelectorJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStartSelectorJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStopSelectorJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStopSelectorJsonMarshaller.java index 2501debd60..786968b327 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStopSelectorJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStopSelectorJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStopSelectorJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStopSelectorJsonUnmarshaller.java index f25d05037a..a100005a66 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStopSelectorJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessingStopSelectorJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorDataSharingPreferenceJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorDataSharingPreferenceJsonMarshaller.java index f1031752be..b0d5cb5a30 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorDataSharingPreferenceJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorDataSharingPreferenceJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorDataSharingPreferenceJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorDataSharingPreferenceJsonUnmarshaller.java index 4a45c63b0f..a382e46bb5 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorDataSharingPreferenceJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorDataSharingPreferenceJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorInputJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorInputJsonMarshaller.java index 9b93c19068..42dbd63786 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorInputJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorInputJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorInputJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorInputJsonUnmarshaller.java index 523201ce53..7ef318f9c8 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorInputJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorInputJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorJsonMarshaller.java index d504dab54c..ff930ca428 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorJsonUnmarshaller.java index c770c42ba6..5ad0a2c6c2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorNotificationChannelJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorNotificationChannelJsonMarshaller.java index 1200e45a60..f209afc5f9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorNotificationChannelJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorNotificationChannelJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorNotificationChannelJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorNotificationChannelJsonUnmarshaller.java index 3a329b9bad..809e6f922c 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorNotificationChannelJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorNotificationChannelJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorOutputJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorOutputJsonMarshaller.java index 48b6c303d1..183467fb61 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorOutputJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorOutputJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorOutputJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorOutputJsonUnmarshaller.java index a7a091e636..741b356f0a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorOutputJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorOutputJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsForUpdateJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsForUpdateJsonMarshaller.java index 73bce0ec1b..78dffb6367 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsForUpdateJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsForUpdateJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsForUpdateJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsForUpdateJsonUnmarshaller.java index cc67621b77..6ebed075bb 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsForUpdateJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsForUpdateJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsJsonMarshaller.java index 98e7c08c6e..d76c0426e3 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsJsonUnmarshaller.java index 88d751d13e..505270ab02 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/StreamProcessorSettingsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SummaryJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SummaryJsonMarshaller.java index b911bef94f..af8b8a1e94 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SummaryJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SummaryJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SummaryJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SummaryJsonUnmarshaller.java index 7d7d2b3487..01f865649a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SummaryJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SummaryJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SunglassesJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SunglassesJsonMarshaller.java index e6740d8151..127209ef82 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SunglassesJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SunglassesJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SunglassesJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SunglassesJsonUnmarshaller.java index c5761df53a..ea8c0e1898 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SunglassesJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/SunglassesJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TagResourceRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TagResourceRequestMarshaller.java index c448cec74b..65db870112 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TagResourceRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TagResourceRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TagResourceResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TagResourceResultJsonUnmarshaller.java index f62f316473..7fd07ef962 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TagResourceResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TagResourceResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TechnicalCueSegmentJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TechnicalCueSegmentJsonMarshaller.java index e4a6124bfa..1b396fb318 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TechnicalCueSegmentJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TechnicalCueSegmentJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TechnicalCueSegmentJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TechnicalCueSegmentJsonUnmarshaller.java index ca240b1044..955286ac53 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TechnicalCueSegmentJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TechnicalCueSegmentJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataJsonMarshaller.java index 1165468026..06b5ffaf68 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataJsonUnmarshaller.java index 84fa7a3681..b1e4d80ed1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataResultJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataResultJsonMarshaller.java index ed1a83442b..6357a4160f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataResultJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataResultJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataResultJsonUnmarshaller.java index 6d03432215..c4efd8e17f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TestingDataResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionJsonMarshaller.java index 5caf51536f..91a29ecc0f 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionJsonUnmarshaller.java index 978a28e9d9..13ba96d5ae 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionResultJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionResultJsonMarshaller.java index bf1a7596f3..68f0922cf9 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionResultJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionResultJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionResultJsonUnmarshaller.java index eebcc9e16c..e7711357d2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TextDetectionResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ThrottlingExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ThrottlingExceptionUnmarshaller.java index 684c164e88..9bba43bfc5 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ThrottlingExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ThrottlingExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataJsonMarshaller.java index 4b705d72ee..7ee277fd91 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataJsonUnmarshaller.java index 9899901dfe..80dd162952 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataResultJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataResultJsonMarshaller.java index e678e39257..fbcd8bb252 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataResultJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataResultJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataResultJsonUnmarshaller.java index bf9b7e0fcf..63892502ed 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/TrainingDataResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnindexedFaceJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnindexedFaceJsonMarshaller.java index 3ce51adbed..7cd1acc7e8 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnindexedFaceJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnindexedFaceJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnindexedFaceJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnindexedFaceJsonUnmarshaller.java index 196dadae08..392899a0d4 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnindexedFaceJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnindexedFaceJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsearchedFaceJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsearchedFaceJsonMarshaller.java index cbacdd0a9d..0624104b81 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsearchedFaceJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsearchedFaceJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsearchedFaceJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsearchedFaceJsonUnmarshaller.java index 2169169492..fe12a860be 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsearchedFaceJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsearchedFaceJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceAssociationJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceAssociationJsonMarshaller.java index 526e3e77ad..3a174d78be 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceAssociationJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceAssociationJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceAssociationJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceAssociationJsonUnmarshaller.java index 6c19a05c37..2389b48b26 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceAssociationJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceAssociationJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDeletionJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDeletionJsonMarshaller.java index f6dbc456f8..3e38cc0fcf 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDeletionJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDeletionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDeletionJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDeletionJsonUnmarshaller.java index d977a09dfb..27b25c4e49 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDeletionJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDeletionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDisassociationJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDisassociationJsonMarshaller.java index de54d0c588..6df3a2368e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDisassociationJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDisassociationJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDisassociationJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDisassociationJsonUnmarshaller.java index 71cb135a1a..98cb3d0fb3 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDisassociationJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UnsuccessfulFaceDisassociationJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UntagResourceRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UntagResourceRequestMarshaller.java index bff9ddd636..905b86e260 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UntagResourceRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UntagResourceRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UntagResourceResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UntagResourceResultJsonUnmarshaller.java index e3f3db9eb1..a4e3940d98 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UntagResourceResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UntagResourceResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateDatasetEntriesRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateDatasetEntriesRequestMarshaller.java index fb1b5cee9f..5b6e981ed2 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateDatasetEntriesRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateDatasetEntriesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateDatasetEntriesResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateDatasetEntriesResultJsonUnmarshaller.java index f2265b5c3d..ea00335a2e 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateDatasetEntriesResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateDatasetEntriesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateStreamProcessorRequestMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateStreamProcessorRequestMarshaller.java index 4511bd3b39..2c27a568c1 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateStreamProcessorRequestMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateStreamProcessorRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateStreamProcessorResultJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateStreamProcessorResultJsonUnmarshaller.java index c5724c3558..652de589ad 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateStreamProcessorResultJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UpdateStreamProcessorResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserJsonMarshaller.java index 7156ccf05a..9fd9224dfd 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserJsonUnmarshaller.java index d02b25e759..3b94b4adf0 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserMatchJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserMatchJsonMarshaller.java index fd6207306d..3b81b38b0a 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserMatchJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserMatchJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserMatchJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserMatchJsonUnmarshaller.java index 8202a7855f..6ffdf87d68 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserMatchJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/UserMatchJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ValidationDataJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ValidationDataJsonMarshaller.java index 6bfd98f00f..fe1ade08c3 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ValidationDataJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ValidationDataJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ValidationDataJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ValidationDataJsonUnmarshaller.java index 3c0e7cc619..890f5ee062 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ValidationDataJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/ValidationDataJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoJsonMarshaller.java index 5e1a35f841..7f2fc4f987 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoJsonUnmarshaller.java index fa7a5f3b25..1eb06b4e2b 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoMetadataJsonMarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoMetadataJsonMarshaller.java index 5e9ae8b463..590d70cb2d 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoMetadataJsonMarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoMetadataJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoMetadataJsonUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoMetadataJsonUnmarshaller.java index 668138e40b..cdc84e3ebd 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoMetadataJsonUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoMetadataJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoTooLargeExceptionUnmarshaller.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoTooLargeExceptionUnmarshaller.java index d00385133f..ac9559a8af 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoTooLargeExceptionUnmarshaller.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/transform/VideoTooLargeExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/package-info.java b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/package-info.java index 9c89583a49..28d6157280 100644 --- a/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/package-info.java +++ b/aws-android-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/package-info.java @@ -1,5 +1,5 @@ /** - *

    This is the API Reference for Amazon Rekognition Image, Amazon Rekognition Custom Labels, Amazon Rekognition Stored Video, Amazon Rekognition Streaming Video. It provides descriptions of actions, data types, common parameters, and common errors.

    Amazon Rekognition Image

    Amazon Rekognition Custom Labels

    Amazon Rekognition Video Stored Video

    Amazon Rekognition Video Streaming Video

    + *

    This is the API Reference for Amazon Rekognition Image, Amazon Rekognition Custom Labels, Amazon Rekognition Stored Video, Amazon Rekognition Streaming Video. It provides descriptions of actions, data types, common parameters, and common errors.

    Amazon Rekognition Image

    Amazon Rekognition Custom Labels

    Amazon Rekognition Video Stored Video

    Amazon Rekognition Video Streaming Video

    */ package com.amazonaws.services.rekognition;