amazonka-rekognition-1.6.0: Amazon Rekognition SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Rekognition.GetCelebrityInfo

Contents

Description

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

Creating a Request

getCelebrityInfo Source #

Arguments

:: Text

gciId

-> GetCelebrityInfo 

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

Eq GetCelebrityInfo Source # 
Data GetCelebrityInfo Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetCelebrityInfo -> c GetCelebrityInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetCelebrityInfo #

toConstr :: GetCelebrityInfo -> Constr #

dataTypeOf :: GetCelebrityInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetCelebrityInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetCelebrityInfo) #

gmapT :: (forall b. Data b => b -> b) -> GetCelebrityInfo -> GetCelebrityInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetCelebrityInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetCelebrityInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetCelebrityInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetCelebrityInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetCelebrityInfo -> m GetCelebrityInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetCelebrityInfo -> m GetCelebrityInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetCelebrityInfo -> m GetCelebrityInfo #

Read GetCelebrityInfo Source # 
Show GetCelebrityInfo Source # 
Generic GetCelebrityInfo Source # 
Hashable GetCelebrityInfo Source # 
ToJSON GetCelebrityInfo Source # 
NFData GetCelebrityInfo Source # 

Methods

rnf :: GetCelebrityInfo -> () #

AWSRequest GetCelebrityInfo Source # 
ToHeaders GetCelebrityInfo Source # 
ToPath GetCelebrityInfo Source # 
ToQuery GetCelebrityInfo Source # 
type Rep GetCelebrityInfo Source # 
type Rep GetCelebrityInfo = D1 * (MetaData "GetCelebrityInfo" "Network.AWS.Rekognition.GetCelebrityInfo" "amazonka-rekognition-1.6.0-3jgXZy5HWud2mYhTRx5OTT" True) (C1 * (MetaCons "GetCelebrityInfo'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gciId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetCelebrityInfo Source # 

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:

data GetCelebrityInfoResponse Source #

See: getCelebrityInfoResponse smart constructor.

Instances

Eq GetCelebrityInfoResponse Source # 
Data GetCelebrityInfoResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetCelebrityInfoResponse -> c GetCelebrityInfoResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetCelebrityInfoResponse #

toConstr :: GetCelebrityInfoResponse -> Constr #

dataTypeOf :: GetCelebrityInfoResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetCelebrityInfoResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetCelebrityInfoResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetCelebrityInfoResponse -> GetCelebrityInfoResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetCelebrityInfoResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetCelebrityInfoResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetCelebrityInfoResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetCelebrityInfoResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetCelebrityInfoResponse -> m GetCelebrityInfoResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetCelebrityInfoResponse -> m GetCelebrityInfoResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetCelebrityInfoResponse -> m GetCelebrityInfoResponse #

Read GetCelebrityInfoResponse Source # 
Show GetCelebrityInfoResponse Source # 
Generic GetCelebrityInfoResponse Source # 
NFData GetCelebrityInfoResponse Source # 
type Rep GetCelebrityInfoResponse Source # 
type Rep GetCelebrityInfoResponse = D1 * (MetaData "GetCelebrityInfoResponse" "Network.AWS.Rekognition.GetCelebrityInfo" "amazonka-rekognition-1.6.0-3jgXZy5HWud2mYhTRx5OTT" False) (C1 * (MetaCons "GetCelebrityInfoResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcirsURLs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcirsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gcirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gcirsURLs :: Lens' GetCelebrityInfoResponse [Text] Source #

An array of URLs pointing to additional celebrity information.

gcirsName :: Lens' GetCelebrityInfoResponse (Maybe Text) Source #

The name of the celebrity.