Interface CfnBot.IFulfillmentUpdatesSpecificationProperty
Provides information for updating the user on the progress of fulfilling an intent.
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public interface IFulfillmentUpdatesSpecificationProperty
Syntax (vb)
Public Interface 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
Properties
Active | Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent. |
StartResponse | Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running. |
TimeoutInSeconds | The length of time that the fulfillment Lambda function should run before it times out. |
UpdateResponse | Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running. |
Properties
Active
Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.
object Active { get; }
Property Value
System.Object
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.
virtual object StartResponse { get; }
Property Value
System.Object
Remarks
TimeoutInSeconds
The length of time that the fulfillment Lambda function should run before it times out.
virtual Nullable<double> TimeoutInSeconds { get; }
Property Value
System.Nullable<System.Double>
Remarks
UpdateResponse
Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.
virtual object UpdateResponse { get; }
Property Value
System.Object