amazonka-rekognition-1.6.1: 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 # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Data GetCelebrityInfo Source # 
Instance details

Defined in Network.AWS.Rekognition.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 Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Show GetCelebrityInfo Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Generic GetCelebrityInfo Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Associated Types

type Rep GetCelebrityInfo :: Type -> Type #

Hashable GetCelebrityInfo Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

ToJSON GetCelebrityInfo Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

AWSRequest GetCelebrityInfo Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Associated Types

type Rs GetCelebrityInfo :: Type #

ToHeaders GetCelebrityInfo Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

ToPath GetCelebrityInfo Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

ToQuery GetCelebrityInfo Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

NFData GetCelebrityInfo Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Methods

rnf :: GetCelebrityInfo -> () #

type Rep GetCelebrityInfo Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

type Rep GetCelebrityInfo = D1 (MetaData "GetCelebrityInfo" "Network.AWS.Rekognition.GetCelebrityInfo" "amazonka-rekognition-1.6.1-ELwOF0LSGWFp8S3Ef6QMe" True) (C1 (MetaCons "GetCelebrityInfo'" PrefixI True) (S1 (MetaSel (Just "_gciId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetCelebrityInfo Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

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 # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Data GetCelebrityInfoResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

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 # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Show GetCelebrityInfoResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Generic GetCelebrityInfoResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Associated Types

type Rep GetCelebrityInfoResponse :: Type -> Type #

NFData GetCelebrityInfoResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

type Rep GetCelebrityInfoResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

type Rep GetCelebrityInfoResponse = D1 (MetaData "GetCelebrityInfoResponse" "Network.AWS.Rekognition.GetCelebrityInfo" "amazonka-rekognition-1.6.1-ELwOF0LSGWFp8S3Ef6QMe" False) (C1 (MetaCons "GetCelebrityInfoResponse'" PrefixI True) (S1 (MetaSel (Just "_gcirsURLs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_gcirsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.