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 #

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 #

See: getCelebrityInfo smart constructor.

Instances

Eq GetCelebrityInfo # 
Data GetCelebrityInfo # 

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 # 
Show GetCelebrityInfo # 
Generic GetCelebrityInfo # 
Hashable GetCelebrityInfo # 
ToJSON GetCelebrityInfo # 
NFData GetCelebrityInfo # 

Methods

rnf :: GetCelebrityInfo -> () #

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

Request Lenses

gciId :: Lens' GetCelebrityInfo Text #

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 #

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 #

See: getCelebrityInfoResponse smart constructor.

Instances

Eq GetCelebrityInfoResponse # 
Data GetCelebrityInfoResponse # 

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 # 
Show GetCelebrityInfoResponse # 
Generic GetCelebrityInfoResponse # 
NFData GetCelebrityInfoResponse # 
type Rep GetCelebrityInfoResponse # 
type Rep GetCelebrityInfoResponse = D1 * (MetaData "GetCelebrityInfoResponse" "Network.AWS.Rekognition.GetCelebrityInfo" "amazonka-rekognition-1.6.0-4TmAlrIlJHI1iGSYhkZbGT" 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] #

An array of URLs pointing to additional celebrity information.

gcirsName :: Lens' GetCelebrityInfoResponse (Maybe Text) #

The name of the celebrity.

gcirsResponseStatus :: Lens' GetCelebrityInfoResponse Int #

  • - | The response status code.