{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Rekognition.Types
(
defaultService,
_AccessDeniedException,
_HumanLoopQuotaExceededException,
_IdempotentParameterMismatchException,
_ImageTooLargeException,
_InternalServerError,
_InvalidImageFormatException,
_InvalidPaginationTokenException,
_InvalidParameterException,
_InvalidPolicyRevisionIdException,
_InvalidS3ObjectException,
_LimitExceededException,
_MalformedPolicyDocumentException,
_ProvisionedThroughputExceededException,
_ResourceAlreadyExistsException,
_ResourceInUseException,
_ResourceNotFoundException,
_ResourceNotReadyException,
_ServiceQuotaExceededException,
_ThrottlingException,
_VideoTooLargeException,
Attribute (..),
BodyPart (..),
CelebrityRecognitionSortBy (..),
ContentClassifier (..),
ContentModerationSortBy (..),
DatasetStatus (..),
DatasetStatusMessageCode (..),
DatasetType (..),
DetectLabelsFeatureName (..),
EmotionName (..),
FaceAttributes (..),
FaceSearchSortBy (..),
GenderType (..),
KnownGenderType (..),
LabelDetectionAggregateBy (..),
LabelDetectionFeatureName (..),
LabelDetectionSortBy (..),
LandmarkType (..),
OrientationCorrection (..),
PersonTrackingSortBy (..),
ProjectStatus (..),
ProjectVersionStatus (..),
ProtectiveEquipmentType (..),
QualityFilter (..),
Reason (..),
SegmentType (..),
StreamProcessorParameterToDelete (..),
StreamProcessorStatus (..),
TechnicalCueType (..),
TextTypes (..),
VideoColorRange (..),
VideoJobStatus (..),
AgeRange (..),
newAgeRange,
ageRange_high,
ageRange_low,
Asset (..),
newAsset,
asset_groundTruthManifest,
AudioMetadata (..),
newAudioMetadata,
audioMetadata_codec,
audioMetadata_durationMillis,
audioMetadata_numberOfChannels,
audioMetadata_sampleRate,
Beard (..),
newBeard,
beard_confidence,
beard_value,
BlackFrame (..),
newBlackFrame,
blackFrame_maxPixelThreshold,
blackFrame_minCoveragePercentage,
BoundingBox (..),
newBoundingBox,
boundingBox_height,
boundingBox_left,
boundingBox_top,
boundingBox_width,
Celebrity (..),
newCelebrity,
celebrity_face,
celebrity_id,
celebrity_knownGender,
celebrity_matchConfidence,
celebrity_name,
celebrity_urls,
CelebrityDetail (..),
newCelebrityDetail,
celebrityDetail_boundingBox,
celebrityDetail_confidence,
celebrityDetail_face,
celebrityDetail_id,
celebrityDetail_knownGender,
celebrityDetail_name,
celebrityDetail_urls,
CelebrityRecognition (..),
newCelebrityRecognition,
celebrityRecognition_celebrity,
celebrityRecognition_timestamp,
CompareFacesMatch (..),
newCompareFacesMatch,
compareFacesMatch_face,
compareFacesMatch_similarity,
ComparedFace (..),
newComparedFace,
comparedFace_boundingBox,
comparedFace_confidence,
comparedFace_emotions,
comparedFace_landmarks,
comparedFace_pose,
comparedFace_quality,
comparedFace_smile,
ComparedSourceImageFace (..),
newComparedSourceImageFace,
comparedSourceImageFace_boundingBox,
comparedSourceImageFace_confidence,
ConnectedHomeSettings (..),
newConnectedHomeSettings,
connectedHomeSettings_minConfidence,
connectedHomeSettings_labels,
ConnectedHomeSettingsForUpdate (..),
newConnectedHomeSettingsForUpdate,
connectedHomeSettingsForUpdate_labels,
connectedHomeSettingsForUpdate_minConfidence,
ContentModerationDetection (..),
newContentModerationDetection,
contentModerationDetection_moderationLabel,
contentModerationDetection_timestamp,
CoversBodyPart (..),
newCoversBodyPart,
coversBodyPart_confidence,
coversBodyPart_value,
CustomLabel (..),
newCustomLabel,
customLabel_confidence,
customLabel_geometry,
customLabel_name,
DatasetChanges (..),
newDatasetChanges,
datasetChanges_groundTruth,
DatasetDescription (..),
newDatasetDescription,
datasetDescription_creationTimestamp,
datasetDescription_datasetStats,
datasetDescription_lastUpdatedTimestamp,
datasetDescription_status,
datasetDescription_statusMessage,
datasetDescription_statusMessageCode,
DatasetLabelDescription (..),
newDatasetLabelDescription,
datasetLabelDescription_labelName,
datasetLabelDescription_labelStats,
DatasetLabelStats (..),
newDatasetLabelStats,
datasetLabelStats_boundingBoxCount,
datasetLabelStats_entryCount,
DatasetMetadata (..),
newDatasetMetadata,
datasetMetadata_creationTimestamp,
datasetMetadata_datasetArn,
datasetMetadata_datasetType,
datasetMetadata_status,
datasetMetadata_statusMessage,
datasetMetadata_statusMessageCode,
DatasetSource (..),
newDatasetSource,
datasetSource_datasetArn,
datasetSource_groundTruthManifest,
DatasetStats (..),
newDatasetStats,
datasetStats_errorEntries,
datasetStats_labeledEntries,
datasetStats_totalEntries,
datasetStats_totalLabels,
DetectLabelsImageBackground (..),
newDetectLabelsImageBackground,
detectLabelsImageBackground_dominantColors,
detectLabelsImageBackground_quality,
DetectLabelsImageForeground (..),
newDetectLabelsImageForeground,
detectLabelsImageForeground_dominantColors,
detectLabelsImageForeground_quality,
DetectLabelsImageProperties (..),
newDetectLabelsImageProperties,
detectLabelsImageProperties_background,
detectLabelsImageProperties_dominantColors,
detectLabelsImageProperties_foreground,
detectLabelsImageProperties_quality,
DetectLabelsImagePropertiesSettings (..),
newDetectLabelsImagePropertiesSettings,
detectLabelsImagePropertiesSettings_maxDominantColors,
DetectLabelsImageQuality (..),
newDetectLabelsImageQuality,
detectLabelsImageQuality_brightness,
detectLabelsImageQuality_contrast,
detectLabelsImageQuality_sharpness,
DetectLabelsSettings (..),
newDetectLabelsSettings,
detectLabelsSettings_generalLabels,
detectLabelsSettings_imageProperties,
DetectTextFilters (..),
newDetectTextFilters,
detectTextFilters_regionsOfInterest,
detectTextFilters_wordFilter,
DetectionFilter (..),
newDetectionFilter,
detectionFilter_minBoundingBoxHeight,
detectionFilter_minBoundingBoxWidth,
detectionFilter_minConfidence,
DistributeDataset (..),
newDistributeDataset,
distributeDataset_arn,
DominantColor (..),
newDominantColor,
dominantColor_blue,
dominantColor_cSSColor,
dominantColor_green,
dominantColor_hexCode,
dominantColor_pixelPercent,
dominantColor_red,
dominantColor_simplifiedColor,
Emotion (..),
newEmotion,
emotion_confidence,
emotion_type,
EquipmentDetection (..),
newEquipmentDetection,
equipmentDetection_boundingBox,
equipmentDetection_confidence,
equipmentDetection_coversBodyPart,
equipmentDetection_type,
EvaluationResult (..),
newEvaluationResult,
evaluationResult_f1Score,
evaluationResult_summary,
EyeOpen (..),
newEyeOpen,
eyeOpen_confidence,
eyeOpen_value,
Eyeglasses (..),
newEyeglasses,
eyeglasses_confidence,
eyeglasses_value,
Face (..),
newFace,
face_boundingBox,
face_confidence,
face_externalImageId,
face_faceId,
face_imageId,
face_indexFacesModelVersion,
FaceDetail (..),
newFaceDetail,
faceDetail_ageRange,
faceDetail_beard,
faceDetail_boundingBox,
faceDetail_confidence,
faceDetail_emotions,
faceDetail_eyeglasses,
faceDetail_eyesOpen,
faceDetail_gender,
faceDetail_landmarks,
faceDetail_mouthOpen,
faceDetail_mustache,
faceDetail_pose,
faceDetail_quality,
faceDetail_smile,
faceDetail_sunglasses,
FaceDetection (..),
newFaceDetection,
faceDetection_face,
faceDetection_timestamp,
FaceMatch (..),
newFaceMatch,
faceMatch_face,
faceMatch_similarity,
FaceRecord (..),
newFaceRecord,
faceRecord_face,
faceRecord_faceDetail,
FaceSearchSettings (..),
newFaceSearchSettings,
faceSearchSettings_collectionId,
faceSearchSettings_faceMatchThreshold,
Gender (..),
newGender,
gender_confidence,
gender_value,
GeneralLabelsSettings (..),
newGeneralLabelsSettings,
generalLabelsSettings_labelCategoryExclusionFilters,
generalLabelsSettings_labelCategoryInclusionFilters,
generalLabelsSettings_labelExclusionFilters,
generalLabelsSettings_labelInclusionFilters,
Geometry (..),
newGeometry,
geometry_boundingBox,
geometry_polygon,
GroundTruthManifest (..),
newGroundTruthManifest,
groundTruthManifest_s3Object,
HumanLoopActivationOutput (..),
newHumanLoopActivationOutput,
humanLoopActivationOutput_humanLoopActivationConditionsEvaluationResults,
humanLoopActivationOutput_humanLoopActivationReasons,
humanLoopActivationOutput_humanLoopArn,
HumanLoopConfig (..),
newHumanLoopConfig,
humanLoopConfig_dataAttributes,
humanLoopConfig_humanLoopName,
humanLoopConfig_flowDefinitionArn,
HumanLoopDataAttributes (..),
newHumanLoopDataAttributes,
humanLoopDataAttributes_contentClassifiers,
Image (..),
newImage,
image_bytes,
image_s3Object,
ImageQuality (..),
newImageQuality,
imageQuality_brightness,
imageQuality_sharpness,
Instance (..),
newInstance,
instance_boundingBox,
instance_confidence,
instance_dominantColors,
KinesisDataStream (..),
newKinesisDataStream,
kinesisDataStream_arn,
KinesisVideoStream (..),
newKinesisVideoStream,
kinesisVideoStream_arn,
KinesisVideoStreamStartSelector (..),
newKinesisVideoStreamStartSelector,
kinesisVideoStreamStartSelector_fragmentNumber,
kinesisVideoStreamStartSelector_producerTimestamp,
KnownGender (..),
newKnownGender,
knownGender_type,
Label (..),
newLabel,
label_aliases,
label_categories,
label_confidence,
label_instances,
label_name,
label_parents,
LabelAlias (..),
newLabelAlias,
labelAlias_name,
LabelCategory (..),
newLabelCategory,
labelCategory_name,
LabelDetection (..),
newLabelDetection,
labelDetection_durationMillis,
labelDetection_endTimestampMillis,
labelDetection_label,
labelDetection_startTimestampMillis,
labelDetection_timestamp,
LabelDetectionSettings (..),
newLabelDetectionSettings,
labelDetectionSettings_generalLabels,
Landmark (..),
newLandmark,
landmark_type,
landmark_x,
landmark_y,
ModerationLabel (..),
newModerationLabel,
moderationLabel_confidence,
moderationLabel_name,
moderationLabel_parentName,
MouthOpen (..),
newMouthOpen,
mouthOpen_confidence,
mouthOpen_value,
Mustache (..),
newMustache,
mustache_confidence,
mustache_value,
NotificationChannel (..),
newNotificationChannel,
notificationChannel_sNSTopicArn,
notificationChannel_roleArn,
OutputConfig (..),
newOutputConfig,
outputConfig_s3Bucket,
outputConfig_s3KeyPrefix,
Parent (..),
newParent,
parent_name,
PersonDetail (..),
newPersonDetail,
personDetail_boundingBox,
personDetail_face,
personDetail_index,
PersonDetection (..),
newPersonDetection,
personDetection_person,
personDetection_timestamp,
PersonMatch (..),
newPersonMatch,
personMatch_faceMatches,
personMatch_person,
personMatch_timestamp,
Point (..),
newPoint,
point_x,
point_y,
Pose (..),
newPose,
pose_pitch,
pose_roll,
pose_yaw,
ProjectDescription (..),
newProjectDescription,
projectDescription_creationTimestamp,
projectDescription_datasets,
projectDescription_projectArn,
projectDescription_status,
ProjectPolicy (..),
newProjectPolicy,
projectPolicy_creationTimestamp,
projectPolicy_lastUpdatedTimestamp,
projectPolicy_policyDocument,
projectPolicy_policyName,
projectPolicy_policyRevisionId,
projectPolicy_projectArn,
ProjectVersionDescription (..),
newProjectVersionDescription,
projectVersionDescription_billableTrainingTimeInSeconds,
projectVersionDescription_creationTimestamp,
projectVersionDescription_evaluationResult,
projectVersionDescription_kmsKeyId,
projectVersionDescription_manifestSummary,
projectVersionDescription_maxInferenceUnits,
projectVersionDescription_minInferenceUnits,
projectVersionDescription_outputConfig,
projectVersionDescription_projectVersionArn,
projectVersionDescription_sourceProjectVersionArn,
projectVersionDescription_status,
projectVersionDescription_statusMessage,
projectVersionDescription_testingDataResult,
projectVersionDescription_trainingDataResult,
projectVersionDescription_trainingEndTimestamp,
ProtectiveEquipmentBodyPart (..),
newProtectiveEquipmentBodyPart,
protectiveEquipmentBodyPart_confidence,
protectiveEquipmentBodyPart_equipmentDetections,
protectiveEquipmentBodyPart_name,
ProtectiveEquipmentPerson (..),
newProtectiveEquipmentPerson,
protectiveEquipmentPerson_bodyParts,
protectiveEquipmentPerson_boundingBox,
protectiveEquipmentPerson_confidence,
protectiveEquipmentPerson_id,
ProtectiveEquipmentSummarizationAttributes (..),
newProtectiveEquipmentSummarizationAttributes,
protectiveEquipmentSummarizationAttributes_minConfidence,
protectiveEquipmentSummarizationAttributes_requiredEquipmentTypes,
ProtectiveEquipmentSummary (..),
newProtectiveEquipmentSummary,
protectiveEquipmentSummary_personsIndeterminate,
protectiveEquipmentSummary_personsWithRequiredEquipment,
protectiveEquipmentSummary_personsWithoutRequiredEquipment,
RegionOfInterest (..),
newRegionOfInterest,
regionOfInterest_boundingBox,
regionOfInterest_polygon,
S3Destination (..),
newS3Destination,
s3Destination_bucket,
s3Destination_keyPrefix,
S3Object (..),
newS3Object,
s3Object_bucket,
s3Object_name,
s3Object_version,
SegmentDetection (..),
newSegmentDetection,
segmentDetection_durationFrames,
segmentDetection_durationMillis,
segmentDetection_durationSMPTE,
segmentDetection_endFrameNumber,
segmentDetection_endTimecodeSMPTE,
segmentDetection_endTimestampMillis,
segmentDetection_shotSegment,
segmentDetection_startFrameNumber,
segmentDetection_startTimecodeSMPTE,
segmentDetection_startTimestampMillis,
segmentDetection_technicalCueSegment,
segmentDetection_type,
SegmentTypeInfo (..),
newSegmentTypeInfo,
segmentTypeInfo_modelVersion,
segmentTypeInfo_type,
ShotSegment (..),
newShotSegment,
shotSegment_confidence,
shotSegment_index,
Smile (..),
newSmile,
smile_confidence,
smile_value,
StartSegmentDetectionFilters (..),
newStartSegmentDetectionFilters,
startSegmentDetectionFilters_shotFilter,
startSegmentDetectionFilters_technicalCueFilter,
StartShotDetectionFilter (..),
newStartShotDetectionFilter,
startShotDetectionFilter_minSegmentConfidence,
StartTechnicalCueDetectionFilter (..),
newStartTechnicalCueDetectionFilter,
startTechnicalCueDetectionFilter_blackFrame,
startTechnicalCueDetectionFilter_minSegmentConfidence,
StartTextDetectionFilters (..),
newStartTextDetectionFilters,
startTextDetectionFilters_regionsOfInterest,
startTextDetectionFilters_wordFilter,
StreamProcessingStartSelector (..),
newStreamProcessingStartSelector,
streamProcessingStartSelector_kVSStreamStartSelector,
StreamProcessingStopSelector (..),
newStreamProcessingStopSelector,
streamProcessingStopSelector_maxDurationInSeconds,
StreamProcessor (..),
newStreamProcessor,
streamProcessor_name,
streamProcessor_status,
StreamProcessorDataSharingPreference (..),
newStreamProcessorDataSharingPreference,
streamProcessorDataSharingPreference_optIn,
StreamProcessorInput (..),
newStreamProcessorInput,
streamProcessorInput_kinesisVideoStream,
StreamProcessorNotificationChannel (..),
newStreamProcessorNotificationChannel,
streamProcessorNotificationChannel_sNSTopicArn,
StreamProcessorOutput (..),
newStreamProcessorOutput,
streamProcessorOutput_kinesisDataStream,
streamProcessorOutput_s3Destination,
StreamProcessorSettings (..),
newStreamProcessorSettings,
streamProcessorSettings_connectedHome,
streamProcessorSettings_faceSearch,
StreamProcessorSettingsForUpdate (..),
newStreamProcessorSettingsForUpdate,
streamProcessorSettingsForUpdate_connectedHomeForUpdate,
Summary (..),
newSummary,
summary_s3Object,
Sunglasses (..),
newSunglasses,
sunglasses_confidence,
sunglasses_value,
TechnicalCueSegment (..),
newTechnicalCueSegment,
technicalCueSegment_confidence,
technicalCueSegment_type,
TestingData (..),
newTestingData,
testingData_assets,
testingData_autoCreate,
TestingDataResult (..),
newTestingDataResult,
testingDataResult_input,
testingDataResult_output,
testingDataResult_validation,
TextDetection (..),
newTextDetection,
textDetection_confidence,
textDetection_detectedText,
textDetection_geometry,
textDetection_id,
textDetection_parentId,
textDetection_type,
TextDetectionResult (..),
newTextDetectionResult,
textDetectionResult_textDetection,
textDetectionResult_timestamp,
TrainingData (..),
newTrainingData,
trainingData_assets,
TrainingDataResult (..),
newTrainingDataResult,
trainingDataResult_input,
trainingDataResult_output,
trainingDataResult_validation,
UnindexedFace (..),
newUnindexedFace,
unindexedFace_faceDetail,
unindexedFace_reasons,
ValidationData (..),
newValidationData,
validationData_assets,
Video (..),
newVideo,
video_s3Object,
VideoMetadata (..),
newVideoMetadata,
videoMetadata_codec,
videoMetadata_colorRange,
videoMetadata_durationMillis,
videoMetadata_format,
videoMetadata_frameHeight,
videoMetadata_frameRate,
videoMetadata_frameWidth,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.Rekognition.Types.AgeRange
import Amazonka.Rekognition.Types.Asset
import Amazonka.Rekognition.Types.Attribute
import Amazonka.Rekognition.Types.AudioMetadata
import Amazonka.Rekognition.Types.Beard
import Amazonka.Rekognition.Types.BlackFrame
import Amazonka.Rekognition.Types.BodyPart
import Amazonka.Rekognition.Types.BoundingBox
import Amazonka.Rekognition.Types.Celebrity
import Amazonka.Rekognition.Types.CelebrityDetail
import Amazonka.Rekognition.Types.CelebrityRecognition
import Amazonka.Rekognition.Types.CelebrityRecognitionSortBy
import Amazonka.Rekognition.Types.CompareFacesMatch
import Amazonka.Rekognition.Types.ComparedFace
import Amazonka.Rekognition.Types.ComparedSourceImageFace
import Amazonka.Rekognition.Types.ConnectedHomeSettings
import Amazonka.Rekognition.Types.ConnectedHomeSettingsForUpdate
import Amazonka.Rekognition.Types.ContentClassifier
import Amazonka.Rekognition.Types.ContentModerationDetection
import Amazonka.Rekognition.Types.ContentModerationSortBy
import Amazonka.Rekognition.Types.CoversBodyPart
import Amazonka.Rekognition.Types.CustomLabel
import Amazonka.Rekognition.Types.DatasetChanges
import Amazonka.Rekognition.Types.DatasetDescription
import Amazonka.Rekognition.Types.DatasetLabelDescription
import Amazonka.Rekognition.Types.DatasetLabelStats
import Amazonka.Rekognition.Types.DatasetMetadata
import Amazonka.Rekognition.Types.DatasetSource
import Amazonka.Rekognition.Types.DatasetStats
import Amazonka.Rekognition.Types.DatasetStatus
import Amazonka.Rekognition.Types.DatasetStatusMessageCode
import Amazonka.Rekognition.Types.DatasetType
import Amazonka.Rekognition.Types.DetectLabelsFeatureName
import Amazonka.Rekognition.Types.DetectLabelsImageBackground
import Amazonka.Rekognition.Types.DetectLabelsImageForeground
import Amazonka.Rekognition.Types.DetectLabelsImageProperties
import Amazonka.Rekognition.Types.DetectLabelsImagePropertiesSettings
import Amazonka.Rekognition.Types.DetectLabelsImageQuality
import Amazonka.Rekognition.Types.DetectLabelsSettings
import Amazonka.Rekognition.Types.DetectTextFilters
import Amazonka.Rekognition.Types.DetectionFilter
import Amazonka.Rekognition.Types.DistributeDataset
import Amazonka.Rekognition.Types.DominantColor
import Amazonka.Rekognition.Types.Emotion
import Amazonka.Rekognition.Types.EmotionName
import Amazonka.Rekognition.Types.EquipmentDetection
import Amazonka.Rekognition.Types.EvaluationResult
import Amazonka.Rekognition.Types.EyeOpen
import Amazonka.Rekognition.Types.Eyeglasses
import Amazonka.Rekognition.Types.Face
import Amazonka.Rekognition.Types.FaceAttributes
import Amazonka.Rekognition.Types.FaceDetail
import Amazonka.Rekognition.Types.FaceDetection
import Amazonka.Rekognition.Types.FaceMatch
import Amazonka.Rekognition.Types.FaceRecord
import Amazonka.Rekognition.Types.FaceSearchSettings
import Amazonka.Rekognition.Types.FaceSearchSortBy
import Amazonka.Rekognition.Types.Gender
import Amazonka.Rekognition.Types.GenderType
import Amazonka.Rekognition.Types.GeneralLabelsSettings
import Amazonka.Rekognition.Types.Geometry
import Amazonka.Rekognition.Types.GroundTruthManifest
import Amazonka.Rekognition.Types.HumanLoopActivationOutput
import Amazonka.Rekognition.Types.HumanLoopConfig
import Amazonka.Rekognition.Types.HumanLoopDataAttributes
import Amazonka.Rekognition.Types.Image
import Amazonka.Rekognition.Types.ImageQuality
import Amazonka.Rekognition.Types.Instance
import Amazonka.Rekognition.Types.KinesisDataStream
import Amazonka.Rekognition.Types.KinesisVideoStream
import Amazonka.Rekognition.Types.KinesisVideoStreamStartSelector
import Amazonka.Rekognition.Types.KnownGender
import Amazonka.Rekognition.Types.KnownGenderType
import Amazonka.Rekognition.Types.Label
import Amazonka.Rekognition.Types.LabelAlias
import Amazonka.Rekognition.Types.LabelCategory
import Amazonka.Rekognition.Types.LabelDetection
import Amazonka.Rekognition.Types.LabelDetectionAggregateBy
import Amazonka.Rekognition.Types.LabelDetectionFeatureName
import Amazonka.Rekognition.Types.LabelDetectionSettings
import Amazonka.Rekognition.Types.LabelDetectionSortBy
import Amazonka.Rekognition.Types.Landmark
import Amazonka.Rekognition.Types.LandmarkType
import Amazonka.Rekognition.Types.ModerationLabel
import Amazonka.Rekognition.Types.MouthOpen
import Amazonka.Rekognition.Types.Mustache
import Amazonka.Rekognition.Types.NotificationChannel
import Amazonka.Rekognition.Types.OrientationCorrection
import Amazonka.Rekognition.Types.OutputConfig
import Amazonka.Rekognition.Types.Parent
import Amazonka.Rekognition.Types.PersonDetail
import Amazonka.Rekognition.Types.PersonDetection
import Amazonka.Rekognition.Types.PersonMatch
import Amazonka.Rekognition.Types.PersonTrackingSortBy
import Amazonka.Rekognition.Types.Point
import Amazonka.Rekognition.Types.Pose
import Amazonka.Rekognition.Types.ProjectDescription
import Amazonka.Rekognition.Types.ProjectPolicy
import Amazonka.Rekognition.Types.ProjectStatus
import Amazonka.Rekognition.Types.ProjectVersionDescription
import Amazonka.Rekognition.Types.ProjectVersionStatus
import Amazonka.Rekognition.Types.ProtectiveEquipmentBodyPart
import Amazonka.Rekognition.Types.ProtectiveEquipmentPerson
import Amazonka.Rekognition.Types.ProtectiveEquipmentSummarizationAttributes
import Amazonka.Rekognition.Types.ProtectiveEquipmentSummary
import Amazonka.Rekognition.Types.ProtectiveEquipmentType
import Amazonka.Rekognition.Types.QualityFilter
import Amazonka.Rekognition.Types.Reason
import Amazonka.Rekognition.Types.RegionOfInterest
import Amazonka.Rekognition.Types.S3Destination
import Amazonka.Rekognition.Types.S3Object
import Amazonka.Rekognition.Types.SegmentDetection
import Amazonka.Rekognition.Types.SegmentType
import Amazonka.Rekognition.Types.SegmentTypeInfo
import Amazonka.Rekognition.Types.ShotSegment
import Amazonka.Rekognition.Types.Smile
import Amazonka.Rekognition.Types.StartSegmentDetectionFilters
import Amazonka.Rekognition.Types.StartShotDetectionFilter
import Amazonka.Rekognition.Types.StartTechnicalCueDetectionFilter
import Amazonka.Rekognition.Types.StartTextDetectionFilters
import Amazonka.Rekognition.Types.StreamProcessingStartSelector
import Amazonka.Rekognition.Types.StreamProcessingStopSelector
import Amazonka.Rekognition.Types.StreamProcessor
import Amazonka.Rekognition.Types.StreamProcessorDataSharingPreference
import Amazonka.Rekognition.Types.StreamProcessorInput
import Amazonka.Rekognition.Types.StreamProcessorNotificationChannel
import Amazonka.Rekognition.Types.StreamProcessorOutput
import Amazonka.Rekognition.Types.StreamProcessorParameterToDelete
import Amazonka.Rekognition.Types.StreamProcessorSettings
import Amazonka.Rekognition.Types.StreamProcessorSettingsForUpdate
import Amazonka.Rekognition.Types.StreamProcessorStatus
import Amazonka.Rekognition.Types.Summary
import Amazonka.Rekognition.Types.Sunglasses
import Amazonka.Rekognition.Types.TechnicalCueSegment
import Amazonka.Rekognition.Types.TechnicalCueType
import Amazonka.Rekognition.Types.TestingData
import Amazonka.Rekognition.Types.TestingDataResult
import Amazonka.Rekognition.Types.TextDetection
import Amazonka.Rekognition.Types.TextDetectionResult
import Amazonka.Rekognition.Types.TextTypes
import Amazonka.Rekognition.Types.TrainingData
import Amazonka.Rekognition.Types.TrainingDataResult
import Amazonka.Rekognition.Types.UnindexedFace
import Amazonka.Rekognition.Types.ValidationData
import Amazonka.Rekognition.Types.Video
import Amazonka.Rekognition.Types.VideoColorRange
import Amazonka.Rekognition.Types.VideoJobStatus
import Amazonka.Rekognition.Types.VideoMetadata
import qualified Amazonka.Sign.V4 as Sign
defaultService :: Core.Service
defaultService :: Service
defaultService =
Core.Service
{ $sel:abbrev:Service :: Abbrev
Core.abbrev = Abbrev
"Rekognition",
$sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
$sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"rekognition",
$sel:signingName:Service :: ByteString
Core.signingName = ByteString
"rekognition",
$sel:version:Service :: ByteString
Core.version = ByteString
"2016-06-27",
$sel:s3AddressingStyle:Service :: S3AddressingStyle
Core.s3AddressingStyle = S3AddressingStyle
Core.S3AddressingStyleAuto,
$sel:endpoint:Service :: Region -> Endpoint
Core.endpoint = Service -> Region -> Endpoint
Core.defaultEndpoint Service
defaultService,
$sel:timeout:Service :: Maybe Seconds
Core.timeout = forall a. a -> Maybe a
Prelude.Just Seconds
70,
$sel:check:Service :: Status -> Bool
Core.check = Status -> Bool
Core.statusSuccess,
$sel:error:Service :: Status -> [Header] -> ByteStringLazy -> Error
Core.error = Abbrev -> Status -> [Header] -> ByteStringLazy -> Error
Core.parseJSONError Abbrev
"Rekognition",
$sel:retry:Service :: Retry
Core.retry = Retry
retry
}
where
retry :: Retry
retry =
Core.Exponential
{ $sel:base:Exponential :: Double
Core.base = Double
5.0e-2,
$sel:growth:Exponential :: Int
Core.growth = Int
2,
$sel:attempts:Exponential :: Int
Core.attempts = Int
5,
$sel:check:Exponential :: ServiceError -> Maybe Text
Core.check = forall {a}. IsString a => ServiceError -> Maybe a
check
}
check :: ServiceError -> Maybe a
check ServiceError
e
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
502) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"bad_gateway"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
504) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"gateway_timeout"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"general_server_error"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
509) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"limit_exceeded"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"RequestThrottledException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"request_throttled_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"service_unavailable"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottledException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttled_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"Throttling"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttling"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottlingException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttling_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode
ErrorCode
"ProvisionedThroughputExceededException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throughput_exceeded"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"too_many_requests"
| Bool
Prelude.otherwise = forall a. Maybe a
Prelude.Nothing
_AccessDeniedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AccessDeniedException :: forall a. AsError a => Fold a ServiceError
_AccessDeniedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccessDeniedException"
_HumanLoopQuotaExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_HumanLoopQuotaExceededException :: forall a. AsError a => Fold a ServiceError
_HumanLoopQuotaExceededException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"HumanLoopQuotaExceededException"
_IdempotentParameterMismatchException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_IdempotentParameterMismatchException :: forall a. AsError a => Fold a ServiceError
_IdempotentParameterMismatchException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"IdempotentParameterMismatchException"
_ImageTooLargeException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ImageTooLargeException :: forall a. AsError a => Fold a ServiceError
_ImageTooLargeException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ImageTooLargeException"
_InternalServerError :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InternalServerError :: forall a. AsError a => Fold a ServiceError
_InternalServerError =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InternalServerError"
_InvalidImageFormatException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidImageFormatException :: forall a. AsError a => Fold a ServiceError
_InvalidImageFormatException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidImageFormatException"
_InvalidPaginationTokenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
=
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidPaginationTokenException"
_InvalidParameterException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidParameterException :: forall a. AsError a => Fold a ServiceError
_InvalidParameterException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidParameterException"
_InvalidPolicyRevisionIdException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidPolicyRevisionIdException :: forall a. AsError a => Fold a ServiceError
_InvalidPolicyRevisionIdException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidPolicyRevisionIdException"
_InvalidS3ObjectException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidS3ObjectException :: forall a. AsError a => Fold a ServiceError
_InvalidS3ObjectException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidS3ObjectException"
_LimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_LimitExceededException :: forall a. AsError a => Fold a ServiceError
_LimitExceededException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"LimitExceededException"
_MalformedPolicyDocumentException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MalformedPolicyDocumentException :: forall a. AsError a => Fold a ServiceError
_MalformedPolicyDocumentException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"MalformedPolicyDocumentException"
_ProvisionedThroughputExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ProvisionedThroughputExceededException :: forall a. AsError a => Fold a ServiceError
_ProvisionedThroughputExceededException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ProvisionedThroughputExceededException"
_ResourceAlreadyExistsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceAlreadyExistsException :: forall a. AsError a => Fold a ServiceError
_ResourceAlreadyExistsException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceAlreadyExistsException"
_ResourceInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceInUseException :: forall a. AsError a => Fold a ServiceError
_ResourceInUseException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceInUseException"
_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceNotFoundException :: forall a. AsError a => Fold a ServiceError
_ResourceNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFoundException"
_ResourceNotReadyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceNotReadyException :: forall a. AsError a => Fold a ServiceError
_ResourceNotReadyException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotReadyException"
_ServiceQuotaExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ServiceQuotaExceededException :: forall a. AsError a => Fold a ServiceError
_ServiceQuotaExceededException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceQuotaExceededException"
_ThrottlingException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ThrottlingException :: forall a. AsError a => Fold a ServiceError
_ThrottlingException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ThrottlingException"
_VideoTooLargeException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_VideoTooLargeException :: forall a. AsError a => Fold a ServiceError
_VideoTooLargeException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"VideoTooLargeException"