class Aws::LexModelBuildingService::Types::FulfillmentActivity

Describes how the intent is fulfilled after the user provides all of the information required for the intent. You can provide a Lambda function to process the intent, or you can return the intent information to the client application. We recommend that you use a Lambda function so that the relevant logic lives in the Cloud and limit the client-side code primarily to presentation. If you need to update the logic, you only update the Lambda function; you don't need to upgrade your client application.

Consider the following examples:

@note When making an API call, you may pass FulfillmentActivity

data as a hash:

    {
      type: "ReturnIntent", # required, accepts ReturnIntent, CodeHook
      code_hook: {
        uri: "LambdaARN", # required
        message_version: "MessageVersion", # required
      },
    }

@!attribute [rw] type

How the intent should be fulfilled, either by running a Lambda
function or by returning the slot data to the client application.
@return [String]

@!attribute [rw] code_hook

A description of the Lambda function that is run to fulfill the
intent.
@return [Types::CodeHook]

@see docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/FulfillmentActivity AWS API Documentation

Constants

SENSITIVE