Class CfnBot.FulfillmentUpdatesSpecificationProperty
Provides information for updating the user on the progress of fulfilling an intent.
Inheritance
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FulfillmentUpdatesSpecificationProperty : Object, CfnBot.IFulfillmentUpdatesSpecificationProperty
Syntax (vb)
Public Class FulfillmentUpdatesSpecificationProperty
Inherits Object
Implements CfnBot.IFulfillmentUpdatesSpecificationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
var fulfillmentUpdatesSpecificationProperty = new FulfillmentUpdatesSpecificationProperty {
Active = false,
// the properties below are optional
StartResponse = new FulfillmentStartResponseSpecificationProperty {
DelayInSeconds = 123,
MessageGroups = new [] { new MessageGroupProperty {
Message = new MessageProperty {
CustomPayload = new CustomPayloadProperty {
Value = "value"
},
ImageResponseCard = new ImageResponseCardProperty {
Title = "title",
// the properties below are optional
Buttons = new [] { new ButtonProperty {
Text = "text",
Value = "value"
} },
ImageUrl = "imageUrl",
Subtitle = "subtitle"
},
PlainTextMessage = new PlainTextMessageProperty {
Value = "value"
},
SsmlMessage = new SSMLMessageProperty {
Value = "value"
}
},
// the properties below are optional
Variations = new [] { new MessageProperty {
CustomPayload = new CustomPayloadProperty {
Value = "value"
},
ImageResponseCard = new ImageResponseCardProperty {
Title = "title",
// the properties below are optional
Buttons = new [] { new ButtonProperty {
Text = "text",
Value = "value"
} },
ImageUrl = "imageUrl",
Subtitle = "subtitle"
},
PlainTextMessage = new PlainTextMessageProperty {
Value = "value"
},
SsmlMessage = new SSMLMessageProperty {
Value = "value"
}
} }
} },
// the properties below are optional
AllowInterrupt = false
},
TimeoutInSeconds = 123,
UpdateResponse = new FulfillmentUpdateResponseSpecificationProperty {
FrequencyInSeconds = 123,
MessageGroups = new [] { new MessageGroupProperty {
Message = new MessageProperty {
CustomPayload = new CustomPayloadProperty {
Value = "value"
},
ImageResponseCard = new ImageResponseCardProperty {
Title = "title",
// the properties below are optional
Buttons = new [] { new ButtonProperty {
Text = "text",
Value = "value"
} },
ImageUrl = "imageUrl",
Subtitle = "subtitle"
},
PlainTextMessage = new PlainTextMessageProperty {
Value = "value"
},
SsmlMessage = new SSMLMessageProperty {
Value = "value"
}
},
// the properties below are optional
Variations = new [] { new MessageProperty {
CustomPayload = new CustomPayloadProperty {
Value = "value"
},
ImageResponseCard = new ImageResponseCardProperty {
Title = "title",
// the properties below are optional
Buttons = new [] { new ButtonProperty {
Text = "text",
Value = "value"
} },
ImageUrl = "imageUrl",
Subtitle = "subtitle"
},
PlainTextMessage = new PlainTextMessageProperty {
Value = "value"
},
SsmlMessage = new SSMLMessageProperty {
Value = "value"
}
} }
} },
// the properties below are optional
AllowInterrupt = false
}
};
Synopsis
Constructors
Fulfillment |
Properties
Active | Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent. |
Start |
Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running. |
Timeout |
The length of time that the fulfillment Lambda function should run before it times out. |
Update |
Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running. |
Constructors
FulfillmentUpdatesSpecificationProperty()
public FulfillmentUpdatesSpecificationProperty()
Properties
Active
Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.
public object Active { get; set; }
Property Value
System.
Remarks
If the active
field is set to true, the startResponse
, updateResponse
, and timeoutInSeconds
fields are required.
StartResponse
Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.
public object StartResponse { get; set; }
Property Value
System.
Remarks
TimeoutInSeconds
The length of time that the fulfillment Lambda function should run before it times out.
public Nullable<double> TimeoutInSeconds { get; set; }
Property Value
System.
Remarks
UpdateResponse
Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.
public object UpdateResponse { get; set; }
Property Value
System.