interface PostFulfillmentStatusSpecificationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lex.CfnBot.PostFulfillmentStatusSpecificationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_PostFulfillmentStatusSpecificationProperty |
![]() | software.amazon.awscdk.services.lex.CfnBot.PostFulfillmentStatusSpecificationProperty |
![]() | aws_cdk.aws_lex.CfnBot.PostFulfillmentStatusSpecificationProperty |
![]() | aws-cdk-lib » aws_lex » CfnBot » PostFulfillmentStatusSpecificationProperty |
Provides a setting that determines whether the post-fulfillment response is sent to the user.
Example
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
Properties
Name | Type | Description |
---|---|---|
failure | IResolvable | Conditional | A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with the State field of the Intent object set to Failed . |
failure | IResolvable | Dialog | Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with the State field of the Intent object set to Failed . |
failure | IResolvable | Response | Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn't successful. |
success | IResolvable | Conditional | A list of conditional branches to evaluate after the fulfillment code hook finishes successfully. |
success | IResolvable | Dialog | Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully. |
success | IResolvable | Response | Specifies a list of message groups that Amazon Lex uses to respond when the fulfillment is successful. |
timeout | IResolvable | Conditional | A list of conditional branches to evaluate if the fulfillment code hook times out. |
timeout | IResolvable | Dialog | Specifies the next step that the bot runs when the fulfillment code hook times out. |
timeout | IResolvable | Response | Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn't completed within the timeout period. |
failureConditional?
Type:
IResolvable
|
Conditional
(optional)
A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with the State
field of the Intent
object set to Failed
.
failureNextStep?
Type:
IResolvable
|
Dialog
(optional)
Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with the State
field of the Intent
object set to Failed
.
failureResponse?
Type:
IResolvable
|
Response
(optional)
Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn't successful.
successConditional?
Type:
IResolvable
|
Conditional
(optional)
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
successNextStep?
Type:
IResolvable
|
Dialog
(optional)
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.
successResponse?
Type:
IResolvable
|
Response
(optional)
Specifies a list of message groups that Amazon Lex uses to respond when the fulfillment is successful.
timeoutConditional?
Type:
IResolvable
|
Conditional
(optional)
A list of conditional branches to evaluate if the fulfillment code hook times out.
timeoutNextStep?
Type:
IResolvable
|
Dialog
(optional)
Specifies the next step that the bot runs when the fulfillment code hook times out.
timeoutResponse?
Type:
IResolvable
|
Response
(optional)
Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn't completed within the timeout period.