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 #

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

Defined in Network.AWS.Rekognition.GetCelebrityInfo

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

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Show GetCelebrityInfo # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Generic GetCelebrityInfo # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Associated Types

type Rep GetCelebrityInfo :: Type -> Type #

Hashable GetCelebrityInfo # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

ToJSON GetCelebrityInfo # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

AWSRequest GetCelebrityInfo # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Associated Types

type Rs GetCelebrityInfo :: Type #

ToHeaders GetCelebrityInfo # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

ToPath GetCelebrityInfo # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

ToQuery GetCelebrityInfo # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

NFData GetCelebrityInfo # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Methods

rnf :: GetCelebrityInfo -> () #

type Rep GetCelebrityInfo # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

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

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

Defined in Network.AWS.Rekognition.GetCelebrityInfo

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

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Show GetCelebrityInfoResponse # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Generic GetCelebrityInfoResponse # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

Associated Types

type Rep GetCelebrityInfoResponse :: Type -> Type #

NFData GetCelebrityInfoResponse # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

type Rep GetCelebrityInfoResponse # 
Instance details

Defined in Network.AWS.Rekognition.GetCelebrityInfo

type Rep GetCelebrityInfoResponse = D1 (MetaData "GetCelebrityInfoResponse" "Network.AWS.Rekognition.GetCelebrityInfo" "amazonka-rekognition-1.6.1-LJYoSuoGbtd78kiYOWkJFK" 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] #

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.