package awslex // Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // waitAndContinueSpecificationProperty := &WaitAndContinueSpecificationProperty{ // ContinueResponse: &ResponseSpecificationProperty{ // MessageGroupsList: []interface{}{ // &MessageGroupProperty{ // Message: &MessageProperty{ // CustomPayload: &CustomPayloadProperty{ // Value: jsii.String("value"), // }, // ImageResponseCard: &ImageResponseCardProperty{ // Title: jsii.String("title"), // // // the properties below are optional // Buttons: []interface{}{ // &ButtonProperty{ // Text: jsii.String("text"), // Value: jsii.String("value"), // }, // }, // ImageUrl: jsii.String("imageUrl"), // Subtitle: jsii.String("subtitle"), // }, // PlainTextMessage: &PlainTextMessageProperty{ // Value: jsii.String("value"), // }, // SsmlMessage: &SSMLMessageProperty{ // Value: jsii.String("value"), // }, // }, // // // the properties below are optional // Variations: []interface{}{ // &MessageProperty{ // CustomPayload: &CustomPayloadProperty{ // Value: jsii.String("value"), // }, // ImageResponseCard: &ImageResponseCardProperty{ // Title: jsii.String("title"), // // // the properties below are optional // Buttons: []interface{}{ // &ButtonProperty{ // Text: jsii.String("text"), // Value: jsii.String("value"), // }, // }, // ImageUrl: jsii.String("imageUrl"), // Subtitle: jsii.String("subtitle"), // }, // PlainTextMessage: &PlainTextMessageProperty{ // Value: jsii.String("value"), // }, // SsmlMessage: &SSMLMessageProperty{ // Value: jsii.String("value"), // }, // }, // }, // }, // }, // // // the properties below are optional // AllowInterrupt: jsii.Boolean(false), // }, // WaitingResponse: &ResponseSpecificationProperty{ // MessageGroupsList: []interface{}{ // &MessageGroupProperty{ // Message: &MessageProperty{ // CustomPayload: &CustomPayloadProperty{ // Value: jsii.String("value"), // }, // ImageResponseCard: &ImageResponseCardProperty{ // Title: jsii.String("title"), // // // the properties below are optional // Buttons: []interface{}{ // &ButtonProperty{ // Text: jsii.String("text"), // Value: jsii.String("value"), // }, // }, // ImageUrl: jsii.String("imageUrl"), // Subtitle: jsii.String("subtitle"), // }, // PlainTextMessage: &PlainTextMessageProperty{ // Value: jsii.String("value"), // }, // SsmlMessage: &SSMLMessageProperty{ // Value: jsii.String("value"), // }, // }, // // // the properties below are optional // Variations: []interface{}{ // &MessageProperty{ // CustomPayload: &CustomPayloadProperty{ // Value: jsii.String("value"), // }, // ImageResponseCard: &ImageResponseCardProperty{ // Title: jsii.String("title"), // // // the properties below are optional // Buttons: []interface{}{ // &ButtonProperty{ // Text: jsii.String("text"), // Value: jsii.String("value"), // }, // }, // ImageUrl: jsii.String("imageUrl"), // Subtitle: jsii.String("subtitle"), // }, // PlainTextMessage: &PlainTextMessageProperty{ // Value: jsii.String("value"), // }, // SsmlMessage: &SSMLMessageProperty{ // Value: jsii.String("value"), // }, // }, // }, // }, // }, // // // the properties below are optional // AllowInterrupt: jsii.Boolean(false), // }, // // // the properties below are optional // IsActive: jsii.Boolean(false), // StillWaitingResponse: &StillWaitingResponseSpecificationProperty{ // FrequencyInSeconds: jsii.Number(123), // MessageGroupsList: []interface{}{ // &MessageGroupProperty{ // Message: &MessageProperty{ // CustomPayload: &CustomPayloadProperty{ // Value: jsii.String("value"), // }, // ImageResponseCard: &ImageResponseCardProperty{ // Title: jsii.String("title"), // // // the properties below are optional // Buttons: []interface{}{ // &ButtonProperty{ // Text: jsii.String("text"), // Value: jsii.String("value"), // }, // }, // ImageUrl: jsii.String("imageUrl"), // Subtitle: jsii.String("subtitle"), // }, // PlainTextMessage: &PlainTextMessageProperty{ // Value: jsii.String("value"), // }, // SsmlMessage: &SSMLMessageProperty{ // Value: jsii.String("value"), // }, // }, // // // the properties below are optional // Variations: []interface{}{ // &MessageProperty{ // CustomPayload: &CustomPayloadProperty{ // Value: jsii.String("value"), // }, // ImageResponseCard: &ImageResponseCardProperty{ // Title: jsii.String("title"), // // // the properties below are optional // Buttons: []interface{}{ // &ButtonProperty{ // Text: jsii.String("text"), // Value: jsii.String("value"), // }, // }, // ImageUrl: jsii.String("imageUrl"), // Subtitle: jsii.String("subtitle"), // }, // PlainTextMessage: &PlainTextMessageProperty{ // Value: jsii.String("value"), // }, // SsmlMessage: &SSMLMessageProperty{ // Value: jsii.String("value"), // }, // }, // }, // }, // }, // TimeoutInSeconds: jsii.Number(123), // // // the properties below are optional // AllowInterrupt: jsii.Boolean(false), // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-waitandcontinuespecification.html // type CfnBot_WaitAndContinueSpecificationProperty struct { // The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-waitandcontinuespecification.html#cfn-lex-bot-waitandcontinuespecification-continueresponse // ContinueResponse interface{} `field:"required" json:"continueResponse" yaml:"continueResponse"` // The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-waitandcontinuespecification.html#cfn-lex-bot-waitandcontinuespecification-waitingresponse // WaitingResponse interface{} `field:"required" json:"waitingResponse" yaml:"waitingResponse"` // Specifies whether the bot will wait for a user to respond. // // When this field is false, wait and continue responses for a slot aren't used. If the `IsActive` field isn't specified, the default is true. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-waitandcontinuespecification.html#cfn-lex-bot-waitandcontinuespecification-isactive // IsActive interface{} `field:"optional" json:"isActive" yaml:"isActive"` // A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-waitandcontinuespecification.html#cfn-lex-bot-waitandcontinuespecification-stillwaitingresponse // StillWaitingResponse interface{} `field:"optional" json:"stillWaitingResponse" yaml:"stillWaitingResponse"` }