Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets the name and additional information about a celebrity based on his or her Rekognition ID. The additional information is returned as an array of URLs. If there is no additional information about the celebrity, this list is empty. For more information, see 'get-celebrity-info-procedure' .
This operation requires permissions to perform the rekognition:GetCelebrityInfo
action.
Synopsis
- getCelebrityInfo :: Text -> GetCelebrityInfo
- data GetCelebrityInfo
- gciId :: Lens' GetCelebrityInfo Text
- getCelebrityInfoResponse :: Int -> GetCelebrityInfoResponse
- data GetCelebrityInfoResponse
- gcirsURLs :: Lens' GetCelebrityInfoResponse [Text]
- gcirsName :: Lens' GetCelebrityInfoResponse (Maybe Text)
- gcirsResponseStatus :: Lens' GetCelebrityInfoResponse Int
Creating a Request
Creates a value of GetCelebrityInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gciId
- The ID for the celebrity. You get the celebrity ID from a call to the operation, which recognizes celebrities in an image.
data GetCelebrityInfo Source #
See: getCelebrityInfo
smart constructor.
Instances
Request Lenses
gciId :: Lens' GetCelebrityInfo Text Source #
The ID for the celebrity. You get the celebrity ID from a call to the operation, which recognizes celebrities in an image.
Destructuring the Response
getCelebrityInfoResponse Source #
Creates a value of GetCelebrityInfoResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcirsURLs
- An array of URLs pointing to additional celebrity information.gcirsName
- The name of the celebrity.gcirsResponseStatus
- -- | The response status code.
data GetCelebrityInfoResponse Source #
See: getCelebrityInfoResponse
smart constructor.
Instances
Response Lenses
gcirsURLs :: Lens' GetCelebrityInfoResponse [Text] Source #
An array of URLs pointing to additional celebrity information.
gcirsResponseStatus :: Lens' GetCelebrityInfoResponse Int Source #
- - | The response status code.