amazonka-wisdom-2.0: Amazon Connect Wisdom Service 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.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
ToJSON 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

AWSRequest 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 #

Read NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

Show NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

NFData NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

Eq NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

Hashable NotifyRecommendationsReceived Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

type AWSResponse 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" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" '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))))

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:

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

NotifyRecommendationsReceived, notifyRecommendationsReceived_recommendationIds - The identifiers of the recommendations.

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
Generic 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

NFData NotifyRecommendationsReceivedResponse Source # 
Instance details

Defined in Amazonka.Wisdom.NotifyRecommendationsReceived

Eq 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" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" 'False) (C1 ('MetaCons "NotifyRecommendationsReceivedResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotifyRecommendationsReceivedError])) :*: (S1 ('MetaSel ('Just "recommendationIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: 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:errors:NotifyRecommendationsReceivedResponse', notifyRecommendationsReceivedResponse_errors - The identifiers of recommendations that are causing errors.

NotifyRecommendationsReceived, notifyRecommendationsReceivedResponse_recommendationIds - The identifiers of the recommendations.

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

Response Lenses