-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Amazon Rekognition SDK.
--   
--   The types from this library are intended to be used with
--   <a>amazonka</a>, which provides mechanisms for specifying AuthN/AuthZ
--   information, sending requests, and receiving responses.
--   
--   Lenses are used for constructing and manipulating types, due to the
--   depth of nesting of AWS types and transparency regarding
--   de/serialisation into more palatable Haskell values. The provided
--   lenses should be compatible with any of the major lens libraries such
--   as <a>lens</a> or <a>lens-family-core</a>.
--   
--   See <a>Network.AWS.Rekognition</a> or <a>the AWS documentation</a> to
--   get started.
@package amazonka-rekognition
@version 1.4.5


module Network.AWS.Rekognition.Types

-- | API version <tt>2016-06-27</tt> of the Amazon Rekognition SDK
--   configuration.
rekognition :: Service

-- | You are not authorized to perform the action.
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Input parameter violated a constraint. Validate your parameter before
--   calling the API again.
_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The provided image format is not supported.
_InvalidImageFormatException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The collection with specific ID already exist.
_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Amazon Rekognition is unable to access the S3 object specified in the
--   request.
_InvalidS3ObjectException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The number of requests exceeded your throughput limit. If you want to
--   increase this limit, contact Amazon Rekognition.
_ProvisionedThroughputExceededException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The input image size exceeds the allowed limit. For more information,
--   see <tt>limits</tt> .
_ImageTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Amazon Rekognition is temporarily unable to process the request. Try
--   your call again.
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Amazon Rekognition experienced a service issue. Try your call again.
_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError

-- | Collection specified in the request is not found.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Pagination token in the request is not valid.
_InvalidPaginationTokenException :: AsError a => Getting (First ServiceError) a ServiceError
data Attribute
All :: Attribute
Default :: Attribute
data EmotionName
Angry :: EmotionName
Calm :: EmotionName
Confused :: EmotionName
Disgusted :: EmotionName
Happy :: EmotionName
Sad :: EmotionName
Surprised :: EmotionName
Unknown :: EmotionName
data GenderType
Female :: GenderType
Male :: GenderType
data LandmarkType
EyeLeft :: LandmarkType
EyeRight :: LandmarkType
LeftEyeDown :: LandmarkType
LeftEyeLeft :: LandmarkType
LeftEyeRight :: LandmarkType
LeftEyeUp :: LandmarkType
LeftEyebrowLeft :: LandmarkType
LeftEyebrowRight :: LandmarkType
LeftEyebrowUp :: LandmarkType
LeftPupil :: LandmarkType
MouthDown :: LandmarkType
MouthLeft :: LandmarkType
MouthRight :: LandmarkType
MouthUp :: LandmarkType
Nose :: LandmarkType
NoseLeft :: LandmarkType
NoseRight :: LandmarkType
RightEyeDown :: LandmarkType
RightEyeLeft :: LandmarkType
RightEyeRight :: LandmarkType
RightEyeUp :: LandmarkType
RightEyebrowLeft :: LandmarkType
RightEyebrowRight :: LandmarkType
RightEyebrowUp :: LandmarkType
RightPupil :: LandmarkType
data OrientationCorrection
Rotate0 :: OrientationCorrection
Rotate180 :: OrientationCorrection
Rotate270 :: OrientationCorrection
Rotate90 :: OrientationCorrection

-- | Indicates whether or not the face has a beard, and the confidence
--   level in the determination.
--   
--   <i>See:</i> <a>beard</a> smart constructor.
data Beard

-- | Creates a value of <a>Beard</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>bValue</a> - Boolean value that indicates whether the face has
--   beard or not.</li>
--   <li><a>bConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
beard :: Beard

-- | Boolean value that indicates whether the face has beard or not.
bValue :: Lens' Beard (Maybe Bool)

-- | Level of confidence in the determination.
bConfidence :: Lens' Beard (Maybe Double)

-- | Identifies the bounding box around the object or face. The
--   <tt>left</tt> (x-coordinate) and <tt>top</tt> (y-coordinate) are
--   coordinates representing the top and left sides of the bounding box.
--   Note that the upper-left corner of the image is the origin (0,0).
--   
--   The <tt>top</tt> and <tt>left</tt> values returned are ratios of the
--   overall image size. For example, if the input image is 700x200 pixels,
--   and the top-left coordinate of the bounding box is 350x50 pixels, the
--   API returns a <tt>left</tt> value of 0.5 (350<i>700) and a
--   <tt>top</tt> value of 0.25 (50</i>200).
--   
--   The <tt>width</tt> and <tt>height</tt> values represent the dimensions
--   of the bounding box as a ratio of the overall image dimension. For
--   example, if the input image is 700x200 pixels, and the bounding box
--   width is 70 pixels, the width returned is 0.1.
--   
--   <i>See:</i> <a>boundingBox</a> smart constructor.
data BoundingBox

-- | Creates a value of <a>BoundingBox</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>bbHeight</a> - Height of the bounding box as a ratio of the
--   overall image height.</li>
--   <li><a>bbLeft</a> - Left coordinate of the bounding box as a ratio of
--   overall image width.</li>
--   <li><a>bbWidth</a> - Width of the bounding box as a ratio of the
--   overall image width.</li>
--   <li><a>bbTop</a> - Top coordinate of the bounding box as a ratio of
--   overall image height.</li>
--   </ul>
boundingBox :: BoundingBox

-- | Height of the bounding box as a ratio of the overall image height.
bbHeight :: Lens' BoundingBox (Maybe Double)

-- | Left coordinate of the bounding box as a ratio of overall image width.
bbLeft :: Lens' BoundingBox (Maybe Double)

-- | Width of the bounding box as a ratio of the overall image width.
bbWidth :: Lens' BoundingBox (Maybe Double)

-- | Top coordinate of the bounding box as a ratio of overall image height.
bbTop :: Lens' BoundingBox (Maybe Double)

-- | Provide the bounding box, confidence that the bounding box actually
--   contains a face, and the similarity between the face in the bounding
--   box and the face in the source image.
--   
--   <i>See:</i> <a>compareFacesMatch</a> smart constructor.
data CompareFacesMatch

-- | Creates a value of <a>CompareFacesMatch</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cfmSimilarity</a> - Level of confidence that the faces
--   match.</li>
--   <li><a>cfmFace</a> - Provides face metadata (bounding box and
--   confidence that the bounding box actually contains a face).</li>
--   </ul>
compareFacesMatch :: CompareFacesMatch

-- | Level of confidence that the faces match.
cfmSimilarity :: Lens' CompareFacesMatch (Maybe Double)

-- | Provides face metadata (bounding box and confidence that the bounding
--   box actually contains a face).
cfmFace :: Lens' CompareFacesMatch (Maybe ComparedFace)

-- | Provides face metadata (bounding box and confidence that the bounding
--   box actually contains a face).
--   
--   <i>See:</i> <a>comparedFace</a> smart constructor.
data ComparedFace

-- | Creates a value of <a>ComparedFace</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cfBoundingBox</a> - Undocumented member.</li>
--   <li><a>cfConfidence</a> - Level of confidence that what the bounding
--   box contains is a face.</li>
--   </ul>
comparedFace :: ComparedFace

-- | Undocumented member.
cfBoundingBox :: Lens' ComparedFace (Maybe BoundingBox)

-- | Level of confidence that what the bounding box contains is a face.
cfConfidence :: Lens' ComparedFace (Maybe Double)

-- | Type that describes the face Amazon Rekognition chose to compare with
--   the faces in the target. This contains a bounding box for the selected
--   face and confidence level that the bounding box contains a face. Note
--   that Amazon Rekognition selects the largest face in the source image
--   for this comparison.
--   
--   <i>See:</i> <a>comparedSourceImageFace</a> smart constructor.
data ComparedSourceImageFace

-- | Creates a value of <a>ComparedSourceImageFace</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>csifBoundingBox</a> - Undocumented member.</li>
--   <li><a>csifConfidence</a> - Confidence that the selected bounding box
--   contains a face.</li>
--   </ul>
comparedSourceImageFace :: ComparedSourceImageFace

-- | Undocumented member.
csifBoundingBox :: Lens' ComparedSourceImageFace (Maybe BoundingBox)

-- | Confidence that the selected bounding box contains a face.
csifConfidence :: Lens' ComparedSourceImageFace (Maybe Double)

-- | The emotions detected on the face, and the confidence level in the
--   determination. For example, HAPPY, SAD, and ANGRY.
--   
--   <i>See:</i> <a>emotion</a> smart constructor.
data Emotion

-- | Creates a value of <a>Emotion</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eConfidence</a> - Level of confidence in the
--   determination.</li>
--   <li><a>eType</a> - Type of emotion detected.</li>
--   </ul>
emotion :: Emotion

-- | Level of confidence in the determination.
eConfidence :: Lens' Emotion (Maybe Double)

-- | Type of emotion detected.
eType :: Lens' Emotion (Maybe EmotionName)

-- | Indicates whether or not the eyes on the face are open, and the
--   confidence level in the determination.
--   
--   <i>See:</i> <a>eyeOpen</a> smart constructor.
data EyeOpen

-- | Creates a value of <a>EyeOpen</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eoValue</a> - Boolean value that indicates whether the eyes on
--   the face are open.</li>
--   <li><a>eoConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
eyeOpen :: EyeOpen

-- | Boolean value that indicates whether the eyes on the face are open.
eoValue :: Lens' EyeOpen (Maybe Bool)

-- | Level of confidence in the determination.
eoConfidence :: Lens' EyeOpen (Maybe Double)

-- | Indicates whether or not the face is wearing eye glasses, and the
--   confidence level in the determination.
--   
--   <i>See:</i> <a>eyeglasses</a> smart constructor.
data Eyeglasses

-- | Creates a value of <a>Eyeglasses</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eyeValue</a> - Boolean value that indicates whether the face is
--   wearing eye glasses or not.</li>
--   <li><a>eyeConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
eyeglasses :: Eyeglasses

-- | Boolean value that indicates whether the face is wearing eye glasses
--   or not.
eyeValue :: Lens' Eyeglasses (Maybe Bool)

-- | Level of confidence in the determination.
eyeConfidence :: Lens' Eyeglasses (Maybe Double)

-- | Describes the face properties such as the bounding box, face ID, image
--   ID of the source image, and external image ID that you assigned.
--   
--   <i>See:</i> <a>face</a> smart constructor.
data Face

-- | Creates a value of <a>Face</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>fFaceId</a> - Unique identifier that Amazon Rekognition assigns
--   to the face.</li>
--   <li><a>fBoundingBox</a> - Undocumented member.</li>
--   <li><a>fExternalImageId</a> - Identifier that you assign to all the
--   faces in the input image.</li>
--   <li><a>fConfidence</a> - Confidence level that the bounding box
--   contains a face (and not a different object such as a tree).</li>
--   <li><a>fImageId</a> - Unique identifier that Amazon Rekognition
--   assigns to the source image.</li>
--   </ul>
face :: Face

-- | Unique identifier that Amazon Rekognition assigns to the face.
fFaceId :: Lens' Face (Maybe Text)

-- | Undocumented member.
fBoundingBox :: Lens' Face (Maybe BoundingBox)

-- | Identifier that you assign to all the faces in the input image.
fExternalImageId :: Lens' Face (Maybe Text)

-- | Confidence level that the bounding box contains a face (and not a
--   different object such as a tree).
fConfidence :: Lens' Face (Maybe Double)

-- | Unique identifier that Amazon Rekognition assigns to the source image.
fImageId :: Lens' Face (Maybe Text)

-- | Structure containing attributes of the face that the algorithm
--   detected.
--   
--   <i>See:</i> <a>faceDetail</a> smart constructor.
data FaceDetail

-- | Creates a value of <a>FaceDetail</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>fdSunglasses</a> - Indicates whether or not the face is wearing
--   sunglasses, and the confidence level in the determination.</li>
--   <li><a>fdMouthOpen</a> - Indicates whether or not the mouth on the
--   face is open, and the confidence level in the determination.</li>
--   <li><a>fdBoundingBox</a> - Bounding box of the face.</li>
--   <li><a>fdEmotions</a> - The emotions detected on the face, and the
--   confidence level in the determination. For example, HAPPY, SAD, and
--   ANGRY.</li>
--   <li><a>fdEyesOpen</a> - Indicates whether or not the eyes on the face
--   are open, and the confidence level in the determination.</li>
--   <li><a>fdPose</a> - Indicates the pose of the face as determined by
--   pitch, roll, and the yaw.</li>
--   <li><a>fdConfidence</a> - Confidence level that the bounding box
--   contains a face (and not a different object such as a tree).</li>
--   <li><a>fdGender</a> - Gender of the face and the confidence level in
--   the determination.</li>
--   <li><a>fdQuality</a> - Identifies image brightness and sharpness.</li>
--   <li><a>fdEyeglasses</a> - Indicates whether or not the face is wearing
--   eye glasses, and the confidence level in the determination.</li>
--   <li><a>fdBeard</a> - Indicates whether or not the face has a beard,
--   and the confidence level in the determination.</li>
--   <li><a>fdMustache</a> - Indicates whether or not the face has a
--   mustache, and the confidence level in the determination.</li>
--   <li><a>fdSmile</a> - Indicates whether or not the face is smiling, and
--   the confidence level in the determination.</li>
--   <li><a>fdLandmarks</a> - Indicates the location of the landmark on the
--   face.</li>
--   </ul>
faceDetail :: FaceDetail

-- | Indicates whether or not the face is wearing sunglasses, and the
--   confidence level in the determination.
fdSunglasses :: Lens' FaceDetail (Maybe Sunglasses)

-- | Indicates whether or not the mouth on the face is open, and the
--   confidence level in the determination.
fdMouthOpen :: Lens' FaceDetail (Maybe MouthOpen)

-- | Bounding box of the face.
fdBoundingBox :: Lens' FaceDetail (Maybe BoundingBox)

-- | The emotions detected on the face, and the confidence level in the
--   determination. For example, HAPPY, SAD, and ANGRY.
fdEmotions :: Lens' FaceDetail [Emotion]

-- | Indicates whether or not the eyes on the face are open, and the
--   confidence level in the determination.
fdEyesOpen :: Lens' FaceDetail (Maybe EyeOpen)

-- | Indicates the pose of the face as determined by pitch, roll, and the
--   yaw.
fdPose :: Lens' FaceDetail (Maybe Pose)

-- | Confidence level that the bounding box contains a face (and not a
--   different object such as a tree).
fdConfidence :: Lens' FaceDetail (Maybe Double)

-- | Gender of the face and the confidence level in the determination.
fdGender :: Lens' FaceDetail (Maybe Gender)

-- | Identifies image brightness and sharpness.
fdQuality :: Lens' FaceDetail (Maybe ImageQuality)

-- | Indicates whether or not the face is wearing eye glasses, and the
--   confidence level in the determination.
fdEyeglasses :: Lens' FaceDetail (Maybe Eyeglasses)

-- | Indicates whether or not the face has a beard, and the confidence
--   level in the determination.
fdBeard :: Lens' FaceDetail (Maybe Beard)

-- | Indicates whether or not the face has a mustache, and the confidence
--   level in the determination.
fdMustache :: Lens' FaceDetail (Maybe Mustache)

-- | Indicates whether or not the face is smiling, and the confidence level
--   in the determination.
fdSmile :: Lens' FaceDetail (Maybe Smile)

-- | Indicates the location of the landmark on the face.
fdLandmarks :: Lens' FaceDetail [Landmark]

-- | Provides face metadata. In addition, it also provides the confidence
--   in the match of this face with the input face.
--   
--   <i>See:</i> <a>faceMatch</a> smart constructor.
data FaceMatch

-- | Creates a value of <a>FaceMatch</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>fmSimilarity</a> - Confidence in the match of this face with
--   the input face.</li>
--   <li><a>fmFace</a> - Undocumented member.</li>
--   </ul>
faceMatch :: FaceMatch

-- | Confidence in the match of this face with the input face.
fmSimilarity :: Lens' FaceMatch (Maybe Double)

-- | Undocumented member.
fmFace :: Lens' FaceMatch (Maybe Face)

-- | Object containing both the face metadata (stored in the back-end
--   database) and facial attributes that are detected but aren't stored in
--   the database.
--   
--   <i>See:</i> <a>faceRecord</a> smart constructor.
data FaceRecord

-- | Creates a value of <a>FaceRecord</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>frFaceDetail</a> - Undocumented member.</li>
--   <li><a>frFace</a> - Undocumented member.</li>
--   </ul>
faceRecord :: FaceRecord

-- | Undocumented member.
frFaceDetail :: Lens' FaceRecord (Maybe FaceDetail)

-- | Undocumented member.
frFace :: Lens' FaceRecord (Maybe Face)

-- | Gender of the face and the confidence level in the determination.
--   
--   <i>See:</i> <a>gender</a> smart constructor.
data Gender

-- | Creates a value of <a>Gender</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gValue</a> - Gender of the face.</li>
--   <li><a>gConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
gender :: Gender

-- | Gender of the face.
gValue :: Lens' Gender (Maybe GenderType)

-- | Level of confidence in the determination.
gConfidence :: Lens' Gender (Maybe Double)

-- | Provides the source image either as bytes or an S3 object.
--   
--   <i>See:</i> <a>image</a> smart constructor.
data Image

-- | Creates a value of <a>Image</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>iS3Object</a> - Identifies an S3 object as the image
--   source.</li>
--   <li><a>iBytes</a> - Blob of image bytes up to 5 MBs.-- <i>Note:</i>
--   This <tt>Lens</tt> automatically encodes and decodes Base64 data. The
--   underlying isomorphism will encode to Base64 representation during
--   serialisation, and decode from Base64 representation during
--   deserialisation. This <tt>Lens</tt> accepts and returns only raw
--   unencoded data.</li>
--   </ul>
image :: Image

-- | Identifies an S3 object as the image source.
iS3Object :: Lens' Image (Maybe S3Object)

-- | Blob of image bytes up to 5 MBs.-- <i>Note:</i> This <tt>Lens</tt>
--   automatically encodes and decodes Base64 data. The underlying
--   isomorphism will encode to Base64 representation during serialisation,
--   and decode from Base64 representation during deserialisation. This
--   <tt>Lens</tt> accepts and returns only raw unencoded data.
iBytes :: Lens' Image (Maybe ByteString)

-- | Identifies image brightness and sharpness.
--   
--   <i>See:</i> <a>imageQuality</a> smart constructor.
data ImageQuality

-- | Creates a value of <a>ImageQuality</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>iqSharpness</a> - Value representing sharpness of the
--   face.</li>
--   <li><a>iqBrightness</a> - Value representing brightness of the face.
--   The service returns a value between 0 and 1 (inclusive).</li>
--   </ul>
imageQuality :: ImageQuality

-- | Value representing sharpness of the face.
iqSharpness :: Lens' ImageQuality (Maybe Double)

-- | Value representing brightness of the face. The service returns a value
--   between 0 and 1 (inclusive).
iqBrightness :: Lens' ImageQuality (Maybe Double)

-- | Structure containing details about the detected label, including
--   bounding box, name, and level of confidence.
--   
--   <i>See:</i> <a>label</a> smart constructor.
data Label

-- | Creates a value of <a>Label</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lConfidence</a> - Level of confidence.</li>
--   <li><a>lName</a> - The name (label) of the object.</li>
--   </ul>
label :: Label

-- | Level of confidence.
lConfidence :: Lens' Label (Maybe Double)

-- | The name (label) of the object.
lName :: Lens' Label (Maybe Text)

-- | Indicates the location of the landmark on the face.
--   
--   <i>See:</i> <a>landmark</a> smart constructor.
data Landmark

-- | Creates a value of <a>Landmark</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lType</a> - Type of the landmark.</li>
--   <li><a>lX</a> - x-coordinate from the top left of the landmark
--   expressed as the ration of the width of the image. For example, if the
--   images is 700x200 and the x-coordinate of the landmark is at 350
--   pixels, then this value is 0.5.</li>
--   <li><a>lY</a> - y-coordinate from the top left of the landmark
--   expressed as the ration of the height of the image. For example, if
--   the images is 700x200 and the y-coordinate of the landmark is at 100
--   pixels, then this value is 0.5.</li>
--   </ul>
landmark :: Landmark

-- | Type of the landmark.
lType :: Lens' Landmark (Maybe LandmarkType)

-- | x-coordinate from the top left of the landmark expressed as the ration
--   of the width of the image. For example, if the images is 700x200 and
--   the x-coordinate of the landmark is at 350 pixels, then this value is
--   0.5.
lX :: Lens' Landmark (Maybe Double)

-- | y-coordinate from the top left of the landmark expressed as the ration
--   of the height of the image. For example, if the images is 700x200 and
--   the y-coordinate of the landmark is at 100 pixels, then this value is
--   0.5.
lY :: Lens' Landmark (Maybe Double)

-- | Indicates whether or not the mouth on the face is open, and the
--   confidence level in the determination.
--   
--   <i>See:</i> <a>mouthOpen</a> smart constructor.
data MouthOpen

-- | Creates a value of <a>MouthOpen</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>moValue</a> - Boolean value that indicates whether the mouth on
--   the face is open or not.</li>
--   <li><a>moConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
mouthOpen :: MouthOpen

-- | Boolean value that indicates whether the mouth on the face is open or
--   not.
moValue :: Lens' MouthOpen (Maybe Bool)

-- | Level of confidence in the determination.
moConfidence :: Lens' MouthOpen (Maybe Double)

-- | Indicates whether or not the face has a mustache, and the confidence
--   level in the determination.
--   
--   <i>See:</i> <a>mustache</a> smart constructor.
data Mustache

-- | Creates a value of <a>Mustache</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mValue</a> - Boolean value that indicates whether the face has
--   mustache or not.</li>
--   <li><a>mConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
mustache :: Mustache

-- | Boolean value that indicates whether the face has mustache or not.
mValue :: Lens' Mustache (Maybe Bool)

-- | Level of confidence in the determination.
mConfidence :: Lens' Mustache (Maybe Double)

-- | Indicates the pose of the face as determined by pitch, roll, and the
--   yaw.
--   
--   <i>See:</i> <a>pose</a> smart constructor.
data Pose

-- | Creates a value of <a>Pose</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pYaw</a> - Value representing the face rotation on the yaw
--   axis.</li>
--   <li><a>pRoll</a> - Value representing the face rotation on the roll
--   axis.</li>
--   <li><a>pPitch</a> - Value representing the face rotation on the pitch
--   axis.</li>
--   </ul>
pose :: Pose

-- | Value representing the face rotation on the yaw axis.
pYaw :: Lens' Pose (Maybe Double)

-- | Value representing the face rotation on the roll axis.
pRoll :: Lens' Pose (Maybe Double)

-- | Value representing the face rotation on the pitch axis.
pPitch :: Lens' Pose (Maybe Double)

-- | Provides the S3 bucket name and object name.
--   
--   <i>See:</i> <a>s3Object</a> smart constructor.
data S3Object

-- | Creates a value of <a>S3Object</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>soBucket</a> - Name of the S3 bucket.</li>
--   <li><a>soName</a> - S3 object key name.</li>
--   <li><a>soVersion</a> - If the bucket is versioning enabled, you can
--   specify the object version.</li>
--   </ul>
s3Object :: S3Object

-- | Name of the S3 bucket.
soBucket :: Lens' S3Object (Maybe Text)

-- | S3 object key name.
soName :: Lens' S3Object (Maybe Text)

-- | If the bucket is versioning enabled, you can specify the object
--   version.
soVersion :: Lens' S3Object (Maybe Text)

-- | Indicates whether or not the face is smiling, and the confidence level
--   in the determination.
--   
--   <i>See:</i> <a>smile</a> smart constructor.
data Smile

-- | Creates a value of <a>Smile</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>smiValue</a> - Boolean value that indicates whether the face is
--   smiling or not.</li>
--   <li><a>smiConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
smile :: Smile

-- | Boolean value that indicates whether the face is smiling or not.
smiValue :: Lens' Smile (Maybe Bool)

-- | Level of confidence in the determination.
smiConfidence :: Lens' Smile (Maybe Double)

-- | Indicates whether or not the face is wearing sunglasses, and the
--   confidence level in the determination.
--   
--   <i>See:</i> <a>sunglasses</a> smart constructor.
data Sunglasses

-- | Creates a value of <a>Sunglasses</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sValue</a> - Boolean value that indicates whether the face is
--   wearing sunglasses or not.</li>
--   <li><a>sConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
sunglasses :: Sunglasses

-- | Boolean value that indicates whether the face is wearing sunglasses or
--   not.
sValue :: Lens' Sunglasses (Maybe Bool)

-- | Level of confidence in the determination.
sConfidence :: Lens' Sunglasses (Maybe Double)


module Network.AWS.Rekognition.Waiters


-- | For a given input image, first detects the largest face in the image,
--   and then searches the specified collection for matching faces. The
--   operation compares the features of the input face with faces in the
--   specified collection.
--   
--   The response returns an array of faces that match, ordered by
--   similarity score with the highest similarity first. More specifically,
--   it is an array of metadata for each face match found. Along with the
--   metadata, the response also includes a <tt>similarity</tt> indicating
--   how similar the face is to the input face. In the response, the API
--   also returns the bounding box (and a confidence level that the
--   bounding box contains a face) of the face that Rekognition used for
--   the input image.
--   
--   For an example, see <tt>example3</tt> .
--   
--   This operation requires permissions to perform the
--   <tt>rekognition:SearchFacesByImage</tt> action.
module Network.AWS.Rekognition.SearchFacesByImage

-- | Creates a value of <a>SearchFacesByImage</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sfbiFaceMatchThreshold</a> - (Optional) Specifies the minimum
--   confidence in the face match to return. For example, don't return any
--   matches where confidence in matches is less than 70%.</li>
--   <li><a>sfbiMaxFaces</a> - Maximum number of faces to return. The
--   operation returns the maximum number of faces with the highest
--   confidence in the match.</li>
--   <li><a>sfbiCollectionId</a> - ID of the collection to search.</li>
--   <li><a>sfbiImage</a> - Undocumented member.</li>
--   </ul>
searchFacesByImage :: Text -> Image -> SearchFacesByImage

-- | <i>See:</i> <a>searchFacesByImage</a> smart constructor.
data SearchFacesByImage

-- | (Optional) Specifies the minimum confidence in the face match to
--   return. For example, don't return any matches where confidence in
--   matches is less than 70%.
sfbiFaceMatchThreshold :: Lens' SearchFacesByImage (Maybe Double)

-- | Maximum number of faces to return. The operation returns the maximum
--   number of faces with the highest confidence in the match.
sfbiMaxFaces :: Lens' SearchFacesByImage (Maybe Natural)

-- | ID of the collection to search.
sfbiCollectionId :: Lens' SearchFacesByImage Text

-- | Undocumented member.
sfbiImage :: Lens' SearchFacesByImage Image

-- | Creates a value of <a>SearchFacesByImageResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sfbirsFaceMatches</a> - An array of faces that match the input
--   face, along with the confidence in the match.</li>
--   <li><a>sfbirsSearchedFaceBoundingBox</a> - The bounding box around the
--   face in the input image that Rekognition used for the search.</li>
--   <li><a>sfbirsSearchedFaceConfidence</a> - The level of confidence that
--   the <tt>searchedFaceBoundingBox</tt> , contains a face.</li>
--   <li><a>sfbirsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
searchFacesByImageResponse :: Int -> SearchFacesByImageResponse

-- | <i>See:</i> <a>searchFacesByImageResponse</a> smart constructor.
data SearchFacesByImageResponse

-- | An array of faces that match the input face, along with the confidence
--   in the match.
sfbirsFaceMatches :: Lens' SearchFacesByImageResponse [FaceMatch]

-- | The bounding box around the face in the input image that Rekognition
--   used for the search.
sfbirsSearchedFaceBoundingBox :: Lens' SearchFacesByImageResponse (Maybe BoundingBox)

-- | The level of confidence that the <tt>searchedFaceBoundingBox</tt> ,
--   contains a face.
sfbirsSearchedFaceConfidence :: Lens' SearchFacesByImageResponse (Maybe Double)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
sfbirsResponseStatus :: Lens' SearchFacesByImageResponse Int
instance GHC.Generics.Generic Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImageResponse
instance Data.Data.Data Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImageResponse
instance GHC.Show.Show Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImageResponse
instance GHC.Read.Read Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImageResponse
instance GHC.Classes.Eq Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImageResponse
instance GHC.Generics.Generic Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImage
instance Data.Data.Data Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImage
instance GHC.Show.Show Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImage
instance GHC.Read.Read Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImage
instance GHC.Classes.Eq Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImage
instance Network.AWS.Types.AWSRequest Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImage
instance Data.Hashable.Class.Hashable Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImage
instance Control.DeepSeq.NFData Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImage
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImage
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImage
instance Network.AWS.Data.Path.ToPath Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImage
instance Network.AWS.Data.Query.ToQuery Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImage
instance Control.DeepSeq.NFData Network.AWS.Rekognition.SearchFacesByImage.SearchFacesByImageResponse


-- | For a given input face ID, searches the specified collection for
--   matching faces. You get a face ID when you add a face to the
--   collection using the <tt>IndexFaces</tt> operation. The operation
--   compares the features of the input face with faces in the specified
--   collection.
--   
--   The operation response returns an array of faces that match, ordered
--   by similarity score with the highest similarity first. More
--   specifically, it is an array of metadata for each face match that is
--   found. Along with the metadata, the response also includes a
--   <tt>confidence</tt> value for each face match, indicating the
--   confidence that the specific face matches the input face.
--   
--   For an example, see <tt>example3</tt> .
--   
--   This operation requires permissions to perform the
--   <tt>rekognition:SearchFaces</tt> action.
module Network.AWS.Rekognition.SearchFaces

-- | Creates a value of <a>SearchFaces</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sfFaceMatchThreshold</a> - Optional value specifying the
--   minimum confidence in the face match to return. For example, don't
--   return any matches where confidence in matches is less than 70%.</li>
--   <li><a>sfMaxFaces</a> - Maximum number of faces to return. The API
--   will return the maximum number of faces with the highest confidence in
--   the match.</li>
--   <li><a>sfCollectionId</a> - ID of the collection to search.</li>
--   <li><a>sfFaceId</a> - ID of a face to find matches for in the
--   collection.</li>
--   </ul>
searchFaces :: Text -> Text -> SearchFaces

-- | <i>See:</i> <a>searchFaces</a> smart constructor.
data SearchFaces

-- | Optional value specifying the minimum confidence in the face match to
--   return. For example, don't return any matches where confidence in
--   matches is less than 70%.
sfFaceMatchThreshold :: Lens' SearchFaces (Maybe Double)

-- | Maximum number of faces to return. The API will return the maximum
--   number of faces with the highest confidence in the match.
sfMaxFaces :: Lens' SearchFaces (Maybe Natural)

-- | ID of the collection to search.
sfCollectionId :: Lens' SearchFaces Text

-- | ID of a face to find matches for in the collection.
sfFaceId :: Lens' SearchFaces Text

-- | Creates a value of <a>SearchFacesResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sfrsFaceMatches</a> - An array of faces that matched the input
--   face, along with the confidence in the match.</li>
--   <li><a>sfrsSearchedFaceId</a> - ID of the face that was searched for
--   matches in a collection.</li>
--   <li><a>sfrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
searchFacesResponse :: Int -> SearchFacesResponse

-- | <i>See:</i> <a>searchFacesResponse</a> smart constructor.
data SearchFacesResponse

-- | An array of faces that matched the input face, along with the
--   confidence in the match.
sfrsFaceMatches :: Lens' SearchFacesResponse [FaceMatch]

-- | ID of the face that was searched for matches in a collection.
sfrsSearchedFaceId :: Lens' SearchFacesResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
sfrsResponseStatus :: Lens' SearchFacesResponse Int
instance GHC.Generics.Generic Network.AWS.Rekognition.SearchFaces.SearchFacesResponse
instance Data.Data.Data Network.AWS.Rekognition.SearchFaces.SearchFacesResponse
instance GHC.Show.Show Network.AWS.Rekognition.SearchFaces.SearchFacesResponse
instance GHC.Read.Read Network.AWS.Rekognition.SearchFaces.SearchFacesResponse
instance GHC.Classes.Eq Network.AWS.Rekognition.SearchFaces.SearchFacesResponse
instance GHC.Generics.Generic Network.AWS.Rekognition.SearchFaces.SearchFaces
instance Data.Data.Data Network.AWS.Rekognition.SearchFaces.SearchFaces
instance GHC.Show.Show Network.AWS.Rekognition.SearchFaces.SearchFaces
instance GHC.Read.Read Network.AWS.Rekognition.SearchFaces.SearchFaces
instance GHC.Classes.Eq Network.AWS.Rekognition.SearchFaces.SearchFaces
instance Network.AWS.Types.AWSRequest Network.AWS.Rekognition.SearchFaces.SearchFaces
instance Data.Hashable.Class.Hashable Network.AWS.Rekognition.SearchFaces.SearchFaces
instance Control.DeepSeq.NFData Network.AWS.Rekognition.SearchFaces.SearchFaces
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Rekognition.SearchFaces.SearchFaces
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Rekognition.SearchFaces.SearchFaces
instance Network.AWS.Data.Path.ToPath Network.AWS.Rekognition.SearchFaces.SearchFaces
instance Network.AWS.Data.Query.ToQuery Network.AWS.Rekognition.SearchFaces.SearchFaces
instance Control.DeepSeq.NFData Network.AWS.Rekognition.SearchFaces.SearchFacesResponse


-- | Returns metadata for faces in the specified collection. This metadata
--   includes information such as the bounding box coordinates, the
--   confidence (that the bounding box contains a face), and face ID. For
--   an example, see <tt>example3</tt> .
--   
--   This operation requires permissions to perform the
--   <tt>rekognition:ListFaces</tt> action.
module Network.AWS.Rekognition.ListFaces

-- | Creates a value of <a>ListFaces</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lfNextToken</a> - If the previous response was incomplete
--   (because there is more data to retrieve), Amazon Rekognition returns a
--   pagination token in the response. You can use this pagination token to
--   retrieve the next set of faces.</li>
--   <li><a>lfMaxResults</a> - Maximum number of faces to return.</li>
--   <li><a>lfCollectionId</a> - ID of the collection from which to list
--   the faces.</li>
--   </ul>
listFaces :: Text -> ListFaces

-- | <i>See:</i> <a>listFaces</a> smart constructor.
data ListFaces

-- | If the previous response was incomplete (because there is more data to
--   retrieve), Amazon Rekognition returns a pagination token in the
--   response. You can use this pagination token to retrieve the next set
--   of faces.
lfNextToken :: Lens' ListFaces (Maybe Text)

-- | Maximum number of faces to return.
lfMaxResults :: Lens' ListFaces (Maybe Natural)

-- | ID of the collection from which to list the faces.
lfCollectionId :: Lens' ListFaces Text

-- | Creates a value of <a>ListFacesResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lfrsNextToken</a> - If the response is truncated, Amazon
--   Rekognition returns this token that you can use in the subsequent
--   request to retrieve the next set of faces.</li>
--   <li><a>lfrsFaces</a> - An array of <tt>Face</tt> objects.</li>
--   <li><a>lfrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listFacesResponse :: Int -> ListFacesResponse

-- | <i>See:</i> <a>listFacesResponse</a> smart constructor.
data ListFacesResponse

-- | If the response is truncated, Amazon Rekognition returns this token
--   that you can use in the subsequent request to retrieve the next set of
--   faces.
lfrsNextToken :: Lens' ListFacesResponse (Maybe Text)

-- | An array of <tt>Face</tt> objects.
lfrsFaces :: Lens' ListFacesResponse [Face]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lfrsResponseStatus :: Lens' ListFacesResponse Int
instance GHC.Generics.Generic Network.AWS.Rekognition.ListFaces.ListFacesResponse
instance Data.Data.Data Network.AWS.Rekognition.ListFaces.ListFacesResponse
instance GHC.Show.Show Network.AWS.Rekognition.ListFaces.ListFacesResponse
instance GHC.Read.Read Network.AWS.Rekognition.ListFaces.ListFacesResponse
instance GHC.Classes.Eq Network.AWS.Rekognition.ListFaces.ListFacesResponse
instance GHC.Generics.Generic Network.AWS.Rekognition.ListFaces.ListFaces
instance Data.Data.Data Network.AWS.Rekognition.ListFaces.ListFaces
instance GHC.Show.Show Network.AWS.Rekognition.ListFaces.ListFaces
instance GHC.Read.Read Network.AWS.Rekognition.ListFaces.ListFaces
instance GHC.Classes.Eq Network.AWS.Rekognition.ListFaces.ListFaces
instance Network.AWS.Types.AWSRequest Network.AWS.Rekognition.ListFaces.ListFaces
instance Data.Hashable.Class.Hashable Network.AWS.Rekognition.ListFaces.ListFaces
instance Control.DeepSeq.NFData Network.AWS.Rekognition.ListFaces.ListFaces
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Rekognition.ListFaces.ListFaces
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Rekognition.ListFaces.ListFaces
instance Network.AWS.Data.Path.ToPath Network.AWS.Rekognition.ListFaces.ListFaces
instance Network.AWS.Data.Query.ToQuery Network.AWS.Rekognition.ListFaces.ListFaces
instance Control.DeepSeq.NFData Network.AWS.Rekognition.ListFaces.ListFacesResponse


-- | Returns list of collection IDs in your account. If the result is
--   truncated, the response also provides a <tt>NextToken</tt> that you
--   can use in the subsequent request to fetch the next set of collection
--   IDs.
--   
--   For an example, see <tt>example1</tt> .
--   
--   This operation requires permissions to perform the
--   <tt>rekognition:ListCollections</tt> action.
module Network.AWS.Rekognition.ListCollections

-- | Creates a value of <a>ListCollections</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lcNextToken</a> - Pagination token from the previous
--   response.</li>
--   <li><a>lcMaxResults</a> - Maximum number of collection IDs to
--   return.</li>
--   </ul>
listCollections :: ListCollections

-- | <i>See:</i> <a>listCollections</a> smart constructor.
data ListCollections

-- | Pagination token from the previous response.
lcNextToken :: Lens' ListCollections (Maybe Text)

-- | Maximum number of collection IDs to return.
lcMaxResults :: Lens' ListCollections (Maybe Natural)

-- | Creates a value of <a>ListCollectionsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lcrsCollectionIds</a> - An array of collection IDs.</li>
--   <li><a>lcrsNextToken</a> - If the result is truncated, the response
--   provides a <tt>NextToken</tt> that you can use in the subsequent
--   request to fetch the next set of collection IDs.</li>
--   <li><a>lcrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listCollectionsResponse :: Int -> ListCollectionsResponse

-- | <i>See:</i> <a>listCollectionsResponse</a> smart constructor.
data ListCollectionsResponse

-- | An array of collection IDs.
lcrsCollectionIds :: Lens' ListCollectionsResponse [Text]

-- | If the result is truncated, the response provides a <tt>NextToken</tt>
--   that you can use in the subsequent request to fetch the next set of
--   collection IDs.
lcrsNextToken :: Lens' ListCollectionsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lcrsResponseStatus :: Lens' ListCollectionsResponse Int
instance GHC.Generics.Generic Network.AWS.Rekognition.ListCollections.ListCollectionsResponse
instance Data.Data.Data Network.AWS.Rekognition.ListCollections.ListCollectionsResponse
instance GHC.Show.Show Network.AWS.Rekognition.ListCollections.ListCollectionsResponse
instance GHC.Read.Read Network.AWS.Rekognition.ListCollections.ListCollectionsResponse
instance GHC.Classes.Eq Network.AWS.Rekognition.ListCollections.ListCollectionsResponse
instance GHC.Generics.Generic Network.AWS.Rekognition.ListCollections.ListCollections
instance Data.Data.Data Network.AWS.Rekognition.ListCollections.ListCollections
instance GHC.Show.Show Network.AWS.Rekognition.ListCollections.ListCollections
instance GHC.Read.Read Network.AWS.Rekognition.ListCollections.ListCollections
instance GHC.Classes.Eq Network.AWS.Rekognition.ListCollections.ListCollections
instance Network.AWS.Types.AWSRequest Network.AWS.Rekognition.ListCollections.ListCollections
instance Data.Hashable.Class.Hashable Network.AWS.Rekognition.ListCollections.ListCollections
instance Control.DeepSeq.NFData Network.AWS.Rekognition.ListCollections.ListCollections
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Rekognition.ListCollections.ListCollections
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Rekognition.ListCollections.ListCollections
instance Network.AWS.Data.Path.ToPath Network.AWS.Rekognition.ListCollections.ListCollections
instance Network.AWS.Data.Query.ToQuery Network.AWS.Rekognition.ListCollections.ListCollections
instance Control.DeepSeq.NFData Network.AWS.Rekognition.ListCollections.ListCollectionsResponse


-- | Detects faces in the input image and adds them to the specified
--   collection.
--   
--   Amazon Rekognition does not save the actual faces detected. Instead,
--   the underlying detection algorithm first detects the faces in the
--   input image, and for each face extracts facial features into a feature
--   vector, and stores it in the back-end database. Amazon Rekognition
--   uses feature vectors when performing face match and search operations
--   using the and operations.
--   
--   If you provide the optional <tt>externalImageID</tt> for the input
--   image you provided, Amazon Rekognition associates this ID with all
--   faces that it detects. When you call the operation, the response
--   returns the external ID. You can use this external image ID to create
--   a client-side index to associate the faces with each image. You can
--   then use the index to find all faces in an image.
--   
--   In response, the operation returns an array of metadata for all
--   detected faces. This includes, the bounding box of the detected face,
--   confidence value (indicating the bounding box contains a face), a face
--   ID assigned by the service for each face that is detected and stored,
--   and an image ID assigned by the service for the input image If you
--   request all facial attributes (using the <tt>detectionAttributes</tt>
--   parameter, Rekognition returns detailed facial attributes such as
--   facial landmarks (for example, location of eye and mount) and other
--   facial attributes such gender. If you provide the same image, specify
--   the same collection, and use the same external ID in the
--   <tt>IndexFaces</tt> operation, Rekognition doesn't save duplicate face
--   metadata.
--   
--   For an example, see <tt>example2</tt> .
--   
--   This operation requires permissions to perform the
--   <tt>rekognition:IndexFaces</tt> action.
module Network.AWS.Rekognition.IndexFaces

-- | Creates a value of <a>IndexFaces</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ifExternalImageId</a> - ID you want to assign to all the faces
--   detected in the image.</li>
--   <li><a>ifDetectionAttributes</a> - (Optional) Returns detailed
--   attributes of indexed faces. By default, the operation returns a
--   subset of the facial attributes. For example, you can specify the
--   value as, [<a>ALL</a>] or [<a>DEFAULT</a>]. If you provide both,
--   [<a>ALL</a>, <a>DEFAULT</a>], Rekognition uses the logical AND
--   operator to determine which attributes to return (in this case, it is
--   all attributes). If you specify all attributes, the service performs
--   additional detection, in addition to the default.</li>
--   <li><a>ifCollectionId</a> - ID of an existing collection to which you
--   want to add the faces that are detected in the input images.</li>
--   <li><a>ifImage</a> - Undocumented member.</li>
--   </ul>
indexFaces :: Text -> Image -> IndexFaces

-- | <i>See:</i> <a>indexFaces</a> smart constructor.
data IndexFaces

-- | ID you want to assign to all the faces detected in the image.
ifExternalImageId :: Lens' IndexFaces (Maybe Text)

-- | (Optional) Returns detailed attributes of indexed faces. By default,
--   the operation returns a subset of the facial attributes. For example,
--   you can specify the value as, [<a>ALL</a>] or [<a>DEFAULT</a>]. If you
--   provide both, [<a>ALL</a>, <a>DEFAULT</a>], Rekognition uses the
--   logical AND operator to determine which attributes to return (in this
--   case, it is all attributes). If you specify all attributes, the
--   service performs additional detection, in addition to the default.
ifDetectionAttributes :: Lens' IndexFaces [Attribute]

-- | ID of an existing collection to which you want to add the faces that
--   are detected in the input images.
ifCollectionId :: Lens' IndexFaces Text

-- | Undocumented member.
ifImage :: Lens' IndexFaces Image

-- | Creates a value of <a>IndexFacesResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ifrsFaceRecords</a> - An array of faces detected and added to
--   the collection. For more information, see 'howitworks-index-faces'
--   .</li>
--   <li><a>ifrsOrientationCorrection</a> - The algorithm detects the image
--   orientation. If it detects that the image was rotated, it returns the
--   degree of rotation. You can use this value to correct the orientation
--   and also appropriately analyze the bounding box coordinates that are
--   returned.</li>
--   <li><a>ifrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
indexFacesResponse :: Int -> IndexFacesResponse

-- | <i>See:</i> <a>indexFacesResponse</a> smart constructor.
data IndexFacesResponse

-- | An array of faces detected and added to the collection. For more
--   information, see 'howitworks-index-faces' .
ifrsFaceRecords :: Lens' IndexFacesResponse [FaceRecord]

-- | The algorithm detects the image orientation. If it detects that the
--   image was rotated, it returns the degree of rotation. You can use this
--   value to correct the orientation and also appropriately analyze the
--   bounding box coordinates that are returned.
ifrsOrientationCorrection :: Lens' IndexFacesResponse (Maybe OrientationCorrection)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ifrsResponseStatus :: Lens' IndexFacesResponse Int
instance GHC.Generics.Generic Network.AWS.Rekognition.IndexFaces.IndexFacesResponse
instance Data.Data.Data Network.AWS.Rekognition.IndexFaces.IndexFacesResponse
instance GHC.Show.Show Network.AWS.Rekognition.IndexFaces.IndexFacesResponse
instance GHC.Read.Read Network.AWS.Rekognition.IndexFaces.IndexFacesResponse
instance GHC.Classes.Eq Network.AWS.Rekognition.IndexFaces.IndexFacesResponse
instance GHC.Generics.Generic Network.AWS.Rekognition.IndexFaces.IndexFaces
instance Data.Data.Data Network.AWS.Rekognition.IndexFaces.IndexFaces
instance GHC.Show.Show Network.AWS.Rekognition.IndexFaces.IndexFaces
instance GHC.Read.Read Network.AWS.Rekognition.IndexFaces.IndexFaces
instance GHC.Classes.Eq Network.AWS.Rekognition.IndexFaces.IndexFaces
instance Network.AWS.Types.AWSRequest Network.AWS.Rekognition.IndexFaces.IndexFaces
instance Data.Hashable.Class.Hashable Network.AWS.Rekognition.IndexFaces.IndexFaces
instance Control.DeepSeq.NFData Network.AWS.Rekognition.IndexFaces.IndexFaces
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Rekognition.IndexFaces.IndexFaces
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Rekognition.IndexFaces.IndexFaces
instance Network.AWS.Data.Path.ToPath Network.AWS.Rekognition.IndexFaces.IndexFaces
instance Network.AWS.Data.Query.ToQuery Network.AWS.Rekognition.IndexFaces.IndexFaces
instance Control.DeepSeq.NFData Network.AWS.Rekognition.IndexFaces.IndexFacesResponse


-- | Detects instances of real-world labels within an image (JPEG or PNG)
--   provided as input. This includes objects like flower, tree, and table;
--   events like wedding, graduation, and birthday party; and concepts like
--   landscape, evening, and nature. For an example, see
--   'get-started-exercise-detect-labels' .
--   
--   For each object, scene, and concept the API returns one or more
--   labels. Each label provides the object name, and the level of
--   confidence that the image contains the object. For example, suppose
--   the input image has a lighthouse, the sea, and a rock. The response
--   will include all three labels, one for each object.
--   
--   <pre>
--   {Name: lighthouse, Confidence: 98.4629}
--   </pre>
--   
--   <pre>
--   {Name: rock,Confidence: 79.2097}
--   </pre>
--   
--   <pre>
--   {Name: sea,Confidence: 75.061}
--   </pre>
--   
--   In the preceding example, the operation returns one label for each of
--   the three objects. The operation can also return multiple labels for
--   the same object in the image. For example, if the input image shows a
--   flower (for example, a tulip), the operation might return the
--   following three labels.
--   
--   <pre>
--   {Name: flower,Confidence: 99.0562}
--   </pre>
--   
--   <pre>
--   {Name: plant,Confidence: 99.0562}
--   </pre>
--   
--   <pre>
--   {Name: tulip,Confidence: 99.0562}
--   </pre>
--   
--   In this example, the detection algorithm more precisely identifies the
--   flower as a tulip.
--   
--   You can provide the input image as an S3 object or as base64-encoded
--   bytes. In response, the API returns an array of labels. In addition,
--   the response also includes the orientation correction. Optionally, you
--   can specify <tt>MinConfidence</tt> to control the confidence threshold
--   for the labels returned. The default is 50%. You can also add the
--   <tt>MaxLabels</tt> parameter to limit the number of labels returned.
--   
--   This is a stateless API operation. That is, the operation does not
--   persist any data.
--   
--   This operation requires permissions to perform the
--   <tt>rekognition:DetectLabels</tt> action.
module Network.AWS.Rekognition.DetectLabels

-- | Creates a value of <a>DetectLabels</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dlMinConfidence</a> - Specifies the minimum confidence level
--   for the labels to return. Amazon Rekognition doesn't return any labels
--   with confidence lower than this specified value. If
--   <tt>minConfidence</tt> is not specified, the operation returns labels
--   with a confidence values greater than or equal to 50 percent.</li>
--   <li><a>dlMaxLabels</a> - Maximum number of labels you want the service
--   to return in the response. The service returns the specified number of
--   highest confidence labels.</li>
--   <li><a>dlImage</a> - The input image. You can provide a blob of image
--   bytes or an S3 object.</li>
--   </ul>
detectLabels :: Image -> DetectLabels

-- | <i>See:</i> <a>detectLabels</a> smart constructor.
data DetectLabels

-- | Specifies the minimum confidence level for the labels to return.
--   Amazon Rekognition doesn't return any labels with confidence lower
--   than this specified value. If <tt>minConfidence</tt> is not specified,
--   the operation returns labels with a confidence values greater than or
--   equal to 50 percent.
dlMinConfidence :: Lens' DetectLabels (Maybe Double)

-- | Maximum number of labels you want the service to return in the
--   response. The service returns the specified number of highest
--   confidence labels.
dlMaxLabels :: Lens' DetectLabels (Maybe Natural)

-- | The input image. You can provide a blob of image bytes or an S3
--   object.
dlImage :: Lens' DetectLabels Image

-- | Creates a value of <a>DetectLabelsResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dlrsLabels</a> - An array of labels for the real-world objects
--   detected.</li>
--   <li><a>dlrsOrientationCorrection</a> - Amazon Rekognition returns the
--   orientation of the input image that was detected (clockwise
--   direction). If your application displays the image, you can use this
--   value to correct the orientation. If Rekognition detects that the
--   input image was rotated (for example, by 90 degrees), it first
--   corrects the orientation before detecting the labels.</li>
--   <li><a>dlrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
detectLabelsResponse :: Int -> DetectLabelsResponse

-- | <i>See:</i> <a>detectLabelsResponse</a> smart constructor.
data DetectLabelsResponse

-- | An array of labels for the real-world objects detected.
dlrsLabels :: Lens' DetectLabelsResponse [Label]

-- | Amazon Rekognition returns the orientation of the input image that was
--   detected (clockwise direction). If your application displays the
--   image, you can use this value to correct the orientation. If
--   Rekognition detects that the input image was rotated (for example, by
--   90 degrees), it first corrects the orientation before detecting the
--   labels.
dlrsOrientationCorrection :: Lens' DetectLabelsResponse (Maybe OrientationCorrection)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dlrsResponseStatus :: Lens' DetectLabelsResponse Int
instance GHC.Generics.Generic Network.AWS.Rekognition.DetectLabels.DetectLabelsResponse
instance Data.Data.Data Network.AWS.Rekognition.DetectLabels.DetectLabelsResponse
instance GHC.Show.Show Network.AWS.Rekognition.DetectLabels.DetectLabelsResponse
instance GHC.Read.Read Network.AWS.Rekognition.DetectLabels.DetectLabelsResponse
instance GHC.Classes.Eq Network.AWS.Rekognition.DetectLabels.DetectLabelsResponse
instance GHC.Generics.Generic Network.AWS.Rekognition.DetectLabels.DetectLabels
instance Data.Data.Data Network.AWS.Rekognition.DetectLabels.DetectLabels
instance GHC.Show.Show Network.AWS.Rekognition.DetectLabels.DetectLabels
instance GHC.Read.Read Network.AWS.Rekognition.DetectLabels.DetectLabels
instance GHC.Classes.Eq Network.AWS.Rekognition.DetectLabels.DetectLabels
instance Network.AWS.Types.AWSRequest Network.AWS.Rekognition.DetectLabels.DetectLabels
instance Data.Hashable.Class.Hashable Network.AWS.Rekognition.DetectLabels.DetectLabels
instance Control.DeepSeq.NFData Network.AWS.Rekognition.DetectLabels.DetectLabels
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Rekognition.DetectLabels.DetectLabels
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Rekognition.DetectLabels.DetectLabels
instance Network.AWS.Data.Path.ToPath Network.AWS.Rekognition.DetectLabels.DetectLabels
instance Network.AWS.Data.Query.ToQuery Network.AWS.Rekognition.DetectLabels.DetectLabels
instance Control.DeepSeq.NFData Network.AWS.Rekognition.DetectLabels.DetectLabelsResponse


-- | Detects faces within an image (JPEG or PNG) that is provided as input.
--   
--   For each face detected, the operation returns face details including a
--   bounding box of the face, a confidence value (that the bounding box
--   contains a face), and a fixed set of attributes such as facial
--   landmarks (for example, coordinates of eye and mouth), gender,
--   presence of beard, sunglasses, etc.
--   
--   The face-detection algorithm is most effective on frontal faces. For
--   non-frontal or obscured faces, the algorithm may not detect the faces
--   or might detect faces with lower confidence.
--   
--   For an example, see 'get-started-exercise-detect-faces' .
--   
--   This operation requires permissions to perform the
--   <tt>rekognition:DetectFaces</tt> action.
module Network.AWS.Rekognition.DetectFaces

-- | Creates a value of <a>DetectFaces</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dfAttributes</a> - A list of facial attributes you would like
--   to be returned. By default, the API returns subset of facial
--   attributes. For example, you can specify the value as, [<a>ALL</a>] or
--   [<a>DEFAULT</a>]. If you provide both, [<a>ALL</a>, <a>DEFAULT</a>],
--   the service uses a logical AND operator to determine which attributes
--   to return (in this case, it is all attributes). If you specify all
--   attributes, Rekognition performs additional detection.</li>
--   <li><a>dfImage</a> - The image in which you want to detect faces. You
--   can specify a blob or an S3 object.</li>
--   </ul>
detectFaces :: Image -> DetectFaces

-- | <i>See:</i> <a>detectFaces</a> smart constructor.
data DetectFaces

-- | A list of facial attributes you would like to be returned. By default,
--   the API returns subset of facial attributes. For example, you can
--   specify the value as, [<a>ALL</a>] or [<a>DEFAULT</a>]. If you provide
--   both, [<a>ALL</a>, <a>DEFAULT</a>], the service uses a logical AND
--   operator to determine which attributes to return (in this case, it is
--   all attributes). If you specify all attributes, Rekognition performs
--   additional detection.
dfAttributes :: Lens' DetectFaces [Attribute]

-- | The image in which you want to detect faces. You can specify a blob or
--   an S3 object.
dfImage :: Lens' DetectFaces Image

-- | Creates a value of <a>DetectFacesResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dfrsOrientationCorrection</a> - The algorithm detects the image
--   orientation. If it detects that the image was rotated, it returns the
--   degrees of rotation. If your application is displaying the image, you
--   can use this value to adjust the orientation. For example, if the
--   service detects that the input image was rotated by 90 degrees, it
--   corrects orientation, performs face detection, and then returns the
--   faces. That is, the bounding box coordinates in the response are based
--   on the corrected orientation.</li>
--   <li><a>dfrsFaceDetails</a> - Details of each face found in the
--   image.</li>
--   <li><a>dfrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
detectFacesResponse :: Int -> DetectFacesResponse

-- | <i>See:</i> <a>detectFacesResponse</a> smart constructor.
data DetectFacesResponse

-- | The algorithm detects the image orientation. If it detects that the
--   image was rotated, it returns the degrees of rotation. If your
--   application is displaying the image, you can use this value to adjust
--   the orientation. For example, if the service detects that the input
--   image was rotated by 90 degrees, it corrects orientation, performs
--   face detection, and then returns the faces. That is, the bounding box
--   coordinates in the response are based on the corrected orientation.
dfrsOrientationCorrection :: Lens' DetectFacesResponse (Maybe OrientationCorrection)

-- | Details of each face found in the image.
dfrsFaceDetails :: Lens' DetectFacesResponse [FaceDetail]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dfrsResponseStatus :: Lens' DetectFacesResponse Int
instance GHC.Generics.Generic Network.AWS.Rekognition.DetectFaces.DetectFacesResponse
instance Data.Data.Data Network.AWS.Rekognition.DetectFaces.DetectFacesResponse
instance GHC.Show.Show Network.AWS.Rekognition.DetectFaces.DetectFacesResponse
instance GHC.Read.Read Network.AWS.Rekognition.DetectFaces.DetectFacesResponse
instance GHC.Classes.Eq Network.AWS.Rekognition.DetectFaces.DetectFacesResponse
instance GHC.Generics.Generic Network.AWS.Rekognition.DetectFaces.DetectFaces
instance Data.Data.Data Network.AWS.Rekognition.DetectFaces.DetectFaces
instance GHC.Show.Show Network.AWS.Rekognition.DetectFaces.DetectFaces
instance GHC.Read.Read Network.AWS.Rekognition.DetectFaces.DetectFaces
instance GHC.Classes.Eq Network.AWS.Rekognition.DetectFaces.DetectFaces
instance Network.AWS.Types.AWSRequest Network.AWS.Rekognition.DetectFaces.DetectFaces
instance Data.Hashable.Class.Hashable Network.AWS.Rekognition.DetectFaces.DetectFaces
instance Control.DeepSeq.NFData Network.AWS.Rekognition.DetectFaces.DetectFaces
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Rekognition.DetectFaces.DetectFaces
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Rekognition.DetectFaces.DetectFaces
instance Network.AWS.Data.Path.ToPath Network.AWS.Rekognition.DetectFaces.DetectFaces
instance Network.AWS.Data.Query.ToQuery Network.AWS.Rekognition.DetectFaces.DetectFaces
instance Control.DeepSeq.NFData Network.AWS.Rekognition.DetectFaces.DetectFacesResponse


-- | Deletes faces from a collection. You specify a collection ID and an
--   array of face IDs to remove from the collection.
--   
--   This operation requires permissions to perform the
--   <tt>rekognition:DeleteFaces</tt> action.
module Network.AWS.Rekognition.DeleteFaces

-- | Creates a value of <a>DeleteFaces</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dfCollectionId</a> - Collection from which to remove the
--   specific faces.</li>
--   <li><a>dfFaceIds</a> - An array of face IDs to delete.</li>
--   </ul>
deleteFaces :: Text -> NonEmpty Text -> DeleteFaces

-- | <i>See:</i> <a>deleteFaces</a> smart constructor.
data DeleteFaces

-- | Collection from which to remove the specific faces.
dfCollectionId :: Lens' DeleteFaces Text

-- | An array of face IDs to delete.
dfFaceIds :: Lens' DeleteFaces (NonEmpty Text)

-- | Creates a value of <a>DeleteFacesResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drsDeletedFaces</a> - An array of strings (face IDs) of the
--   faces that were deleted.</li>
--   <li><a>drsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteFacesResponse :: Int -> DeleteFacesResponse

-- | <i>See:</i> <a>deleteFacesResponse</a> smart constructor.
data DeleteFacesResponse

-- | An array of strings (face IDs) of the faces that were deleted.
drsDeletedFaces :: Lens' DeleteFacesResponse (Maybe (NonEmpty Text))

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drsResponseStatus :: Lens' DeleteFacesResponse Int
instance GHC.Generics.Generic Network.AWS.Rekognition.DeleteFaces.DeleteFacesResponse
instance Data.Data.Data Network.AWS.Rekognition.DeleteFaces.DeleteFacesResponse
instance GHC.Show.Show Network.AWS.Rekognition.DeleteFaces.DeleteFacesResponse
instance GHC.Read.Read Network.AWS.Rekognition.DeleteFaces.DeleteFacesResponse
instance GHC.Classes.Eq Network.AWS.Rekognition.DeleteFaces.DeleteFacesResponse
instance GHC.Generics.Generic Network.AWS.Rekognition.DeleteFaces.DeleteFaces
instance Data.Data.Data Network.AWS.Rekognition.DeleteFaces.DeleteFaces
instance GHC.Show.Show Network.AWS.Rekognition.DeleteFaces.DeleteFaces
instance GHC.Read.Read Network.AWS.Rekognition.DeleteFaces.DeleteFaces
instance GHC.Classes.Eq Network.AWS.Rekognition.DeleteFaces.DeleteFaces
instance Network.AWS.Types.AWSRequest Network.AWS.Rekognition.DeleteFaces.DeleteFaces
instance Data.Hashable.Class.Hashable Network.AWS.Rekognition.DeleteFaces.DeleteFaces
instance Control.DeepSeq.NFData Network.AWS.Rekognition.DeleteFaces.DeleteFaces
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Rekognition.DeleteFaces.DeleteFaces
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Rekognition.DeleteFaces.DeleteFaces
instance Network.AWS.Data.Path.ToPath Network.AWS.Rekognition.DeleteFaces.DeleteFaces
instance Network.AWS.Data.Query.ToQuery Network.AWS.Rekognition.DeleteFaces.DeleteFaces
instance Control.DeepSeq.NFData Network.AWS.Rekognition.DeleteFaces.DeleteFacesResponse


-- | Deletes the specified collection. Note that this operation removes all
--   faces in the collection. For an example, see <tt>example1</tt> .
--   
--   This operation requires permissions to perform the
--   <tt>rekognition:DeleteCollection</tt> action.
module Network.AWS.Rekognition.DeleteCollection

-- | Creates a value of <a>DeleteCollection</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dcCollectionId</a> - ID of the collection to delete.</li>
--   </ul>
deleteCollection :: Text -> DeleteCollection

-- | <i>See:</i> <a>deleteCollection</a> smart constructor.
data DeleteCollection

-- | ID of the collection to delete.
dcCollectionId :: Lens' DeleteCollection Text

-- | Creates a value of <a>DeleteCollectionResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dcrsStatusCode</a> - HTTP status code that indicates the result
--   of the operation.</li>
--   <li><a>dcrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteCollectionResponse :: Int -> DeleteCollectionResponse

-- | <i>See:</i> <a>deleteCollectionResponse</a> smart constructor.
data DeleteCollectionResponse

-- | HTTP status code that indicates the result of the operation.
dcrsStatusCode :: Lens' DeleteCollectionResponse (Maybe Natural)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dcrsResponseStatus :: Lens' DeleteCollectionResponse Int
instance GHC.Generics.Generic Network.AWS.Rekognition.DeleteCollection.DeleteCollectionResponse
instance Data.Data.Data Network.AWS.Rekognition.DeleteCollection.DeleteCollectionResponse
instance GHC.Show.Show Network.AWS.Rekognition.DeleteCollection.DeleteCollectionResponse
instance GHC.Read.Read Network.AWS.Rekognition.DeleteCollection.DeleteCollectionResponse
instance GHC.Classes.Eq Network.AWS.Rekognition.DeleteCollection.DeleteCollectionResponse
instance GHC.Generics.Generic Network.AWS.Rekognition.DeleteCollection.DeleteCollection
instance Data.Data.Data Network.AWS.Rekognition.DeleteCollection.DeleteCollection
instance GHC.Show.Show Network.AWS.Rekognition.DeleteCollection.DeleteCollection
instance GHC.Read.Read Network.AWS.Rekognition.DeleteCollection.DeleteCollection
instance GHC.Classes.Eq Network.AWS.Rekognition.DeleteCollection.DeleteCollection
instance Network.AWS.Types.AWSRequest Network.AWS.Rekognition.DeleteCollection.DeleteCollection
instance Data.Hashable.Class.Hashable Network.AWS.Rekognition.DeleteCollection.DeleteCollection
instance Control.DeepSeq.NFData Network.AWS.Rekognition.DeleteCollection.DeleteCollection
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Rekognition.DeleteCollection.DeleteCollection
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Rekognition.DeleteCollection.DeleteCollection
instance Network.AWS.Data.Path.ToPath Network.AWS.Rekognition.DeleteCollection.DeleteCollection
instance Network.AWS.Data.Query.ToQuery Network.AWS.Rekognition.DeleteCollection.DeleteCollection
instance Control.DeepSeq.NFData Network.AWS.Rekognition.DeleteCollection.DeleteCollectionResponse


-- | Creates a collection in an AWS region. You can add faces to the
--   collection using the operation.
--   
--   For example, you might create collections, one for each of your
--   application users. A user can then index faces using the
--   <tt>IndexFaces</tt> operation and persist results in a specific
--   collection. Then, a user can search the collection for faces in the
--   user-specific container.
--   
--   For an example, see <tt>example1</tt> .
--   
--   This operation requires permissions to perform the
--   <tt>rekognition:CreateCollection</tt> action.
module Network.AWS.Rekognition.CreateCollection

-- | Creates a value of <a>CreateCollection</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ccCollectionId</a> - ID for the collection that you are
--   creating.</li>
--   </ul>
createCollection :: Text -> CreateCollection

-- | <i>See:</i> <a>createCollection</a> smart constructor.
data CreateCollection

-- | ID for the collection that you are creating.
ccCollectionId :: Lens' CreateCollection Text

-- | Creates a value of <a>CreateCollectionResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ccrsCollectionARN</a> - Amazon Resource Name (ARN) of the
--   collection. You can use this to manage permissions on your
--   resources.</li>
--   <li><a>ccrsStatusCode</a> - HTTP status code indicating the result of
--   the operation.</li>
--   <li><a>ccrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createCollectionResponse :: Int -> CreateCollectionResponse

-- | <i>See:</i> <a>createCollectionResponse</a> smart constructor.
data CreateCollectionResponse

-- | Amazon Resource Name (ARN) of the collection. You can use this to
--   manage permissions on your resources.
ccrsCollectionARN :: Lens' CreateCollectionResponse (Maybe Text)

-- | HTTP status code indicating the result of the operation.
ccrsStatusCode :: Lens' CreateCollectionResponse (Maybe Natural)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ccrsResponseStatus :: Lens' CreateCollectionResponse Int
instance GHC.Generics.Generic Network.AWS.Rekognition.CreateCollection.CreateCollectionResponse
instance Data.Data.Data Network.AWS.Rekognition.CreateCollection.CreateCollectionResponse
instance GHC.Show.Show Network.AWS.Rekognition.CreateCollection.CreateCollectionResponse
instance GHC.Read.Read Network.AWS.Rekognition.CreateCollection.CreateCollectionResponse
instance GHC.Classes.Eq Network.AWS.Rekognition.CreateCollection.CreateCollectionResponse
instance GHC.Generics.Generic Network.AWS.Rekognition.CreateCollection.CreateCollection
instance Data.Data.Data Network.AWS.Rekognition.CreateCollection.CreateCollection
instance GHC.Show.Show Network.AWS.Rekognition.CreateCollection.CreateCollection
instance GHC.Read.Read Network.AWS.Rekognition.CreateCollection.CreateCollection
instance GHC.Classes.Eq Network.AWS.Rekognition.CreateCollection.CreateCollection
instance Network.AWS.Types.AWSRequest Network.AWS.Rekognition.CreateCollection.CreateCollection
instance Data.Hashable.Class.Hashable Network.AWS.Rekognition.CreateCollection.CreateCollection
instance Control.DeepSeq.NFData Network.AWS.Rekognition.CreateCollection.CreateCollection
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Rekognition.CreateCollection.CreateCollection
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Rekognition.CreateCollection.CreateCollection
instance Network.AWS.Data.Path.ToPath Network.AWS.Rekognition.CreateCollection.CreateCollection
instance Network.AWS.Data.Query.ToQuery Network.AWS.Rekognition.CreateCollection.CreateCollection
instance Control.DeepSeq.NFData Network.AWS.Rekognition.CreateCollection.CreateCollectionResponse


-- | Compares a face in the <i>source</i> input image with each face
--   detected in the <i>target</i> input image.
--   
--   In response, the operation returns an array of face matches ordered by
--   similarity score with the highest similarity scores first. For each
--   face match, the response provides a bounding box of the face and
--   <tt>confidence</tt> value (indicating the level of confidence that the
--   bounding box contains a face). The response also provides a
--   <tt>similarity</tt> score, which indicates how closely the faces
--   match.
--   
--   In addition to the face matches, the response returns information
--   about the face in the source image, including the bounding box of the
--   face and confidence value.
--   
--   For an example, see 'get-started-exercise-compare-faces'
--   
--   This operation requires permissions to perform the
--   <tt>rekognition:CompareFaces</tt> action.
module Network.AWS.Rekognition.CompareFaces

-- | Creates a value of <a>CompareFaces</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cfSimilarityThreshold</a> - The minimum level of confidence in
--   the match you want included in the result.</li>
--   <li><a>cfSourceImage</a> - Source image either as bytes or an Amazon
--   S3 object</li>
--   <li><a>cfTargetImage</a> - Target image either as bytes or an Amazon
--   S3 object</li>
--   </ul>
compareFaces :: Image -> Image -> CompareFaces

-- | <i>See:</i> <a>compareFaces</a> smart constructor.
data CompareFaces

-- | The minimum level of confidence in the match you want included in the
--   result.
cfSimilarityThreshold :: Lens' CompareFaces (Maybe Double)

-- | Source image either as bytes or an Amazon S3 object
cfSourceImage :: Lens' CompareFaces Image

-- | Target image either as bytes or an Amazon S3 object
cfTargetImage :: Lens' CompareFaces Image

-- | Creates a value of <a>CompareFacesResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cfrsFaceMatches</a> - Provides an array of
--   <tt>CompareFacesMatch </tt> objects. Each object provides the bounding
--   box, confidence that the bounding box contains a face, and the
--   similarity between the face in the bounding box and the face in the
--   source image.</li>
--   <li><a>cfrsSourceImageFace</a> - The face from the source image that
--   was used for comparison.</li>
--   <li><a>cfrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
compareFacesResponse :: Int -> CompareFacesResponse

-- | <i>See:</i> <a>compareFacesResponse</a> smart constructor.
data CompareFacesResponse

-- | Provides an array of <tt>CompareFacesMatch </tt> objects. Each object
--   provides the bounding box, confidence that the bounding box contains a
--   face, and the similarity between the face in the bounding box and the
--   face in the source image.
cfrsFaceMatches :: Lens' CompareFacesResponse [CompareFacesMatch]

-- | The face from the source image that was used for comparison.
cfrsSourceImageFace :: Lens' CompareFacesResponse (Maybe ComparedSourceImageFace)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
cfrsResponseStatus :: Lens' CompareFacesResponse Int
instance GHC.Generics.Generic Network.AWS.Rekognition.CompareFaces.CompareFacesResponse
instance Data.Data.Data Network.AWS.Rekognition.CompareFaces.CompareFacesResponse
instance GHC.Show.Show Network.AWS.Rekognition.CompareFaces.CompareFacesResponse
instance GHC.Read.Read Network.AWS.Rekognition.CompareFaces.CompareFacesResponse
instance GHC.Classes.Eq Network.AWS.Rekognition.CompareFaces.CompareFacesResponse
instance GHC.Generics.Generic Network.AWS.Rekognition.CompareFaces.CompareFaces
instance Data.Data.Data Network.AWS.Rekognition.CompareFaces.CompareFaces
instance GHC.Show.Show Network.AWS.Rekognition.CompareFaces.CompareFaces
instance GHC.Read.Read Network.AWS.Rekognition.CompareFaces.CompareFaces
instance GHC.Classes.Eq Network.AWS.Rekognition.CompareFaces.CompareFaces
instance Network.AWS.Types.AWSRequest Network.AWS.Rekognition.CompareFaces.CompareFaces
instance Data.Hashable.Class.Hashable Network.AWS.Rekognition.CompareFaces.CompareFaces
instance Control.DeepSeq.NFData Network.AWS.Rekognition.CompareFaces.CompareFaces
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Rekognition.CompareFaces.CompareFaces
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Rekognition.CompareFaces.CompareFaces
instance Network.AWS.Data.Path.ToPath Network.AWS.Rekognition.CompareFaces.CompareFaces
instance Network.AWS.Data.Query.ToQuery Network.AWS.Rekognition.CompareFaces.CompareFaces
instance Control.DeepSeq.NFData Network.AWS.Rekognition.CompareFaces.CompareFacesResponse


-- | This is Amazon Rekognition API guide.
module Network.AWS.Rekognition

-- | API version <tt>2016-06-27</tt> of the Amazon Rekognition SDK
--   configuration.
rekognition :: Service

-- | You are not authorized to perform the action.
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Input parameter violated a constraint. Validate your parameter before
--   calling the API again.
_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The provided image format is not supported.
_InvalidImageFormatException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The collection with specific ID already exist.
_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Amazon Rekognition is unable to access the S3 object specified in the
--   request.
_InvalidS3ObjectException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The number of requests exceeded your throughput limit. If you want to
--   increase this limit, contact Amazon Rekognition.
_ProvisionedThroughputExceededException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The input image size exceeds the allowed limit. For more information,
--   see <tt>limits</tt> .
_ImageTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Amazon Rekognition is temporarily unable to process the request. Try
--   your call again.
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Amazon Rekognition experienced a service issue. Try your call again.
_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError

-- | Collection specified in the request is not found.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Pagination token in the request is not valid.
_InvalidPaginationTokenException :: AsError a => Getting (First ServiceError) a ServiceError
data Attribute
All :: Attribute
Default :: Attribute
data EmotionName
Angry :: EmotionName
Calm :: EmotionName
Confused :: EmotionName
Disgusted :: EmotionName
Happy :: EmotionName
Sad :: EmotionName
Surprised :: EmotionName
Unknown :: EmotionName
data GenderType
Female :: GenderType
Male :: GenderType
data LandmarkType
EyeLeft :: LandmarkType
EyeRight :: LandmarkType
LeftEyeDown :: LandmarkType
LeftEyeLeft :: LandmarkType
LeftEyeRight :: LandmarkType
LeftEyeUp :: LandmarkType
LeftEyebrowLeft :: LandmarkType
LeftEyebrowRight :: LandmarkType
LeftEyebrowUp :: LandmarkType
LeftPupil :: LandmarkType
MouthDown :: LandmarkType
MouthLeft :: LandmarkType
MouthRight :: LandmarkType
MouthUp :: LandmarkType
Nose :: LandmarkType
NoseLeft :: LandmarkType
NoseRight :: LandmarkType
RightEyeDown :: LandmarkType
RightEyeLeft :: LandmarkType
RightEyeRight :: LandmarkType
RightEyeUp :: LandmarkType
RightEyebrowLeft :: LandmarkType
RightEyebrowRight :: LandmarkType
RightEyebrowUp :: LandmarkType
RightPupil :: LandmarkType
data OrientationCorrection
Rotate0 :: OrientationCorrection
Rotate180 :: OrientationCorrection
Rotate270 :: OrientationCorrection
Rotate90 :: OrientationCorrection

-- | Indicates whether or not the face has a beard, and the confidence
--   level in the determination.
--   
--   <i>See:</i> <a>beard</a> smart constructor.
data Beard

-- | Creates a value of <a>Beard</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>bValue</a> - Boolean value that indicates whether the face has
--   beard or not.</li>
--   <li><a>bConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
beard :: Beard

-- | Boolean value that indicates whether the face has beard or not.
bValue :: Lens' Beard (Maybe Bool)

-- | Level of confidence in the determination.
bConfidence :: Lens' Beard (Maybe Double)

-- | Identifies the bounding box around the object or face. The
--   <tt>left</tt> (x-coordinate) and <tt>top</tt> (y-coordinate) are
--   coordinates representing the top and left sides of the bounding box.
--   Note that the upper-left corner of the image is the origin (0,0).
--   
--   The <tt>top</tt> and <tt>left</tt> values returned are ratios of the
--   overall image size. For example, if the input image is 700x200 pixels,
--   and the top-left coordinate of the bounding box is 350x50 pixels, the
--   API returns a <tt>left</tt> value of 0.5 (350<i>700) and a
--   <tt>top</tt> value of 0.25 (50</i>200).
--   
--   The <tt>width</tt> and <tt>height</tt> values represent the dimensions
--   of the bounding box as a ratio of the overall image dimension. For
--   example, if the input image is 700x200 pixels, and the bounding box
--   width is 70 pixels, the width returned is 0.1.
--   
--   <i>See:</i> <a>boundingBox</a> smart constructor.
data BoundingBox

-- | Creates a value of <a>BoundingBox</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>bbHeight</a> - Height of the bounding box as a ratio of the
--   overall image height.</li>
--   <li><a>bbLeft</a> - Left coordinate of the bounding box as a ratio of
--   overall image width.</li>
--   <li><a>bbWidth</a> - Width of the bounding box as a ratio of the
--   overall image width.</li>
--   <li><a>bbTop</a> - Top coordinate of the bounding box as a ratio of
--   overall image height.</li>
--   </ul>
boundingBox :: BoundingBox

-- | Height of the bounding box as a ratio of the overall image height.
bbHeight :: Lens' BoundingBox (Maybe Double)

-- | Left coordinate of the bounding box as a ratio of overall image width.
bbLeft :: Lens' BoundingBox (Maybe Double)

-- | Width of the bounding box as a ratio of the overall image width.
bbWidth :: Lens' BoundingBox (Maybe Double)

-- | Top coordinate of the bounding box as a ratio of overall image height.
bbTop :: Lens' BoundingBox (Maybe Double)

-- | Provide the bounding box, confidence that the bounding box actually
--   contains a face, and the similarity between the face in the bounding
--   box and the face in the source image.
--   
--   <i>See:</i> <a>compareFacesMatch</a> smart constructor.
data CompareFacesMatch

-- | Creates a value of <a>CompareFacesMatch</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cfmSimilarity</a> - Level of confidence that the faces
--   match.</li>
--   <li><a>cfmFace</a> - Provides face metadata (bounding box and
--   confidence that the bounding box actually contains a face).</li>
--   </ul>
compareFacesMatch :: CompareFacesMatch

-- | Level of confidence that the faces match.
cfmSimilarity :: Lens' CompareFacesMatch (Maybe Double)

-- | Provides face metadata (bounding box and confidence that the bounding
--   box actually contains a face).
cfmFace :: Lens' CompareFacesMatch (Maybe ComparedFace)

-- | Provides face metadata (bounding box and confidence that the bounding
--   box actually contains a face).
--   
--   <i>See:</i> <a>comparedFace</a> smart constructor.
data ComparedFace

-- | Creates a value of <a>ComparedFace</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cfBoundingBox</a> - Undocumented member.</li>
--   <li><a>cfConfidence</a> - Level of confidence that what the bounding
--   box contains is a face.</li>
--   </ul>
comparedFace :: ComparedFace

-- | Undocumented member.
cfBoundingBox :: Lens' ComparedFace (Maybe BoundingBox)

-- | Level of confidence that what the bounding box contains is a face.
cfConfidence :: Lens' ComparedFace (Maybe Double)

-- | Type that describes the face Amazon Rekognition chose to compare with
--   the faces in the target. This contains a bounding box for the selected
--   face and confidence level that the bounding box contains a face. Note
--   that Amazon Rekognition selects the largest face in the source image
--   for this comparison.
--   
--   <i>See:</i> <a>comparedSourceImageFace</a> smart constructor.
data ComparedSourceImageFace

-- | Creates a value of <a>ComparedSourceImageFace</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>csifBoundingBox</a> - Undocumented member.</li>
--   <li><a>csifConfidence</a> - Confidence that the selected bounding box
--   contains a face.</li>
--   </ul>
comparedSourceImageFace :: ComparedSourceImageFace

-- | Undocumented member.
csifBoundingBox :: Lens' ComparedSourceImageFace (Maybe BoundingBox)

-- | Confidence that the selected bounding box contains a face.
csifConfidence :: Lens' ComparedSourceImageFace (Maybe Double)

-- | The emotions detected on the face, and the confidence level in the
--   determination. For example, HAPPY, SAD, and ANGRY.
--   
--   <i>See:</i> <a>emotion</a> smart constructor.
data Emotion

-- | Creates a value of <a>Emotion</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eConfidence</a> - Level of confidence in the
--   determination.</li>
--   <li><a>eType</a> - Type of emotion detected.</li>
--   </ul>
emotion :: Emotion

-- | Level of confidence in the determination.
eConfidence :: Lens' Emotion (Maybe Double)

-- | Type of emotion detected.
eType :: Lens' Emotion (Maybe EmotionName)

-- | Indicates whether or not the eyes on the face are open, and the
--   confidence level in the determination.
--   
--   <i>See:</i> <a>eyeOpen</a> smart constructor.
data EyeOpen

-- | Creates a value of <a>EyeOpen</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eoValue</a> - Boolean value that indicates whether the eyes on
--   the face are open.</li>
--   <li><a>eoConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
eyeOpen :: EyeOpen

-- | Boolean value that indicates whether the eyes on the face are open.
eoValue :: Lens' EyeOpen (Maybe Bool)

-- | Level of confidence in the determination.
eoConfidence :: Lens' EyeOpen (Maybe Double)

-- | Indicates whether or not the face is wearing eye glasses, and the
--   confidence level in the determination.
--   
--   <i>See:</i> <a>eyeglasses</a> smart constructor.
data Eyeglasses

-- | Creates a value of <a>Eyeglasses</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eyeValue</a> - Boolean value that indicates whether the face is
--   wearing eye glasses or not.</li>
--   <li><a>eyeConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
eyeglasses :: Eyeglasses

-- | Boolean value that indicates whether the face is wearing eye glasses
--   or not.
eyeValue :: Lens' Eyeglasses (Maybe Bool)

-- | Level of confidence in the determination.
eyeConfidence :: Lens' Eyeglasses (Maybe Double)

-- | Describes the face properties such as the bounding box, face ID, image
--   ID of the source image, and external image ID that you assigned.
--   
--   <i>See:</i> <a>face</a> smart constructor.
data Face

-- | Creates a value of <a>Face</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>fFaceId</a> - Unique identifier that Amazon Rekognition assigns
--   to the face.</li>
--   <li><a>fBoundingBox</a> - Undocumented member.</li>
--   <li><a>fExternalImageId</a> - Identifier that you assign to all the
--   faces in the input image.</li>
--   <li><a>fConfidence</a> - Confidence level that the bounding box
--   contains a face (and not a different object such as a tree).</li>
--   <li><a>fImageId</a> - Unique identifier that Amazon Rekognition
--   assigns to the source image.</li>
--   </ul>
face :: Face

-- | Unique identifier that Amazon Rekognition assigns to the face.
fFaceId :: Lens' Face (Maybe Text)

-- | Undocumented member.
fBoundingBox :: Lens' Face (Maybe BoundingBox)

-- | Identifier that you assign to all the faces in the input image.
fExternalImageId :: Lens' Face (Maybe Text)

-- | Confidence level that the bounding box contains a face (and not a
--   different object such as a tree).
fConfidence :: Lens' Face (Maybe Double)

-- | Unique identifier that Amazon Rekognition assigns to the source image.
fImageId :: Lens' Face (Maybe Text)

-- | Structure containing attributes of the face that the algorithm
--   detected.
--   
--   <i>See:</i> <a>faceDetail</a> smart constructor.
data FaceDetail

-- | Creates a value of <a>FaceDetail</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>fdSunglasses</a> - Indicates whether or not the face is wearing
--   sunglasses, and the confidence level in the determination.</li>
--   <li><a>fdMouthOpen</a> - Indicates whether or not the mouth on the
--   face is open, and the confidence level in the determination.</li>
--   <li><a>fdBoundingBox</a> - Bounding box of the face.</li>
--   <li><a>fdEmotions</a> - The emotions detected on the face, and the
--   confidence level in the determination. For example, HAPPY, SAD, and
--   ANGRY.</li>
--   <li><a>fdEyesOpen</a> - Indicates whether or not the eyes on the face
--   are open, and the confidence level in the determination.</li>
--   <li><a>fdPose</a> - Indicates the pose of the face as determined by
--   pitch, roll, and the yaw.</li>
--   <li><a>fdConfidence</a> - Confidence level that the bounding box
--   contains a face (and not a different object such as a tree).</li>
--   <li><a>fdGender</a> - Gender of the face and the confidence level in
--   the determination.</li>
--   <li><a>fdQuality</a> - Identifies image brightness and sharpness.</li>
--   <li><a>fdEyeglasses</a> - Indicates whether or not the face is wearing
--   eye glasses, and the confidence level in the determination.</li>
--   <li><a>fdBeard</a> - Indicates whether or not the face has a beard,
--   and the confidence level in the determination.</li>
--   <li><a>fdMustache</a> - Indicates whether or not the face has a
--   mustache, and the confidence level in the determination.</li>
--   <li><a>fdSmile</a> - Indicates whether or not the face is smiling, and
--   the confidence level in the determination.</li>
--   <li><a>fdLandmarks</a> - Indicates the location of the landmark on the
--   face.</li>
--   </ul>
faceDetail :: FaceDetail

-- | Indicates whether or not the face is wearing sunglasses, and the
--   confidence level in the determination.
fdSunglasses :: Lens' FaceDetail (Maybe Sunglasses)

-- | Indicates whether or not the mouth on the face is open, and the
--   confidence level in the determination.
fdMouthOpen :: Lens' FaceDetail (Maybe MouthOpen)

-- | Bounding box of the face.
fdBoundingBox :: Lens' FaceDetail (Maybe BoundingBox)

-- | The emotions detected on the face, and the confidence level in the
--   determination. For example, HAPPY, SAD, and ANGRY.
fdEmotions :: Lens' FaceDetail [Emotion]

-- | Indicates whether or not the eyes on the face are open, and the
--   confidence level in the determination.
fdEyesOpen :: Lens' FaceDetail (Maybe EyeOpen)

-- | Indicates the pose of the face as determined by pitch, roll, and the
--   yaw.
fdPose :: Lens' FaceDetail (Maybe Pose)

-- | Confidence level that the bounding box contains a face (and not a
--   different object such as a tree).
fdConfidence :: Lens' FaceDetail (Maybe Double)

-- | Gender of the face and the confidence level in the determination.
fdGender :: Lens' FaceDetail (Maybe Gender)

-- | Identifies image brightness and sharpness.
fdQuality :: Lens' FaceDetail (Maybe ImageQuality)

-- | Indicates whether or not the face is wearing eye glasses, and the
--   confidence level in the determination.
fdEyeglasses :: Lens' FaceDetail (Maybe Eyeglasses)

-- | Indicates whether or not the face has a beard, and the confidence
--   level in the determination.
fdBeard :: Lens' FaceDetail (Maybe Beard)

-- | Indicates whether or not the face has a mustache, and the confidence
--   level in the determination.
fdMustache :: Lens' FaceDetail (Maybe Mustache)

-- | Indicates whether or not the face is smiling, and the confidence level
--   in the determination.
fdSmile :: Lens' FaceDetail (Maybe Smile)

-- | Indicates the location of the landmark on the face.
fdLandmarks :: Lens' FaceDetail [Landmark]

-- | Provides face metadata. In addition, it also provides the confidence
--   in the match of this face with the input face.
--   
--   <i>See:</i> <a>faceMatch</a> smart constructor.
data FaceMatch

-- | Creates a value of <a>FaceMatch</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>fmSimilarity</a> - Confidence in the match of this face with
--   the input face.</li>
--   <li><a>fmFace</a> - Undocumented member.</li>
--   </ul>
faceMatch :: FaceMatch

-- | Confidence in the match of this face with the input face.
fmSimilarity :: Lens' FaceMatch (Maybe Double)

-- | Undocumented member.
fmFace :: Lens' FaceMatch (Maybe Face)

-- | Object containing both the face metadata (stored in the back-end
--   database) and facial attributes that are detected but aren't stored in
--   the database.
--   
--   <i>See:</i> <a>faceRecord</a> smart constructor.
data FaceRecord

-- | Creates a value of <a>FaceRecord</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>frFaceDetail</a> - Undocumented member.</li>
--   <li><a>frFace</a> - Undocumented member.</li>
--   </ul>
faceRecord :: FaceRecord

-- | Undocumented member.
frFaceDetail :: Lens' FaceRecord (Maybe FaceDetail)

-- | Undocumented member.
frFace :: Lens' FaceRecord (Maybe Face)

-- | Gender of the face and the confidence level in the determination.
--   
--   <i>See:</i> <a>gender</a> smart constructor.
data Gender

-- | Creates a value of <a>Gender</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gValue</a> - Gender of the face.</li>
--   <li><a>gConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
gender :: Gender

-- | Gender of the face.
gValue :: Lens' Gender (Maybe GenderType)

-- | Level of confidence in the determination.
gConfidence :: Lens' Gender (Maybe Double)

-- | Provides the source image either as bytes or an S3 object.
--   
--   <i>See:</i> <a>image</a> smart constructor.
data Image

-- | Creates a value of <a>Image</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>iS3Object</a> - Identifies an S3 object as the image
--   source.</li>
--   <li><a>iBytes</a> - Blob of image bytes up to 5 MBs.-- <i>Note:</i>
--   This <tt>Lens</tt> automatically encodes and decodes Base64 data. The
--   underlying isomorphism will encode to Base64 representation during
--   serialisation, and decode from Base64 representation during
--   deserialisation. This <tt>Lens</tt> accepts and returns only raw
--   unencoded data.</li>
--   </ul>
image :: Image

-- | Identifies an S3 object as the image source.
iS3Object :: Lens' Image (Maybe S3Object)

-- | Blob of image bytes up to 5 MBs.-- <i>Note:</i> This <tt>Lens</tt>
--   automatically encodes and decodes Base64 data. The underlying
--   isomorphism will encode to Base64 representation during serialisation,
--   and decode from Base64 representation during deserialisation. This
--   <tt>Lens</tt> accepts and returns only raw unencoded data.
iBytes :: Lens' Image (Maybe ByteString)

-- | Identifies image brightness and sharpness.
--   
--   <i>See:</i> <a>imageQuality</a> smart constructor.
data ImageQuality

-- | Creates a value of <a>ImageQuality</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>iqSharpness</a> - Value representing sharpness of the
--   face.</li>
--   <li><a>iqBrightness</a> - Value representing brightness of the face.
--   The service returns a value between 0 and 1 (inclusive).</li>
--   </ul>
imageQuality :: ImageQuality

-- | Value representing sharpness of the face.
iqSharpness :: Lens' ImageQuality (Maybe Double)

-- | Value representing brightness of the face. The service returns a value
--   between 0 and 1 (inclusive).
iqBrightness :: Lens' ImageQuality (Maybe Double)

-- | Structure containing details about the detected label, including
--   bounding box, name, and level of confidence.
--   
--   <i>See:</i> <a>label</a> smart constructor.
data Label

-- | Creates a value of <a>Label</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lConfidence</a> - Level of confidence.</li>
--   <li><a>lName</a> - The name (label) of the object.</li>
--   </ul>
label :: Label

-- | Level of confidence.
lConfidence :: Lens' Label (Maybe Double)

-- | The name (label) of the object.
lName :: Lens' Label (Maybe Text)

-- | Indicates the location of the landmark on the face.
--   
--   <i>See:</i> <a>landmark</a> smart constructor.
data Landmark

-- | Creates a value of <a>Landmark</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lType</a> - Type of the landmark.</li>
--   <li><a>lX</a> - x-coordinate from the top left of the landmark
--   expressed as the ration of the width of the image. For example, if the
--   images is 700x200 and the x-coordinate of the landmark is at 350
--   pixels, then this value is 0.5.</li>
--   <li><a>lY</a> - y-coordinate from the top left of the landmark
--   expressed as the ration of the height of the image. For example, if
--   the images is 700x200 and the y-coordinate of the landmark is at 100
--   pixels, then this value is 0.5.</li>
--   </ul>
landmark :: Landmark

-- | Type of the landmark.
lType :: Lens' Landmark (Maybe LandmarkType)

-- | x-coordinate from the top left of the landmark expressed as the ration
--   of the width of the image. For example, if the images is 700x200 and
--   the x-coordinate of the landmark is at 350 pixels, then this value is
--   0.5.
lX :: Lens' Landmark (Maybe Double)

-- | y-coordinate from the top left of the landmark expressed as the ration
--   of the height of the image. For example, if the images is 700x200 and
--   the y-coordinate of the landmark is at 100 pixels, then this value is
--   0.5.
lY :: Lens' Landmark (Maybe Double)

-- | Indicates whether or not the mouth on the face is open, and the
--   confidence level in the determination.
--   
--   <i>See:</i> <a>mouthOpen</a> smart constructor.
data MouthOpen

-- | Creates a value of <a>MouthOpen</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>moValue</a> - Boolean value that indicates whether the mouth on
--   the face is open or not.</li>
--   <li><a>moConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
mouthOpen :: MouthOpen

-- | Boolean value that indicates whether the mouth on the face is open or
--   not.
moValue :: Lens' MouthOpen (Maybe Bool)

-- | Level of confidence in the determination.
moConfidence :: Lens' MouthOpen (Maybe Double)

-- | Indicates whether or not the face has a mustache, and the confidence
--   level in the determination.
--   
--   <i>See:</i> <a>mustache</a> smart constructor.
data Mustache

-- | Creates a value of <a>Mustache</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mValue</a> - Boolean value that indicates whether the face has
--   mustache or not.</li>
--   <li><a>mConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
mustache :: Mustache

-- | Boolean value that indicates whether the face has mustache or not.
mValue :: Lens' Mustache (Maybe Bool)

-- | Level of confidence in the determination.
mConfidence :: Lens' Mustache (Maybe Double)

-- | Indicates the pose of the face as determined by pitch, roll, and the
--   yaw.
--   
--   <i>See:</i> <a>pose</a> smart constructor.
data Pose

-- | Creates a value of <a>Pose</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pYaw</a> - Value representing the face rotation on the yaw
--   axis.</li>
--   <li><a>pRoll</a> - Value representing the face rotation on the roll
--   axis.</li>
--   <li><a>pPitch</a> - Value representing the face rotation on the pitch
--   axis.</li>
--   </ul>
pose :: Pose

-- | Value representing the face rotation on the yaw axis.
pYaw :: Lens' Pose (Maybe Double)

-- | Value representing the face rotation on the roll axis.
pRoll :: Lens' Pose (Maybe Double)

-- | Value representing the face rotation on the pitch axis.
pPitch :: Lens' Pose (Maybe Double)

-- | Provides the S3 bucket name and object name.
--   
--   <i>See:</i> <a>s3Object</a> smart constructor.
data S3Object

-- | Creates a value of <a>S3Object</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>soBucket</a> - Name of the S3 bucket.</li>
--   <li><a>soName</a> - S3 object key name.</li>
--   <li><a>soVersion</a> - If the bucket is versioning enabled, you can
--   specify the object version.</li>
--   </ul>
s3Object :: S3Object

-- | Name of the S3 bucket.
soBucket :: Lens' S3Object (Maybe Text)

-- | S3 object key name.
soName :: Lens' S3Object (Maybe Text)

-- | If the bucket is versioning enabled, you can specify the object
--   version.
soVersion :: Lens' S3Object (Maybe Text)

-- | Indicates whether or not the face is smiling, and the confidence level
--   in the determination.
--   
--   <i>See:</i> <a>smile</a> smart constructor.
data Smile

-- | Creates a value of <a>Smile</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>smiValue</a> - Boolean value that indicates whether the face is
--   smiling or not.</li>
--   <li><a>smiConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
smile :: Smile

-- | Boolean value that indicates whether the face is smiling or not.
smiValue :: Lens' Smile (Maybe Bool)

-- | Level of confidence in the determination.
smiConfidence :: Lens' Smile (Maybe Double)

-- | Indicates whether or not the face is wearing sunglasses, and the
--   confidence level in the determination.
--   
--   <i>See:</i> <a>sunglasses</a> smart constructor.
data Sunglasses

-- | Creates a value of <a>Sunglasses</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sValue</a> - Boolean value that indicates whether the face is
--   wearing sunglasses or not.</li>
--   <li><a>sConfidence</a> - Level of confidence in the
--   determination.</li>
--   </ul>
sunglasses :: Sunglasses

-- | Boolean value that indicates whether the face is wearing sunglasses or
--   not.
sValue :: Lens' Sunglasses (Maybe Bool)

-- | Level of confidence in the determination.
sConfidence :: Lens' Sunglasses (Maybe Double)
