From c11aa207b82b223787f1c47d1fff074d47f67aa7 Mon Sep 17 00:00:00 2001 From: awsmobilesdk Date: Tue, 18 Jun 2024 18:12:36 +0000 Subject: [PATCH] feat(aws-android-sdk-rekognition): update models to latest --- .../rekognition/AmazonRekognition.java | 300 ++++-- .../rekognition/AmazonRekognitionClient.java | 382 ++++++-- .../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 | 7 +- .../model/CreateDatasetResult.java | 2 +- .../CreateFaceLivenessSessionRequest.java | 2 +- ...ateFaceLivenessSessionRequestSettings.java | 2 +- .../CreateFaceLivenessSessionResult.java | 53 +- .../model/CreateProjectRequest.java | 285 +++++- .../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 | 247 ++++- .../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 | 2 +- .../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 | 2 +- .../CreateDatasetResultJsonUnmarshaller.java | 2 +- ...eFaceLivenessSessionRequestMarshaller.java | 2 +- ...sSessionRequestSettingsJsonMarshaller.java | 2 +- ...essionRequestSettingsJsonUnmarshaller.java | 2 +- ...LivenessSessionResultJsonUnmarshaller.java | 2 +- .../CreateProjectRequestMarshaller.java | 12 +- .../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, 11183 insertions(+), 1554 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 9631f61e9e9..adf6839ebc8 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. @@ -2790,6 +2851,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 +3311,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 +3364,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 +3598,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 +4205,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 +4286,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 +4307,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 +4477,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 +4606,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 3b2d55a02af..737777b1337 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. @@ -4082,6 +4144,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 +4764,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 +4845,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 +5267,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 +6170,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 +6305,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 +6326,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 +6605,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 +6841,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 c7ade694574..5495b0d33bb 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 bbc0a337898..48da9d35654 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 05de3a2036e..f05dac8460c 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 ed8cf344d13..e59ef3501d5 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 f57f5802a86..05911cb10b4 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 b9bd9c54783..c8d82be3ee4 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 4973b894f01..e88a5dfaa39 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 9023abcc768..07001c54d88 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 03ba790a0bf..774b289f6e9 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 1d05c1c5dc1..4405d4975c4 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 c26fa1138a6..cf66afd50f6 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 34e1948d9f3..35f4511fcb9 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 17ceb6f864a..619fcce411a 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 a6912a73507..26e6b2649f0 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 8e33b80e5e1..83c804724c0 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 e92252fc778..cf50ab62d4f 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 2364e1189ad..159de4f0466 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 2b835c3dbc9..3f7972ec1ab 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 be7597bb7e1..bbd39635c62 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 9b4d22ff46a..da79dcea738 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 a38199c7473..35b83f132f8 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 94db2b2c612..620e8736046 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 959c1cdc305..c75352d00a2 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 3bceeb2cfe0..0a2057ae41e 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 595b4219bad..bb440802ada 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 5288588f173..5286618cb87 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 a5e71b6b64c..87cbc74b394 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 adb9699e791..3bfc1a31cd5 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 b2401a5fc55..32fbf4875fa 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 00000000000..71ff492ae6d --- /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 ca975ab136f..d3ff30bb44f 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 3f53dffade4..e3dbfd909f6 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 39eae26118d..2e81b6f640c 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 37ba4078a3c..0a63d8063cf 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 2f9a6126d56..7260b80113b 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 24a316961dd..05018ada6c7 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 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 aa16b115480..330cdea45f2 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 8c8a1cd9383..95207d48081 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 7d8467fee50..f1cfe56b0b9 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 2ab24af71ef..c378a48b793 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 56c557b2448..d1fb0e27dc2 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,29 @@ 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; + /** *

    * The name of the project to create. @@ -99,6 +122,235 @@ 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; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -111,7 +363,11 @@ 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()); sb.append("}"); return sb.toString(); } @@ -123,6 +379,8 @@ 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()); return hashCode; } @@ -142,6 +400,15 @@ 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; 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 b63566be45e..52ae9cf2a1b 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 e164bf9db51..126a0231311 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 3b443696dfa..6d3ae23c4df 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 f92fce915f5..59297fefce0 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 a6ba62e3d84..aa6b59ae0a3 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 3149d9c6c5b..1b9c65d9a9a 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 aa002160666..5bf8c69bef8 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 6894e95f29a..76302c7d564 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 00000000000..8c81701d172 --- /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 00000000000..c8c3d21e4be --- /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 00000000000..0e7eda55e56 --- /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 be1a9689b65..e72658b381d 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 7ab76e3e3c0..ae65ef58387 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 22fbee1475e..3fcf75747c8 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 fb98cd7024a..19317cba68f 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 25b9e892cc5..a948b8ae9cd 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 2810033fb98..8409da0fc5f 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 a1d3fac1f41..cae3995bcc8 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 07cea6754e4..28374fc5e01 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 404f679c34a..6f6f15af839 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 b683b9ab49c..b13eeb9a785 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 4ac1b18b955..b2695c92918 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 41af00ed139..3e32ecd3ee1 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 3e05b6b91c7..24d96edc5ab 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 8833b9a9c42..98300822ba4 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 cdf8e1d328d..130e28c24d4 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 513db054e26..dc68ffaaf1a 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 34d29cd1aea..938020b6903 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 cec17c0fb34..724a2284afc 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 260cc410238..5a6b13b5da1 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 552fc35ddd1..a4ff966c8b8 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 e90e26dc8e7..0862315122f 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 ffbc55a9a50..2388ab03a1b 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 b5bb63dceff..cf71ffe38d6 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 eabdfd03627..189359c45a7 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 6603b158556..e8380275f68 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 6f763087100..01b8fe69e77 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 ad84904f5f5..a89d6054d14 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 d73ca3f9ad5..d229a859eda 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 63d8290917c..d62046fc624 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 1086fb8c694..d1603bb3806 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 986acbb1939..282b8b545c1 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 e7ac6e1c3f9..cb6f226b24c 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 6749fe8bc29..feda68cf7d7 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 752a29d03a2..6a0ab92fe20 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 baca72f77f9..9e35c516131 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 dbb67da2fd5..d108ebd481f 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 e5d4a35afe8..ff9520efa73 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 1d6e83f9da9..09c4cc30529 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 6ce32352fb9..c2a6625a811 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 404ad95e7a7..a7fb15b418b 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 62045844eb0..3969bc9ab82 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 6f6215879dc..95189467591 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 363470dc26b..a3d71662501 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 a78e19d144f..4aa7632d517 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 15a9dee24da..78cb7bc211b 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 929ae23d128..6cd79e785ab 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 d06eb329ff5..d5c289edcf4 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 d6ed3b9a6c5..2d96115d3e0 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 35e4567af69..d914ec98451 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 5759d73303a..aba66b437be 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 7a6228e78bf..bd80a15aad9 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. @@ -28,8 +28,8 @@ public class DetectModerationLabelsResult implements Serializable { /** *

    - * 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; @@ -41,6 +41,31 @@ public class DetectModerationLabelsResult implements Serializable { */ private HumanLoopActivationOutput humanLoopActivationOutput; + /** + *

    + * 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 and the time, in milliseconds from @@ -127,13 +152,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 +167,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 +182,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 +247,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 +435,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 +459,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 +493,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 bd269559e1d..61bb9547b02 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 41128714ab0..4bb40a81c2f 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 1c9df59afb5..7e6c869c429 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 3ee03029a1b..bc872eceddb 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 80b387b89c1..e31e83d677e 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 f0fbffaddd9..2415147f082 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 820d2dde653..33d5608aa7b 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 a38a3fa8bf2..c7b4de35742 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 a2e330d8232..26b753ca17b 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 bfbdc80a80a..bc8d065e8ac 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 bc5914a0ffb..d41b108154e 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 fcbfb819e27..b9121114b55 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 ab826936ffe..22cc8e9f505 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 3626dc6a44f..0f315b8c31f 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 d9f812f6a35..7e2ff614539 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 a82a7d5c433..720084812d0 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 6b8b90ad4b1..c8ad08e4988 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 027988aab71..2706f55fc18 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 a852eca4884..203280d5e98 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 ccb1ba9fd51..98302f6b836 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 cba4efa2881..fc7b2079059 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 280655065ca..e1f72db305c 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 d586cef53b5..5ce5774e4ff 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 345ea8806c6..383ddd29d45 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 32de7af5cf0..ae35216f494 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 2c91db3ebc0..dd659e00533 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 ac9d5b56688..928c6730ddd 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 49e24667874..e76c073994d 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 589690fb8cd..72a5978c935 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 d5613146755..613dd0fa02a 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 b9787e00fc7..e030f7ef424 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 c83f2e3c711..9ad955a15f4 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 45db90aaef7..380f60445ca 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 b8fc17e9f71..568e10470ad 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 7141faa5dcf..8e08d07e529 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 428f33b95cc..0198d924c01 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 826a648943c..3d13118fa48 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 a6a34c7cf73..3d8c9f47edf 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 0d3f8591833..5de855dd16b 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 2e4ca7acc2a..422d7caa1e6 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 7335d632cb8..ef32a0bb3d5 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 fd19319a11b..902db872957 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 9d1bcd807b0..67a66bfed6c 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 cfbf944c97d..1c6692e04d8 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 5d1913ed61c..7f73075b222 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 7f844915930..5c5166f6ba1 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 456e863a021..6b9b54cf054 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. 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 b84924fb708..d74bb4e9253 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 14fc85e73d9..aa01e2dfd9c 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 00000000000..f118a68abb6 --- /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 00000000000..94f909ba5fa --- /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 608f1eab1fa..05c1fbd200c 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 26ee35e14b1..16d7bbc2f4f 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 ebcb1f35d4a..42dbb01c34e 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 8db97d08aec..80bd97f1d49 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 65463f09e71..4b8a6e7e958 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 0daa172e17c..707ddce40ab 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 466d4b7d1c4..b3b83995721 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 4b734202af2..e91e913ff89 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 e70370a92c1..bbf04333d32 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 41c583cc348..e8f5be7845b 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 c1f7d048958..e3f5258f9f8 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 58454045bc6..c1b7f2e72ea 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 53b8e82b557..b0ad1594c70 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 5da029893a9..aae377d7aa9 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 f68a3bc7eeb..b038314cce6 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 42f83bd4b98..bc42e999c86 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 aeb910e0089..270ab68e5e5 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 170d1dc51b0..63e39545c2d 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 58a7aab1f70..2f0682b3300 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 70537ca7265..b158b0fd75e 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 00000000000..3b0e335dd6b --- /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 8debd1e1c58..1f280f39df7 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 efe0aedc026..44b6264ef6a 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 8b91b40e3e9..3b7ed999abb 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 5c17a72234c..8f2d0d36cee 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 4f61507741d..ac7f5028ef6 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 50f7a8b9967..1e9c7731d4a 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 d57b4334fa2..6fa44853dd1 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 c1e3644c9ef..73eb4dfe0a3 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 03ad031ea73..4ab460a9ea3 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 f6cb2a64a69..d529bc48aa8 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 61a37698673..0529ae3d669 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 c3d3f39a8ea..b19d9fc6d99 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 bfc9e821711..408e79208c5 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 3b472696b18..1a170062f19 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 040d797e042..8662ed802d9 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 24d49889d3c..af0cf58c619 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 b1941236f1e..4dfa078c3fa 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 8c1fd8ddd77..7434ec4574a 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 7f8064ffc77..27a8217bba0 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 6f0511dc475..8d1a37f9b65 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 de568d24432..e70cc9ff356 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 978249250a1..474829327c6 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 2735f76ce0b..2fe205fb9a4 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 371e25b01fb..0e9edc0b0c5 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 4956b15ac27..3ed4bce4d9a 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 00000000000..eafac06cb8e --- /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 7900c860af3..337574b7ab0 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 b76de78f948..e8f6a4142cd 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 e914f24fb19..c89c1de0486 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 feb5158457d..d17690c7ea7 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 f1194865257..61ec9927d8b 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 dae44a47bc5..ce9e4fe5917 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 712240ce96d..3d11234c823 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 10ee573a16f..7d3bcae8704 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 1bb268623a1..e860b3e4ca4 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 6ea21cd7724..623d84cfeb5 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 73359782c64..bcd7606a706 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 c91f727b8e0..cec6d6f2bc0 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 00000000000..426772eabd7 --- /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 00000000000..63a101ca2c3 --- /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 00000000000..3775506f4f0 --- /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 00000000000..ca6e8d2c594 --- /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 00000000000..dc21d931c72 --- /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 00000000000..d77194a54c4 --- /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 00000000000..5a55654bbcb --- /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 00000000000..060d218a401 --- /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 00000000000..0de15da105d --- /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 00000000000..dc9b02ab725 --- /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 00000000000..eb6c3d093be --- /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 0a7798c6a92..a2ee5a53fad 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 5bfa1b6e337..4fa5fbd4dae 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 6ed041e917d..db6c9461eb5 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 bfc83ebe122..4e1c246ec6a 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 82f6ee58ff4..9a676fbc725 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 7d36c26ac35..675b47fc7ca 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 495e1888763..7eee88a5c75 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 737b9ace275..d32b0baee02 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 ffd7b38137c..ed0b371098e 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 a7ba4125910..5c5f19a338e 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 a6902596300..13cb03ac8c5 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 ccfe867cff8..ed0835991ee 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 0408a43a1e4..7a9e4b914e4 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 00000000000..fa42494f163 --- /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 699e93ebc2a..19b66eca00a 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 bf19515414a..cbfee46ca8e 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 bfdfc30f275..c2fc657bdaa 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 13b7638e405..042ebf90ea3 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 352adfc3a08..5d516d92935 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 503ef88dd30..8b34715080e 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 6585588d492..c4039503b3b 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 04bc19243a8..17d30436e7b 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 3f62654ce15..ef84e4566dc 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 54bd811c4dd..cdc2dddef27 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 502b34699d5..991f3d676df 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 9f272a94c29..0f6513e1263 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 7f28b6c668f..4ea111a318c 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 49ff75c4c51..dff256cebe9 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 6ef6b2af30d..1368078aced 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 cdfbdd56251..5f87f610f1e 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 17204e4abe6..87a56fd6d82 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 bb6d11cd770..d15b10a4af5 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 3fadcc6d2a7..4c4c8d24a2c 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 430c375a531..6d1b7991cdc 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 c38263312a6..d80a97da434 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 c06a68eee0c..3f0a9e1aaa5 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 1c8f186516b..443dbd4fc3a 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 36137f192b6..d7d5b907b43 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 5be99bb67a2..8ac39a5cf11 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 73e721b9f24..9ba17d2800f 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 2d463ec271f..4016237cef1 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 2ac30dee3d1..1cb3b6ded3d 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 1e6e7c8709a..ba9e1864980 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 ff53a1f3699..f5cacbeb860 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 0b46ace937f..a1746510b73 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 1bedaba91c4..aa6a1e699d9 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 7781ed42d04..e5a83475b40 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 f04b18eb616..c206bd987a7 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 5bb0f0da86e..549242b1c57 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 746cda27f3c..974964b708b 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 5cc4a870f62..913efed71be 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 d10243c522c..8f6ba76fa01 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 90043772e28..a309ec57372 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 12c58177317..be5837a6a27 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 85873688567..80236acbca9 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 0b6bc56aabd..8c6adf7e72f 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 d5d03048e5c..8c880b143e8 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 728f883fcf3..3a91cb35177 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 0e87ebbe30d..3d37769792b 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 50b0f401898..56ece877f00 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 6ccc8bcff88..c22a1130f7c 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 7e0b00090f0..4e0d4692994 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 386d571c694..97f947418c7 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 ea3d8e6b5e5..2a6c9b355dd 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 5412e637970..c0c25662143 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 edcc6644f3d..c58d4b37510 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 00000000000..fa80a4d4103 --- /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 00000000000..8706d6ec443 --- /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 566c17d5525..7ce01967a17 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 5e99cac7205..16b448f316c 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 57dcee298c8..8dbfba5954e 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 52043dfe919..60187af0d68 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 0e0dffaa43a..2149f5b3185 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 5e896018dc0..cfca9a0687c 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 dbc6dba97ac..5fc1fb4165c 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 06842667e7a..6e138d1f206 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 e298a95d29b..480afca4c21 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 c0f290dc27a..db4af2cd445 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 882d0f83fdd..36798420225 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 1d78430470b..a1f10f007db 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 ec516010f06..3ad5e7c207b 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 177c139e614..d029cef499f 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 5b2c342999d..6ae7c69d571 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 b11d8d59b4a..1ca2c46d778 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 4e925ee29cd..8170da69d7a 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 cafa797781c..3795baa63c1 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 c2ffa607009..1211a3a8ea0 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 dc867ac5eb1..358b50bf715 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 ff926871b62..55b16e12c31 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 732c9eec5b8..dc85c487f47 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 22477b89296..6cc782880c6 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 9fc2132f569..7572843a70c 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 e4d33cde64a..6b42bc7ffc0 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 86c5040365d..67d92d08ac9 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 ffd8bba7d47..170aa557ccd 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 3bea9ead79c..6f8b1701e4e 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 74a4b2debc3..d956c54d9bf 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 041c51aafb5..01971d08c2f 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 25343ebbc89..6bec6c90f49 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 cefa535ae84..529829ee811 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 b7edc26dc0e..558b9cfaf07 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 d8c4ef7d6fc..b83ac67eb91 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 e8b0381e01c..2ade0a8ba7d 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 811a07ac6f3..9abce0ec947 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 a9e5170b586..3471cf35451 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 f04678bf8bc..40557506c2f 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 a9b8851b8c2..9549f9fa0b0 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 5283de48a7e..17ed095bc45 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 5fc284eef93..5adc773b4e2 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 ad16edcb7aa..ee939037b59 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 8f7d73286c0..38c1578b2f5 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 51f2048b728..245d80bf7ab 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 b396f686ad8..d0e8e3473da 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 a6ca78e7e2d..c9d41d1376e 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 2e245a5350c..f99615677cb 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 46d76aee7c3..3c4e916075c 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 57a2105ea8a..beadd6e1f7d 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 0ddac527f7b..7d5f7fdd455 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 6ab2d0869df..bdbdb6c8ccb 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 c7d6541ea6a..303df4c6be1 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 02896c01906..1a53bb0f953 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 ac0d494320b..d04f8e843e5 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 46610af338a..810c1cc2476 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 aeb70787005..1a9424b25db 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 25f0c23afec..c544a6e1b70 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 cd585d5ed6c..d10654961ad 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 18756951c0c..6748c7ff85a 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 72cb0b3cb4d..173f1a8200c 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 d4405ca39b4..e800d9b20a0 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 6c26a2ba3f1..c70a9cffcfa 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 89e4f16491c..109577e3f05 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 9243701e0d2..f659baade73 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 f8b773add5c..ccd21a0971d 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 6b867bd3be1..7a378179d29 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 9650ba3aa01..038d6cdf540 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 f5b7ff5fc96..70aca0db4f7 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 c7ffe6bbc9a..f37ecb37a05 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 e2312cf4208..5893869ae24 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 f2d44ee3011..e6c59ad9f96 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 6b0d02f2471..e762b7b4bb4 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 e28670f6204..b06a71ed458 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 e1d2216c2be..fbc84c945d4 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 2523894cc6a..b94dd95940e 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 4e9913a6de0..d282e738c2b 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 5a8d55dda38..206c4f4d0b3 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 8ceccbb8daa..8c357ce308f 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 65285a26f2f..0a61c46407e 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 8630c487a32..74eda4fb8dc 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 8c81a871be0..3228708e05c 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 2429412b830..87b9e26c94e 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 09f9ccafc3a..6c3385054ce 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 054ed510ed2..9940cfb51dc 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 865186eed5b..0455a2784ec 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 6431b30919c..b1753ddf7cc 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 2b47de3064c..5757c3c4ccc 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 19c42dd1dfd..ce239ffca05 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 df9d08644ef..ba89338c79f 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 79b039c7722..4334f5d0622 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 ff0efd183c0..ae80043953b 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 831eeb69473..7a50a5f693c 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 643e00c96bc..f2109e5e468 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 6abe4370f13..ed7f83ebb49 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 9533c10d7a8..e750e7aeb2f 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 472d4359aa6..0944e11c70f 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 594c91fb3f1..0b6426ae6b5 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 c87d7d9834e..f474bbee12e 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 a63e363eed6..71bdea948ac 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 244ebf84f48..63bb07e8a8e 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 3799446e384..19cc8ca1413 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 3bba4d459b0..31cd9c32fc4 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 23e990a71b4..07940dea37a 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 d352dfe2b69..66f745db745 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 cb4f072ddcf..30215124091 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 d3e28d2e92d..888bf6aa464 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 26ed4a930e3..4d6d5835b2a 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 00000000000..2d0176ce36c --- /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 00000000000..581f5fd0615 --- /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 31f6621c5b5..11f1f9101a3 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 63af8949454..fa9ef2d6bca 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 15fc398ae11..58bc329c849 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 3530e6f0639..1eb042358f6 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 26f9a558b07..3bf7c6bf828 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 bd9d33a2cbd..2f4edb3f0b1 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 f4e908e38d9..3e48d95d806 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. 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 b1f24588c68..e6ec13427d3 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 86b9e0bd8d1..d5b0170bd2b 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 be66db82ad4..c1bcb79f4de 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 41c119cfb4e..1430c940c16 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 97e53ab4d38..9a93f302a60 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 a7b91f87cba..3b1c9ca20a6 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,16 @@ 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); + } 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 e67d06d0093..a235a04cafd 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 1982ffeaf5f..f038da0c244 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 13e78a670b4..d20717fc759 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 956739f2bb9..75d9e671300 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 b4f282c6a32..07803722435 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 604d52de50c..7c0aee9ad2e 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 c978748bc75..5796047f2d7 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 dbdb537d794..2697fb92be0 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 90390532409..6cc10ff42dd 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 00000000000..f20ee59e3fb --- /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 00000000000..6884faa8848 --- /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 00000000000..edce8047053 --- /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 00000000000..328f65f8dc1 --- /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 054a5b16fd3..169b189ec44 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 d14807ea246..0a1f959b130 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 2c27b03c714..6601e5c5aae 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 b0957356e99..61e34a08895 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 46cc29380b3..4c84ed83cf0 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 e36b37872e5..235e4e9face 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 6ca6244599e..c0abff1601f 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 de1983bf572..a82ac1f1126 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 e70b653eb48..2841e3d3fef 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 0ddf82a70b0..a3854bfe269 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 1b306777c6a..b9b13761703 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 6ea87d4f149..e3a1763ec54 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 749385ea3b4..0e975421f18 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 6d8c7716958..6188dd94def 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 34001ed0c17..54ba7f65a47 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 54c7e931b26..8bccaa482a0 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 d9980ba3a01..3831727be07 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 de7d2fdfbdd..5b639f6f18a 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 cf82838089b..3bb87eb5fea 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 729b395aecd..06407128e39 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 b6bf8e6a6e5..b7da3001bf4 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 8fe23453b7b..bd185387f2d 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 4dd9b8d0edd..67ef843a28a 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 0549439e3d1..59abead64c2 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 515337c51a2..8b293c039f1 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 e8fc0d6f8f3..bd671288acc 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 b314268193f..af21caecf34 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 b3e1fbd10de..a69d806e829 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 32c9929991d..78a155314ca 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 94fa4f1adab..f9986a995a7 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 2764c7c54f5..f0ea7f826f0 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 b7f5fdc7531..2e94d33dbe4 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 5444a4d0723..f85cc0bdc91 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 2a37e9e04c1..9fd7402126b 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 ead7aa1b600..b6baa4a5138 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 97819ef4a99..475296f08f1 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 271ef8f59f4..35584364fb9 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 e303a1c3580..3b926db7821 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 b35dd01956f..3837ef24f5c 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 cf34c22c06d..f7ba181f5b8 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 0ab307dcdf0..624426e118c 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 c020458f474..92ed8995496 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 1eeb86c5eb5..7df085ec7f6 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 5fc1251d879..cb702255b52 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 329bd8bc21a..e017538cd2d 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 78875b074ab..5a61192547c 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 b75d054486c..f245b38dfa1 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 6845bbcc09e..9f621f545ca 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 9bca9bb464b..ee7371e139a 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 e770664962e..3cb5ab3723a 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 e233dbc8b54..bed98afdf52 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 1eda1bc4374..1874140b8f5 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 84cb5a6dfa0..d084e779069 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 7ea8ed31b67..fd56dbfb802 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 7f08e4ffb5f..2f825c65afb 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 765e9553e9b..ca50227cbe9 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 d61b36687d4..832bc7d92f5 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 2de57e2f46e..ddbc577b30f 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 2b0dcc53204..8940d9e6c0a 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 399f0b981a8..a6b2a8d8128 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 daa944156a8..9a06f1ec522 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 c509759357e..32805f27be8 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 85c073974d3..44cd6c7518f 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 30c8eaa9026..a96ed137be1 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 9e4dca82b9f..dbbed1cc900 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 23ebcc68f7b..0a964ae3cfa 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 3b0c49293d5..6b2a01e04d1 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 0ce714aa8e2..b624b8199a6 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 177828da758..3392f8d8ee3 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 236bc4a7a47..b083c3bd835 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 6961390e92d..68e41f380b8 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 60329fe5ceb..f610aa7a103 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 ac66b4bdd8a..2125cbc99ab 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 4e8c628e09b..785fec83302 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 eb64181f2ef..3e5b79bd600 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 be25ec938c5..092996bfca2 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 84cf139c29a..8a49a3e2c55 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 4ba6cf633f9..854c0e9c7c9 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 f03c1c9c75a..425fdd11590 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 1220e1abf34..c9a377d2f7b 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 cb321732112..bfe4be501b6 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 bd521a43be2..fdb42f0c118 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 f72fef9d922..a644d5718e2 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 05269f6996a..cd4e8788674 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 af29be8435c..d5f3ae0506f 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 8586c66b28b..6df332b2a8f 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 42c2e41266d..50118780e18 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 34c82f27895..5d03d7bf456 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 eb61bb8e49c..7740b843b42 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 f2e084ddb55..11765e10467 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 358e894ef08..64805defc0a 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 f1cf0af11ba..321c0b2800d 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 b3ae0b53add..2a03af4a60a 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 a6ceef9c530..e921af730cf 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 e4851f0bca6..a94c6747234 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 27a26d062ed..cb3b7a3b7aa 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 56461ce7a5b..6428a9c1397 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 cf8a4985d55..ad69e159553 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 5ed12af5ff1..3ff7228b0b9 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 6ee3631d31d..6ca8ced35b6 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 f99e12e993e..f268579fa18 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 b30023e6617..39c244888ba 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 850c24b7d3a..847d9482229 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 d9305b31fd6..85b7dcff916 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 6614e209b29..1fd655bada6 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 30e4991e50e..6cef9f70f1e 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 d8989a57974..30f1e6cf7f7 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 e20ced5a722..60366465d2c 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 b6efff53462..f5aa953efd6 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 8e371f1b196..6133e869d78 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 3b93f469e34..ad52865dfa1 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 ea7d1887a1f..2bbe6b637b5 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 f5de203736f..d520b9448f9 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 9d9ae3f0842..03266e8c725 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 4a714d8078f..f49669849b0 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 d1adf4d5bf8..a42c156fdfc 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 1cc86eeb215..c1ed20f3e97 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 0f8b90c3012..32911bb5cd7 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 9489fe7fcfa..2cef4222525 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 5961cb04ded..b7aa63f13f8 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 257dd15c8e9..5f63c176149 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 616b41fb12a..0c1d3232ba1 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 21ea1f6422f..678338a6611 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 1984975e9e5..c0a0b99dce2 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 028830b7994..269f58ad91b 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 b2d16468cf9..ba5e8e78abf 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 21989a44bd1..e5c2bddec51 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 1ab133afc12..1d2b65e3da8 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 00000000000..2c4545195a3 --- /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 00000000000..b465b7a57cc --- /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 1f58c812d61..5e8da5ac784 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 d83f2342392..65b5a6bd72c 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 d4b9f3b128d..062ff0a6271 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 72865861b02..ef1b93efc61 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 d70b9ca3b43..47e75e54517 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 376eb157248..7660c86f4eb 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 6c6fa881985..e1225108a2d 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 2c252053b8c..d5393c59ac9 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 c8334c288e2..7f1311022c8 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 f3b2f218b08..09fc0e6d349 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 01f586018dc..30fff725967 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 50e4a701f8f..eeca5b7f0cb 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 1c5c60a6937..d72df7674c8 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 a0090e7820e..5471d970855 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 78115560bd8..384e1befbeb 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 9f423ef75ab..7252d238cb2 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 b6c6b3cdd05..9d4e60778d5 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 0c495bf23cb..4223dbcdd03 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 dee9ea071e7..0ac7d333f1b 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 76a63cc9690..657ea5b8c21 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 06266d8c9ea..0b4bfef9d80 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 30d830ce3bf..c5eb1af8fcd 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 a50b87b16ff..0fac18d67e8 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 3d958fe4c1f..7a0e67ec67e 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 f5998c20c8d..be2c804d733 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 92d18d3bdaf..d37f7671b2f 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 3e0668663fc..1008c7eec9e 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 00000000000..a8b736fa417 --- /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 a6eedfdec9b..33bafcbd080 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 0439d3c1cd2..d52906e87fa 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 65c02b599e6..ef797f03e93 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 c1625ceaf56..e5dd4d703b9 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 84b4a61d03d..c086774179d 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 16182fd30b7..bbfc8ce05c8 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 983d38198ab..f2d25ba69fa 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 30a3cec4023..d33d6b61c2d 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 a95d60ef164..e4d30ba4cbe 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 8b202561970..3b97ac6b0e8 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 e4ad6d39fe8..d3b4b1701f3 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 fd5b3db26b4..a09c688e402 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 ceedf7c6fb6..584a8b02dcb 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 e0c990ff173..35b9907e7da 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 c652848e76c..027e265e946 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 ef8058b6e8d..bff2cacdeda 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 08a4bc14133..6201c23709a 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 f2f0d17db15..84ef7eb2eae 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 8d914d3e5f0..fc8158f3ecf 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 c3e5e077a4d..fe202881308 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 e78c522b0fc..16baf63db08 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 11024580309..ed0fffeebc0 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 9d43ed39644..2f2fbb880d5 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 f78c45c86b5..6da0f9059d7 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 01512803375..7df3496af61 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 3518fbf4e91..70c04ddf8d9 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 a2400eeedf6..22df15f60a7 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 7908df30b3d..fc100c8b11b 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 67ac1ed7036..bb7574530b6 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 c2a94aa4144..f4e20931160 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 5bb1e18feb3..baac2969c35 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 1ba2508eadd..b2e3c3a67f7 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 d156c3afbb5..7c16a1563a5 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 00000000000..3667eaf4e54 --- /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 00000000000..6563af6e023 --- /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 10a96c79d69..c4449ec12f5 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 948e87e19d2..3055312558a 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 332f47a6ee1..b7e01fe0b09 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 9effe8c9b46..7589d9fc492 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 3c7c979f620..22a11936c60 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 ac595a648b3..fbc032b2d49 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 52d2cfd6c0e..d274293954e 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 763e4120277..217fd6758c9 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 763b45a8a6d..aa3a8d9fdf9 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 100a0b3f0b2..beba4a2cc77 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 2f72622c8e0..72087ee3b04 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 9e03be6a691..dff0b1b24e1 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 8c8d243556f..1e34b5647f3 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 00000000000..bfd6d12f1c1 --- /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 00000000000..2688e9de822 --- /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 00000000000..761ee41f37d --- /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 00000000000..05946c74800 --- /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 00000000000..c2817c91112 --- /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 00000000000..3a67c69bfbd --- /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 00000000000..16eeec40650 --- /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 00000000000..b75ab72491e --- /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 00000000000..db07aedc1e0 --- /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 00000000000..7d2e83b0141 --- /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 00000000000..665305fa19f --- /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 00000000000..9b62c289447 --- /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 00000000000..b39d3b650cb --- /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 00000000000..5e1f60e549b --- /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 00000000000..549c5fa6b43 --- /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 00000000000..2b861630767 --- /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 00000000000..3a40d5c6ba0 --- /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 00000000000..09b706455b4 --- /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 b3db7f187e6..ac1a92b35d2 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 b036294934b..6f490afbe84 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 bd06857b6be..26701e05ea9 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 263f4e9424f..4221b677732 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 9dcf990ad16..d764db09835 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 a0d084e9443..0e6cfe3c9c9 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 3c2b157f558..07437b41d64 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 4a8aecece50..69cefc0dc06 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 2cddd99f9f2..bbea95c647a 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 b8e5647de1d..9b459c63f55 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 3ca04e526af..fe107f76eca 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 89ba8fcfa14..2bff8f2b96a 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 cc9b85cff07..e55f89dada3 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 4de43c4d231..c5cbc844bf6 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 9baa02a1c72..861c1bd1e64 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 2b9ab598db7..65c66263ee7 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 5c272c2f216..35c40ef5d42 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 b83c8c23995..2bb08a4fd09 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 f7abcce8b79..e603f5e5ec5 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 28f3dd3c032..2f52462bb2a 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 d950f4989c3..b6e350d9f22 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 9f66071973e..f28b7874572 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 51f7fcb2153..cdb4c4f4faf 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 9ecf619c7aa..01ec6f1f6f5 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 361798244c8..53d6112fdac 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 3eb751286da..4da6f66e3fe 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 4223c51e89c..df53c8b4c7b 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 936c2ce5252..e7437b9a4ce 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 ea9339ad5c1..9402f8888a7 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 09b38502fb6..e058e6fdebd 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 f4af0e78a81..f94403bc402 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 fb026f0227b..6b685e23b0c 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 5ab2642a9a3..4c9632db5bd 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 b964621d54e..8a24305656f 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 939f18287cf..1dbb6b625cd 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 5ef0ca93211..94bd15d844d 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 d9566912ebb..b84a85ac32c 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 432939a754d..0e80e5c453e 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 8feed213925..1bbefc465e5 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 96774470768..7c9dde2cd7c 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 c6ae5f299ac..270d2a971a8 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 090c86ad984..894695e57c3 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 6d8a531da9d..38eb7539b43 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 682fa2a82f2..321582b3a7c 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 12b4f245e4d..abcdb3f3e7c 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 865ee8bb34c..718076d0d6a 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 bcbdf4780f9..e671cc62b9f 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 1b0d3f84893..b5102c652ec 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 75ec4514cd3..f6bf55bae20 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 efd4b230f5c..485f64b8abd 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 9d76aea01be..4a7dcff761c 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 c3634389804..fff83ea2616 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 84323bd15d2..b0994d220a9 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 29cdbd04c5b..eab3fa98c78 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 7b64fe5b770..42c200fc0ea 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 431dac961d3..a0df7eea721 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 e7e91164524..fa488d87be3 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 44a028b8eb1..08c699ded0b 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 a321a8c42d9..524402dd9a7 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 4932848fa7e..5a84af8dd75 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 ad9d140942c..4335bf2aae5 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 812786cfaf4..600061aaa4e 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 81b92a4caa3..9a78e7bd5f7 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 967e41c47db..6040c983559 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 5ff27ce3831..31995166dd1 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 a938b296119..06dc4923da4 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 a77a911a1f8..ba7de6a8bea 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 e988d42085f..73be3037b40 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 856b76925b5..bce22bc3468 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 030959a34eb..2d3dc28f340 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 00577e844e7..995e5b4ce96 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 0854c550c2f..2e4d287e953 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 9fd5d4036c6..118f5472091 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 c7e8f617dfc..e9e7a7d8710 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 bcab2413fd3..3fa3306a268 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 a07c9aca2da..73126eae952 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 38248baa6e0..1f99795b592 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 2474d8d60cf..f3e5f83831f 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 40306884c5c..6efcd5e7af9 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 3bfaf6215bd..08e7048bc18 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 25ea2dac486..be8eb44e095 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 d8c611d3e86..710320f85cf 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 9d433b52986..fa15198c911 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 c599976fc0c..18608b67637 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 9d3d1873cb9..15f7068b2b5 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 00000000000..01265f82482 --- /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 00000000000..0b465fc54e6 --- /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 5c63b267b48..82829438745 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 943067dff32..c0a146ce8fd 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 615b887919a..31d05a2c685 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 4fb51a6a40e..1841f2750fc 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 1c1dd1e9f59..b56d6cadc19 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 fa3cdd4488b..71caf6f0762 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 215dfbb8668..cb031327b27 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 2df8a873e42..f3f797a80ae 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 6c5a75453fe..12d356d2be9 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 dc563053665..481f8e16346 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 8cd143764da..a340d12e16a 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 c4b27727487..84dc9e24d79 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 7d39d37e18e..8cc1a4affb1 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 74d41606fd8..8b07da5cf34 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 144161abee3..cb3bc0c653f 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 66a3dd72111..1c8d78fcf10 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 a8d2daef395..603040bb51e 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 55ae345b5b3..a3c71053128 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 9992dece72d..9efacad1de4 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 c576bd6a898..94edcedbc55 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 b7d251fe8e2..144ad82d57b 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 676ba140bc2..7daa9d24641 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 d6673337801..c05a0c03a95 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 40b4874593d..c761ad3d7ad 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 2501debd60d..786968b327d 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 f25d05037a4..a100005a668 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 f1031752be3..b0d5cb5a305 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 4a45c63b0fd..a382e46bb5c 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 9b93c19068c..42dbd637864 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 523201ce536..7ef318f9c8a 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 d504dab54c3..ff930ca4281 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 c770c42ba6f..5ad0a2c6c27 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 1200e45a60e..f209afc5f9a 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 3a329b9badd..809e6f922c0 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 48b6c303d16..183467fb61d 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 a7a091e636c..741b356f0a4 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 73bce0ec1bd..78dffb63677 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 cc67621b778..6ebed075bb1 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 98e7c08c6e8..d76c0426e30 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 88d751d13e2..505270ab029 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 b911bef94fe..af8b8a1e941 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 7d7d2b34873..01f865649a6 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 e6740d8151a..127209ef820 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 c5761df53ac..ea8c0e1898f 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 c448cec74b8..65db8701128 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 f62f316473a..7fd07ef962c 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 e4a6124bfae..1b396fb318a 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 ca240b1044b..955286ac535 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 1165468026b..06b5ffaf687 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 84fa7a36818..b1e4d80ed15 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 ed1a83442b4..6357a4160f9 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 6d034322155..c4efd8e17f3 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 5caf51536f3..91a29ecc0f2 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 978a28e9d9b..13ba96d5ae1 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 bf1a7596f3e..68f0922cf90 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 eebcc9e16ca..e7711357d28 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 684c164e883..9bba43bfc56 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 4b705d72ee8..7ee277fd91a 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 9899901dfeb..80dd1629524 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 e678e392571..fbcd8bb2526 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 bf9b7e0fcfb..63892502ed5 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 3ce51adbed8..7cd1acc7e85 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 196dadae089..392899a0d44 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 cbacdd0a9db..0624104b814 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 2169169492b..fe12a860be8 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 526e3e77ad5..3a174d78be1 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 6c19a05c37c..2389b48b260 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 f6dbc456f89..3e38cc0fcfd 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 d977a09dfbb..27b25c4e491 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 de54d0c5882..6df3a2368e0 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 71cb135a1a9..98cb3d0fb33 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 bff9ddd6361..905b86e2606 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 e3f3db9eb1b..a4e3940d981 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 fb1b5cee9f4..5b6e981ed22 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 f2265b5c3d9..ea00335a2ee 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 4511bd3b39a..2c27a568c12 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 c5724c35582..652de589ad8 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 7156ccf05a9..9fd9224dfd7 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 d02b25e759b..3b94b4adf04 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 fd6207306d4..3b81b38b0a5 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 8202a7855fb..6ffdf87d680 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 6bfd98f00fb..fe1ade08c3d 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 3c0e7cc619c..890f5ee0624 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 5e1a35f8417..7f2fc4f987b 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 fa7a5f3b259..1eb06b4e2bf 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 5e9ae8b463c..590d70cb2d8 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 668138e40be..cdc84e3ebde 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 d00385133f5..ac9559a8af9 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 9c89583a49a..28d61572801 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;