amazonka-rekognition-2.0: Amazon Rekognition SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rekognition.GetCelebrityInfo

Description

Gets the name and additional information about a celebrity based on their Amazon 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 Getting information about a celebrity in the Amazon Rekognition Developer Guide.

This operation requires permissions to perform the rekognition:GetCelebrityInfo action.

Synopsis

Creating a Request

data GetCelebrityInfo Source #

See: newGetCelebrityInfo smart constructor.

Constructors

GetCelebrityInfo' 

Fields

  • id :: Text

    The ID for the celebrity. You get the celebrity ID from a call to the RecognizeCelebrities operation, which recognizes celebrities in an image.

Instances

Instances details
ToJSON GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

ToHeaders GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

ToPath GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

ToQuery GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

AWSRequest GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Associated Types

type AWSResponse GetCelebrityInfo #

Generic GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Associated Types

type Rep GetCelebrityInfo :: Type -> Type #

Read GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Show GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

NFData GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Methods

rnf :: GetCelebrityInfo -> () #

Eq GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Hashable GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

type AWSResponse GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

type Rep GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

type Rep GetCelebrityInfo = D1 ('MetaData "GetCelebrityInfo" "Amazonka.Rekognition.GetCelebrityInfo" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "GetCelebrityInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetCelebrityInfo Source #

Create a value of GetCelebrityInfo with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GetCelebrityInfo, getCelebrityInfo_id - The ID for the celebrity. You get the celebrity ID from a call to the RecognizeCelebrities operation, which recognizes celebrities in an image.

Request Lenses

getCelebrityInfo_id :: Lens' GetCelebrityInfo Text Source #

The ID for the celebrity. You get the celebrity ID from a call to the RecognizeCelebrities operation, which recognizes celebrities in an image.

Destructuring the Response

data GetCelebrityInfoResponse Source #

See: newGetCelebrityInfoResponse smart constructor.

Constructors

GetCelebrityInfoResponse' 

Fields

Instances

Instances details
Generic GetCelebrityInfoResponse Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Associated Types

type Rep GetCelebrityInfoResponse :: Type -> Type #

Read GetCelebrityInfoResponse Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Show GetCelebrityInfoResponse Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

NFData GetCelebrityInfoResponse Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Eq GetCelebrityInfoResponse Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

type Rep GetCelebrityInfoResponse Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

type Rep GetCelebrityInfoResponse = D1 ('MetaData "GetCelebrityInfoResponse" "Amazonka.Rekognition.GetCelebrityInfo" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "GetCelebrityInfoResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "knownGender") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KnownGender)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "urls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetCelebrityInfoResponse Source #

Create a value of GetCelebrityInfoResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GetCelebrityInfoResponse, getCelebrityInfoResponse_knownGender - Retrieves the known gender for the celebrity.

GetCelebrityInfoResponse, getCelebrityInfoResponse_name - The name of the celebrity.

GetCelebrityInfoResponse, getCelebrityInfoResponse_urls - An array of URLs pointing to additional celebrity information.

$sel:httpStatus:GetCelebrityInfoResponse', getCelebrityInfoResponse_httpStatus - The response's http status code.

Response Lenses

getCelebrityInfoResponse_urls :: Lens' GetCelebrityInfoResponse (Maybe [Text]) Source #

An array of URLs pointing to additional celebrity information.