libZSservicesZSamazonka-wisdomZSamazonka-wisdom
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.Wisdom.NotifyRecommendationsReceived

Description

Removes the specified recommendations from the specified assistant's queue of newly available recommendations. You can use this API in conjunction with GetRecommendations and a waitTimeSeconds input for long-polling behavior and avoiding duplicate recommendations.

Synopsis

Creating a Request

data NotifyRecommendationsReceived Source #

See: newNotifyRecommendationsReceived smart constructor.

Constructors

NotifyRecommendationsReceived' 

Fields

  • assistantId :: Text

    The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

  • recommendationIds :: [Text]

    The identifiers of the recommendations.

  • sessionId :: Text

    The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.

Instances

Instances details
Eq NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

Read NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

Show NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

Generic NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

Associated Types

type Rep NotifyRecommendationsReceived :: Type -> Type #

NFData NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

Hashable NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

ToJSON NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

AWSRequest NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

ToHeaders NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

ToPath NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

ToQuery NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

type Rep NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

type Rep NotifyRecommendationsReceived = D1 ('MetaData "NotifyRecommendationsReceived" "Amazonka.Wisdom.NotifyRecommendationsReceived" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "NotifyRecommendationsReceived'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assistantId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "recommendationIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

newNotifyRecommendationsReceived Source #

Create a value of NotifyRecommendationsReceived 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:assistantId:NotifyRecommendationsReceived', notifyRecommendationsReceived_assistantId - The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

$sel:recommendationIds:NotifyRecommendationsReceived', notifyRecommendationsReceived_recommendationIds - The identifiers of the recommendations.

$sel:sessionId:NotifyRecommendationsReceived', notifyRecommendationsReceived_sessionId - The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.

Request Lenses

notifyRecommendationsReceived_assistantId :: Lens' NotifyRecommendationsReceived Text Source #

The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

notifyRecommendationsReceived_sessionId :: Lens' NotifyRecommendationsReceived Text Source #

The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.

Destructuring the Response

data NotifyRecommendationsReceivedResponse Source #

Constructors

NotifyRecommendationsReceivedResponse' 

Fields

Instances

Instances details
Eq NotifyRecommendationsReceivedResponse Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

Read NotifyRecommendationsReceivedResponse Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

Show NotifyRecommendationsReceivedResponse Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

Generic NotifyRecommendationsReceivedResponse Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

NFData NotifyRecommendationsReceivedResponse Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

type Rep NotifyRecommendationsReceivedResponse Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

type Rep NotifyRecommendationsReceivedResponse = D1 ('MetaData "NotifyRecommendationsReceivedResponse" "Amazonka.Wisdom.NotifyRecommendationsReceived" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "NotifyRecommendationsReceivedResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recommendationIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotifyRecommendationsReceivedError])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newNotifyRecommendationsReceivedResponse Source #

Create a value of NotifyRecommendationsReceivedResponse 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:recommendationIds:NotifyRecommendationsReceived', notifyRecommendationsReceivedResponse_recommendationIds - The identifiers of the recommendations.

$sel:errors:NotifyRecommendationsReceivedResponse', notifyRecommendationsReceivedResponse_errors - The identifiers of recommendations that are causing errors.

$sel:httpStatus:NotifyRecommendationsReceivedResponse', notifyRecommendationsReceivedResponse_httpStatus - The response's http status code.

Response Lenses