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

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 Recognizing Celebrities in an Image 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
Eq GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Read GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Show GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Generic GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Associated Types

type Rep GetCelebrityInfo :: Type -> Type #

NFData GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Methods

rnf :: GetCelebrityInfo -> () #

Hashable GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

ToJSON GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

AWSRequest GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Associated Types

type AWSResponse 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

type Rep GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

type Rep GetCelebrityInfo = D1 ('MetaData "GetCelebrityInfo" "Amazonka.Rekognition.GetCelebrityInfo" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "GetCelebrityInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetCelebrityInfo Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

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:

$sel:id: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
Eq GetCelebrityInfoResponse Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Read GetCelebrityInfoResponse Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Show GetCelebrityInfoResponse Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Generic GetCelebrityInfoResponse Source # 
Instance details

Defined in Amazonka.Rekognition.GetCelebrityInfo

Associated Types

type Rep GetCelebrityInfoResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "GetCelebrityInfoResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "urls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "knownGender") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KnownGender))) :*: (S1 ('MetaSel ('Just "name") '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:

$sel:urls:GetCelebrityInfoResponse', getCelebrityInfoResponse_urls - An array of URLs pointing to additional celebrity information.

$sel:knownGender:GetCelebrityInfoResponse', getCelebrityInfoResponse_knownGender - Retrieves the known gender for the celebrity.

$sel:name:GetCelebrityInfoResponse', getCelebrityInfoResponse_name - The name of the celebrity.

$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.